[2026-09-19 00:00:11] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:11] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:11] local.INFO: IMEI packet received {"connection_id":186567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":186567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:00:17] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:17] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:00:17] local.INFO: IMEI packet received {"connection_id":186567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":186567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:00:18] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:18] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:18] local.INFO: Packet analysis {"connection_id":186567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:00:18] local.INFO: Extracted packet for processing {"connection_id":186567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00:18] 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-19 00:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 00:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":186567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:00:18] local.INFO: GPS data processed {"connection_id":186567,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:00:18] local.INFO: Acknowledgment sent {"connection_id":186567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:00:49] local.INFO: TCP Data received {"connection_id":186567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:49] local.INFO: Processing buffer {"connection_id":186567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:00:49] local.INFO: Packet analysis {"connection_id":186567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:00:49] local.INFO: Extracted packet for processing {"connection_id":186567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:00: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-19 00:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 00:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:00: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-19 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:00: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-19 00:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:00: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-19 00:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":186567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:00:49] local.INFO: GPS data processed {"connection_id":186567,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:00:49] local.INFO: Acknowledgment sent {"connection_id":186567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:01:11] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:11] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:11] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:01:16] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:16] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:01:16] local.INFO: IMEI packet received {"connection_id":186427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:01:17] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:17] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:17] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:01:17] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01:17] 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-19 00:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 00:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:01:17] 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-19 00:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:01:17] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:01:17] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:01:49] local.INFO: TCP Data received {"connection_id":186427,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:49] local.INFO: Processing buffer {"connection_id":186427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:01:49] local.INFO: Packet analysis {"connection_id":186427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:01:49] local.INFO: Extracted packet for processing {"connection_id":186427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:01: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-19 00:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 00:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:01: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-19 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:01:49] 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-19 00:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:01:49] local.INFO: GPS data processed {"connection_id":186427,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:01:49] local.INFO: Acknowledgment sent {"connection_id":186427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:02:11] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:11] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:11] local.INFO: IMEI packet received {"connection_id":189170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":189170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:02:17] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:17] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:02:17] local.INFO: IMEI packet received {"connection_id":189170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":189170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:02:18] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:18] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:18] local.INFO: Packet analysis {"connection_id":189170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:02:18] local.INFO: Extracted packet for processing {"connection_id":189170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02:18] 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-19 00:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 00:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:02:18] 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-19 00:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":189170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:02:18] local.INFO: GPS data processed {"connection_id":189170,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:02:18] local.INFO: Acknowledgment sent {"connection_id":189170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:02:44] local.INFO: TCP Data received {"connection_id":186428,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:02:44] local.INFO: Processing buffer {"connection_id":186428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:02:44] local.INFO: IMEI packet received {"connection_id":186428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 00:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":186428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:02:49] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:49] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5c61608012d34c24006aa41400008011530..."} 
[2026-09-19 00:02:49] local.INFO: Packet analysis {"connection_id":189170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:02:49] local.INFO: Extracted packet for processing {"connection_id":189170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5c6"} 
[2026-09-19 00:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 00:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177472512001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:02: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-19 00:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756053000,"timestamp_ms":1789756053000,"timestamp_seconds":1789756053,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5c61608"} 
[2026-09-19 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-19 00: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-19 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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:02: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-19 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-19 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-19 00:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:02:49] 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-19 00:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177472512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177472512001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177472512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":189170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:02:49] local.INFO: GPS data processed {"connection_id":189170,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:02:49] local.INFO: Acknowledgment sent {"connection_id":189170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:03:11] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:11] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:11] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:03:12] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:12] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:12] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:03:14] local.INFO: TCP Data received {"connection_id":186569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:03:14] local.INFO: Processing buffer {"connection_id":186569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:03:14] local.INFO: IMEI packet received {"connection_id":186569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 00:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":186569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:03:16] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:16] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:03:16] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:03:17] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:17] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:17] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:03:17] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:03: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-19 00:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03:17] 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-19 00:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:03: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:03:17] 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-19 00:03: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-19 00:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:03:17] 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-19 00:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:03:17] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:03:17] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:03:49] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:49] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:03:49] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:03:49] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:03: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-19 00:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:03: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-19 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:03:49] 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-19 00:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:03:49] 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-19 00:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:03:49] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:03:49] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:04:11] local.INFO: TCP Data received {"connection_id":189171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:11] local.INFO: Processing buffer {"connection_id":189171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:11] local.INFO: IMEI packet received {"connection_id":189171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":189171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:04:16] local.INFO: TCP Data received {"connection_id":189171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:16] local.INFO: Processing buffer {"connection_id":189171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:04:16] local.INFO: IMEI packet received {"connection_id":189171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":189171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:04:17] local.INFO: TCP Data received {"connection_id":189171,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:17] local.INFO: Processing buffer {"connection_id":189171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:17] local.INFO: Packet analysis {"connection_id":189171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:04:17] local.INFO: Extracted packet for processing {"connection_id":189171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04:17] 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-19 00:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:04:17] 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-19 00:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":189171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:04:17] local.INFO: GPS data processed {"connection_id":189171,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:04:17] local.INFO: Acknowledgment sent {"connection_id":189171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:04:48] local.INFO: TCP Data received {"connection_id":189171,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:48] local.INFO: Processing buffer {"connection_id":189171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:04:48] local.INFO: Packet analysis {"connection_id":189171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:04:48] local.INFO: Extracted packet for processing {"connection_id":189171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:04: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-19 00:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00: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-19 00:04: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:04: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-19 00: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-19 00: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-19 00:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:04: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-19 00:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":189171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:04:48] local.INFO: GPS data processed {"connection_id":189171,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:04:48] local.INFO: Acknowledgment sent {"connection_id":189171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:05:11] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:11] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:11] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:05:16] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:16] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:05:16] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:05:17] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:17] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:17] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:05:17] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05:17] 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-19 00:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:05:17] 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-19 00:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:05:17] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:05:17] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:05:48] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:48] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:05:48] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:05:48] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:05: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-19 00:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:05: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-19 00:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:05: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-19 00:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:05:48] local.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-19 00:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:05:48] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:05:48] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:06:11] local.INFO: TCP Data received {"connection_id":186572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:11] local.INFO: Processing buffer {"connection_id":186572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:11] local.INFO: IMEI packet received {"connection_id":186572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":186572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:06:16] local.INFO: TCP Data received {"connection_id":186572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:16] local.INFO: Processing buffer {"connection_id":186572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:06:16] local.INFO: IMEI packet received {"connection_id":186572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":186572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:06:17] local.INFO: TCP Data received {"connection_id":186572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:17] local.INFO: Processing buffer {"connection_id":186572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:17] local.INFO: Packet analysis {"connection_id":186572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:06:17] local.INFO: Extracted packet for processing {"connection_id":186572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:06: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-19 00:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06:17] 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-19 00:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:06: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:06:17] 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-19 00:06: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-19 00:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":186572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:06:17] local.INFO: GPS data processed {"connection_id":186572,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:06:17] local.INFO: Acknowledgment sent {"connection_id":186572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:06:49] local.INFO: TCP Data received {"connection_id":186572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:49] local.INFO: Processing buffer {"connection_id":186572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:06:49] local.INFO: Packet analysis {"connection_id":186572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:06:49] local.INFO: Extracted packet for processing {"connection_id":186572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:06: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-19 00:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00: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-19 00:06: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:06:49] 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-19 00: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-19 00: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-19 00:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:06:49] 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-19 00:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":186572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:06:49] local.INFO: GPS data processed {"connection_id":186572,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:06:49] local.INFO: Acknowledgment sent {"connection_id":186572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:07:11] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:11] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:11] local.INFO: IMEI packet received {"connection_id":189172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":189172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:07:16] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:16] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:07:16] local.INFO: IMEI packet received {"connection_id":189172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":189172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:07:17] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:17] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:17] local.INFO: Packet analysis {"connection_id":189172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:07:17] local.INFO: Extracted packet for processing {"connection_id":189172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07:17] 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-19 00:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:07:17] 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-19 00:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:07:17] 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-19 00:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":189172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:07:17] local.INFO: GPS data processed {"connection_id":189172,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:07:17] local.INFO: Acknowledgment sent {"connection_id":189172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:07:48] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:48] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5caadd0012d34c24006aa41400008011530..."} 
[2026-09-19 00:07:48] local.INFO: Packet analysis {"connection_id":189172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:07:48] local.INFO: Extracted packet for processing {"connection_id":189172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ca"} 
[2026-09-19 00:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177549568001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:07: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-19 00:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756354000,"timestamp_ms":1789756354000,"timestamp_seconds":1789756354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5caadd0"} 
[2026-09-19 00: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-19 00:07: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-19 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:07: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-19 00: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-19 00: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-19 00:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:07: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-19 00:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177549568001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177549568001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177549568001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":189172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:07:48] local.INFO: GPS data processed {"connection_id":189172,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:07:48] local.INFO: Acknowledgment sent {"connection_id":189172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:08:11] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:11] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:11] local.INFO: IMEI packet received {"connection_id":189173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":189173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:08:13] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:13] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:13] local.INFO: IMEI packet received {"connection_id":189173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":189173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:08:16] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:16] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:08:16] local.INFO: IMEI packet received {"connection_id":189173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":189173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:08:17] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:17] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:17] local.INFO: Packet analysis {"connection_id":189173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:08:17] local.INFO: Extracted packet for processing {"connection_id":189173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08:17] 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-19 00:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00: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-19 00:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:08:17] 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-19 00: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-19 00: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-19 00:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":189173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:08:17] local.INFO: GPS data processed {"connection_id":189173,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:08:17] local.INFO: Acknowledgment sent {"connection_id":189173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:08:44] local.INFO: TCP Data received {"connection_id":186429,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:08:44] local.INFO: Processing buffer {"connection_id":186429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 00:08:44] local.INFO: IMEI packet received {"connection_id":186429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 00:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":186429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:08:48] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:48] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:08:48] local.INFO: Packet analysis {"connection_id":189173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:08:48] local.INFO: Extracted packet for processing {"connection_id":189173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:08: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-19 00:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00: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-19 00:08: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-19 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:08: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-19 00: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-19 00: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-19 00:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":189173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:08:48] local.INFO: GPS data processed {"connection_id":189173,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:08:48] local.INFO: Acknowledgment sent {"connection_id":189173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:09:11] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:11] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:11] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:09:16] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:16] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:09:16] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:09:17] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:17] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:17] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:17] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:17] 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-19 00:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00: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-19 00:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:09:17] 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-19 00: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-19 00: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-19 00:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:17] 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-19 00:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:09:17] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:09:17] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:09:21] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:21] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:21] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:21] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:21] 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-19 00:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:09:21] 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-19 00:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:09:21] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:09:21] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:09:53] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:53] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:09:53] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:53] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:09:53] 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-19 00:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:09:53] 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-19 00:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:09:53] 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-19 00:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:09:53] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:09:53] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:10:11] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:11] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:11] local.INFO: IMEI packet received {"connection_id":187820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":187820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:10:16] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:16] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:10:16] local.INFO: IMEI packet received {"connection_id":187820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":187820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:10:17] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:17] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:17] local.INFO: Packet analysis {"connection_id":187820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:10:17] local.INFO: Extracted packet for processing {"connection_id":187820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10:17] 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-19 00:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00: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-19 00:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:10:17] 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-19 00: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-19 00: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-19 00:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":187820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:10:17] local.INFO: GPS data processed {"connection_id":187820,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:10:17] local.INFO: Acknowledgment sent {"connection_id":187820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:10:48] local.INFO: TCP Data received {"connection_id":187820,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:48] local.INFO: Processing buffer {"connection_id":187820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:10:48] local.INFO: Packet analysis {"connection_id":187820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:10:48] local.INFO: Extracted packet for processing {"connection_id":187820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:10: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-19 00:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00: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-19 00:10: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-19 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:10: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-19 00: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-19 00: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-19 00:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":187820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:10:48] local.INFO: GPS data processed {"connection_id":187820,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:10:48] local.INFO: Acknowledgment sent {"connection_id":187820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:11:11] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:11] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:11] local.INFO: IMEI packet received {"connection_id":189174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":189174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:11:16] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:16] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:11:16] local.INFO: IMEI packet received {"connection_id":189174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":189174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:11:17] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:17] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:17] local.INFO: Packet analysis {"connection_id":189174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:11:17] local.INFO: Extracted packet for processing {"connection_id":189174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11:17] 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-19 00:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:11:17] 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-19 00:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":189174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:11:17] local.INFO: GPS data processed {"connection_id":189174,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:11:17] local.INFO: Acknowledgment sent {"connection_id":189174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:11:48] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:48] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:11:48] local.INFO: Packet analysis {"connection_id":189174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:11:48] local.INFO: Extracted packet for processing {"connection_id":189174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:11: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-19 00:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:11: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-19 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:11: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-19 00:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:11: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-19 00:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":189174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:11:48] local.INFO: GPS data processed {"connection_id":189174,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:11:48] local.INFO: Acknowledgment sent {"connection_id":189174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:12:11] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:11] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:11] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:12:16] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:16] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:12:16] local.INFO: IMEI packet received {"connection_id":186430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":186430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:12:17] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:17] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:17] local.INFO: Packet analysis {"connection_id":186430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:12:17] local.INFO: Extracted packet for processing {"connection_id":186430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12:17] 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-19 00:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:12:17] 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-19 00:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:12:17] local.INFO: GPS data processed {"connection_id":186430,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:12:17] local.INFO: Acknowledgment sent {"connection_id":186430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:12:48] local.INFO: TCP Data received {"connection_id":186430,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:48] local.INFO: Processing buffer {"connection_id":186430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5cf4598012d34c24006aa4140000801152d..."} 
[2026-09-19 00:12:48] local.INFO: Packet analysis {"connection_id":186430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:12:48] local.INFO: Extracted packet for processing {"connection_id":186430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5cf"} 
[2026-09-19 00:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177626624001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:12: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-19 00:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756655000,"timestamp_ms":1789756655000,"timestamp_seconds":1789756655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5cf4598"} 
[2026-09-19 00:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:12: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-19 00:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:12: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-19 00:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177626624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177626624001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177626624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:12:48] local.INFO: GPS data processed {"connection_id":186430,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:12:48] local.INFO: Acknowledgment sent {"connection_id":186430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:13:11] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:11] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:11] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:13:14] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:14] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:14] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:13:16] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:16] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:13:16] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:13:16] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:16] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:16] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:13:16] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13:16] 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-19 00:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:13: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-19 00:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:13: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-19 00:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:13:16] 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-19 00:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:13:16] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:13:16] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:13:48] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:48] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:13:48] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:13:48] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 00:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:13: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-19 00:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 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-19 00:13: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-19 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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:13: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-19 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-19 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-19 00:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:13:48] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:13:48] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:14:11] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:11] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:11] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:14:16] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:16] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:14:16] local.INFO: IMEI packet received {"connection_id":186432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":186432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:14:17] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:17] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:17] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:14:17] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:14: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-19 00:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14:17] 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-19 00:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:14: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-19 00:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:14:17] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:14:17] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:14:48] local.INFO: TCP Data received {"connection_id":186432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:48] local.INFO: Processing buffer {"connection_id":186432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:14:48] local.INFO: Packet analysis {"connection_id":186432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:14:48] local.INFO: Extracted packet for processing {"connection_id":186432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:14: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-19 00:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00: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-19 00:14: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:14: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-19 00: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-19 00: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-19 00:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:14: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-19 00:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":186432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:14:48] local.INFO: GPS data processed {"connection_id":186432,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:14:48] local.INFO: Acknowledgment sent {"connection_id":186432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:15:11] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:11] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:11] local.INFO: IMEI packet received {"connection_id":186575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":186575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:15:16] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:16] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:15:16] local.INFO: IMEI packet received {"connection_id":186575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":186575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:15:17] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:17] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:17] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:15:17] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:15:17] 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-19 00:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00: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-19 00:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:15:17] local.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-19 00:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:15:17] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:15:17] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:15:49] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:49] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:15:49] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:15:49] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00: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-19 00:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00: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-19 00:15: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:15: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-19 00: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-19 00: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-19 00:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:15:49] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:15:49] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:16:11] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:11] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:11] local.INFO: IMEI packet received {"connection_id":186576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":186576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:16:16] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:16] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:16:16] local.INFO: IMEI packet received {"connection_id":186576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":186576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:16:17] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:17] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:17] local.INFO: Packet analysis {"connection_id":186576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:16:17] local.INFO: Extracted packet for processing {"connection_id":186576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16:17] 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-19 00:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00: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-19 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:16:17] 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-19 00:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":186576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:16:17] local.INFO: GPS data processed {"connection_id":186576,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:16:17] local.INFO: Acknowledgment sent {"connection_id":186576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:16:49] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:49] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:16:49] local.INFO: Packet analysis {"connection_id":186576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:16:49] local.INFO: Extracted packet for processing {"connection_id":186576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:16: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-19 00:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:16: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-19 00:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:16: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-19 00:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:16:49] 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-19 00:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":186576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:16:49] local.INFO: GPS data processed {"connection_id":186576,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:16:49] local.INFO: Acknowledgment sent {"connection_id":186576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:17:11] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:11] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:11] local.INFO: IMEI packet received {"connection_id":186433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:17:16] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:16] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:17:16] local.INFO: IMEI packet received {"connection_id":186433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":186433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:17:17] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:17] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:17] local.INFO: Packet analysis {"connection_id":186433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:17:17] local.INFO: Extracted packet for processing {"connection_id":186433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17:17] 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-19 00:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:17:17] local.INFO: GPS data processed {"connection_id":186433,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:17:17] local.INFO: Acknowledgment sent {"connection_id":186433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:17:48] local.INFO: TCP Data received {"connection_id":186433,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:48] local.INFO: Processing buffer {"connection_id":186433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d3dd60012d34c24006aa4140000801152e..."} 
[2026-09-19 00:17:48] local.INFO: Packet analysis {"connection_id":186433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:17:48] local.INFO: Extracted packet for processing {"connection_id":186433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d3"} 
[2026-09-19 00:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177703680001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:17: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-19 00:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789756956000,"timestamp_ms":1789756956000,"timestamp_seconds":1789756956,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d3dd60"} 
[2026-09-19 00: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-19 00:17: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:17: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-19 00: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-19 00: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-19 00:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:17:48] 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-19 00:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177703680001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177703680001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177703680001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":186433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:17:48] local.INFO: GPS data processed {"connection_id":186433,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:17:48] local.INFO: Acknowledgment sent {"connection_id":186433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:18:11] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:11] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:11] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:18:15] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:18:15] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:18:15] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:18:16] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:16] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:16] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:16] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:16] 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-19 00:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00: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-19 00:18: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-19 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:18:16] 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-19 00: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-19 00: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-19 00:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:18:16] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:18:16] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:18:21] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:21] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:21] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:21] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:21] 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-19 00:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:18:21] 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-19 00:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:18:21] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:18:21] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:18:53] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:53] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:18:53] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:53] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:18:53] 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-19 00:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:18: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-19 00:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:18:53] local.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-19 00:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:18:53] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:18:53] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:19:10] local.INFO: TCP Data received {"connection_id":187821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:10] local.INFO: Processing buffer {"connection_id":187821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:10] local.INFO: IMEI packet received {"connection_id":187821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":187821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:19:16] local.INFO: TCP Data received {"connection_id":187821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:16] local.INFO: Processing buffer {"connection_id":187821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:19:16] local.INFO: IMEI packet received {"connection_id":187821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":187821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:19:16] local.INFO: TCP Data received {"connection_id":187821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:16] local.INFO: Processing buffer {"connection_id":187821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:16] local.INFO: Packet analysis {"connection_id":187821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:19:16] local.INFO: Extracted packet for processing {"connection_id":187821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19:16] 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-19 00:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:19: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-19 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:19:16] 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-19 00:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":187821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:19:16] local.INFO: GPS data processed {"connection_id":187821,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:19:16] local.INFO: Acknowledgment sent {"connection_id":187821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:19:47] local.INFO: TCP Data received {"connection_id":187821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:47] local.INFO: Processing buffer {"connection_id":187821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:19:47] local.INFO: Packet analysis {"connection_id":187821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:19:47] local.INFO: Extracted packet for processing {"connection_id":187821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:19: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-19 00:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:19: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-19 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:19:47] 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-19 00:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:19: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-19 00:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":187821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:19:47] local.INFO: GPS data processed {"connection_id":187821,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:19:47] local.INFO: Acknowledgment sent {"connection_id":187821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:20:10] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:10] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:10] local.INFO: IMEI packet received {"connection_id":187822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":187822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:20:16] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:16] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:20:16] local.INFO: IMEI packet received {"connection_id":187822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":187822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:20:16] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:16] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:16] local.INFO: Packet analysis {"connection_id":187822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:20:16] local.INFO: Extracted packet for processing {"connection_id":187822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:20:16] 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-19 00:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00: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-19 00: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:20:16] 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-19 00: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-19 00: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-19 00:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":187822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:20:16] local.INFO: GPS data processed {"connection_id":187822,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:20:16] local.INFO: Acknowledgment sent {"connection_id":187822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:20:48] local.INFO: TCP Data received {"connection_id":187822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:48] local.INFO: Processing buffer {"connection_id":187822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:20:48] local.INFO: Packet analysis {"connection_id":187822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:20:48] local.INFO: Extracted packet for processing {"connection_id":187822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:20:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00: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-19 00:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00: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-19 00:20: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:20: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-19 00: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-19 00: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-19 00:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":187822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:20:48] local.INFO: GPS data processed {"connection_id":187822,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:20:48] local.INFO: Acknowledgment sent {"connection_id":187822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:21:10] local.INFO: TCP Data received {"connection_id":187823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:10] local.INFO: Processing buffer {"connection_id":187823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:10] local.INFO: IMEI packet received {"connection_id":187823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":187823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:21:16] local.INFO: TCP Data received {"connection_id":187823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:16] local.INFO: Processing buffer {"connection_id":187823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:21:16] local.INFO: IMEI packet received {"connection_id":187823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":187823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:21:16] local.INFO: TCP Data received {"connection_id":187823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:16] local.INFO: Processing buffer {"connection_id":187823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:16] local.INFO: Packet analysis {"connection_id":187823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:21:16] local.INFO: Extracted packet for processing {"connection_id":187823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21:16] 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-19 00:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00: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-19 00:21: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:21:16] 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-19 00: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-19 00: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-19 00:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":187823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:21:16] local.INFO: GPS data processed {"connection_id":187823,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:21:16] local.INFO: Acknowledgment sent {"connection_id":187823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:21:47] local.INFO: TCP Data received {"connection_id":187823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:47] local.INFO: Processing buffer {"connection_id":187823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:21:47] local.INFO: Packet analysis {"connection_id":187823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:21:47] local.INFO: Extracted packet for processing {"connection_id":187823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:21: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-19 00:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00: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-19 00:21: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:21:47] 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-19 00: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-19 00: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-19 00:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:21: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-19 00:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":187823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:21:47] local.INFO: GPS data processed {"connection_id":187823,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:21:47] local.INFO: Acknowledgment sent {"connection_id":187823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:22:11] local.INFO: TCP Data received {"connection_id":186578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:11] local.INFO: Processing buffer {"connection_id":186578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:11] local.INFO: IMEI packet received {"connection_id":186578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":186578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:22:16] local.INFO: TCP Data received {"connection_id":186578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:16] local.INFO: Processing buffer {"connection_id":186578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:22:16] local.INFO: IMEI packet received {"connection_id":186578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:22:17] local.INFO: TCP Data received {"connection_id":186578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:17] local.INFO: Processing buffer {"connection_id":186578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:17] local.INFO: Packet analysis {"connection_id":186578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:22:17] local.INFO: Extracted packet for processing {"connection_id":186578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22:17] 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-19 00:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:22:17] 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-19 00:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:22:17] local.INFO: GPS data processed {"connection_id":186578,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:22:17] local.INFO: Acknowledgment sent {"connection_id":186578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:22:49] local.INFO: TCP Data received {"connection_id":186578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:49] local.INFO: Processing buffer {"connection_id":186578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5d87528012d34c24006aa4140000801152d..."} 
[2026-09-19 00:22:49] local.INFO: Packet analysis {"connection_id":186578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:22:49] local.INFO: Extracted packet for processing {"connection_id":186578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5d8"} 
[2026-09-19 00:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:22: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-19 00:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177780736001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:22: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-19 00:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789757257000,"timestamp_ms":1789757257000,"timestamp_seconds":1789757257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5d87528"} 
[2026-09-19 00:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:22: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-19 00:22: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:22:49] 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-19 00:22: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-19 00:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:22:49] local.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-19 00:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177780736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177780736001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177780736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":186578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:22:49] local.INFO: GPS data processed {"connection_id":186578,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:22:49] local.INFO: Acknowledgment sent {"connection_id":186578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:23:11] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:11] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:11] local.INFO: IMEI packet received {"connection_id":187824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":187824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:23:16] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:16] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:23:16] local.INFO: IMEI packet received {"connection_id":187824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":187824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:23:17] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:17] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:17] local.INFO: Packet analysis {"connection_id":187824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:23:17] local.INFO: Extracted packet for processing {"connection_id":187824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:23:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:23:17] 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-19 00:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":187824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:23:17] local.INFO: GPS data processed {"connection_id":187824,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:23:17] local.INFO: Acknowledgment sent {"connection_id":187824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:23:48] local.INFO: TCP Data received {"connection_id":187824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:48] local.INFO: Processing buffer {"connection_id":187824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:23:48] local.INFO: Packet analysis {"connection_id":187824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:23:48] local.INFO: Extracted packet for processing {"connection_id":187824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00: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-19 00:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:23: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-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:23: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-19 00: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-19 00: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-19 00:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:23:48] local.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-19 00:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":187824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:23:48] local.INFO: GPS data processed {"connection_id":187824,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:23:48] local.INFO: Acknowledgment sent {"connection_id":187824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:24:11] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:11] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:11] local.INFO: IMEI packet received {"connection_id":187825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":187825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:24:16] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:16] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:24:16] local.INFO: IMEI packet received {"connection_id":187825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":187825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:24:17] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:17] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:17] local.INFO: Packet analysis {"connection_id":187825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:24:17] local.INFO: Extracted packet for processing {"connection_id":187825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24:17] 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-19 00:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:24:17] 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-19 00:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":187825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:24:17] local.INFO: GPS data processed {"connection_id":187825,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:24:17] local.INFO: Acknowledgment sent {"connection_id":187825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:24:48] local.INFO: TCP Data received {"connection_id":187825,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:48] local.INFO: Processing buffer {"connection_id":187825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:24:48] local.INFO: Packet analysis {"connection_id":187825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:24:48] local.INFO: Extracted packet for processing {"connection_id":187825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:24: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-19 00:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:24: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:24: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-19 00: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-19 00: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-19 00:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:24:48] 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-19 00:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":187825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:24:48] local.INFO: GPS data processed {"connection_id":187825,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:24:48] local.INFO: Acknowledgment sent {"connection_id":187825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:25:16] local.INFO: TCP Data received {"connection_id":189175,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:16] local.INFO: Processing buffer {"connection_id":189175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:16] local.INFO: IMEI packet received {"connection_id":189175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":189175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:25:21] local.INFO: TCP Data received {"connection_id":189175,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:21] local.INFO: Processing buffer {"connection_id":189175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:25:21] local.INFO: IMEI packet received {"connection_id":189175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":189175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:25:22] local.INFO: TCP Data received {"connection_id":189175,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:22] local.INFO: Processing buffer {"connection_id":189175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:22] local.INFO: Packet analysis {"connection_id":189175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:25:22] local.INFO: Extracted packet for processing {"connection_id":189175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:25: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-19 00:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:22] 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-19 00:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:25: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 00:25: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-19 00:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:25:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":189175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:25:22] local.INFO: GPS data processed {"connection_id":189175,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:25:22] local.INFO: Acknowledgment sent {"connection_id":189175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:25:27] local.INFO: TCP Data received {"connection_id":189175,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:27] local.INFO: Processing buffer {"connection_id":189175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:25:27] local.INFO: Packet analysis {"connection_id":189175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:25:27] local.INFO: Extracted packet for processing {"connection_id":189175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:25:27] 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-19 00:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 00:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:25:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":189175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:25:27] local.INFO: GPS data processed {"connection_id":189175,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:25:27] local.INFO: Acknowledgment sent {"connection_id":189175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:26:11] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:11] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:11] local.INFO: IMEI packet received {"connection_id":189176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":189176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:26:16] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:16] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:26:16] local.INFO: IMEI packet received {"connection_id":189176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":189176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:26:17] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:17] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:17] local.INFO: Packet analysis {"connection_id":189176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:26:17] local.INFO: Extracted packet for processing {"connection_id":189176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26:17] 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-19 00:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:26: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-19 00:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":189176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:26:17] local.INFO: GPS data processed {"connection_id":189176,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:26:17] local.INFO: Acknowledgment sent {"connection_id":189176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:26:48] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:48] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:26:48] local.INFO: Packet analysis {"connection_id":189176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:26:48] local.INFO: Extracted packet for processing {"connection_id":189176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:26: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-19 00:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:26: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-19 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:26: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-19 00: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-19 00: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-19 00:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00: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-19 00:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":189176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:26:48] local.INFO: GPS data processed {"connection_id":189176,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:26:48] local.INFO: Acknowledgment sent {"connection_id":189176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:27:11] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:11] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:11] local.INFO: IMEI packet received {"connection_id":186434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":186434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:27:16] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:16] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:27:16] local.INFO: IMEI packet received {"connection_id":186434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":186434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:27:17] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:17] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:17] local.INFO: Packet analysis {"connection_id":186434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:27:17] local.INFO: Extracted packet for processing {"connection_id":186434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27:17] 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-19 00:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:27:17] 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-19 00:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":186434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:27:17] local.INFO: GPS data processed {"connection_id":186434,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:27:17] local.INFO: Acknowledgment sent {"connection_id":186434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:27:49] local.INFO: TCP Data received {"connection_id":186434,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:49] local.INFO: Processing buffer {"connection_id":186434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:27:49] local.INFO: Packet analysis {"connection_id":186434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:27:49] local.INFO: Extracted packet for processing {"connection_id":186434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:27: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-19 00:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00: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-19 00:27: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-19 00: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-19 00: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-19 00: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-19 00: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-19 00:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:27:49] 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-19 00:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":186434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:27:49] local.INFO: GPS data processed {"connection_id":186434,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:27:49] local.INFO: Acknowledgment sent {"connection_id":186434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:28:11] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:11] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:11] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:28:16] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:16] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:28:16] local.INFO: IMEI packet received {"connection_id":186435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":186435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:28:17] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:28:17] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5dd0cf0012d34c24006aa41400008011530..."} 
[2026-09-19 00:28:17] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:28:17] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5dd"} 
[2026-09-19 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177857792001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:28:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:28:17] 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-19 00:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757558000,"timestamp_ms":1789757558000,"timestamp_seconds":1789757558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5dd0cf0"} 
[2026-09-19 00:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177857792001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177857792001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177857792001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:28:17] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:28:17] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:28:48] local.INFO: TCP Data received {"connection_id":186435,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:28:48] local.INFO: Processing buffer {"connection_id":186435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:28:48] local.INFO: Packet analysis {"connection_id":186435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:28:48] local.INFO: Extracted packet for processing {"connection_id":186435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:28:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00: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-19 00:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00: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-19 00:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:28: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-19 00:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:28:48] 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-19 00:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:28:48] local.INFO: GPS data processed {"connection_id":186435,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:28:48] local.INFO: Acknowledgment sent {"connection_id":186435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:29:11] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:11] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:11] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:29:16] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:16] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:29:16] local.INFO: IMEI packet received {"connection_id":186436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:29:17] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:17] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:17] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:29:17] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29:17] 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-19 00:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:29:17] 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-19 00:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:29:17] 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-19 00:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:29:17] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:29:17] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:29:48] local.INFO: TCP Data received {"connection_id":186436,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:48] local.INFO: Processing buffer {"connection_id":186436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:29:48] local.INFO: Packet analysis {"connection_id":186436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:29:48] local.INFO: Extracted packet for processing {"connection_id":186436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:29: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-19 00:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00: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-19 00:29: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:29: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-19 00: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-19 00: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-19 00:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:29:48] 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-19 00:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":186436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:29:48] local.INFO: GPS data processed {"connection_id":186436,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:29:48] local.INFO: Acknowledgment sent {"connection_id":186436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:30:16] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:16] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:16] local.INFO: IMEI packet received {"connection_id":186579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":186579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:30:21] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:21] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:30:21] local.INFO: IMEI packet received {"connection_id":186579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":186579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:30:22] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:22] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:22] local.INFO: Packet analysis {"connection_id":186579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:30:22] local.INFO: Extracted packet for processing {"connection_id":186579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:22] 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-19 00:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:30:22] 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-19 00:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":186579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:30:22] local.INFO: GPS data processed {"connection_id":186579,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:30:22] local.INFO: Acknowledgment sent {"connection_id":186579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:30:28] local.INFO: TCP Data received {"connection_id":186579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:28] local.INFO: Processing buffer {"connection_id":186579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:30:28] local.INFO: Packet analysis {"connection_id":186579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:30:28] local.INFO: Extracted packet for processing {"connection_id":186579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:30:28] 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-19 00:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:30: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-19 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:30:28] 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-19 00:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:30:28] local.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-19 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:30:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":186579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:30:28] local.INFO: GPS data processed {"connection_id":186579,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:30:28] local.INFO: Acknowledgment sent {"connection_id":186579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:31:11] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:11] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:11] local.INFO: IMEI packet received {"connection_id":186437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:31:16] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:16] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:31:16] local.INFO: IMEI packet received {"connection_id":186437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:31:17] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:17] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:17] local.INFO: Packet analysis {"connection_id":186437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:31:17] local.INFO: Extracted packet for processing {"connection_id":186437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31:17] 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-19 00:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:31:17] 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-19 00:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:31:17] local.INFO: GPS data processed {"connection_id":186437,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:31:17] local.INFO: Acknowledgment sent {"connection_id":186437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:31:48] local.INFO: TCP Data received {"connection_id":186437,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:48] local.INFO: Processing buffer {"connection_id":186437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:31:48] local.INFO: Packet analysis {"connection_id":186437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:31:48] local.INFO: Extracted packet for processing {"connection_id":186437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:31: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-19 00:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:31: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-19 00:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:31: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-19 00:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:31:48] local.INFO: GPS data processed {"connection_id":186437,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:31:48] local.INFO: Acknowledgment sent {"connection_id":186437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:32:11] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:11] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:11] local.INFO: IMEI packet received {"connection_id":187826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":187826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:32:16] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:16] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:32:16] local.INFO: IMEI packet received {"connection_id":187826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":187826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:32:17] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:17] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:17] local.INFO: Packet analysis {"connection_id":187826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:32:17] local.INFO: Extracted packet for processing {"connection_id":187826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:32:17] 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-19 00:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:32:17] 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-19 00:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:32:17] 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-19 00:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":187826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:32:17] local.INFO: GPS data processed {"connection_id":187826,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:32:17] local.INFO: Acknowledgment sent {"connection_id":187826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:32:48] local.INFO: TCP Data received {"connection_id":187826,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:48] local.INFO: Processing buffer {"connection_id":187826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:32:48] local.INFO: Packet analysis {"connection_id":187826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:32:48] local.INFO: Extracted packet for processing {"connection_id":187826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00: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-19 00:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:32: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-19 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:32: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-19 00:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:32:48] 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-19 00:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":187826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:32:48] local.INFO: GPS data processed {"connection_id":187826,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:32:48] local.INFO: Acknowledgment sent {"connection_id":187826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:33:11] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:11] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:11] local.INFO: IMEI packet received {"connection_id":187827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":187827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:33:16] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:16] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:33:16] local.INFO: IMEI packet received {"connection_id":187827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":187827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:33:17] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:17] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e1a4b8012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:17] local.INFO: Packet analysis {"connection_id":187827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:33:17] local.INFO: Extracted packet for processing {"connection_id":187827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e1"} 
[2026-09-19 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458177934848001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33:17] 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-19 00:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789757859000,"timestamp_ms":1789757859000,"timestamp_seconds":1789757859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e1a4b8"} 
[2026-09-19 00:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:33:17] 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-19 00:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458177934848001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458177934848001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458177934848001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":187827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:33:17] local.INFO: GPS data processed {"connection_id":187827,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:33:17] local.INFO: Acknowledgment sent {"connection_id":187827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:33:49] local.INFO: TCP Data received {"connection_id":187827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:49] local.INFO: Processing buffer {"connection_id":187827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:33:49] local.INFO: Packet analysis {"connection_id":187827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:33:49] local.INFO: Extracted packet for processing {"connection_id":187827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:33: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-19 00:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:33: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-19 00:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:33:49] 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-19 00:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:33:49] local.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-19 00:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":187827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:33:49] local.INFO: GPS data processed {"connection_id":187827,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:33:49] local.INFO: Acknowledgment sent {"connection_id":187827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:34:11] local.INFO: TCP Data received {"connection_id":189177,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:11] local.INFO: Processing buffer {"connection_id":189177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:11] local.INFO: IMEI packet received {"connection_id":189177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":189177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:34:16] local.INFO: TCP Data received {"connection_id":189177,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:16] local.INFO: Processing buffer {"connection_id":189177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:34:16] local.INFO: IMEI packet received {"connection_id":189177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":189177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:34:17] local.INFO: TCP Data received {"connection_id":189177,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:17] local.INFO: Processing buffer {"connection_id":189177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:17] local.INFO: Packet analysis {"connection_id":189177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:34:17] local.INFO: Extracted packet for processing {"connection_id":189177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34:17] 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-19 00:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:34:17] 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-19 00:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:34:17] 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-19 00:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":189177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:34:17] local.INFO: GPS data processed {"connection_id":189177,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:34:17] local.INFO: Acknowledgment sent {"connection_id":189177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:34:48] local.INFO: TCP Data received {"connection_id":189177,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:48] local.INFO: Processing buffer {"connection_id":189177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:34:48] local.INFO: Packet analysis {"connection_id":189177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:34:48] local.INFO: Extracted packet for processing {"connection_id":189177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:34: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-19 00:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00: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-19 00:34: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:34: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-19 00: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-19 00: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-19 00:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:34: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-19 00:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":189177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:34:48] local.INFO: GPS data processed {"connection_id":189177,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:34:48] local.INFO: Acknowledgment sent {"connection_id":189177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:35:16] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:16] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:16] local.INFO: IMEI packet received {"connection_id":186580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:35:21] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:21] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:35:21] local.INFO: IMEI packet received {"connection_id":186580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":186580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:35:22] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:22] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:22] local.INFO: Packet analysis {"connection_id":186580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:35:22] local.INFO: Extracted packet for processing {"connection_id":186580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:22] 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-19 00:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:35:22] 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-19 00:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":186580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:35:22] local.INFO: GPS data processed {"connection_id":186580,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:35:22] local.INFO: Acknowledgment sent {"connection_id":186580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:35:26] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:26] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:35:26] local.INFO: Packet analysis {"connection_id":186580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:35:26] local.INFO: Extracted packet for processing {"connection_id":186580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:35:26] 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-19 00:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:35:26] 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-19 00:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:35:26] local.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-19 00:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":186580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:35:26] local.INFO: GPS data processed {"connection_id":186580,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:35:26] local.INFO: Acknowledgment sent {"connection_id":186580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:36:11] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:11] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:11] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:36:16] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:16] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:36:16] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:36:17] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:17] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:17] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:36:17] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36:17] 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-19 00:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00: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-19 00:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:36:17] 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-19 00: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-19 00: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-19 00:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:36:17] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:36:17] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:36:49] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:49] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:36:49] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:36:49] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:36: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-19 00:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:36: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-19 00:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:36:49] 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-19 00:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:36:49] 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-19 00:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:36:49] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:36:49] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:37:11] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:11] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:11] local.INFO: IMEI packet received {"connection_id":189178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":189178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:37:16] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:16] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:37:16] local.INFO: IMEI packet received {"connection_id":189178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":189178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:37:17] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:17] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:17] local.INFO: Packet analysis {"connection_id":189178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:37:17] local.INFO: Extracted packet for processing {"connection_id":189178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37:17] 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-19 00:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00: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-19 00:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:37:17] 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-19 00: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-19 00: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-19 00:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":189178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:37:17] local.INFO: GPS data processed {"connection_id":189178,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:37:17] local.INFO: Acknowledgment sent {"connection_id":189178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:37:48] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:48] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:37:48] local.INFO: Packet analysis {"connection_id":189178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:37:48] local.INFO: Extracted packet for processing {"connection_id":189178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:37: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-19 00:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00: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-19 00: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:37: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-19 00: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-19 00: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-19 00:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":189178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:37:48] local.INFO: GPS data processed {"connection_id":189178,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:37:48] local.INFO: Acknowledgment sent {"connection_id":189178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:38:11] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:11] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:11] local.INFO: IMEI packet received {"connection_id":186438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":186438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:38:16] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:16] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:38:16] local.INFO: IMEI packet received {"connection_id":186438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:38:17] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:38:17] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5e63c80012d34c24006aa4140000801152e..."} 
[2026-09-19 00:38:17] local.INFO: Packet analysis {"connection_id":186438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:38:17] local.INFO: Extracted packet for processing {"connection_id":186438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5e6"} 
[2026-09-19 00:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178011904001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38:17] 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-19 00:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758160000,"timestamp_ms":1789758160000,"timestamp_seconds":1789758160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5e63c80"} 
[2026-09-19 00:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:38:17] 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-19 00:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178011904001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178011904001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178011904001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":186438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:38:17] local.INFO: GPS data processed {"connection_id":186438,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:38:17] local.INFO: Acknowledgment sent {"connection_id":186438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:38:48] local.INFO: TCP Data received {"connection_id":186438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:38:48] local.INFO: Processing buffer {"connection_id":186438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:38:48] local.INFO: Packet analysis {"connection_id":186438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:38:48] local.INFO: Extracted packet for processing {"connection_id":186438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:38: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-19 00:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00: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-19 00:38: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-19 00: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-19 00: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-19 00: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-19 00: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-19 00:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:38: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-19 00:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":186438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:38:48] local.INFO: GPS data processed {"connection_id":186438,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:38:48] local.INFO: Acknowledgment sent {"connection_id":186438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:39:10] local.INFO: TCP Data received {"connection_id":189179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:10] local.INFO: Processing buffer {"connection_id":189179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:10] local.INFO: IMEI packet received {"connection_id":189179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":189179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:39:15] local.INFO: TCP Data received {"connection_id":189179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:15] local.INFO: Processing buffer {"connection_id":189179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:39:15] local.INFO: IMEI packet received {"connection_id":189179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":189179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:39:17] local.INFO: TCP Data received {"connection_id":189179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:17] local.INFO: Processing buffer {"connection_id":189179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:17] local.INFO: Packet analysis {"connection_id":189179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:39:17] local.INFO: Extracted packet for processing {"connection_id":189179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39:17] 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-19 00:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:39: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-19 00:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:39: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-19 00:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":189179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:39:17] local.INFO: GPS data processed {"connection_id":189179,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:39:17] local.INFO: Acknowledgment sent {"connection_id":189179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:39:47] local.INFO: TCP Data received {"connection_id":189179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:47] local.INFO: Processing buffer {"connection_id":189179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:39:47] local.INFO: Packet analysis {"connection_id":189179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:39:47] local.INFO: Extracted packet for processing {"connection_id":189179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:39: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-19 00:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00: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-19 00:39: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-19 00:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:39: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-19 00: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-19 00: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-19 00:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":189179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:39:48] local.INFO: GPS data processed {"connection_id":189179,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:39:48] local.INFO: Acknowledgment sent {"connection_id":189179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:40:11] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:11] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:11] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:40:15] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:15] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:40:15] local.INFO: IMEI packet received {"connection_id":186439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:40:16] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:16] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:16] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:40:16] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40:16] 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-19 00:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:40: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-19 00:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:40:16] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:40:16] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:40:48] local.INFO: TCP Data received {"connection_id":186439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:48] local.INFO: Processing buffer {"connection_id":186439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:40:48] local.INFO: Packet analysis {"connection_id":186439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:40:48] local.INFO: Extracted packet for processing {"connection_id":186439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:40: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-19 00:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:40: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-19 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:40: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-19 00:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:40:48] local.INFO: GPS data processed {"connection_id":186439,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:40:48] local.INFO: Acknowledgment sent {"connection_id":186439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:41:16] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:16] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:16] local.INFO: IMEI packet received {"connection_id":187828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":187828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:41:21] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:21] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:41:21] local.INFO: IMEI packet received {"connection_id":187828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":187828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:41:26] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:26] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:26] local.INFO: Packet analysis {"connection_id":187828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:41:26] local.INFO: Extracted packet for processing {"connection_id":187828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:26] 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-19 00:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:41:26] 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-19 00:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:41:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":187828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:41:26] local.INFO: GPS data processed {"connection_id":187828,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:41:26] local.INFO: Acknowledgment sent {"connection_id":187828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:41:27] local.INFO: TCP Data received {"connection_id":187828,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:27] local.INFO: Processing buffer {"connection_id":187828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:41:27] local.INFO: Packet analysis {"connection_id":187828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:41:27] local.INFO: Extracted packet for processing {"connection_id":187828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:41: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-19 00:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:41:27] 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-19 00:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:41: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:41: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-19 00:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:41:27] 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-19 00:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":187828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:41:27] local.INFO: GPS data processed {"connection_id":187828,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:41:27] local.INFO: Acknowledgment sent {"connection_id":187828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:42:11] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:11] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:11] local.INFO: IMEI packet received {"connection_id":187829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:42:16] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:16] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:42:16] local.INFO: IMEI packet received {"connection_id":187829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:42:17] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:17] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:17] local.INFO: Packet analysis {"connection_id":187829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:42:17] local.INFO: Extracted packet for processing {"connection_id":187829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42:17] 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-19 00:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:42: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-19 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:42: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-19 00:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:42:17] local.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-19 00:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":187829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:42:17] local.INFO: GPS data processed {"connection_id":187829,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:42:17] local.INFO: Acknowledgment sent {"connection_id":187829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:42:49] local.INFO: TCP Data received {"connection_id":187829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:49] local.INFO: Processing buffer {"connection_id":187829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:42:49] local.INFO: Packet analysis {"connection_id":187829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:42:49] local.INFO: Extracted packet for processing {"connection_id":187829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:42: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-19 00:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:42: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-19 00:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:42: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-19 00:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":187829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:42:49] local.INFO: GPS data processed {"connection_id":187829,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:42:49] local.INFO: Acknowledgment sent {"connection_id":187829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:43:11] local.INFO: TCP Data received {"connection_id":189180,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:11] local.INFO: Processing buffer {"connection_id":189180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:11] local.INFO: IMEI packet received {"connection_id":189180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":189180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:43:16] local.INFO: TCP Data received {"connection_id":189180,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:16] local.INFO: Processing buffer {"connection_id":189180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:43:16] local.INFO: IMEI packet received {"connection_id":189180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":189180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:43:17] local.INFO: TCP Data received {"connection_id":189180,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:43:17] local.INFO: Processing buffer {"connection_id":189180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ead448012d34c24006aa4140000801152f..."} 
[2026-09-19 00:43:17] local.INFO: Packet analysis {"connection_id":189180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:43:17] local.INFO: Extracted packet for processing {"connection_id":189180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ea"} 
[2026-09-19 00:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178088960001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43:17] 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-19 00:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758461000,"timestamp_ms":1789758461000,"timestamp_seconds":1789758461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ead448"} 
[2026-09-19 00:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:43: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-19 00:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:43: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-19 00:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:43:17] 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-19 00:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178088960001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178088960001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178088960001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":189180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:43:17] local.INFO: GPS data processed {"connection_id":189180,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:43:17] local.INFO: Acknowledgment sent {"connection_id":189180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:43:48] local.INFO: TCP Data received {"connection_id":189180,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:43:48] local.INFO: Processing buffer {"connection_id":189180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:43:48] local.INFO: Packet analysis {"connection_id":189180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:43:48] local.INFO: Extracted packet for processing {"connection_id":189180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 00:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:43: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-19 00:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 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-19 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-19 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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:43: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-19 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-19 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-19 00:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:43:48] 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-19 00:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":189180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:43:48] local.INFO: GPS data processed {"connection_id":189180,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:43:48] local.INFO: Acknowledgment sent {"connection_id":189180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:44:11] local.INFO: TCP Data received {"connection_id":187830,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:11] local.INFO: Processing buffer {"connection_id":187830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:11] local.INFO: IMEI packet received {"connection_id":187830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":187830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:44:16] local.INFO: TCP Data received {"connection_id":187830,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:16] local.INFO: Processing buffer {"connection_id":187830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:44:16] local.INFO: IMEI packet received {"connection_id":187830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:44:17] local.INFO: TCP Data received {"connection_id":187830,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:17] local.INFO: Processing buffer {"connection_id":187830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:17] local.INFO: Packet analysis {"connection_id":187830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:44:17] local.INFO: Extracted packet for processing {"connection_id":187830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44:17] 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-19 00:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:44:17] 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-19 00:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:44:17] local.INFO: GPS data processed {"connection_id":187830,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:44:17] local.INFO: Acknowledgment sent {"connection_id":187830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:44:48] local.INFO: TCP Data received {"connection_id":187830,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:48] local.INFO: Processing buffer {"connection_id":187830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:44:48] local.INFO: Packet analysis {"connection_id":187830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:44:48] local.INFO: Extracted packet for processing {"connection_id":187830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:44: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-19 00:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:44: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-19 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:44: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-19 00:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":187830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:44:48] local.INFO: GPS data processed {"connection_id":187830,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:44:48] local.INFO: Acknowledgment sent {"connection_id":187830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:45:11] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:11] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:11] local.INFO: IMEI packet received {"connection_id":186440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:45:16] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:16] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:45:16] local.INFO: IMEI packet received {"connection_id":186440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:45:17] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:17] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:17] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:45:17] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45:17] 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-19 00:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:45:17] 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-19 00:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:45:17] 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-19 00:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:45:17] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:45:17] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:45:48] local.INFO: TCP Data received {"connection_id":186440,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:48] local.INFO: Processing buffer {"connection_id":186440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:45:48] local.INFO: Packet analysis {"connection_id":186440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:45:48] local.INFO: Extracted packet for processing {"connection_id":186440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:45: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-19 00:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:45: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-19 00:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:45: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-19 00:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:45:48] 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-19 00:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":186440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:45:48] local.INFO: GPS data processed {"connection_id":186440,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:45:48] local.INFO: Acknowledgment sent {"connection_id":186440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:46:16] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:16] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:16] local.INFO: IMEI packet received {"connection_id":187831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:46:21] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:21] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:46:21] local.INFO: IMEI packet received {"connection_id":187831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":187831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:46:22] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:22] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:22] local.INFO: Packet analysis {"connection_id":187831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:46:22] local.INFO: Extracted packet for processing {"connection_id":187831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:22] 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-19 00:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:46:22] 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-19 00:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":187831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:46:22] local.INFO: GPS data processed {"connection_id":187831,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:46:22] local.INFO: Acknowledgment sent {"connection_id":187831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:46:26] local.INFO: TCP Data received {"connection_id":187831,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:26] local.INFO: Processing buffer {"connection_id":187831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:46:26] local.INFO: Packet analysis {"connection_id":187831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:46:26] local.INFO: Extracted packet for processing {"connection_id":187831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:46: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-19 00:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:46:26] 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-19 00:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:46: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:46:26] 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-19 00:46: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-19 00:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:46:26] local.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-19 00:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":187831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:46:26] local.INFO: GPS data processed {"connection_id":187831,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:46:26] local.INFO: Acknowledgment sent {"connection_id":187831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:47:11] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:11] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:11] local.INFO: IMEI packet received {"connection_id":189181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":189181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:47:16] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:16] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:47:16] local.INFO: IMEI packet received {"connection_id":189181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":189181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:47:17] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:17] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:17] local.INFO: Packet analysis {"connection_id":189181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:47:17] local.INFO: Extracted packet for processing {"connection_id":189181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47:17] 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-19 00:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:47:17] 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-19 00:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:47:17] 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-19 00:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":189181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:47:17] local.INFO: GPS data processed {"connection_id":189181,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:47:17] local.INFO: Acknowledgment sent {"connection_id":189181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:47:48] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:48] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:47:48] local.INFO: Packet analysis {"connection_id":189181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:47:48] local.INFO: Extracted packet for processing {"connection_id":189181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:47: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-19 00:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00: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-19 00:47: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-19 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:47: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-19 00: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-19 00: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-19 00:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:47: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-19 00:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":189181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:47:48] local.INFO: GPS data processed {"connection_id":189181,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:47:48] local.INFO: Acknowledgment sent {"connection_id":189181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:48:11] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:11] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:11] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:48:16] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:16] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:48:16] local.INFO: IMEI packet received {"connection_id":186441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":186441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:48:17] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:48:17] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5ef6c10012d34c24006aa4140000801152e..."} 
[2026-09-19 00:48:17] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:48:17] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5ef"} 
[2026-09-19 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178166016001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48:17] 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-19 00:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789758762000,"timestamp_ms":1789758762000,"timestamp_seconds":1789758762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5ef6c10"} 
[2026-09-19 00:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 00:48:17] 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-19 00:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:48:17] 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-19 00:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178166016001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178166016001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178166016001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:48:17] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:48:17] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:48:48] local.INFO: TCP Data received {"connection_id":186441,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:48:48] local.INFO: Processing buffer {"connection_id":186441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:48:48] local.INFO: Packet analysis {"connection_id":186441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:48:48] local.INFO: Extracted packet for processing {"connection_id":186441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:48: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-19 00:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:48: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-19 00:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:48: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-19 00:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:48:48] 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-19 00:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":186441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:48:48] local.INFO: GPS data processed {"connection_id":186441,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:48:48] local.INFO: Acknowledgment sent {"connection_id":186441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:49:10] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:10] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:10] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:49:16] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:16] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:49:16] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:49:17] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:17] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:17] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:49:17] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49:17] 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-19 00:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00: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-19 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:49: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-19 00: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-19 00: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-19 00:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:49:17] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:49:17] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:49:48] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:48] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:49:48] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:49:48] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:49: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-19 00:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00: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-19 00:49: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-19 00: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-19 00: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-19 00: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-19 00: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-19 00:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:49: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-19 00:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:49:48] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:49:48] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:50:10] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:10] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:10] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:50:16] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:16] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:50:16] local.INFO: IMEI packet received {"connection_id":186442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":186442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:50:17] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:17] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:17] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:50:17] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50:17] 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-19 00:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00: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-19 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:50: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-19 00: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-19 00: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-19 00:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:50:17] local.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-19 00:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:50:17] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:50:17] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:50:49] local.INFO: TCP Data received {"connection_id":186442,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:49] local.INFO: Processing buffer {"connection_id":186442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:50:49] local.INFO: Packet analysis {"connection_id":186442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:50:49] local.INFO: Extracted packet for processing {"connection_id":186442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:50: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-19 00:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:50: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-19 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:50: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-19 00:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":186442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:50:49] local.INFO: GPS data processed {"connection_id":186442,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:50:49] local.INFO: Acknowledgment sent {"connection_id":186442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:51:16] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:16] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:16] local.INFO: IMEI packet received {"connection_id":189182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":189182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:51:21] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:21] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:51:21] local.INFO: IMEI packet received {"connection_id":189182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":189182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:51:22] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:22] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:22] local.INFO: Packet analysis {"connection_id":189182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:51:22] local.INFO: Extracted packet for processing {"connection_id":189182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:51:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:22] 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-19 00:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:51: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:51: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-19 00:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:51:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":189182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:51:22] local.INFO: GPS data processed {"connection_id":189182,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:51:22] local.INFO: Acknowledgment sent {"connection_id":189182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:51:26] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:26] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:51:26] local.INFO: Packet analysis {"connection_id":189182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:51:26] local.INFO: Extracted packet for processing {"connection_id":189182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:51:26] 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-19 00:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00: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-19 00:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":189182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:51:26] local.INFO: GPS data processed {"connection_id":189182,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:51:26] local.INFO: Acknowledgment sent {"connection_id":189182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:52:11] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:11] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:11] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:52:16] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:16] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:52:16] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:52:17] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:17] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:17] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:52:17] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52:17] 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-19 00:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:52: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-19 00:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:52:17] local.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-19 00:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:52:17] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:52:17] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:52:48] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:48] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:52:48] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:52:48] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:52: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-19 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:52: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-19 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:52: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-19 00:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:52:48] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:52:48] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:53:11] local.INFO: TCP Data received {"connection_id":189183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:11] local.INFO: Processing buffer {"connection_id":189183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:11] local.INFO: IMEI packet received {"connection_id":189183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":189183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:53:16] local.INFO: TCP Data received {"connection_id":189183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:16] local.INFO: Processing buffer {"connection_id":189183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:53:16] local.INFO: IMEI packet received {"connection_id":189183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":189183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:53:17] local.INFO: TCP Data received {"connection_id":189183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:17] local.INFO: Processing buffer {"connection_id":189183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f403d8012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:17] local.INFO: Packet analysis {"connection_id":189183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:53:17] local.INFO: Extracted packet for processing {"connection_id":189183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f4"} 
[2026-09-19 00:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178243072001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53:17] 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-19 00:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759063000,"timestamp_ms":1789759063000,"timestamp_seconds":1789759063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f403d8"} 
[2026-09-19 00: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-19 00:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 00:53: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-19 00: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-19 00: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-19 00:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:53:17] 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-19 00:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178243072001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178243072001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178243072001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":189183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:53:17] local.INFO: GPS data processed {"connection_id":189183,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:53:17] local.INFO: Acknowledgment sent {"connection_id":189183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:53:47] local.INFO: TCP Data received {"connection_id":189183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:47] local.INFO: Processing buffer {"connection_id":189183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:53:47] local.INFO: Packet analysis {"connection_id":189183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:53:47] local.INFO: Extracted packet for processing {"connection_id":189183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:53: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-19 00:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:53: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-19 00: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-19 00: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-19 00:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:53: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-19 00:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":189183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:53:47] local.INFO: GPS data processed {"connection_id":189183,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:53:47] local.INFO: Acknowledgment sent {"connection_id":189183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:54:11] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:11] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:11] local.INFO: IMEI packet received {"connection_id":186584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":186584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:54:16] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:16] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:54:16] local.INFO: IMEI packet received {"connection_id":186584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:54:17] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:17] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:17] local.INFO: Packet analysis {"connection_id":186584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:54:17] local.INFO: Extracted packet for processing {"connection_id":186584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54:17] 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-19 00:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00:54: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-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:54:17] 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-19 00:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":186584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:54:17] local.INFO: GPS data processed {"connection_id":186584,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:54:17] local.INFO: Acknowledgment sent {"connection_id":186584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:54:48] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:48] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:54:48] local.INFO: Packet analysis {"connection_id":186584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:54:48] local.INFO: Extracted packet for processing {"connection_id":186584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:54: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-19 00:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00:54: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:54: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-19 00: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-19 00: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-19 00:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:54: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-19 00:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:54:48] local.INFO: GPS data processed {"connection_id":186584,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:54:48] local.INFO: Acknowledgment sent {"connection_id":186584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:55:10] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:10] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:10] local.INFO: IMEI packet received {"connection_id":189184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":189184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:55:16] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:16] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:55:16] local.INFO: IMEI packet received {"connection_id":189184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:55:17] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:17] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:17] local.INFO: Packet analysis {"connection_id":189184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:55:17] local.INFO: Extracted packet for processing {"connection_id":189184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55:17] 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-19 00:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:55: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-19 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":189184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:55:17] local.INFO: GPS data processed {"connection_id":189184,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:55:17] local.INFO: Acknowledgment sent {"connection_id":189184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:55:48] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:48] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:55:48] local.INFO: Packet analysis {"connection_id":189184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:55:48] local.INFO: Extracted packet for processing {"connection_id":189184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:55: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-19 00:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00:55: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-19 00: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-19 00: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-19 00: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-19 00: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-19 00:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:55:48] local.INFO: GPS data processed {"connection_id":189184,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:55:48] local.INFO: Acknowledgment sent {"connection_id":189184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:56:16] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:16] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:16] local.INFO: IMEI packet received {"connection_id":186585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:56:21] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:21] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:56:21] local.INFO: IMEI packet received {"connection_id":186585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":186585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:56:22] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:22] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:22] local.INFO: Packet analysis {"connection_id":186585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:56:22] local.INFO: Extracted packet for processing {"connection_id":186585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:22] 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-19 00:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 00:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:56:22] local.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-19 00:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":186585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:56:22] local.INFO: GPS data processed {"connection_id":186585,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:56:22] local.INFO: Acknowledgment sent {"connection_id":186585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:56:26] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:26] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:56:26] local.INFO: Packet analysis {"connection_id":186585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:56:26] local.INFO: Extracted packet for processing {"connection_id":186585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:56:26] 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-19 00:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 00:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 00:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:56:26] local.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-19 00:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":186585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:56:26] local.INFO: GPS data processed {"connection_id":186585,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:56:26] local.INFO: Acknowledgment sent {"connection_id":186585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:57:11] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:11] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:11] local.INFO: IMEI packet received {"connection_id":189185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":189185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:57:16] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:16] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:57:16] local.INFO: IMEI packet received {"connection_id":189185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":189185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:57:17] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:17] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:17] local.INFO: Packet analysis {"connection_id":189185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:57:17] local.INFO: Extracted packet for processing {"connection_id":189185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57:17] 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-19 00:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00:57: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-19 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00: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-19 00: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-19 00:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:57:17] 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-19 00:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":189185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:57:17] local.INFO: GPS data processed {"connection_id":189185,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:57:17] local.INFO: Acknowledgment sent {"connection_id":189185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:57:48] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:48] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:57:48] local.INFO: Packet analysis {"connection_id":189185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:57:48] local.INFO: Extracted packet for processing {"connection_id":189185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:57: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-19 00:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00: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-19 00:57: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-19 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:57: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-19 00: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-19 00: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-19 00:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:57:48] 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-19 00:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 00:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":189185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:57:48] local.INFO: GPS data processed {"connection_id":189185,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:57:48] local.INFO: Acknowledgment sent {"connection_id":189185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:58:11] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:11] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:11] local.INFO: IMEI packet received {"connection_id":187832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":187832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:58:16] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:16] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:58:16] local.INFO: IMEI packet received {"connection_id":187832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":187832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:58:17] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:58:17] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5f89ba0012d34c24006aa4140000801152f..."} 
[2026-09-19 00:58:17] local.INFO: Packet analysis {"connection_id":187832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:58:17] local.INFO: Extracted packet for processing {"connection_id":187832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5f8"} 
[2026-09-19 00:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178320128001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58:17] 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-19 00:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759364000,"timestamp_ms":1789759364000,"timestamp_seconds":1789759364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5f89ba0"} 
[2026-09-19 00:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:58: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-19 00:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 00:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 00:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178320128001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178320128001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178320128001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":187832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:58:17] local.INFO: GPS data processed {"connection_id":187832,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:58:17] local.INFO: Acknowledgment sent {"connection_id":187832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:58:48] local.INFO: TCP Data received {"connection_id":187832,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:58:48] local.INFO: Processing buffer {"connection_id":187832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:58:48] local.INFO: Packet analysis {"connection_id":187832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:58:48] local.INFO: Extracted packet for processing {"connection_id":187832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:58: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-19 00:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 00:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:58: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-19 00:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:58: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-19 00:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":187832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:58:48] local.INFO: GPS data processed {"connection_id":187832,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:58:48] local.INFO: Acknowledgment sent {"connection_id":187832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:59:10] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:10] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:10] local.INFO: IMEI packet received {"connection_id":187833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 00:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":187833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 00:59:16] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:16] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 00:59:16] local.INFO: IMEI packet received {"connection_id":187833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 00:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":187833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 00:59:17] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:17] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:17] local.INFO: Packet analysis {"connection_id":187833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:59:17] local.INFO: Extracted packet for processing {"connection_id":187833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 00:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59:17] 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-19 00:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 00:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 00:59: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-19 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:59:17] 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-19 00:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 00:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 00:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":187833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:59:17] local.INFO: GPS data processed {"connection_id":187833,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:59:17] local.INFO: Acknowledgment sent {"connection_id":187833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 00:59:49] local.INFO: TCP Data received {"connection_id":187833,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:49] local.INFO: Processing buffer {"connection_id":187833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 00:59:49] local.INFO: Packet analysis {"connection_id":187833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:59:49] local.INFO: Extracted packet for processing {"connection_id":187833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 00: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-19 00:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 00:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 00:59: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-19 00:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 00: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-19 00: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-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 00:59:49] 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-19 00: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-19 00: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-19 00:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 00:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 00:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 00:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 00:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 00:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 00:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 00:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 00:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 00:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 00:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 00:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 00:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 00:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 00:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":187833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 00:59:49] local.INFO: GPS data processed {"connection_id":187833,"processed":1,"errors":0,"total":1} 
[2026-09-19 00:59:49] local.INFO: Acknowledgment sent {"connection_id":187833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:00:10] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:10] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:10] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:00:16] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:16] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:00:16] local.INFO: IMEI packet received {"connection_id":186443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":186443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:00:17] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:17] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:17] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:00:17] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00:17] 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-19 01:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:00: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-19 01:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:00:17] 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-19 01:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:00:17] 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-19 01:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:00:17] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:00:17] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:00:49] local.INFO: TCP Data received {"connection_id":186443,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:49] local.INFO: Processing buffer {"connection_id":186443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:00:49] local.INFO: Packet analysis {"connection_id":186443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:00:49] local.INFO: Extracted packet for processing {"connection_id":186443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:00: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-19 01:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:00: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-19 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:00:49] 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-19 01:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:00:49] 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-19 01:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":186443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:00:49] local.INFO: GPS data processed {"connection_id":186443,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:00:49] local.INFO: Acknowledgment sent {"connection_id":186443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:01:16] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:16] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:16] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:01:21] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:21] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:01:21] local.INFO: IMEI packet received {"connection_id":186444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":186444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:01:22] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:22] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:22] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:01:22] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:22] 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-19 01:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:01:22] 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-19 01:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:01:22] 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-19 01:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:01:22] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:01:22] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:01:26] local.INFO: TCP Data received {"connection_id":186444,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:26] local.INFO: Processing buffer {"connection_id":186444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:01:26] local.INFO: Packet analysis {"connection_id":186444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:01:26] local.INFO: Extracted packet for processing {"connection_id":186444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:01: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-19 01:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:01:26] 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-19 01:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:01: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:01:26] 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-19 01:01: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-19 01:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:01:26] 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-19 01:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":186444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:01:26] local.INFO: GPS data processed {"connection_id":186444,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:01:26] local.INFO: Acknowledgment sent {"connection_id":186444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:02:11] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:11] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:11] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:02:16] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:16] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:02:16] local.INFO: IMEI packet received {"connection_id":186445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":186445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:02:17] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:17] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:17] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:02:17] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:02: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-19 01:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02:17] 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-19 01:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:02: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-19 01:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:02:17] 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-19 01:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:02:17] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:02:17] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:02:48] local.INFO: TCP Data received {"connection_id":186445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:48] local.INFO: Processing buffer {"connection_id":186445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:02:48] local.INFO: Packet analysis {"connection_id":186445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:02:48] local.INFO: Extracted packet for processing {"connection_id":186445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:02: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-19 01:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:02: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-19 01:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:02: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-19 01:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":186445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:02:48] local.INFO: GPS data processed {"connection_id":186445,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:02:48] local.INFO: Acknowledgment sent {"connection_id":186445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:03:11] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:11] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:11] local.INFO: IMEI packet received {"connection_id":186586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:03:16] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:16] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:03:16] local.INFO: IMEI packet received {"connection_id":186586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:03:17] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:03:17] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b5fd3368012d34c24006aa4140000801152e..."} 
[2026-09-19 01:03:17] local.INFO: Packet analysis {"connection_id":186586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:03:17] local.INFO: Extracted packet for processing {"connection_id":186586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b5fd"} 
[2026-09-19 01:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:03: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-19 01:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178397184001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03:17] 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-19 01:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759665000,"timestamp_ms":1789759665000,"timestamp_seconds":1789759665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b5fd3368"} 
[2026-09-19 01:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:03: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-19 01:03: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 01:03:17] 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-19 01:03: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-19 01:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178397184001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178397184001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178397184001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:03:17] local.INFO: GPS data processed {"connection_id":186586,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:03:17] local.INFO: Acknowledgment sent {"connection_id":186586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:03:47] local.INFO: TCP Data received {"connection_id":186586,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:03:47] local.INFO: Processing buffer {"connection_id":186586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:03:47] local.INFO: Packet analysis {"connection_id":186586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:03:47] local.INFO: Extracted packet for processing {"connection_id":186586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:03: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-19 01:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01: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-19 01:03: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:03: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-19 01: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-19 01: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-19 01:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:03: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-19 01:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":186586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:03:48] local.INFO: GPS data processed {"connection_id":186586,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:03:48] local.INFO: Acknowledgment sent {"connection_id":186586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:04:10] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:10] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:10] local.INFO: IMEI packet received {"connection_id":187834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":187834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:04:16] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:16] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:04:16] local.INFO: IMEI packet received {"connection_id":187834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":187834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:04:22] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:22] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:22] local.INFO: Packet analysis {"connection_id":187834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:04:22] local.INFO: Extracted packet for processing {"connection_id":187834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:04: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-19 01:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:22] 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-19 01:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:04: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-19 01:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":187834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:04:22] local.INFO: GPS data processed {"connection_id":187834,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:04:22] local.INFO: Acknowledgment sent {"connection_id":187834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:04:53] local.INFO: TCP Data received {"connection_id":187834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:53] local.INFO: Processing buffer {"connection_id":187834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:04:53] local.INFO: Packet analysis {"connection_id":187834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:04:53] local.INFO: Extracted packet for processing {"connection_id":187834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:04: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-19 01:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:04:53] 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-19 01:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:04: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-19 01:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:04:53] 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-19 01:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":187834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:04:53] local.INFO: GPS data processed {"connection_id":187834,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:04:53] local.INFO: Acknowledgment sent {"connection_id":187834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:05:10] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:10] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:10] local.INFO: IMEI packet received {"connection_id":186446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:05:16] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:16] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:05:16] local.INFO: IMEI packet received {"connection_id":186446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":186446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:05:17] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:17] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:17] local.INFO: Packet analysis {"connection_id":186446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:05:17] local.INFO: Extracted packet for processing {"connection_id":186446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05:17] 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-19 01:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:05: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-19 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:05:17] 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-19 01:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":186446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:05:17] local.INFO: GPS data processed {"connection_id":186446,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:05:17] local.INFO: Acknowledgment sent {"connection_id":186446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:05:48] local.INFO: TCP Data received {"connection_id":186446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:48] local.INFO: Processing buffer {"connection_id":186446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:05:48] local.INFO: Packet analysis {"connection_id":186446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:05:48] local.INFO: Extracted packet for processing {"connection_id":186446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:05: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-19 01:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:05: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-19 01:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:05: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-19 01:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:05: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-19 01:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":186446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:05:48] local.INFO: GPS data processed {"connection_id":186446,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:05:48] local.INFO: Acknowledgment sent {"connection_id":186446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:06:10] local.INFO: TCP Data received {"connection_id":189186,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:10] local.INFO: Processing buffer {"connection_id":189186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:10] local.INFO: IMEI packet received {"connection_id":189186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":189186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:06:16] local.INFO: TCP Data received {"connection_id":189186,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:16] local.INFO: Processing buffer {"connection_id":189186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:06:16] local.INFO: IMEI packet received {"connection_id":189186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":189186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:06:16] local.INFO: TCP Data received {"connection_id":189186,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:16] local.INFO: Processing buffer {"connection_id":189186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:16] local.INFO: Packet analysis {"connection_id":189186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:06:16] local.INFO: Extracted packet for processing {"connection_id":189186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06:16] 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-19 01:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01: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-19 01:06: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:06: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-19 01: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-19 01: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-19 01:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:06:16] 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-19 01:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":189186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:06:16] local.INFO: GPS data processed {"connection_id":189186,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:06:16] local.INFO: Acknowledgment sent {"connection_id":189186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:06:48] local.INFO: TCP Data received {"connection_id":189186,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:48] local.INFO: Processing buffer {"connection_id":189186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:06:48] local.INFO: Packet analysis {"connection_id":189186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:06:48] local.INFO: Extracted packet for processing {"connection_id":189186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:06: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-19 01:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:06:48] 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-19 01:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":189186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:06:48] local.INFO: GPS data processed {"connection_id":189186,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:06:48] local.INFO: Acknowledgment sent {"connection_id":189186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:07:15] local.INFO: TCP Data received {"connection_id":187835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:15] local.INFO: Processing buffer {"connection_id":187835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:15] local.INFO: IMEI packet received {"connection_id":187835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":187835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:07:20] local.INFO: TCP Data received {"connection_id":187835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:20] local.INFO: Processing buffer {"connection_id":187835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:07:20] local.INFO: IMEI packet received {"connection_id":187835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":187835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:07:22] local.INFO: TCP Data received {"connection_id":187835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:22] local.INFO: Processing buffer {"connection_id":187835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:22] local.INFO: Packet analysis {"connection_id":187835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:07:22] local.INFO: Extracted packet for processing {"connection_id":187835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:22] 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-19 01:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:07:22] local.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-19 01:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:07:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":187835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:07:22] local.INFO: GPS data processed {"connection_id":187835,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:07:22] local.INFO: Acknowledgment sent {"connection_id":187835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:07:26] local.INFO: TCP Data received {"connection_id":187835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:26] local.INFO: Processing buffer {"connection_id":187835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:07:26] local.INFO: Packet analysis {"connection_id":187835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:07:26] local.INFO: Extracted packet for processing {"connection_id":187835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:07:26] 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-19 01:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":187835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:07:26] local.INFO: GPS data processed {"connection_id":187835,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:07:26] local.INFO: Acknowledgment sent {"connection_id":187835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:08:10] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:10] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:10] local.INFO: IMEI packet received {"connection_id":189187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":189187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:08:15] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:15] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:08:15] local.INFO: IMEI packet received {"connection_id":189187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":189187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:08:16] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:08:16] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b601cb30012d34c24006aa41400008011530..."} 
[2026-09-19 01:08:16] local.INFO: Packet analysis {"connection_id":189187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:08:16] local.INFO: Extracted packet for processing {"connection_id":189187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b601"} 
[2026-09-19 01:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178474240001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08:16] 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-19 01:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789759966000,"timestamp_ms":1789759966000,"timestamp_seconds":1789759966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b601cb30"} 
[2026-09-19 01:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:08: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-19 01:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:08: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-19 01:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178474240001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178474240001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178474240001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":189187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:08:16] local.INFO: GPS data processed {"connection_id":189187,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:08:16] local.INFO: Acknowledgment sent {"connection_id":189187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:08:47] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:08:47] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:08:47] local.INFO: Packet analysis {"connection_id":189187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:08:47] local.INFO: Extracted packet for processing {"connection_id":189187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:08: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-19 01:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01: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-19 01:08: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:08: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-19 01: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-19 01: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-19 01:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:08: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-19 01:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":189187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:08:47] local.INFO: GPS data processed {"connection_id":189187,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:08:47] local.INFO: Acknowledgment sent {"connection_id":189187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:09:11] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:11] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:11] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:09:16] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:16] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:09:16] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:09:17] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:17] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:17] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:09:17] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09:17] 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-19 01:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01: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-19 01:09: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:09:17] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:09:17] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:09:49] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:49] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:09:49] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:09:49] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:09: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-19 01:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:09: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-19 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:09: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-19 01:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:09:49] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:09:49] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:10:10] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:10] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:10] local.INFO: IMEI packet received {"connection_id":189188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":189188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:10:16] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:16] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:10:16] local.INFO: IMEI packet received {"connection_id":189188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":189188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:10:17] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:17] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:17] local.INFO: Packet analysis {"connection_id":189188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:10:17] local.INFO: Extracted packet for processing {"connection_id":189188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10:17] 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-19 01:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01: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-19 01:10: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:10:17] local.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-19 01:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":189188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:10:17] local.INFO: GPS data processed {"connection_id":189188,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:10:17] local.INFO: Acknowledgment sent {"connection_id":189188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:10:48] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:48] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:10:48] local.INFO: Packet analysis {"connection_id":189188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:10:48] local.INFO: Extracted packet for processing {"connection_id":189188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:10: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-19 01:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01: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-19 01:10: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:10: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-19 01: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-19 01: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-19 01:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":189188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:10:48] local.INFO: GPS data processed {"connection_id":189188,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:10:48] local.INFO: Acknowledgment sent {"connection_id":189188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:11:10] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:10] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:10] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:11:16] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:16] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:11:16] local.INFO: IMEI packet received {"connection_id":186447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":186447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:11:17] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:17] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:17] local.INFO: Packet analysis {"connection_id":186447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:11:17] local.INFO: Extracted packet for processing {"connection_id":186447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11:17] 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-19 01:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:11: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-19 01:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":186447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:11:17] local.INFO: GPS data processed {"connection_id":186447,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:11:17] local.INFO: Acknowledgment sent {"connection_id":186447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:11:48] local.INFO: TCP Data received {"connection_id":186447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:48] local.INFO: Processing buffer {"connection_id":186447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:11:48] local.INFO: Packet analysis {"connection_id":186447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:11:48] local.INFO: Extracted packet for processing {"connection_id":186447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:11: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-19 01:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:11: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-19 01:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:11: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-19 01:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:11:48] local.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-19 01:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":186447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:11:48] local.INFO: GPS data processed {"connection_id":186447,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:11:48] local.INFO: Acknowledgment sent {"connection_id":186447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:12:16] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:16] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:16] local.INFO: IMEI packet received {"connection_id":186588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":186588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:12:21] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:21] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:12:21] local.INFO: IMEI packet received {"connection_id":186588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":186588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:12:22] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:22] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:22] local.INFO: Packet analysis {"connection_id":186588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:12:22] local.INFO: Extracted packet for processing {"connection_id":186588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:22] 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-19 01:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:12:22] 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-19 01:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:12:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":186588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:12:22] local.INFO: GPS data processed {"connection_id":186588,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:12:22] local.INFO: Acknowledgment sent {"connection_id":186588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:12:26] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:26] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:12:26] local.INFO: Packet analysis {"connection_id":186588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:12:26] local.INFO: Extracted packet for processing {"connection_id":186588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:12:26] 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-19 01:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:12:26] 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-19 01:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":186588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:12:26] local.INFO: GPS data processed {"connection_id":186588,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:12:26] local.INFO: Acknowledgment sent {"connection_id":186588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:13:11] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:11] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:11] local.INFO: IMEI packet received {"connection_id":186589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":186589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:13:16] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:16] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:13:16] local.INFO: IMEI packet received {"connection_id":186589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":186589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:13:16] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:13:16] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60662f8012d34c24006aa4140000801152f..."} 
[2026-09-19 01:13:16] local.INFO: Packet analysis {"connection_id":186589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:13:16] local.INFO: Extracted packet for processing {"connection_id":186589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b606"} 
[2026-09-19 01:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178551296001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13:16] 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-19 01:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789760267000,"timestamp_ms":1789760267000,"timestamp_seconds":1789760267,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60662f8"} 
[2026-09-19 01:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:13: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-19 01:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:13: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-19 01:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:13: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-19 01:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178551296001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178551296001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178551296001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:13:16] local.INFO: GPS data processed {"connection_id":186589,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:13:16] local.INFO: Acknowledgment sent {"connection_id":186589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:13:47] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:13:47] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:13:47] local.INFO: Packet analysis {"connection_id":186589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:13:47] local.INFO: Extracted packet for processing {"connection_id":186589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:13: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-19 01:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01: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-19 01:13: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-19 01:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:13:47] 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-19 01: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-19 01: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-19 01:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":186589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:13:47] local.INFO: GPS data processed {"connection_id":186589,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:13:47] local.INFO: Acknowledgment sent {"connection_id":186589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:14:10] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:10] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:10] local.INFO: IMEI packet received {"connection_id":187836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":187836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:14:16] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:16] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:14:16] local.INFO: IMEI packet received {"connection_id":187836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":187836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:14:17] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:17] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:17] local.INFO: Packet analysis {"connection_id":187836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:14:17] local.INFO: Extracted packet for processing {"connection_id":187836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:14: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-19 01:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14:17] 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-19 01:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:14: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-19 01:14: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:14:17] 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-19 01:14: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-19 01:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:14:17] 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-19 01:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":187836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:14:17] local.INFO: GPS data processed {"connection_id":187836,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:14:17] local.INFO: Acknowledgment sent {"connection_id":187836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:14:48] local.INFO: TCP Data received {"connection_id":187836,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:48] local.INFO: Processing buffer {"connection_id":187836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:14:48] local.INFO: Packet analysis {"connection_id":187836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:14:48] local.INFO: Extracted packet for processing {"connection_id":187836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:14: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-19 01:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01: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-19 01:14: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:14:48] 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-19 01:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":187836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:14:48] local.INFO: GPS data processed {"connection_id":187836,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:14:48] local.INFO: Acknowledgment sent {"connection_id":187836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:15:11] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:11] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:11] local.INFO: IMEI packet received {"connection_id":187837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":187837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:15:16] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:16] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:15:16] local.INFO: IMEI packet received {"connection_id":187837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":187837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:15:17] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:17] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:17] local.INFO: Packet analysis {"connection_id":187837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:15:17] local.INFO: Extracted packet for processing {"connection_id":187837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:15:17] 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-19 01:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:15: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-19 01:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:15:17] 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-19 01:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":187837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:15:17] local.INFO: GPS data processed {"connection_id":187837,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:15:17] local.INFO: Acknowledgment sent {"connection_id":187837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:15:49] local.INFO: TCP Data received {"connection_id":187837,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:49] local.INFO: Processing buffer {"connection_id":187837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:15:49] local.INFO: Packet analysis {"connection_id":187837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:15:49] local.INFO: Extracted packet for processing {"connection_id":187837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01: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-19 01:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01: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-19 01:15: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:15:49] 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-19 01: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-19 01: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-19 01:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:15:49] 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-19 01:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":187837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:15:49] local.INFO: GPS data processed {"connection_id":187837,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:15:49] local.INFO: Acknowledgment sent {"connection_id":187837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:16:16] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:16] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:16] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:16:21] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:21] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:16:21] local.INFO: IMEI packet received {"connection_id":186448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":186448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:16:22] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:22] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:22] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:16:22] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:16: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-19 01:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:22] 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-19 01:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:16:22] 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-19 01:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:16:22] local.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-19 01:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:16:22] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:16:22] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:16:26] local.INFO: TCP Data received {"connection_id":186448,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:26] local.INFO: Processing buffer {"connection_id":186448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:16:26] local.INFO: Packet analysis {"connection_id":186448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:16:26] local.INFO: Extracted packet for processing {"connection_id":186448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:16: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-19 01:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:16:26] 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-19 01:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:16: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:16:26] 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-19 01:16: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-19 01:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:16:26] local.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-19 01:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":186448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:16:26] local.INFO: GPS data processed {"connection_id":186448,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:16:26] local.INFO: Acknowledgment sent {"connection_id":186448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:17:11] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:11] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:11] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:17:16] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:16] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:17:16] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:17:18] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:18] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:18] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:17:18] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:18] 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-19 01:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:17: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-19 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:17:18] 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-19 01:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:17:18] 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-19 01:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:17:18] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:17:18] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:17:51] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:51] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:17:51] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:17:51] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:17:51] 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-19 01:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:17: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-19 01:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:17:51] 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-19 01:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:17:51] 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-19 01:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:17:51] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:17:51] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:18:11] local.INFO: TCP Data received {"connection_id":186449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:11] local.INFO: Processing buffer {"connection_id":186449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:11] local.INFO: IMEI packet received {"connection_id":186449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:18:16] local.INFO: TCP Data received {"connection_id":186449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:16] local.INFO: Processing buffer {"connection_id":186449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:18:16] local.INFO: IMEI packet received {"connection_id":186449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":186449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:18:17] local.INFO: TCP Data received {"connection_id":186449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:17] local.INFO: Processing buffer {"connection_id":186449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60afac0012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:17] local.INFO: Packet analysis {"connection_id":186449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:18:17] local.INFO: Extracted packet for processing {"connection_id":186449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60a"} 
[2026-09-19 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178628352001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18:17] 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-19 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760568000,"timestamp_ms":1789760568000,"timestamp_seconds":1789760568,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60afac0"} 
[2026-09-19 01:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:18: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-19 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:18:17] 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-19 01:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178628352001,"66":25745,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178628352001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178628352001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":186449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:18:17] local.INFO: GPS data processed {"connection_id":186449,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:18:17] local.INFO: Acknowledgment sent {"connection_id":186449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:18:48] local.INFO: TCP Data received {"connection_id":186449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:48] local.INFO: Processing buffer {"connection_id":186449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:18:48] local.INFO: Packet analysis {"connection_id":186449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:18:48] local.INFO: Extracted packet for processing {"connection_id":186449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:18: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-19 01:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01: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-19 01: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-19 01: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:18: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-19 01: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-19 01: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-19 01:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:18:48] 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-19 01:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":186449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:18:48] local.INFO: GPS data processed {"connection_id":186449,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:18:48] local.INFO: Acknowledgment sent {"connection_id":186449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:19:10] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:10] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:10] local.INFO: IMEI packet received {"connection_id":189189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":189189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:19:16] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:16] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:19:16] local.INFO: IMEI packet received {"connection_id":189189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":189189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:19:17] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:17] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:17] local.INFO: Packet analysis {"connection_id":189189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:19:17] local.INFO: Extracted packet for processing {"connection_id":189189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19:17] 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-19 01:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01: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-19 01:19: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-19 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:19: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-19 01: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-19 01: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-19 01:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":189189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:19:17] local.INFO: GPS data processed {"connection_id":189189,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:19:17] local.INFO: Acknowledgment sent {"connection_id":189189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:19:48] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:48] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:19:48] local.INFO: Packet analysis {"connection_id":189189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:19:48] local.INFO: Extracted packet for processing {"connection_id":189189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:19: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-19 01:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:19: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-19 01:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:19: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-19 01:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:19:48] 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-19 01:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":189189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:19:48] local.INFO: GPS data processed {"connection_id":189189,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:19:48] local.INFO: Acknowledgment sent {"connection_id":189189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:20:10] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:10] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:10] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:20:16] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:16] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:20:16] local.INFO: IMEI packet received {"connection_id":186450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":186450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:20:17] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:17] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:17] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:20:17] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:20:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:20:17] 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-19 01:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:20: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-19 01:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:20: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-19 01:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:20:17] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:20:17] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:20:48] local.INFO: TCP Data received {"connection_id":186450,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:48] local.INFO: Processing buffer {"connection_id":186450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:20:48] local.INFO: Packet analysis {"connection_id":186450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:20:48] local.INFO: Extracted packet for processing {"connection_id":186450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:20:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01: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-19 01:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01: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-19 01:20: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-19 01: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:20: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-19 01: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-19 01: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-19 01:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:20:48] 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-19 01:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":186450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:20:48] local.INFO: GPS data processed {"connection_id":186450,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:20:48] local.INFO: Acknowledgment sent {"connection_id":186450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:21:10] local.INFO: TCP Data received {"connection_id":189190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:10] local.INFO: Processing buffer {"connection_id":189190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:10] local.INFO: IMEI packet received {"connection_id":189190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":189190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:21:16] local.INFO: TCP Data received {"connection_id":189190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:16] local.INFO: Processing buffer {"connection_id":189190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:21:16] local.INFO: IMEI packet received {"connection_id":189190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":189190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:21:18] local.INFO: TCP Data received {"connection_id":189190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:18] local.INFO: Processing buffer {"connection_id":189190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:18] local.INFO: Packet analysis {"connection_id":189190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:21:18] local.INFO: Extracted packet for processing {"connection_id":189190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21:18] 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-19 01:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:21: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-19 01:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:21:18] 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-19 01:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:21:18] 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-19 01:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":189190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:21:18] local.INFO: GPS data processed {"connection_id":189190,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:21:18] local.INFO: Acknowledgment sent {"connection_id":189190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:21:49] local.INFO: TCP Data received {"connection_id":189190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:49] local.INFO: Processing buffer {"connection_id":189190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:21:49] local.INFO: Packet analysis {"connection_id":189190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:21:49] local.INFO: Extracted packet for processing {"connection_id":189190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:21: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-19 01:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:21: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-19 01:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:21: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-19 01:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:21:49] 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-19 01:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":189190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:21:49] local.INFO: GPS data processed {"connection_id":189190,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:21:49] local.INFO: Acknowledgment sent {"connection_id":189190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:22:16] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:16] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:16] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:22:21] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:21] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:22:21] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:22:22] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:22] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:22] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:22:22] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:22] 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-19 01:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:22:22] 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-19 01:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:22:22] local.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-19 01:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:22:22] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:22:22] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:22:26] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:26] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:22:26] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:22:26] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:22:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:22:26] 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-19 01:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:22:26] 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-19 01:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:22:26] local.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-19 01:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:22:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:22:26] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:22:26] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:23:11] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:11] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:11] local.INFO: IMEI packet received {"connection_id":187838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":187838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:23:16] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:16] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:23:16] local.INFO: IMEI packet received {"connection_id":187838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":187838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:23:18] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:23:18] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b60f9288012d34c24006aa4140000801152c..."} 
[2026-09-19 01:23:18] local.INFO: Packet analysis {"connection_id":187838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:23:18] local.INFO: Extracted packet for processing {"connection_id":187838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b60f"} 
[2026-09-19 01:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:23: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-19 01:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178705408001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23:18] 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-19 01:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789760869000,"timestamp_ms":1789760869000,"timestamp_seconds":1789760869,"priority":1,"record_length":96,"hex_timestamp":"000001a0b60f9288"} 
[2026-09-19 01:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:23: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-19 01:23: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 01:23:18] 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-19 01:23: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-19 01:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:23:18] 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-19 01:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178705408001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178705408001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178705408001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":187838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:23:18] local.INFO: GPS data processed {"connection_id":187838,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:23:18] local.INFO: Acknowledgment sent {"connection_id":187838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:23:49] local.INFO: TCP Data received {"connection_id":187838,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:23:49] local.INFO: Processing buffer {"connection_id":187838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:23:49] local.INFO: Packet analysis {"connection_id":187838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:23:49] local.INFO: Extracted packet for processing {"connection_id":187838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:23: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-19 01:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:23: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-19 01:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:23: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-19 01:23: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-19 01:23: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-19 01:23: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-19 01:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:23:49] 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-19 01:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":187838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:23:49] local.INFO: GPS data processed {"connection_id":187838,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:23:49] local.INFO: Acknowledgment sent {"connection_id":187838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:24:10] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:10] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:10] local.INFO: IMEI packet received {"connection_id":189191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":189191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:24:16] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:16] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:24:16] local.INFO: IMEI packet received {"connection_id":189191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":189191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:24:17] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:17] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:17] local.INFO: Packet analysis {"connection_id":189191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:24:17] local.INFO: Extracted packet for processing {"connection_id":189191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24:17] 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-19 01:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:24:17] 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-19 01:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":189191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:24:17] local.INFO: GPS data processed {"connection_id":189191,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:24:17] local.INFO: Acknowledgment sent {"connection_id":189191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:24:48] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:48] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:24:48] local.INFO: Packet analysis {"connection_id":189191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:24:48] local.INFO: Extracted packet for processing {"connection_id":189191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:24: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-19 01:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01:24: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:24: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-19 01: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-19 01: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-19 01:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:24:48] 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-19 01:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":189191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:24:48] local.INFO: GPS data processed {"connection_id":189191,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:24:48] local.INFO: Acknowledgment sent {"connection_id":189191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:25:16] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:25:16] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:25:16] local.INFO: IMEI packet received {"connection_id":186592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":186592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:25:16] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:16] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:16] local.INFO: Packet analysis {"connection_id":186592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:25:16] local.INFO: Extracted packet for processing {"connection_id":186592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 01:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25:16] 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-19 01:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 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-19 01:25: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-19 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-19 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-19 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-19 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-19 01:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":186592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:25:16] local.INFO: GPS data processed {"connection_id":186592,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:25:16] local.INFO: Acknowledgment sent {"connection_id":186592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:25:48] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:48] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:25:48] local.INFO: Packet analysis {"connection_id":186592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:25:48] local.INFO: Extracted packet for processing {"connection_id":186592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:25: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-19 01:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01:25: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:25: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-19 01: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-19 01: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-19 01:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:25:48] 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-19 01:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":186592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:25:48] local.INFO: GPS data processed {"connection_id":186592,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:25:48] local.INFO: Acknowledgment sent {"connection_id":186592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:26:11] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:11] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:11] local.INFO: IMEI packet received {"connection_id":189192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":189192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:26:16] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:16] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:26:16] local.INFO: IMEI packet received {"connection_id":189192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":189192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:26:17] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:17] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:17] local.INFO: Packet analysis {"connection_id":189192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:26:17] local.INFO: Extracted packet for processing {"connection_id":189192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26:17] 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-19 01:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01:26: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":189192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:26:17] local.INFO: GPS data processed {"connection_id":189192,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:26:17] local.INFO: Acknowledgment sent {"connection_id":189192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:26:48] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:48] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:26:48] local.INFO: Packet analysis {"connection_id":189192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:26:48] local.INFO: Extracted packet for processing {"connection_id":189192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:26: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-19 01:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01:26: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-19 01:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:26: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-19 01: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-19 01: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-19 01:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":189192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:26:48] local.INFO: GPS data processed {"connection_id":189192,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:26:48] local.INFO: Acknowledgment sent {"connection_id":189192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:27:11] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:11] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:11] local.INFO: IMEI packet received {"connection_id":187839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":187839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:27:16] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:16] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:27:16] local.INFO: IMEI packet received {"connection_id":187839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":187839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:27:17] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:17] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:17] local.INFO: Packet analysis {"connection_id":187839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:27:17] local.INFO: Extracted packet for processing {"connection_id":187839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27:17] 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-19 01:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01: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-19 01:27: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:27:17] 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-19 01:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":187839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:27:17] local.INFO: GPS data processed {"connection_id":187839,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:27:17] local.INFO: Acknowledgment sent {"connection_id":187839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:27:48] local.INFO: TCP Data received {"connection_id":187839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:48] local.INFO: Processing buffer {"connection_id":187839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:27:48] local.INFO: Packet analysis {"connection_id":187839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:27:48] local.INFO: Extracted packet for processing {"connection_id":187839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:27: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-19 01:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:27: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-19 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:27: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-19 01:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:27:48] 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-19 01:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":187839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:27:48] local.INFO: GPS data processed {"connection_id":187839,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:27:48] local.INFO: Acknowledgment sent {"connection_id":187839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:28:11] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:11] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:11] local.INFO: IMEI packet received {"connection_id":189193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":189193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:28:16] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:16] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:28:16] local.INFO: IMEI packet received {"connection_id":189193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":189193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:28:17] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:28:17] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6142a50012d34c24006aa4140000801152a..."} 
[2026-09-19 01:28:17] local.INFO: Packet analysis {"connection_id":189193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:28:17] local.INFO: Extracted packet for processing {"connection_id":189193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b614"} 
[2026-09-19 01:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178782464001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:28:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:28:17] 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-19 01:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761170000,"timestamp_ms":1789761170000,"timestamp_seconds":1789761170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6142a50"} 
[2026-09-19 01:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:28: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-19 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:28:17] 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-19 01:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178782464001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178782464001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178782464001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":189193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:28:17] local.INFO: GPS data processed {"connection_id":189193,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:28:17] local.INFO: Acknowledgment sent {"connection_id":189193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:28:48] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:28:48] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:28:48] local.INFO: Packet analysis {"connection_id":189193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:28:48] local.INFO: Extracted packet for processing {"connection_id":189193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 01:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:28:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01: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-19 01:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 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-19 01:28: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-19 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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:28: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-19 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-19 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-19 01:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:28:48] 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-19 01:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":189193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:28:48] local.INFO: GPS data processed {"connection_id":189193,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:28:48] local.INFO: Acknowledgment sent {"connection_id":189193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:29:10] local.INFO: TCP Data received {"connection_id":186593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:10] local.INFO: Processing buffer {"connection_id":186593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:10] local.INFO: IMEI packet received {"connection_id":186593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:29:16] local.INFO: TCP Data received {"connection_id":186593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:16] local.INFO: Processing buffer {"connection_id":186593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:29:16] local.INFO: IMEI packet received {"connection_id":186593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":186593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:29:17] local.INFO: TCP Data received {"connection_id":186593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:17] local.INFO: Processing buffer {"connection_id":186593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:17] local.INFO: Packet analysis {"connection_id":186593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:29:17] local.INFO: Extracted packet for processing {"connection_id":186593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29:17] 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-19 01:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:29: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-19 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:29:17] 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-19 01:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":186593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:29:17] local.INFO: GPS data processed {"connection_id":186593,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:29:17] local.INFO: Acknowledgment sent {"connection_id":186593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:29:48] local.INFO: TCP Data received {"connection_id":186593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:48] local.INFO: Processing buffer {"connection_id":186593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:29:48] local.INFO: Packet analysis {"connection_id":186593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:29:48] local.INFO: Extracted packet for processing {"connection_id":186593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:29: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-19 01:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01: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-19 01:29: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:29: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-19 01: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-19 01: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-19 01:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":186593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:29:49] local.INFO: GPS data processed {"connection_id":186593,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:29:49] local.INFO: Acknowledgment sent {"connection_id":186593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:30:10] local.INFO: TCP Data received {"connection_id":187840,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:10] local.INFO: Processing buffer {"connection_id":187840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:10] local.INFO: IMEI packet received {"connection_id":187840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":187840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:30:16] local.INFO: TCP Data received {"connection_id":187840,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:16] local.INFO: Processing buffer {"connection_id":187840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:30:16] local.INFO: IMEI packet received {"connection_id":187840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":187840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:30:16] local.INFO: TCP Data received {"connection_id":187840,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:16] local.INFO: Processing buffer {"connection_id":187840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:16] local.INFO: Packet analysis {"connection_id":187840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:30:16] local.INFO: Extracted packet for processing {"connection_id":187840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30:16] 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-19 01:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01: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-19 01:30: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-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:30:16] 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-19 01: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-19 01: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-19 01:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":187840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:30:16] local.INFO: GPS data processed {"connection_id":187840,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:30:16] local.INFO: Acknowledgment sent {"connection_id":187840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:30:48] local.INFO: TCP Data received {"connection_id":187840,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:48] local.INFO: Processing buffer {"connection_id":187840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:30:48] local.INFO: Packet analysis {"connection_id":187840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:30:48] local.INFO: Extracted packet for processing {"connection_id":187840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:30: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-19 01:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01: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-19 01:30: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:30: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-19 01: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-19 01: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-19 01:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":187840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:30:48] local.INFO: GPS data processed {"connection_id":187840,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:30:48] local.INFO: Acknowledgment sent {"connection_id":187840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:31:16] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:16] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:16] local.INFO: IMEI packet received {"connection_id":186451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:31:21] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:21] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:31:21] local.INFO: IMEI packet received {"connection_id":186451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":186451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:31:22] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:22] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:22] local.INFO: Packet analysis {"connection_id":186451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:31:22] local.INFO: Extracted packet for processing {"connection_id":186451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:22] 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-19 01:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:31:22] 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-19 01:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:31:22] 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-19 01:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":186451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:31:22] local.INFO: GPS data processed {"connection_id":186451,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:31:22] local.INFO: Acknowledgment sent {"connection_id":186451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:31:26] local.INFO: TCP Data received {"connection_id":186451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:26] local.INFO: Processing buffer {"connection_id":186451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:31:26] local.INFO: Packet analysis {"connection_id":186451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:31:26] local.INFO: Extracted packet for processing {"connection_id":186451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:31:26] 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-19 01:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:31:26] 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-19 01:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:31:26] 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-19 01:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:31:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":186451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:31:26] local.INFO: GPS data processed {"connection_id":186451,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:31:26] local.INFO: Acknowledgment sent {"connection_id":186451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:32:11] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:11] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:11] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:32:16] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:16] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:32:16] local.INFO: IMEI packet received {"connection_id":186452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":186452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:32:16] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:16] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:16] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:32:16] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:32:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:32:16] 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-19 01:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01: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-19 01: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:32:16] 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-19 01: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-19 01: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-19 01:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:32:16] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:32:16] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:32:48] local.INFO: TCP Data received {"connection_id":186452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:48] local.INFO: Processing buffer {"connection_id":186452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:32:48] local.INFO: Packet analysis {"connection_id":186452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:32:48] local.INFO: Extracted packet for processing {"connection_id":186452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01: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-19 01:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01: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-19 01:32: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:32: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-19 01: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-19 01: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-19 01:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:32: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-19 01:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:32:48] local.INFO: GPS data processed {"connection_id":186452,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:32:48] local.INFO: Acknowledgment sent {"connection_id":186452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:33:11] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:11] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:11] local.INFO: IMEI packet received {"connection_id":187841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":187841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:33:16] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:16] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:33:16] local.INFO: IMEI packet received {"connection_id":187841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":187841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:33:17] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:33:17] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b618be30012d34c24006aa4140000801152d..."} 
[2026-09-19 01:33:17] local.INFO: Packet analysis {"connection_id":187841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:33:17] local.INFO: Extracted packet for processing {"connection_id":187841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b618"} 
[2026-09-19 01:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178859520001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33:17] 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-19 01:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761470000,"timestamp_ms":1789761470000,"timestamp_seconds":1789761470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b618be30"} 
[2026-09-19 01:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:33: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-19 01:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:33:17] 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-19 01:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178859520001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178859520001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178859520001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":187841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:33:17] local.INFO: GPS data processed {"connection_id":187841,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:33:17] local.INFO: Acknowledgment sent {"connection_id":187841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:33:48] local.INFO: TCP Data received {"connection_id":187841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:33:48] local.INFO: Processing buffer {"connection_id":187841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:33:48] local.INFO: Packet analysis {"connection_id":187841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:33:48] local.INFO: Extracted packet for processing {"connection_id":187841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:33: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-19 01:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:33: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-19 01:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:33: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-19 01:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:33: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-19 01:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":187841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:33:48] local.INFO: GPS data processed {"connection_id":187841,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:33:48] local.INFO: Acknowledgment sent {"connection_id":187841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:34:10] local.INFO: TCP Data received {"connection_id":189194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:10] local.INFO: Processing buffer {"connection_id":189194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:10] local.INFO: IMEI packet received {"connection_id":189194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":189194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:34:16] local.INFO: TCP Data received {"connection_id":189194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:16] local.INFO: Processing buffer {"connection_id":189194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:34:16] local.INFO: IMEI packet received {"connection_id":189194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":189194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:34:16] local.INFO: TCP Data received {"connection_id":189194,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:16] local.INFO: Processing buffer {"connection_id":189194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:16] local.INFO: Packet analysis {"connection_id":189194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:34:16] local.INFO: Extracted packet for processing {"connection_id":189194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34:16] 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-19 01:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01: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-19 01:34: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:34: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-19 01: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-19 01: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-19 01:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":189194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:34:16] local.INFO: GPS data processed {"connection_id":189194,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:34:16] local.INFO: Acknowledgment sent {"connection_id":189194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:34:48] local.INFO: TCP Data received {"connection_id":189194,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:48] local.INFO: Processing buffer {"connection_id":189194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:34:48] local.INFO: Packet analysis {"connection_id":189194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:34:48] local.INFO: Extracted packet for processing {"connection_id":189194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:34: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-19 01:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01: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-19 01:34: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:34: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-19 01: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-19 01: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-19 01:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":189194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:34:48] local.INFO: GPS data processed {"connection_id":189194,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:34:48] local.INFO: Acknowledgment sent {"connection_id":189194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:35:10] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:10] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:10] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:35:16] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:16] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:35:16] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:35:16] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:16] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:16] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:35:16] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35:16] 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-19 01:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01: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-19 01:35: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:35: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-19 01: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-19 01: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-19 01:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:35:16] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:35:16] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:35:48] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:48] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:35:48] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:35:48] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:35: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-19 01:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:35: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-19 01:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:35: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-19 01:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:35:48] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:35:48] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:36:16] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:16] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:16] local.INFO: IMEI packet received {"connection_id":189195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":189195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:36:21] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:21] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:36:21] local.INFO: IMEI packet received {"connection_id":189195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":189195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:36:21] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:21] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:21] local.INFO: Packet analysis {"connection_id":189195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:36:21] local.INFO: Extracted packet for processing {"connection_id":189195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:21] 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-19 01:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":189195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:36:21] local.INFO: GPS data processed {"connection_id":189195,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:36:21] local.INFO: Acknowledgment sent {"connection_id":189195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:36:26] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:26] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:36:26] local.INFO: Packet analysis {"connection_id":189195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:36:26] local.INFO: Extracted packet for processing {"connection_id":189195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:36:26] 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-19 01:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:36:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":189195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:36:26] local.INFO: GPS data processed {"connection_id":189195,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:36:26] local.INFO: Acknowledgment sent {"connection_id":189195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:37:11] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:11] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:11] local.INFO: IMEI packet received {"connection_id":186595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":186595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:37:16] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:16] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:37:16] local.INFO: IMEI packet received {"connection_id":186595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":186595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:37:17] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:17] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:17] local.INFO: Packet analysis {"connection_id":186595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:37:17] local.INFO: Extracted packet for processing {"connection_id":186595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37:17] 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-19 01:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01: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-19 01:37: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:37:17] local.INFO: GPS data processed {"connection_id":186595,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:37:17] local.INFO: Acknowledgment sent {"connection_id":186595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:37:49] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:49] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:37:49] local.INFO: Packet analysis {"connection_id":186595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:37:49] local.INFO: Extracted packet for processing {"connection_id":186595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:37: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-19 01:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01: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-19 01:37: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:37: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-19 01: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-19 01: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-19 01:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":186595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:37:49] local.INFO: GPS data processed {"connection_id":186595,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:37:49] local.INFO: Acknowledgment sent {"connection_id":186595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:38:11] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:11] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:11] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:38:16] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:16] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:38:16] local.INFO: IMEI packet received {"connection_id":186453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:38:17] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:38:17] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b61d55f8012d34c24006aa4140000801152c..."} 
[2026-09-19 01:38:17] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:38:17] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b61d"} 
[2026-09-19 01:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458178936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38:17] 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-19 01:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789761771000,"timestamp_ms":1789761771000,"timestamp_seconds":1789761771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b61d55f8"} 
[2026-09-19 01:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:38: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-19 01:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458178936320001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458178936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458178936320001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:38:17] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:38:17] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:38:48] local.INFO: TCP Data received {"connection_id":186453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:38:48] local.INFO: Processing buffer {"connection_id":186453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:38:48] local.INFO: Packet analysis {"connection_id":186453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:38:48] local.INFO: Extracted packet for processing {"connection_id":186453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:38: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-19 01:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01: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-19 01:38: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:38: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-19 01: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-19 01: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-19 01:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":186453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:38:48] local.INFO: GPS data processed {"connection_id":186453,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:38:48] local.INFO: Acknowledgment sent {"connection_id":186453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:39:10] local.INFO: TCP Data received {"connection_id":189196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:10] local.INFO: Processing buffer {"connection_id":189196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:10] local.INFO: IMEI packet received {"connection_id":189196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":189196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:39:16] local.INFO: TCP Data received {"connection_id":189196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:16] local.INFO: Processing buffer {"connection_id":189196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:39:16] local.INFO: IMEI packet received {"connection_id":189196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":189196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:39:17] local.INFO: TCP Data received {"connection_id":189196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:17] local.INFO: Processing buffer {"connection_id":189196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:17] local.INFO: Packet analysis {"connection_id":189196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:39:17] local.INFO: Extracted packet for processing {"connection_id":189196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39:17] 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-19 01:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:39: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-19 01:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":189196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:39:17] local.INFO: GPS data processed {"connection_id":189196,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:39:17] local.INFO: Acknowledgment sent {"connection_id":189196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:39:48] local.INFO: TCP Data received {"connection_id":189196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:48] local.INFO: Processing buffer {"connection_id":189196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:39:48] local.INFO: Packet analysis {"connection_id":189196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:39:48] local.INFO: Extracted packet for processing {"connection_id":189196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:39: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-19 01:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01: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-19 01: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:39: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-19 01: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-19 01: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-19 01:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:39: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-19 01:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":189196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:39:48] local.INFO: GPS data processed {"connection_id":189196,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:39:48] local.INFO: Acknowledgment sent {"connection_id":189196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:40:10] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:10] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:10] local.INFO: IMEI packet received {"connection_id":186596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:40:16] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:16] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:40:16] local.INFO: IMEI packet received {"connection_id":186596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":186596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:40:17] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:17] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:17] local.INFO: Packet analysis {"connection_id":186596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:40:17] local.INFO: Extracted packet for processing {"connection_id":186596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40:17] 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-19 01:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01: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-19 01:40: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":186596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:40:17] local.INFO: GPS data processed {"connection_id":186596,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:40:17] local.INFO: Acknowledgment sent {"connection_id":186596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:40:48] local.INFO: TCP Data received {"connection_id":186596,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:48] local.INFO: Processing buffer {"connection_id":186596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:40:48] local.INFO: Packet analysis {"connection_id":186596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:40:48] local.INFO: Extracted packet for processing {"connection_id":186596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:40: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-19 01:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:40: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-19 01:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:40: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-19 01:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:40: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-19 01:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:40:48] local.INFO: GPS data processed {"connection_id":186596,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:40:48] local.INFO: Acknowledgment sent {"connection_id":186596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:41:16] local.INFO: TCP Data received {"connection_id":189197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:16] local.INFO: Processing buffer {"connection_id":189197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:16] local.INFO: IMEI packet received {"connection_id":189197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":189197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:41:21] local.INFO: TCP Data received {"connection_id":189197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:21] local.INFO: Processing buffer {"connection_id":189197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:41:21] local.INFO: IMEI packet received {"connection_id":189197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":189197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:41:22] local.INFO: TCP Data received {"connection_id":189197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:22] local.INFO: Processing buffer {"connection_id":189197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:22] local.INFO: Packet analysis {"connection_id":189197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:41:22] local.INFO: Extracted packet for processing {"connection_id":189197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:22] 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-19 01:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01: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-19 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01: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-19 01: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-19 01:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:41:22] local.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-19 01:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":189197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:41:22] local.INFO: GPS data processed {"connection_id":189197,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:41:22] local.INFO: Acknowledgment sent {"connection_id":189197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:41:27] local.INFO: TCP Data received {"connection_id":189197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:27] local.INFO: Processing buffer {"connection_id":189197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:41:27] local.INFO: Packet analysis {"connection_id":189197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:41:27] local.INFO: Extracted packet for processing {"connection_id":189197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:41: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-19 01:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:41:27] 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-19 01:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:41: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:41: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-19 01:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:41:27] local.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-19 01:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":189197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:41:27] local.INFO: GPS data processed {"connection_id":189197,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:41:27] local.INFO: Acknowledgment sent {"connection_id":189197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:42:11] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:11] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:11] local.INFO: IMEI packet received {"connection_id":187842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:42:16] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:16] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:42:16] local.INFO: IMEI packet received {"connection_id":187842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:42:16] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:16] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:16] local.INFO: Packet analysis {"connection_id":187842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:42:16] local.INFO: Extracted packet for processing {"connection_id":187842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42:16] 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-19 01:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:42: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-19 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:42: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-19 01:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":187842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:42:16] local.INFO: GPS data processed {"connection_id":187842,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:42:16] local.INFO: Acknowledgment sent {"connection_id":187842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:42:48] local.INFO: TCP Data received {"connection_id":187842,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:48] local.INFO: Processing buffer {"connection_id":187842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:42:48] local.INFO: Packet analysis {"connection_id":187842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:42:48] local.INFO: Extracted packet for processing {"connection_id":187842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:42: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-19 01:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:42: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-19 01:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:42: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-19 01:42: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-19 01:42: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-19 01:42: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-19 01:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:42:48] local.INFO: GPS data processed {"connection_id":187842,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:42:48] local.INFO: Acknowledgment sent {"connection_id":187842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:43:11] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:11] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:11] local.INFO: IMEI packet received {"connection_id":189198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":189198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:43:16] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:16] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:43:16] local.INFO: IMEI packet received {"connection_id":189198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":189198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:43:16] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:16] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b621edc0012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:16] local.INFO: Packet analysis {"connection_id":189198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:43:16] local.INFO: Extracted packet for processing {"connection_id":189198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b621"} 
[2026-09-19 01:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179013376001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43:16] 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-19 01:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762072000,"timestamp_ms":1789762072000,"timestamp_seconds":1789762072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b621edc0"} 
[2026-09-19 01: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-19 01:43: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:43: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-19 01: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-19 01: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-19 01:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:43:16] 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-19 01:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179013376001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179013376001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179013376001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":189198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:43:16] local.INFO: GPS data processed {"connection_id":189198,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:43:17] local.INFO: Acknowledgment sent {"connection_id":189198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:43:48] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:48] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:43:48] local.INFO: Packet analysis {"connection_id":189198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:43:48] local.INFO: Extracted packet for processing {"connection_id":189198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:43: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-19 01:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01: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-19 01:43: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:43: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-19 01: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-19 01: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-19 01:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:43:48] 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-19 01:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":189198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:43:48] local.INFO: GPS data processed {"connection_id":189198,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:43:48] local.INFO: Acknowledgment sent {"connection_id":189198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:44:10] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:10] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:10] local.INFO: IMEI packet received {"connection_id":186454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:44:16] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:16] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:44:16] local.INFO: IMEI packet received {"connection_id":186454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":186454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:44:16] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:16] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:16] local.INFO: Packet analysis {"connection_id":186454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:44:16] local.INFO: Extracted packet for processing {"connection_id":186454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44:16] 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-19 01:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01: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-19 01:44: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-19 01:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:44:16] 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-19 01: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-19 01: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-19 01:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":186454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:44:17] local.INFO: GPS data processed {"connection_id":186454,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:44:17] local.INFO: Acknowledgment sent {"connection_id":186454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:44:48] local.INFO: TCP Data received {"connection_id":186454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:48] local.INFO: Processing buffer {"connection_id":186454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:44:48] local.INFO: Packet analysis {"connection_id":186454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:44:48] local.INFO: Extracted packet for processing {"connection_id":186454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:44: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-19 01:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01: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-19 01: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:44: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-19 01: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-19 01: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-19 01:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:44:48] 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-19 01:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":186454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:44:48] local.INFO: GPS data processed {"connection_id":186454,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:44:48] local.INFO: Acknowledgment sent {"connection_id":186454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:45:10] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:10] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:10] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:45:16] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:16] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:45:16] local.INFO: IMEI packet received {"connection_id":186455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:45:17] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:17] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:17] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:45:17] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45:17] 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-19 01:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:45: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-19 01:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:45:17] 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-19 01:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:45: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-19 01:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:45:17] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:45:17] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:45:48] local.INFO: TCP Data received {"connection_id":186455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:48] local.INFO: Processing buffer {"connection_id":186455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:45:48] local.INFO: Packet analysis {"connection_id":186455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:45:48] local.INFO: Extracted packet for processing {"connection_id":186455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:45: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-19 01:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:45: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-19 01:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:45: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-19 01:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:45: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-19 01:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":186455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:45:48] local.INFO: GPS data processed {"connection_id":186455,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:45:48] local.INFO: Acknowledgment sent {"connection_id":186455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:46:16] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:16] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:16] local.INFO: IMEI packet received {"connection_id":187843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":187843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:46:21] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:21] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:46:21] local.INFO: IMEI packet received {"connection_id":187843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":187843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:46:21] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:21] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:21] local.INFO: Packet analysis {"connection_id":187843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:46:21] local.INFO: Extracted packet for processing {"connection_id":187843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:21] 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-19 01:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:46:21] 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-19 01:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:46:22] 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-19 01:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":187843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:46:22] local.INFO: GPS data processed {"connection_id":187843,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:46:22] local.INFO: Acknowledgment sent {"connection_id":187843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:46:26] local.INFO: TCP Data received {"connection_id":187843,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:26] local.INFO: Processing buffer {"connection_id":187843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:46:26] local.INFO: Packet analysis {"connection_id":187843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:46:26] local.INFO: Extracted packet for processing {"connection_id":187843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:46: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-19 01:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:46:26] 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-19 01:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:46: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:46:26] 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-19 01:46: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-19 01:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:46:26] 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-19 01:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":187843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:46:26] local.INFO: GPS data processed {"connection_id":187843,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:46:26] local.INFO: Acknowledgment sent {"connection_id":187843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:47:11] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:11] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:11] local.INFO: IMEI packet received {"connection_id":187844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":187844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:47:16] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:16] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:47:16] local.INFO: IMEI packet received {"connection_id":187844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":187844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:47:17] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:17] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:17] local.INFO: Packet analysis {"connection_id":187844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:47:17] local.INFO: Extracted packet for processing {"connection_id":187844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47:17] 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-19 01:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:47: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-19 01:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:47:17] 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-19 01:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":187844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:47:17] local.INFO: GPS data processed {"connection_id":187844,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:47:17] local.INFO: Acknowledgment sent {"connection_id":187844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:47:49] local.INFO: TCP Data received {"connection_id":187844,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:49] local.INFO: Processing buffer {"connection_id":187844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:47:49] local.INFO: Packet analysis {"connection_id":187844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:47:49] local.INFO: Extracted packet for processing {"connection_id":187844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:47: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-19 01:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01: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-19 01:47: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:47:49] 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-19 01: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-19 01: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-19 01:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:47:49] 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-19 01:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":187844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:47:49] local.INFO: GPS data processed {"connection_id":187844,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:47:49] local.INFO: Acknowledgment sent {"connection_id":187844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:48:11] local.INFO: TCP Data received {"connection_id":187845,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:11] local.INFO: Processing buffer {"connection_id":187845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:11] local.INFO: IMEI packet received {"connection_id":187845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":187845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:48:16] local.INFO: TCP Data received {"connection_id":187845,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:16] local.INFO: Processing buffer {"connection_id":187845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:48:16] local.INFO: IMEI packet received {"connection_id":187845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":187845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:48:16] local.INFO: TCP Data received {"connection_id":187845,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:48:16] local.INFO: Processing buffer {"connection_id":187845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6268588012d34c24006aa4140000801152d..."} 
[2026-09-19 01:48:16] local.INFO: Packet analysis {"connection_id":187845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:48:16] local.INFO: Extracted packet for processing {"connection_id":187845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b626"} 
[2026-09-19 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179090432001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48:16] 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-19 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762373000,"timestamp_ms":1789762373000,"timestamp_seconds":1789762373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6268588"} 
[2026-09-19 01:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:48: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-19 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:48:16] 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-19 01:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179090432001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179090432001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179090432001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":187845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:48:17] local.INFO: GPS data processed {"connection_id":187845,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:48:17] local.INFO: Acknowledgment sent {"connection_id":187845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:48:48] local.INFO: TCP Data received {"connection_id":187845,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:48:48] local.INFO: Processing buffer {"connection_id":187845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:48:48] local.INFO: Packet analysis {"connection_id":187845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:48:48] local.INFO: Extracted packet for processing {"connection_id":187845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:48: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-19 01:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:48: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:48: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-19 01: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-19 01: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-19 01:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:48:48] local.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-19 01:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":187845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:48:48] local.INFO: GPS data processed {"connection_id":187845,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:48:48] local.INFO: Acknowledgment sent {"connection_id":187845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:49:10] local.INFO: TCP Data received {"connection_id":189199,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:10] local.INFO: Processing buffer {"connection_id":189199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:10] local.INFO: IMEI packet received {"connection_id":189199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":189199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:49:16] local.INFO: TCP Data received {"connection_id":189199,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:16] local.INFO: Processing buffer {"connection_id":189199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:49:16] local.INFO: IMEI packet received {"connection_id":189199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":189199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:49:17] local.INFO: TCP Data received {"connection_id":189199,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:17] local.INFO: Processing buffer {"connection_id":189199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:17] local.INFO: Packet analysis {"connection_id":189199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:49:17] local.INFO: Extracted packet for processing {"connection_id":189199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49:17] 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-19 01:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:49:17] 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-19 01:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":189199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:49:17] local.INFO: GPS data processed {"connection_id":189199,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:49:17] local.INFO: Acknowledgment sent {"connection_id":189199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:49:48] local.INFO: TCP Data received {"connection_id":189199,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:48] local.INFO: Processing buffer {"connection_id":189199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:49:48] local.INFO: Packet analysis {"connection_id":189199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:49:48] local.INFO: Extracted packet for processing {"connection_id":189199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:49: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-19 01:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":189199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:49:48] local.INFO: GPS data processed {"connection_id":189199,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:49:48] local.INFO: Acknowledgment sent {"connection_id":189199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:50:10] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:10] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:10] local.INFO: IMEI packet received {"connection_id":186456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:50:16] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:16] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:50:16] local.INFO: IMEI packet received {"connection_id":186456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":186456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:50:17] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:17] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:17] local.INFO: Packet analysis {"connection_id":186456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:50:17] local.INFO: Extracted packet for processing {"connection_id":186456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50:17] 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-19 01:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:50:17] 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-19 01: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-19 01: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-19 01:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:50:17] 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-19 01:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":186456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:50:17] local.INFO: GPS data processed {"connection_id":186456,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:50:17] local.INFO: Acknowledgment sent {"connection_id":186456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:50:48] local.INFO: TCP Data received {"connection_id":186456,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:48] local.INFO: Processing buffer {"connection_id":186456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:50:48] local.INFO: Packet analysis {"connection_id":186456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:50:48] local.INFO: Extracted packet for processing {"connection_id":186456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:50: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-19 01:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:50: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:50: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-19 01: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-19 01: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-19 01:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":186456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:50:48] local.INFO: GPS data processed {"connection_id":186456,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:50:48] local.INFO: Acknowledgment sent {"connection_id":186456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:51:10] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:10] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:10] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:51:16] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:16] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:51:16] local.INFO: IMEI packet received {"connection_id":186457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":186457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:51:16] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:16] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:16] local.INFO: Packet analysis {"connection_id":186457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:51:16] local.INFO: Extracted packet for processing {"connection_id":186457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51:16] 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-19 01:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:51:16] 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-19 01:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:51:17] 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-19 01:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":186457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:51:17] local.INFO: GPS data processed {"connection_id":186457,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:51:17] local.INFO: Acknowledgment sent {"connection_id":186457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:51:48] local.INFO: TCP Data received {"connection_id":186457,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:48] local.INFO: Processing buffer {"connection_id":186457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:51:48] local.INFO: Packet analysis {"connection_id":186457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:51:48] local.INFO: Extracted packet for processing {"connection_id":186457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:51: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-19 01:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:51: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:51: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-19 01: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-19 01: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-19 01:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:51:48] 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-19 01:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:51:48] local.INFO: GPS data processed {"connection_id":186457,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:51:48] local.INFO: Acknowledgment sent {"connection_id":186457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:52:16] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:16] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:16] local.INFO: IMEI packet received {"connection_id":187846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":187846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:52:21] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:21] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:52:21] local.INFO: IMEI packet received {"connection_id":187846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":187846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:52:21] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:21] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:21] local.INFO: Packet analysis {"connection_id":187846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:52:21] local.INFO: Extracted packet for processing {"connection_id":187846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:21] 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-19 01:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:52:21] 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-19 01:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:52:21] local.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-19 01:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":187846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:52:21] local.INFO: GPS data processed {"connection_id":187846,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:52:21] local.INFO: Acknowledgment sent {"connection_id":187846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:52:26] local.INFO: TCP Data received {"connection_id":187846,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:26] local.INFO: Processing buffer {"connection_id":187846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:52:26] local.INFO: Packet analysis {"connection_id":187846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:52:26] local.INFO: Extracted packet for processing {"connection_id":187846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:52:26] 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-19 01:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:52:26] 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-19 01: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-19 01: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-19 01:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:52:26] local.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-19 01:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:52:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":187846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:52:26] local.INFO: GPS data processed {"connection_id":187846,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:52:26] local.INFO: Acknowledgment sent {"connection_id":187846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:53:11] local.INFO: TCP Data received {"connection_id":189200,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:11] local.INFO: Processing buffer {"connection_id":189200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:11] local.INFO: IMEI packet received {"connection_id":189200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":189200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:53:16] local.INFO: TCP Data received {"connection_id":189200,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:16] local.INFO: Processing buffer {"connection_id":189200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:53:16] local.INFO: IMEI packet received {"connection_id":189200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":189200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:53:17] local.INFO: TCP Data received {"connection_id":189200,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:17] local.INFO: Processing buffer {"connection_id":189200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62b1d50012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:17] local.INFO: Packet analysis {"connection_id":189200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:53:17] local.INFO: Extracted packet for processing {"connection_id":189200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62b"} 
[2026-09-19 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53:17] 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-19 01:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762674000,"timestamp_ms":1789762674000,"timestamp_seconds":1789762674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62b1d50"} 
[2026-09-19 01: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-19 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:53:17] 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-19 01: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-19 01: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-19 01:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179167488001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179167488001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":189200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:53:17] local.INFO: GPS data processed {"connection_id":189200,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:53:17] local.INFO: Acknowledgment sent {"connection_id":189200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:53:48] local.INFO: TCP Data received {"connection_id":189200,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:48] local.INFO: Processing buffer {"connection_id":189200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:53:48] local.INFO: Packet analysis {"connection_id":189200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:53:48] local.INFO: Extracted packet for processing {"connection_id":189200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:53: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-19 01:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:53: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-19 01:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:53: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-19 01:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:53:48] local.INFO: GPS data processed {"connection_id":189200,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:53:48] local.INFO: Acknowledgment sent {"connection_id":189200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:54:10] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:10] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:10] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:54:16] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:16] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:54:16] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:54:17] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:17] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:17] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:54:17] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54:17] 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-19 01:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01: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-19 01:54: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-19 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01: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-19 01: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-19 01:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:54:17] 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-19 01:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:54:17] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:54:17] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:54:48] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:48] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:54:48] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:54:48] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:54: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-19 01:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01: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-19 01:54: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:54: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-19 01: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-19 01: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-19 01:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:54:48] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:54:48] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:55:10] local.INFO: TCP Data received {"connection_id":189201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:10] local.INFO: Processing buffer {"connection_id":189201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:10] local.INFO: IMEI packet received {"connection_id":189201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":189201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:55:16] local.INFO: TCP Data received {"connection_id":189201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:16] local.INFO: Processing buffer {"connection_id":189201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:55:16] local.INFO: IMEI packet received {"connection_id":189201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:55:17] local.INFO: TCP Data received {"connection_id":189201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:17] local.INFO: Processing buffer {"connection_id":189201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:17] local.INFO: Packet analysis {"connection_id":189201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:55:17] local.INFO: Extracted packet for processing {"connection_id":189201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55:17] 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-19 01:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:55: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-19 01:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 01:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":189201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:55:17] local.INFO: GPS data processed {"connection_id":189201,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:55:17] local.INFO: Acknowledgment sent {"connection_id":189201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:55:48] local.INFO: TCP Data received {"connection_id":189201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:48] local.INFO: Processing buffer {"connection_id":189201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:55:48] local.INFO: Packet analysis {"connection_id":189201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:55:48] local.INFO: Extracted packet for processing {"connection_id":189201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:55: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-19 01:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01: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-19 01:55: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-19 01: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-19 01: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-19 01: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-19 01: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-19 01:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 01:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:55:48] local.INFO: GPS data processed {"connection_id":189201,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:55:48] local.INFO: Acknowledgment sent {"connection_id":189201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:56:16] local.INFO: TCP Data received {"connection_id":187847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:16] local.INFO: Processing buffer {"connection_id":187847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:16] local.INFO: IMEI packet received {"connection_id":187847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":187847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:56:21] local.INFO: TCP Data received {"connection_id":187847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:21] local.INFO: Processing buffer {"connection_id":187847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:56:21] local.INFO: IMEI packet received {"connection_id":187847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":187847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:56:22] local.INFO: TCP Data received {"connection_id":187847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:22] local.INFO: Processing buffer {"connection_id":187847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:22] local.INFO: Packet analysis {"connection_id":187847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:56:22] local.INFO: Extracted packet for processing {"connection_id":187847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:22] 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-19 01:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:56:22] 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-19 01:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":187847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:56:22] local.INFO: GPS data processed {"connection_id":187847,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:56:22] local.INFO: Acknowledgment sent {"connection_id":187847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:56:54] local.INFO: TCP Data received {"connection_id":187847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:54] local.INFO: Processing buffer {"connection_id":187847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:56:54] local.INFO: Packet analysis {"connection_id":187847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:56:54] local.INFO: Extracted packet for processing {"connection_id":187847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:56:54] 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-19 01:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 01:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:56:54] 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-19 01:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":187847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:56:54] local.INFO: GPS data processed {"connection_id":187847,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:56:54] local.INFO: Acknowledgment sent {"connection_id":187847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:57:11] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:11] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:11] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:57:16] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:16] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:57:16] local.INFO: IMEI packet received {"connection_id":186458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":186458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:57:16] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:16] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:16] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:57:16] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57:16] 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-19 01:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:57: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-19 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-19 01:57: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-19 01:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:57:16] 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-19 01:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:57:16] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:57:16] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:57:48] local.INFO: TCP Data received {"connection_id":186458,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:48] local.INFO: Processing buffer {"connection_id":186458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:57:48] local.INFO: Packet analysis {"connection_id":186458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:57:48] local.INFO: Extracted packet for processing {"connection_id":186458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:57: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-19 01:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01: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-19 01:57: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-19 01: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:57: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-19 01: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-19 01: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-19 01:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:57:48] 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-19 01:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":186458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:57:48] local.INFO: GPS data processed {"connection_id":186458,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:57:48] local.INFO: Acknowledgment sent {"connection_id":186458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:58:12] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:12] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:12] local.INFO: IMEI packet received {"connection_id":186598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":186598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:58:16] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:16] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:58:16] local.INFO: IMEI packet received {"connection_id":186598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:58:16] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:58:16] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b62fb518012d34c24006aa4140000801152b..."} 
[2026-09-19 01:58:16] local.INFO: Packet analysis {"connection_id":186598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:58:16] local.INFO: Extracted packet for processing {"connection_id":186598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b62f"} 
[2026-09-19 01:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179244544001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58:16] 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-19 01:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789762975000,"timestamp_ms":1789762975000,"timestamp_seconds":1789762975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b62fb518"} 
[2026-09-19 01:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:58: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-19 01:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 01:58: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-19 01:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:58: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-19 01:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179244544001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179244544001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179244544001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":186598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:58:17] local.INFO: GPS data processed {"connection_id":186598,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:58:17] local.INFO: Acknowledgment sent {"connection_id":186598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:58:48] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:58:48] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:58:48] local.INFO: Packet analysis {"connection_id":186598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:58:48] local.INFO: Extracted packet for processing {"connection_id":186598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:58: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-19 01:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 01:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:58: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-19 01:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:58: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-19 01:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:58:48] 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-19 01:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 01:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:58:48] local.INFO: GPS data processed {"connection_id":186598,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:58:48] local.INFO: Acknowledgment sent {"connection_id":186598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:59:10] local.INFO: TCP Data received {"connection_id":187848,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:10] local.INFO: Processing buffer {"connection_id":187848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:10] local.INFO: IMEI packet received {"connection_id":187848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 01:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":187848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 01:59:16] local.INFO: TCP Data received {"connection_id":187848,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:16] local.INFO: Processing buffer {"connection_id":187848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 01:59:16] local.INFO: IMEI packet received {"connection_id":187848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 01:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":187848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 01:59:17] local.INFO: TCP Data received {"connection_id":187848,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:17] local.INFO: Processing buffer {"connection_id":187848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:17] local.INFO: Packet analysis {"connection_id":187848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:59:17] local.INFO: Extracted packet for processing {"connection_id":187848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 01:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59:17] 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-19 01:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 01:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 01:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 01:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:59:17] 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-19 01:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 01:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 01:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:59:17] 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-19 01:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":187848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:59:17] local.INFO: GPS data processed {"connection_id":187848,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:59:17] local.INFO: Acknowledgment sent {"connection_id":187848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 01:59:48] local.INFO: TCP Data received {"connection_id":187848,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:48] local.INFO: Processing buffer {"connection_id":187848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 01:59:48] local.INFO: Packet analysis {"connection_id":187848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:59:48] local.INFO: Extracted packet for processing {"connection_id":187848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 01:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 01: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-19 01:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 01:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 01:59: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-19 01:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 01: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-19 01: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-19 01: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 01:59: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-19 01: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-19 01: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-19 01:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 01:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 01:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 01:59:48] 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-19 01:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 01:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 01:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 01:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 01:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 01:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 01:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 01:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 01:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 01:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 01:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":187848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 01:59:48] local.INFO: GPS data processed {"connection_id":187848,"processed":1,"errors":0,"total":1} 
[2026-09-19 01:59:48] local.INFO: Acknowledgment sent {"connection_id":187848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:00:10] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:10] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:10] local.INFO: IMEI packet received {"connection_id":186599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":186599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:00:16] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:16] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:00:16] local.INFO: IMEI packet received {"connection_id":186599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":186599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:00:16] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:16] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:16] local.INFO: Packet analysis {"connection_id":186599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:00:16] local.INFO: Extracted packet for processing {"connection_id":186599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00:16] 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-19 02:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:00:16] 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-19 02:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":186599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:00:16] local.INFO: GPS data processed {"connection_id":186599,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:00:16] local.INFO: Acknowledgment sent {"connection_id":186599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:00:48] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:48] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:00:48] local.INFO: Packet analysis {"connection_id":186599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:00:48] local.INFO: Extracted packet for processing {"connection_id":186599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:00: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-19 02:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02: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-19 02:00: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-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:00: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-19 02: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-19 02: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-19 02:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":186599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:00:48] local.INFO: GPS data processed {"connection_id":186599,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:00:48] local.INFO: Acknowledgment sent {"connection_id":186599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:01:16] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:16] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:16] local.INFO: IMEI packet received {"connection_id":186459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":186459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:01:21] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:21] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:01:21] local.INFO: IMEI packet received {"connection_id":186459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":186459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:01:21] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:21] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:21] local.INFO: Packet analysis {"connection_id":186459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:01:21] local.INFO: Extracted packet for processing {"connection_id":186459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:21] 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-19 02:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:01:21] 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-19 02:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":186459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:01:21] local.INFO: GPS data processed {"connection_id":186459,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:01:21] local.INFO: Acknowledgment sent {"connection_id":186459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:01:26] local.INFO: TCP Data received {"connection_id":186459,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:26] local.INFO: Processing buffer {"connection_id":186459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:01:26] local.INFO: Packet analysis {"connection_id":186459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:01:26] local.INFO: Extracted packet for processing {"connection_id":186459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:01: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-19 02:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:01:26] 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-19 02:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:01:26] 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-19 02:01: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-19 02:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:01:26] 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-19 02:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":186459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:01:26] local.INFO: GPS data processed {"connection_id":186459,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:01:26] local.INFO: Acknowledgment sent {"connection_id":186459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:02:11] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:11] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:11] local.INFO: IMEI packet received {"connection_id":186600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":186600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:02:16] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:16] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:02:16] local.INFO: IMEI packet received {"connection_id":186600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":186600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:02:16] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:16] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:16] local.INFO: Packet analysis {"connection_id":186600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:02:16] local.INFO: Extracted packet for processing {"connection_id":186600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02:16] 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-19 02:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02: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-19 02:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:02:16] 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-19 02: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-19 02: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-19 02:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":186600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:02:16] local.INFO: GPS data processed {"connection_id":186600,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:02:16] local.INFO: Acknowledgment sent {"connection_id":186600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:02:48] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:48] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:02:48] local.INFO: Packet analysis {"connection_id":186600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:02:48] local.INFO: Extracted packet for processing {"connection_id":186600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:02: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-19 02:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:02: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-19 02:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:02: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-19 02:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:02: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-19 02:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":186600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:02:48] local.INFO: GPS data processed {"connection_id":186600,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:02:48] local.INFO: Acknowledgment sent {"connection_id":186600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:03:11] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:11] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:11] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:03:16] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:16] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:03:16] local.INFO: IMEI packet received {"connection_id":186460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":186460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:03:17] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:17] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:17] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:03:17] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:03: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-19 02:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:17] 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-19 02:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:03: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:03:17] 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-19 02:03: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-19 02:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:03:17] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:03:17] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:03:21] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:21] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6344ce0012d34c24006aa4140000801152e..."} 
[2026-09-19 02:03:21] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:03:21] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b634"} 
[2026-09-19 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179321600001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:21] 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-19 02:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789763276000,"timestamp_ms":1789763276000,"timestamp_seconds":1789763276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6344ce0"} 
[2026-09-19 02:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:03:21] 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-19 02:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179321600001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179321600001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179321600001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:03:21] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:03:21] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:03:53] local.INFO: TCP Data received {"connection_id":186460,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:03:53] local.INFO: Processing buffer {"connection_id":186460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:03:53] local.INFO: Packet analysis {"connection_id":186460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:03:53] local.INFO: Extracted packet for processing {"connection_id":186460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:03:53] 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-19 02:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:03: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-19 02:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:03:53] local.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-19 02:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":186460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:03:53] local.INFO: GPS data processed {"connection_id":186460,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:03:53] local.INFO: Acknowledgment sent {"connection_id":186460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:04:20] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:20] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:20] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:04:26] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:26] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:04:26] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:04:27] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:04:27] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:04:27] local.INFO: Packet analysis {"connection_id":186601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:04:27] local.INFO: Extracted packet for processing {"connection_id":186601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:04: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-19 02:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:04:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:04:27] 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-19 02:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:04: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-19 02:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:04:27] local.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-19 02:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":186601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:04:27] local.INFO: GPS data processed {"connection_id":186601,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:04:27] local.INFO: Acknowledgment sent {"connection_id":186601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:05:16] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:16] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:16] local.INFO: IMEI packet received {"connection_id":187849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":187849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:05:21] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:21] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:05:21] local.INFO: IMEI packet received {"connection_id":187849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":187849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:05:22] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:22] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:22] local.INFO: Packet analysis {"connection_id":187849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:05:22] local.INFO: Extracted packet for processing {"connection_id":187849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:22] 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-19 02:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:05:22] 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-19 02:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":187849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:05:22] local.INFO: GPS data processed {"connection_id":187849,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:05:22] local.INFO: Acknowledgment sent {"connection_id":187849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:05:26] local.INFO: TCP Data received {"connection_id":187849,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:26] local.INFO: Processing buffer {"connection_id":187849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:05:26] local.INFO: Packet analysis {"connection_id":187849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:05:26] local.INFO: Extracted packet for processing {"connection_id":187849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:05:26] 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-19 02:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:05:26] 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-19 02:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":187849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:05:26] local.INFO: GPS data processed {"connection_id":187849,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:05:26] local.INFO: Acknowledgment sent {"connection_id":187849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:06:11] local.INFO: TCP Data received {"connection_id":187850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:11] local.INFO: Processing buffer {"connection_id":187850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:11] local.INFO: IMEI packet received {"connection_id":187850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":187850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:06:16] local.INFO: TCP Data received {"connection_id":187850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:16] local.INFO: Processing buffer {"connection_id":187850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:06:16] local.INFO: IMEI packet received {"connection_id":187850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":187850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:06:17] local.INFO: TCP Data received {"connection_id":187850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:17] local.INFO: Processing buffer {"connection_id":187850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:17] local.INFO: Packet analysis {"connection_id":187850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:06:17] local.INFO: Extracted packet for processing {"connection_id":187850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:06: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-19 02:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06:17] 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-19 02:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:06: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-19 02:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:06: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-19 02:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:06:17] local.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-19 02:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":187850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:06:17] local.INFO: GPS data processed {"connection_id":187850,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:06:17] local.INFO: Acknowledgment sent {"connection_id":187850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:06:48] local.INFO: TCP Data received {"connection_id":187850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:48] local.INFO: Processing buffer {"connection_id":187850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:06:48] local.INFO: Packet analysis {"connection_id":187850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:06:48] local.INFO: Extracted packet for processing {"connection_id":187850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:06: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-19 02:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02: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-19 02: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-19 02: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-19 02: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-19 02: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-19 02: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-19 02:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":187850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:06:48] local.INFO: GPS data processed {"connection_id":187850,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:06:48] local.INFO: Acknowledgment sent {"connection_id":187850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:07:11] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:11] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:11] local.INFO: IMEI packet received {"connection_id":187851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":187851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:07:16] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:16] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:07:16] local.INFO: IMEI packet received {"connection_id":187851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":187851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:07:16] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:16] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:16] local.INFO: Packet analysis {"connection_id":187851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:07:16] local.INFO: Extracted packet for processing {"connection_id":187851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07:16] 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-19 02:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:07: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-19 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":187851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:07:16] local.INFO: GPS data processed {"connection_id":187851,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:07:16] local.INFO: Acknowledgment sent {"connection_id":187851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:07:48] local.INFO: TCP Data received {"connection_id":187851,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:48] local.INFO: Processing buffer {"connection_id":187851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:07:48] local.INFO: Packet analysis {"connection_id":187851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:07:48] local.INFO: Extracted packet for processing {"connection_id":187851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:07: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-19 02:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02: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-19 02: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-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:07: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-19 02: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-19 02: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-19 02:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:07: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-19 02:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":187851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:07:48] local.INFO: GPS data processed {"connection_id":187851,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:07:48] local.INFO: Acknowledgment sent {"connection_id":187851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:08:10] local.INFO: TCP Data received {"connection_id":189202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:10] local.INFO: Processing buffer {"connection_id":189202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:10] local.INFO: IMEI packet received {"connection_id":189202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":189202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:08:16] local.INFO: TCP Data received {"connection_id":189202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:16] local.INFO: Processing buffer {"connection_id":189202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:08:16] local.INFO: IMEI packet received {"connection_id":189202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":189202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:08:16] local.INFO: TCP Data received {"connection_id":189202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:08:16] local.INFO: Processing buffer {"connection_id":189202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b638e4a8012d34c24006aa4140000801152f..."} 
[2026-09-19 02:08:16] local.INFO: Packet analysis {"connection_id":189202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:08:16] local.INFO: Extracted packet for processing {"connection_id":189202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b638"} 
[2026-09-19 02:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08:16] 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-19 02:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763577000,"timestamp_ms":1789763577000,"timestamp_seconds":1789763577,"priority":1,"record_length":96,"hex_timestamp":"000001a0b638e4a8"} 
[2026-09-19 02:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:08: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-19 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:08: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-19 02:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:08:16] 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-19 02:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179398656001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179398656001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":189202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:08:16] local.INFO: GPS data processed {"connection_id":189202,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:08:16] local.INFO: Acknowledgment sent {"connection_id":189202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:08:48] local.INFO: TCP Data received {"connection_id":189202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:08:48] local.INFO: Processing buffer {"connection_id":189202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:08:48] local.INFO: Packet analysis {"connection_id":189202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:08:48] local.INFO: Extracted packet for processing {"connection_id":189202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:08: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-19 02:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02: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-19 02:08: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:08: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-19 02: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-19 02: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-19 02:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":189202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:08:48] local.INFO: GPS data processed {"connection_id":189202,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:08:48] local.INFO: Acknowledgment sent {"connection_id":189202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:09:10] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:10] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:10] local.INFO: IMEI packet received {"connection_id":187852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":187852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:09:16] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:16] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:09:16] local.INFO: IMEI packet received {"connection_id":187852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":187852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:09:17] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:17] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:17] local.INFO: Packet analysis {"connection_id":187852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:09:17] local.INFO: Extracted packet for processing {"connection_id":187852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09:17] 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-19 02:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02: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-19 02:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":187852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:09:17] local.INFO: GPS data processed {"connection_id":187852,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:09:17] local.INFO: Acknowledgment sent {"connection_id":187852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:09:48] local.INFO: TCP Data received {"connection_id":187852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:48] local.INFO: Processing buffer {"connection_id":187852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:09:48] local.INFO: Packet analysis {"connection_id":187852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:09:48] local.INFO: Extracted packet for processing {"connection_id":187852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:09: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-19 02:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02: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-19 02:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:09: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-19 02: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-19 02: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-19 02:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":187852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:09:48] local.INFO: GPS data processed {"connection_id":187852,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:09:48] local.INFO: Acknowledgment sent {"connection_id":187852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:10:10] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:10] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:10] local.INFO: IMEI packet received {"connection_id":186602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":186602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:10:16] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:16] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:10:16] local.INFO: IMEI packet received {"connection_id":186602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":186602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:10:16] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:16] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:16] local.INFO: Packet analysis {"connection_id":186602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:10:16] local.INFO: Extracted packet for processing {"connection_id":186602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10:16] 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-19 02:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:10: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-19 02:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:10: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-19 02:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":186602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:10:16] local.INFO: GPS data processed {"connection_id":186602,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:10:16] local.INFO: Acknowledgment sent {"connection_id":186602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:10:48] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:48] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:10:48] local.INFO: Packet analysis {"connection_id":186602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:10:48] local.INFO: Extracted packet for processing {"connection_id":186602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:10: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-19 02:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02: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-19 02:10: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:10: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-19 02: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-19 02: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-19 02:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:10:48] 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-19 02:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":186602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:10:48] local.INFO: GPS data processed {"connection_id":186602,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:10:48] local.INFO: Acknowledgment sent {"connection_id":186602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:11:16] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:16] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:16] local.INFO: IMEI packet received {"connection_id":189203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":189203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:11:21] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:21] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:11:21] local.INFO: IMEI packet received {"connection_id":189203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":189203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:11:22] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:22] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:22] local.INFO: Packet analysis {"connection_id":189203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:11:22] local.INFO: Extracted packet for processing {"connection_id":189203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:22] 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-19 02:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:11:22] 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-19 02:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":189203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:11:22] local.INFO: GPS data processed {"connection_id":189203,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:11:22] local.INFO: Acknowledgment sent {"connection_id":189203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:11:54] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:54] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:11:54] local.INFO: Packet analysis {"connection_id":189203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:11:54] local.INFO: Extracted packet for processing {"connection_id":189203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:11:54] 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-19 02:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:11:54] 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-19 02:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":189203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:11:54] local.INFO: GPS data processed {"connection_id":189203,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:11:54] local.INFO: Acknowledgment sent {"connection_id":189203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:12:11] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:11] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:11] local.INFO: IMEI packet received {"connection_id":187853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":187853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:12:16] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:16] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:12:16] local.INFO: IMEI packet received {"connection_id":187853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":187853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:12:17] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:17] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:17] local.INFO: Packet analysis {"connection_id":187853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:12:17] local.INFO: Extracted packet for processing {"connection_id":187853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12:17] 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-19 02:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02: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-19 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":187853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:12:17] local.INFO: GPS data processed {"connection_id":187853,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:12:17] local.INFO: Acknowledgment sent {"connection_id":187853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:12:48] local.INFO: TCP Data received {"connection_id":187853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:48] local.INFO: Processing buffer {"connection_id":187853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:12:48] local.INFO: Packet analysis {"connection_id":187853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:12:48] local.INFO: Extracted packet for processing {"connection_id":187853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:12: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-19 02:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:12: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-19 02:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":187853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:12:48] local.INFO: GPS data processed {"connection_id":187853,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:12:48] local.INFO: Acknowledgment sent {"connection_id":187853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:13:10] local.INFO: TCP Data received {"connection_id":187854,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:10] local.INFO: Processing buffer {"connection_id":187854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:10] local.INFO: IMEI packet received {"connection_id":187854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":187854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:13:16] local.INFO: TCP Data received {"connection_id":187854,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:16] local.INFO: Processing buffer {"connection_id":187854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:13:16] local.INFO: IMEI packet received {"connection_id":187854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":187854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:13:16] local.INFO: TCP Data received {"connection_id":187854,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:13:16] local.INFO: Processing buffer {"connection_id":187854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b63d7c70012d34c24006aa4140000801152c..."} 
[2026-09-19 02:13:16] local.INFO: Packet analysis {"connection_id":187854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:13:16] local.INFO: Extracted packet for processing {"connection_id":187854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b63d"} 
[2026-09-19 02:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179475712001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13:16] 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-19 02:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789763878000,"timestamp_ms":1789763878000,"timestamp_seconds":1789763878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b63d7c70"} 
[2026-09-19 02:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:13: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-19 02:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179475712001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179475712001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179475712001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":187854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:13:16] local.INFO: GPS data processed {"connection_id":187854,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:13:16] local.INFO: Acknowledgment sent {"connection_id":187854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:13:48] local.INFO: TCP Data received {"connection_id":187854,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:13:48] local.INFO: Processing buffer {"connection_id":187854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:13:48] local.INFO: Packet analysis {"connection_id":187854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:13:48] local.INFO: Extracted packet for processing {"connection_id":187854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 02:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:13: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-19 02:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 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-19 02:13: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-19 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-19 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-19 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-19 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-19 02:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":187854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:13:48] local.INFO: GPS data processed {"connection_id":187854,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:13:48] local.INFO: Acknowledgment sent {"connection_id":187854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:14:16] local.INFO: TCP Data received {"connection_id":189204,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:16] local.INFO: Processing buffer {"connection_id":189204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:16] local.INFO: IMEI packet received {"connection_id":189204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":189204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:14:21] local.INFO: TCP Data received {"connection_id":189204,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:21] local.INFO: Processing buffer {"connection_id":189204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:14:21] local.INFO: IMEI packet received {"connection_id":189204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":189204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:14:21] local.INFO: TCP Data received {"connection_id":189204,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:21] local.INFO: Processing buffer {"connection_id":189204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:21] local.INFO: Packet analysis {"connection_id":189204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:14:21] local.INFO: Extracted packet for processing {"connection_id":189204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:21] 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-19 02:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:14:21] 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-19 02:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:14:21] 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-19 02:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":189204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:14:22] local.INFO: GPS data processed {"connection_id":189204,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:14:22] local.INFO: Acknowledgment sent {"connection_id":189204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:14:27] local.INFO: TCP Data received {"connection_id":189204,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:27] local.INFO: Processing buffer {"connection_id":189204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:14:27] local.INFO: Packet analysis {"connection_id":189204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:14:27] local.INFO: Extracted packet for processing {"connection_id":189204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:14:27] 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-19 02:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:14:27] 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-19 02:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:14:27] 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-19 02:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":189204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:14:27] local.INFO: GPS data processed {"connection_id":189204,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:14:27] local.INFO: Acknowledgment sent {"connection_id":189204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:15:11] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:11] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:11] local.INFO: IMEI packet received {"connection_id":189205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":189205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:15:16] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:16] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:15:16] local.INFO: IMEI packet received {"connection_id":189205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":189205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:15:16] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:16] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:16] local.INFO: Packet analysis {"connection_id":189205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:15:16] local.INFO: Extracted packet for processing {"connection_id":189205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:15:16] 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-19 02:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:15:16] 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-19 02:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":189205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:15:16] local.INFO: GPS data processed {"connection_id":189205,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:15:16] local.INFO: Acknowledgment sent {"connection_id":189205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:15:49] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:49] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:15:49] local.INFO: Packet analysis {"connection_id":189205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:15:49] local.INFO: Extracted packet for processing {"connection_id":189205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02: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-19 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:15:49] 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-19 02: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-19 02: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-19 02:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":189205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:15:49] local.INFO: GPS data processed {"connection_id":189205,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:15:49] local.INFO: Acknowledgment sent {"connection_id":189205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:16:11] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:11] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:11] local.INFO: IMEI packet received {"connection_id":187855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":187855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:16:16] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:16] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:16:16] local.INFO: IMEI packet received {"connection_id":187855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":187855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:16:17] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:17] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:17] local.INFO: Packet analysis {"connection_id":187855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:16:17] local.INFO: Extracted packet for processing {"connection_id":187855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16:17] 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-19 02:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02: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-19 02:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:16:17] 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-19 02: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-19 02: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-19 02:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":187855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:16:17] local.INFO: GPS data processed {"connection_id":187855,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:16:17] local.INFO: Acknowledgment sent {"connection_id":187855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:16:48] local.INFO: TCP Data received {"connection_id":187855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:48] local.INFO: Processing buffer {"connection_id":187855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:16:48] local.INFO: Packet analysis {"connection_id":187855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:16:48] local.INFO: Extracted packet for processing {"connection_id":187855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:16: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-19 02:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02: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-19 02:16: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-19 02: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:16: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-19 02: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-19 02: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-19 02:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:16:48] local.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-19 02:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":187855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:16:48] local.INFO: GPS data processed {"connection_id":187855,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:16:48] local.INFO: Acknowledgment sent {"connection_id":187855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:17:11] local.INFO: TCP Data received {"connection_id":189206,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:11] local.INFO: Processing buffer {"connection_id":189206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:11] local.INFO: IMEI packet received {"connection_id":189206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":189206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:17:16] local.INFO: TCP Data received {"connection_id":189206,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:16] local.INFO: Processing buffer {"connection_id":189206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:17:16] local.INFO: IMEI packet received {"connection_id":189206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":189206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:17:16] local.INFO: TCP Data received {"connection_id":189206,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:16] local.INFO: Processing buffer {"connection_id":189206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:16] local.INFO: Packet analysis {"connection_id":189206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:17:16] local.INFO: Extracted packet for processing {"connection_id":189206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17:16] 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-19 02:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:17:16] 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-19 02:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":189206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:17:16] local.INFO: GPS data processed {"connection_id":189206,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:17:16] local.INFO: Acknowledgment sent {"connection_id":189206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:17:47] local.INFO: TCP Data received {"connection_id":189206,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:47] local.INFO: Processing buffer {"connection_id":189206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:17:47] local.INFO: Packet analysis {"connection_id":189206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:17:47] local.INFO: Extracted packet for processing {"connection_id":189206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:17: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-19 02:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:17:47] 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-19 02:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":189206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:17:48] local.INFO: GPS data processed {"connection_id":189206,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:17:48] local.INFO: Acknowledgment sent {"connection_id":189206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:18:10] local.INFO: TCP Data received {"connection_id":189207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:10] local.INFO: Processing buffer {"connection_id":189207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:10] local.INFO: IMEI packet received {"connection_id":189207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":189207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:18:16] local.INFO: TCP Data received {"connection_id":189207,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:16] local.INFO: Processing buffer {"connection_id":189207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:18:16] local.INFO: IMEI packet received {"connection_id":189207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":189207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:18:17] local.INFO: TCP Data received {"connection_id":189207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:17] local.INFO: Processing buffer {"connection_id":189207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6421438012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:17] local.INFO: Packet analysis {"connection_id":189207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:18:17] local.INFO: Extracted packet for processing {"connection_id":189207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b642"} 
[2026-09-19 02:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179552768001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18:17] 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-19 02:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789764179000,"timestamp_ms":1789764179000,"timestamp_seconds":1789764179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6421438"} 
[2026-09-19 02:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 02:18:17] 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-19 02:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179552768001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179552768001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179552768001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":189207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:18:17] local.INFO: GPS data processed {"connection_id":189207,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:18:17] local.INFO: Acknowledgment sent {"connection_id":189207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:18:48] local.INFO: TCP Data received {"connection_id":189207,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:48] local.INFO: Processing buffer {"connection_id":189207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:18:48] local.INFO: Packet analysis {"connection_id":189207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:18:48] local.INFO: Extracted packet for processing {"connection_id":189207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 02:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:18: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-19 02:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 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-19 02:18: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-19 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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:18: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-19 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-19 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-19 02:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:18:48] 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-19 02:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":189207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:18:48] local.INFO: GPS data processed {"connection_id":189207,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:18:48] local.INFO: Acknowledgment sent {"connection_id":189207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:19:21] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:21] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:21] local.INFO: IMEI packet received {"connection_id":187856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":187856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:19:26] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:26] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:19:26] local.INFO: IMEI packet received {"connection_id":187856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":187856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:19:27] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:27] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:27] local.INFO: Packet analysis {"connection_id":187856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:19:27] local.INFO: Extracted packet for processing {"connection_id":187856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:19: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-19 02:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:27] 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-19 02:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:19:27] 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-19 02:19: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-19 02:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:19:27] 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-19 02:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:19:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":187856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:19:27] local.INFO: GPS data processed {"connection_id":187856,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:19:27] local.INFO: Acknowledgment sent {"connection_id":187856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:19:31] local.INFO: TCP Data received {"connection_id":187856,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:31] local.INFO: Processing buffer {"connection_id":187856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:19:31] local.INFO: Packet analysis {"connection_id":187856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:19:31] local.INFO: Extracted packet for processing {"connection_id":187856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-19 02:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:19:31] 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-19 02:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":187856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":187856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":187856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":187856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:19:31] local.INFO: GPS data processed {"connection_id":187856,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:19:31] local.INFO: Acknowledgment sent {"connection_id":187856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:20:10] local.INFO: TCP Data received {"connection_id":187857,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:10] local.INFO: Processing buffer {"connection_id":187857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:10] local.INFO: IMEI packet received {"connection_id":187857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":187857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:20:16] local.INFO: TCP Data received {"connection_id":187857,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:16] local.INFO: Processing buffer {"connection_id":187857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:20:16] local.INFO: IMEI packet received {"connection_id":187857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":187857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:20:16] local.INFO: TCP Data received {"connection_id":187857,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:16] local.INFO: Processing buffer {"connection_id":187857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:16] local.INFO: Packet analysis {"connection_id":187857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:20:16] local.INFO: Extracted packet for processing {"connection_id":187857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20:16] 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-19 02:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02: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-19 02:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:20:16] 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-19 02: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-19 02: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-19 02:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":187857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:20:16] local.INFO: GPS data processed {"connection_id":187857,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:20:16] local.INFO: Acknowledgment sent {"connection_id":187857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:20:49] local.INFO: TCP Data received {"connection_id":187857,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:49] local.INFO: Processing buffer {"connection_id":187857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:20:49] local.INFO: Packet analysis {"connection_id":187857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:20:49] local.INFO: Extracted packet for processing {"connection_id":187857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:20: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-19 02:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:20:49] 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-19 02:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:20:49] 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-19 02:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":187857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:20:49] local.INFO: GPS data processed {"connection_id":187857,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:20:49] local.INFO: Acknowledgment sent {"connection_id":187857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:21:10] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:10] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:10] local.INFO: IMEI packet received {"connection_id":189208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":189208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:21:16] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:16] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:21:16] local.INFO: IMEI packet received {"connection_id":189208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":189208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:21:16] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:16] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:16] local.INFO: Packet analysis {"connection_id":189208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:21:16] local.INFO: Extracted packet for processing {"connection_id":189208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21:16] 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-19 02:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02: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-19 02:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:21:16] 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-19 02: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-19 02: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-19 02:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:21:16] 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-19 02:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":189208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:21:16] local.INFO: GPS data processed {"connection_id":189208,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:21:16] local.INFO: Acknowledgment sent {"connection_id":189208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:21:47] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:47] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:21:47] local.INFO: Packet analysis {"connection_id":189208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:21:47] local.INFO: Extracted packet for processing {"connection_id":189208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:21: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-19 02:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02: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-19 02:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:21:47] 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-19 02: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-19 02: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-19 02:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:21:47] 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-19 02:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 02:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":189208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:21:47] local.INFO: GPS data processed {"connection_id":189208,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:21:47] local.INFO: Acknowledgment sent {"connection_id":189208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:22:10] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:10] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:10] local.INFO: IMEI packet received {"connection_id":186461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":186461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:22:16] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:16] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:22:16] local.INFO: IMEI packet received {"connection_id":186461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":186461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:22:16] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:16] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:16] local.INFO: Packet analysis {"connection_id":186461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:22:16] local.INFO: Extracted packet for processing {"connection_id":186461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22:16] 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-19 02:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:22:16] 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-19 02:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:22:16] local.INFO: GPS data processed {"connection_id":186461,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:22:16] local.INFO: Acknowledgment sent {"connection_id":186461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:22:48] local.INFO: TCP Data received {"connection_id":186461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:48] local.INFO: Processing buffer {"connection_id":186461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:22:48] local.INFO: Packet analysis {"connection_id":186461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:22:48] local.INFO: Extracted packet for processing {"connection_id":186461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 02:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:22: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-19 02:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 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-19 02: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-19 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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02: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-19 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-19 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-19 02:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:22:48] local.INFO: GPS data processed {"connection_id":186461,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:22:48] local.INFO: Acknowledgment sent {"connection_id":186461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:23:10] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:10] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:10] local.INFO: IMEI packet received {"connection_id":186462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:23:16] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:16] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:23:16] local.INFO: IMEI packet received {"connection_id":186462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":186462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:23:16] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:16] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b646ac00012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:16] local.INFO: Packet analysis {"connection_id":186462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:23:16] local.INFO: Extracted packet for processing {"connection_id":186462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b646"} 
[2026-09-19 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179629824001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:23:16] 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-19 02:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764480000,"timestamp_ms":1789764480000,"timestamp_seconds":1789764480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b646ac00"} 
[2026-09-19 02:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:23:16] 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-19 02:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:23:16] 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-19 02:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179629824001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179629824001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179629824001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:23:16] local.INFO: GPS data processed {"connection_id":186462,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:23:16] local.INFO: Acknowledgment sent {"connection_id":186462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:23:48] local.INFO: TCP Data received {"connection_id":186462,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:48] local.INFO: Processing buffer {"connection_id":186462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:23:48] local.INFO: Packet analysis {"connection_id":186462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:23:48] local.INFO: Extracted packet for processing {"connection_id":186462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:23: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-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:23: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-19 02: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-19 02: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-19 02:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:23:48] 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-19 02:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:23:48] local.INFO: GPS data processed {"connection_id":186462,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:23:48] local.INFO: Acknowledgment sent {"connection_id":186462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:24:11] local.INFO: TCP Data received {"connection_id":187858,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:11] local.INFO: Processing buffer {"connection_id":187858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:11] local.INFO: IMEI packet received {"connection_id":187858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":187858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:24:16] local.INFO: TCP Data received {"connection_id":187858,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:16] local.INFO: Processing buffer {"connection_id":187858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:24:16] local.INFO: IMEI packet received {"connection_id":187858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":187858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:24:16] local.INFO: TCP Data received {"connection_id":187858,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:16] local.INFO: Processing buffer {"connection_id":187858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:16] local.INFO: Packet analysis {"connection_id":187858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:24:16] local.INFO: Extracted packet for processing {"connection_id":187858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24:16] 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-19 02:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:24:16] 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-19 02:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:24:16] 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-19 02:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":187858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:24:16] local.INFO: GPS data processed {"connection_id":187858,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:24:16] local.INFO: Acknowledgment sent {"connection_id":187858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:24:48] local.INFO: TCP Data received {"connection_id":187858,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:48] local.INFO: Processing buffer {"connection_id":187858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:24:48] local.INFO: Packet analysis {"connection_id":187858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:24:48] local.INFO: Extracted packet for processing {"connection_id":187858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:24: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-19 02:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:24: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-19 02: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:24: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-19 02: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-19 02: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-19 02:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:24:48] 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-19 02:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":187858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:24:48] local.INFO: GPS data processed {"connection_id":187858,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:24:48] local.INFO: Acknowledgment sent {"connection_id":187858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:25:11] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:11] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:11] local.INFO: IMEI packet received {"connection_id":187859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":187859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:25:16] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:16] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:25:16] local.INFO: IMEI packet received {"connection_id":187859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":187859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:25:17] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:17] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:17] local.INFO: Packet analysis {"connection_id":187859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:25:17] local.INFO: Extracted packet for processing {"connection_id":187859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25:17] 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-19 02:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:25:17] 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-19 02: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-19 02: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-19 02:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":187859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:25:17] local.INFO: GPS data processed {"connection_id":187859,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:25:17] local.INFO: Acknowledgment sent {"connection_id":187859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:25:49] local.INFO: TCP Data received {"connection_id":187859,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:49] local.INFO: Processing buffer {"connection_id":187859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:25:49] local.INFO: Packet analysis {"connection_id":187859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:25:49] local.INFO: Extracted packet for processing {"connection_id":187859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:25: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-19 02:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:25: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-19 02:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:25: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:25:49] 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-19 02:25: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-19 02:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:25:49] local.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-19 02:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":187859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:25:49] local.INFO: GPS data processed {"connection_id":187859,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:25:49] local.INFO: Acknowledgment sent {"connection_id":187859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:26:10] local.INFO: TCP Data received {"connection_id":187860,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:10] local.INFO: Processing buffer {"connection_id":187860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:10] local.INFO: IMEI packet received {"connection_id":187860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":187860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:26:16] local.INFO: TCP Data received {"connection_id":187860,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:16] local.INFO: Processing buffer {"connection_id":187860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:26:16] local.INFO: IMEI packet received {"connection_id":187860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":187860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:26:16] local.INFO: TCP Data received {"connection_id":187860,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:16] local.INFO: Processing buffer {"connection_id":187860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:16] local.INFO: Packet analysis {"connection_id":187860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:26:16] local.INFO: Extracted packet for processing {"connection_id":187860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26:16] 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-19 02:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:26:16] 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-19 02: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-19 02: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-19 02:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":187860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:26:16] local.INFO: GPS data processed {"connection_id":187860,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:26:16] local.INFO: Acknowledgment sent {"connection_id":187860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:26:48] local.INFO: TCP Data received {"connection_id":187860,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:48] local.INFO: Processing buffer {"connection_id":187860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:26:48] local.INFO: Packet analysis {"connection_id":187860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:26:48] local.INFO: Extracted packet for processing {"connection_id":187860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:26: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-19 02:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:26: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-19 02:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:26: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-19 02: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-19 02: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-19 02:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":187860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:26:48] local.INFO: GPS data processed {"connection_id":187860,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:26:48] local.INFO: Acknowledgment sent {"connection_id":187860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:27:10] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:10] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:10] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:27:15] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:15] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:27:15] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:27:16] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:16] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:16] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:27:16] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27:16] 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-19 02:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02: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-19 02:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:27:16] 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-19 02: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-19 02: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-19 02:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:27:16] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:27:16] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:27:48] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:48] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:27:48] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:27:48] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:27: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-19 02:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:27: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-19 02:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:27: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-19 02:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:27:48] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:27:48] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:28:10] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:10] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:10] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:28:15] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:15] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:28:15] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:28:16] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:28:16] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64b43c8012d34c24006aa4140000801152e..."} 
[2026-09-19 02:28:16] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:28:16] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64b"} 
[2026-09-19 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179706880001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 02:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:28:16] 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-19 02:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789764781000,"timestamp_ms":1789764781000,"timestamp_seconds":1789764781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64b43c8"} 
[2026-09-19 02:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:28:16] 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-19 02:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179706880001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179706880001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179706880001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:28:16] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:28:16] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:28:48] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:28:48] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:28:48] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:28:48] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:28: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-19 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:28: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-19 02:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:28:48] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:28:48] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:29:16] local.INFO: TCP Data received {"connection_id":189209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:16] local.INFO: Processing buffer {"connection_id":189209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:16] local.INFO: IMEI packet received {"connection_id":189209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":189209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:29:21] local.INFO: TCP Data received {"connection_id":189209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:21] local.INFO: Processing buffer {"connection_id":189209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:29:21] local.INFO: IMEI packet received {"connection_id":189209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":189209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:29:21] local.INFO: TCP Data received {"connection_id":189209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:21] local.INFO: Processing buffer {"connection_id":189209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:21] local.INFO: Packet analysis {"connection_id":189209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:29:21] local.INFO: Extracted packet for processing {"connection_id":189209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":189209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:29:21] local.INFO: GPS data processed {"connection_id":189209,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:29:21] local.INFO: Acknowledgment sent {"connection_id":189209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:29:26] local.INFO: TCP Data received {"connection_id":189209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:26] local.INFO: Processing buffer {"connection_id":189209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:29:26] local.INFO: Packet analysis {"connection_id":189209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:29:26] local.INFO: Extracted packet for processing {"connection_id":189209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:29: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-19 02:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:29: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:29: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-19 02:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:29:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:29:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":189209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:29:27] local.INFO: GPS data processed {"connection_id":189209,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:29:27] local.INFO: Acknowledgment sent {"connection_id":189209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:30:11] local.INFO: TCP Data received {"connection_id":187861,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:11] local.INFO: Processing buffer {"connection_id":187861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:11] local.INFO: IMEI packet received {"connection_id":187861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":187861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:30:16] local.INFO: TCP Data received {"connection_id":187861,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:16] local.INFO: Processing buffer {"connection_id":187861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:30:16] local.INFO: IMEI packet received {"connection_id":187861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":187861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:30:17] local.INFO: TCP Data received {"connection_id":187861,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:17] local.INFO: Processing buffer {"connection_id":187861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:17] local.INFO: Packet analysis {"connection_id":187861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:30:17] local.INFO: Extracted packet for processing {"connection_id":187861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:30: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-19 02:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":187861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:30:17] local.INFO: GPS data processed {"connection_id":187861,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:30:17] local.INFO: Acknowledgment sent {"connection_id":187861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:30:48] local.INFO: TCP Data received {"connection_id":187861,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:48] local.INFO: Processing buffer {"connection_id":187861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:30:48] local.INFO: Packet analysis {"connection_id":187861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:30:48] local.INFO: Extracted packet for processing {"connection_id":187861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02: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-19 02:30: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-19 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:30: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-19 02: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-19 02: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-19 02:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:30: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-19 02:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":187861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:30:48] local.INFO: GPS data processed {"connection_id":187861,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:30:48] local.INFO: Acknowledgment sent {"connection_id":187861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:31:11] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:11] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:11] local.INFO: IMEI packet received {"connection_id":186605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:31:16] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:16] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:31:16] local.INFO: IMEI packet received {"connection_id":186605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":186605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:31:16] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:16] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:16] local.INFO: Packet analysis {"connection_id":186605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:31:16] local.INFO: Extracted packet for processing {"connection_id":186605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31: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-19 02:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":186605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:31:17] local.INFO: GPS data processed {"connection_id":186605,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:31:17] local.INFO: Acknowledgment sent {"connection_id":186605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:31:48] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:48] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:31:48] local.INFO: Packet analysis {"connection_id":186605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:31:48] local.INFO: Extracted packet for processing {"connection_id":186605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:31: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-19 02:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:31: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-19 02:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:31: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-19 02:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:31: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-19 02:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:31:48] local.INFO: GPS data processed {"connection_id":186605,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:31:48] local.INFO: Acknowledgment sent {"connection_id":186605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:32:11] local.INFO: TCP Data received {"connection_id":187862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:11] local.INFO: Processing buffer {"connection_id":187862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:11] local.INFO: IMEI packet received {"connection_id":187862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":187862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:32:16] local.INFO: TCP Data received {"connection_id":187862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:16] local.INFO: Processing buffer {"connection_id":187862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:32:16] local.INFO: IMEI packet received {"connection_id":187862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":187862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:32:17] local.INFO: TCP Data received {"connection_id":187862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:17] local.INFO: Processing buffer {"connection_id":187862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:17] local.INFO: Packet analysis {"connection_id":187862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:32:17] local.INFO: Extracted packet for processing {"connection_id":187862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:32: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-19 02:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:32:17] 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-19 02:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":187862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:32:17] local.INFO: GPS data processed {"connection_id":187862,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:32:17] local.INFO: Acknowledgment sent {"connection_id":187862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:32:49] local.INFO: TCP Data received {"connection_id":187862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:49] local.INFO: Processing buffer {"connection_id":187862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:32:49] local.INFO: Packet analysis {"connection_id":187862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:32:49] local.INFO: Extracted packet for processing {"connection_id":187862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02: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-19 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02: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-19 02: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-19 02:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:32:49] 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-19 02:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":187862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:32:49] local.INFO: GPS data processed {"connection_id":187862,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:32:49] local.INFO: Acknowledgment sent {"connection_id":187862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:33:10] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:10] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:10] local.INFO: IMEI packet received {"connection_id":187863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":187863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:33:16] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:16] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:33:16] local.INFO: IMEI packet received {"connection_id":187863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":187863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:33:16] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:33:16] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b64fdb90012d34c24006aa4140000801152d..."} 
[2026-09-19 02:33:16] local.INFO: Packet analysis {"connection_id":187863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:33:16] local.INFO: Extracted packet for processing {"connection_id":187863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b64f"} 
[2026-09-19 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179783936001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33: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-19 02:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765082000,"timestamp_ms":1789765082000,"timestamp_seconds":1789765082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b64fdb90"} 
[2026-09-19 02: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-19 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 02:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179783936001,"66":25745,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179783936001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179783936001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":187863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:33:16] local.INFO: GPS data processed {"connection_id":187863,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:33:16] local.INFO: Acknowledgment sent {"connection_id":187863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:33:48] local.INFO: TCP Data received {"connection_id":187863,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:33:48] local.INFO: Processing buffer {"connection_id":187863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:33:48] local.INFO: Packet analysis {"connection_id":187863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:33:48] local.INFO: Extracted packet for processing {"connection_id":187863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:33: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-19 02:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:33: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-19 02:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:33: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-19 02:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":187863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:33:48] local.INFO: GPS data processed {"connection_id":187863,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:33:48] local.INFO: Acknowledgment sent {"connection_id":187863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:34:16] local.INFO: TCP Data received {"connection_id":189210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:16] local.INFO: Processing buffer {"connection_id":189210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:16] local.INFO: IMEI packet received {"connection_id":189210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":189210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:34:21] local.INFO: TCP Data received {"connection_id":189210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:21] local.INFO: Processing buffer {"connection_id":189210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:34:21] local.INFO: IMEI packet received {"connection_id":189210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":189210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:34:21] local.INFO: TCP Data received {"connection_id":189210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:21] local.INFO: Processing buffer {"connection_id":189210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:21] local.INFO: Packet analysis {"connection_id":189210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:34:21] local.INFO: Extracted packet for processing {"connection_id":189210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:34:21] 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-19 02:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":189210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:34:21] local.INFO: GPS data processed {"connection_id":189210,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:34:21] local.INFO: Acknowledgment sent {"connection_id":189210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:34:26] local.INFO: TCP Data received {"connection_id":189210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:26] local.INFO: Processing buffer {"connection_id":189210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:34:26] local.INFO: Packet analysis {"connection_id":189210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:34:26] local.INFO: Extracted packet for processing {"connection_id":189210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:34:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:34: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-19 02:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:34: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:34:26] 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-19 02:34: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-19 02:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:34:26] 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-19 02:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":189210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:34:26] local.INFO: GPS data processed {"connection_id":189210,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:34:26] local.INFO: Acknowledgment sent {"connection_id":189210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:35:11] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:11] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:11] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:35:16] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:16] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:35:16] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:35:16] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:16] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:16] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:16] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35: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-19 02:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02: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-19 02:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:35:16] 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-19 02: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-19 02: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-19 02:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:16] 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-19 02:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:35:16] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:35:16] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:35:21] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:21] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:21] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:21] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:35: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-19 02:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:35:21] 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-19 02:35: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-19 02:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:21] 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-19 02:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:35:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:35:21] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:35:21] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:35:53] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:53] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:35:53] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:53] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:35: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-19 02:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:35:53] 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-19 02:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:35:53] 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-19 02:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:35:53] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:35:53] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:36:11] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:11] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:11] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:36:16] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:16] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:36:16] local.INFO: IMEI packet received {"connection_id":186463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":186463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:36:17] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:17] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:17] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:36:17] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:36: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-19 02:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02: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-19 02:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:36: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-19 02: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-19 02: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-19 02:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:36:17] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:36:17] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:36:48] local.INFO: TCP Data received {"connection_id":186463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:48] local.INFO: Processing buffer {"connection_id":186463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:36:48] local.INFO: Packet analysis {"connection_id":186463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:36:48] local.INFO: Extracted packet for processing {"connection_id":186463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:36: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-19 02:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:36: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-19 02:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:36:48] 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-19 02:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:36:48] local.INFO: GPS data processed {"connection_id":186463,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:36:48] local.INFO: Acknowledgment sent {"connection_id":186463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:37:10] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:10] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:10] local.INFO: IMEI packet received {"connection_id":187864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":187864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:37:16] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:16] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:37:16] local.INFO: IMEI packet received {"connection_id":187864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":187864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:37:16] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:16] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:16] local.INFO: Packet analysis {"connection_id":187864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:37:16] local.INFO: Extracted packet for processing {"connection_id":187864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:37: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-19 02:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:37:16] 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-19 02:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":187864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:37:16] local.INFO: GPS data processed {"connection_id":187864,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:37:16] local.INFO: Acknowledgment sent {"connection_id":187864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:37:48] local.INFO: TCP Data received {"connection_id":187864,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:48] local.INFO: Processing buffer {"connection_id":187864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:37:48] local.INFO: Packet analysis {"connection_id":187864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:37:48] local.INFO: Extracted packet for processing {"connection_id":187864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02: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-19 02:37: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-19 02: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:37: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-19 02: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-19 02: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-19 02:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:37: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-19 02:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":187864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:37:48] local.INFO: GPS data processed {"connection_id":187864,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:37:48] local.INFO: Acknowledgment sent {"connection_id":187864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:38:10] local.INFO: TCP Data received {"connection_id":187865,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:10] local.INFO: Processing buffer {"connection_id":187865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:10] local.INFO: IMEI packet received {"connection_id":187865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":187865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:38:16] local.INFO: TCP Data received {"connection_id":187865,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:16] local.INFO: Processing buffer {"connection_id":187865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:38:16] local.INFO: IMEI packet received {"connection_id":187865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":187865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:38:17] local.INFO: TCP Data received {"connection_id":187865,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:38:17] local.INFO: Processing buffer {"connection_id":187865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6547358012d34c24006aa4140000801152f..."} 
[2026-09-19 02:38:17] local.INFO: Packet analysis {"connection_id":187865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:38:17] local.INFO: Extracted packet for processing {"connection_id":187865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b654"} 
[2026-09-19 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179860992001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:38: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-19 02:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765383000,"timestamp_ms":1789765383000,"timestamp_seconds":1789765383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6547358"} 
[2026-09-19 02:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 02:38: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-19 02:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:38: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-19 02:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179860992001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179860992001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179860992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":187865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:38:17] local.INFO: GPS data processed {"connection_id":187865,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:38:17] local.INFO: Acknowledgment sent {"connection_id":187865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:38:48] local.INFO: TCP Data received {"connection_id":187865,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:38:48] local.INFO: Processing buffer {"connection_id":187865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:38:48] local.INFO: Packet analysis {"connection_id":187865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:38:48] local.INFO: Extracted packet for processing {"connection_id":187865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02: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-19 02: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-19 02: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-19 02: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-19 02: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-19 02: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-19 02:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:38:48] 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-19 02:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":187865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:38:48] local.INFO: GPS data processed {"connection_id":187865,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:38:48] local.INFO: Acknowledgment sent {"connection_id":187865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:39:16] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:16] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:16] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:39:21] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:21] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:39:21] local.INFO: IMEI packet received {"connection_id":186464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":186464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:39:21] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:21] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:21] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:39:21] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:39:21] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:39:21] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:39:26] local.INFO: TCP Data received {"connection_id":186464,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:26] local.INFO: Processing buffer {"connection_id":186464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:39:26] local.INFO: Packet analysis {"connection_id":186464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:39:26] local.INFO: Extracted packet for processing {"connection_id":186464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:39:26] local.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-19 02:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:39:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":186464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:39:26] local.INFO: GPS data processed {"connection_id":186464,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:39:26] local.INFO: Acknowledgment sent {"connection_id":186464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:40:11] local.INFO: TCP Data received {"connection_id":189211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:11] local.INFO: Processing buffer {"connection_id":189211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:11] local.INFO: IMEI packet received {"connection_id":189211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":189211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:40:16] local.INFO: TCP Data received {"connection_id":189211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:16] local.INFO: Processing buffer {"connection_id":189211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:40:16] local.INFO: IMEI packet received {"connection_id":189211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":189211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:40:16] local.INFO: TCP Data received {"connection_id":189211,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:16] local.INFO: Processing buffer {"connection_id":189211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:16] local.INFO: Packet analysis {"connection_id":189211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:40:16] local.INFO: Extracted packet for processing {"connection_id":189211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40: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-19 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":189211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:40:16] local.INFO: GPS data processed {"connection_id":189211,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:40:16] local.INFO: Acknowledgment sent {"connection_id":189211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:40:48] local.INFO: TCP Data received {"connection_id":189211,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:48] local.INFO: Processing buffer {"connection_id":189211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:40:48] local.INFO: Packet analysis {"connection_id":189211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:40:48] local.INFO: Extracted packet for processing {"connection_id":189211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:40: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-19 02:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:40: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-19 02:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:40: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-19 02:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":189211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:40:48] local.INFO: GPS data processed {"connection_id":189211,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:40:48] local.INFO: Acknowledgment sent {"connection_id":189211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:41:11] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:11] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:11] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:41:15] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:15] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:41:15] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:41:16] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:16] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:16] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:41:16] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02: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-19 02:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:41:16] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:41:16] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:41:48] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:48] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:41:48] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:41:48] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02: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-19 02:41: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-19 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:41: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-19 02: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-19 02: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-19 02:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:41:48] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:41:48] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:42:11] local.INFO: TCP Data received {"connection_id":187866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:11] local.INFO: Processing buffer {"connection_id":187866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:11] local.INFO: IMEI packet received {"connection_id":187866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":187866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:42:16] local.INFO: TCP Data received {"connection_id":187866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:16] local.INFO: Processing buffer {"connection_id":187866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:42:16] local.INFO: IMEI packet received {"connection_id":187866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:42:16] local.INFO: TCP Data received {"connection_id":187866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:16] local.INFO: Processing buffer {"connection_id":187866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:16] local.INFO: Packet analysis {"connection_id":187866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:42:16] local.INFO: Extracted packet for processing {"connection_id":187866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42: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-19 02:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:42: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-19 02:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":187866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:42:16] local.INFO: GPS data processed {"connection_id":187866,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:42:16] local.INFO: Acknowledgment sent {"connection_id":187866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:42:48] local.INFO: TCP Data received {"connection_id":187866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:48] local.INFO: Processing buffer {"connection_id":187866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:42:48] local.INFO: Packet analysis {"connection_id":187866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:42:48] local.INFO: Extracted packet for processing {"connection_id":187866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:42: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-19 02:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:42: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-19 02:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:42: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-19 02:42: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-19 02:42: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-19 02:42: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-19 02:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:42:48] 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-19 02:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:42:48] local.INFO: GPS data processed {"connection_id":187866,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:42:48] local.INFO: Acknowledgment sent {"connection_id":187866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:43:10] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:10] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:10] local.INFO: IMEI packet received {"connection_id":187867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":187867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:43:16] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:16] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:43:16] local.INFO: IMEI packet received {"connection_id":187867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":187867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:43:17] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:17] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6590b20012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:17] local.INFO: Packet analysis {"connection_id":187867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:43:17] local.INFO: Extracted packet for processing {"connection_id":187867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b659"} 
[2026-09-19 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458179938048001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43: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-19 02:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765684000,"timestamp_ms":1789765684000,"timestamp_seconds":1789765684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6590b20"} 
[2026-09-19 02:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:43: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-19 02:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458179938048001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458179938048001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458179938048001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":187867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:43:17] local.INFO: GPS data processed {"connection_id":187867,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:43:17] local.INFO: Acknowledgment sent {"connection_id":187867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:43:49] local.INFO: TCP Data received {"connection_id":187867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:49] local.INFO: Processing buffer {"connection_id":187867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:43:49] local.INFO: Packet analysis {"connection_id":187867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:43:49] local.INFO: Extracted packet for processing {"connection_id":187867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:43: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-19 02:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:43:49] 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-19 02:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:43:49] local.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-19 02:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":187867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:43:49] local.INFO: GPS data processed {"connection_id":187867,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:43:49] local.INFO: Acknowledgment sent {"connection_id":187867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:44:16] local.INFO: TCP Data received {"connection_id":186465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:16] local.INFO: Processing buffer {"connection_id":186465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:16] local.INFO: IMEI packet received {"connection_id":186465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":186465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:44:21] local.INFO: TCP Data received {"connection_id":186465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:21] local.INFO: Processing buffer {"connection_id":186465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:44:21] local.INFO: IMEI packet received {"connection_id":186465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":186465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:44:21] local.INFO: TCP Data received {"connection_id":186465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:21] local.INFO: Processing buffer {"connection_id":186465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:21] local.INFO: Packet analysis {"connection_id":186465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:44:21] local.INFO: Extracted packet for processing {"connection_id":186465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02: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-19 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:44:21] 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-19 02: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-19 02: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-19 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:44:21] local.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-19 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:44:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":186465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:44:21] local.INFO: GPS data processed {"connection_id":186465,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:44:21] local.INFO: Acknowledgment sent {"connection_id":186465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:44:26] local.INFO: TCP Data received {"connection_id":186465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:26] local.INFO: Processing buffer {"connection_id":186465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:44:26] local.INFO: Packet analysis {"connection_id":186465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:44:26] local.INFO: Extracted packet for processing {"connection_id":186465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:44: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-19 02:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:44: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:44:26] 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-19 02:44: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-19 02:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:44:26] local.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-19 02:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":186465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:44:26] local.INFO: GPS data processed {"connection_id":186465,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:44:26] local.INFO: Acknowledgment sent {"connection_id":186465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:45:11] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:11] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:11] local.INFO: IMEI packet received {"connection_id":186466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:45:15] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:15] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:45:15] local.INFO: IMEI packet received {"connection_id":186466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:45:16] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:16] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:16] local.INFO: Packet analysis {"connection_id":186466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:45:16] local.INFO: Extracted packet for processing {"connection_id":186466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45: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-19 02:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02: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-19 02:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:45:16] 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-19 02: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-19 02: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-19 02:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:45:16] local.INFO: GPS data processed {"connection_id":186466,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:45:16] local.INFO: Acknowledgment sent {"connection_id":186466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:45:48] local.INFO: TCP Data received {"connection_id":186466,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:48] local.INFO: Processing buffer {"connection_id":186466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:45:48] local.INFO: Packet analysis {"connection_id":186466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:45:48] local.INFO: Extracted packet for processing {"connection_id":186466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:45: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-19 02:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:45: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-19 02:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:45: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-19 02:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":186466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:45:48] local.INFO: GPS data processed {"connection_id":186466,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:45:48] local.INFO: Acknowledgment sent {"connection_id":186466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:46:10] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:10] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:10] local.INFO: IMEI packet received {"connection_id":186467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":186467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:46:16] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:16] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:46:16] local.INFO: IMEI packet received {"connection_id":186467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":186467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:46:17] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:17] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:17] local.INFO: Packet analysis {"connection_id":186467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:46:17] local.INFO: Extracted packet for processing {"connection_id":186467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46: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-19 02:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02: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-19 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:46:17] 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-19 02: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-19 02: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-19 02:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":186467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:46:17] local.INFO: GPS data processed {"connection_id":186467,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:46:17] local.INFO: Acknowledgment sent {"connection_id":186467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:46:49] local.INFO: TCP Data received {"connection_id":186467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:49] local.INFO: Processing buffer {"connection_id":186467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:46:49] local.INFO: Packet analysis {"connection_id":186467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:46:49] local.INFO: Extracted packet for processing {"connection_id":186467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:46: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-19 02:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02: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-19 02:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:46:49] 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-19 02: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-19 02: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-19 02:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:46:49] local.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-19 02:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":186467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:46:49] local.INFO: GPS data processed {"connection_id":186467,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:46:49] local.INFO: Acknowledgment sent {"connection_id":186467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:47:11] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:11] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:11] local.INFO: IMEI packet received {"connection_id":187868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":187868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:47:15] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:15] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:47:15] local.INFO: IMEI packet received {"connection_id":187868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:47:16] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:16] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:16] local.INFO: Packet analysis {"connection_id":187868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:47:16] local.INFO: Extracted packet for processing {"connection_id":187868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:47: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-19 02:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:47:16] 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-19 02:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":187868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:47:16] local.INFO: GPS data processed {"connection_id":187868,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:47:16] local.INFO: Acknowledgment sent {"connection_id":187868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:47:48] local.INFO: TCP Data received {"connection_id":187868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:48] local.INFO: Processing buffer {"connection_id":187868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:47:48] local.INFO: Packet analysis {"connection_id":187868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:47:48] local.INFO: Extracted packet for processing {"connection_id":187868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 02:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 02:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 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-19 02:47: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-19 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":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:47: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-19 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-19 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-19 02:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":187868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:47:48] local.INFO: GPS data processed {"connection_id":187868,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:47:48] local.INFO: Acknowledgment sent {"connection_id":187868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:48:10] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:10] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:10] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:48:16] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:16] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:48:16] local.INFO: IMEI packet received {"connection_id":186468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":186468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:48:17] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:48:17] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b65da2e8012d34c24006aa41400008011530..."} 
[2026-09-19 02:48:17] local.INFO: Packet analysis {"connection_id":186468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:48:17] local.INFO: Extracted packet for processing {"connection_id":186468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b65d"} 
[2026-09-19 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180015104001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:48: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-19 02:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789765985000,"timestamp_ms":1789765985000,"timestamp_seconds":1789765985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b65da2e8"} 
[2026-09-19 02:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 02:48:17] 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-19 02:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:48:17] local.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-19 02:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180015104001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180015104001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180015104001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":186468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:48:17] local.INFO: GPS data processed {"connection_id":186468,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:48:17] local.INFO: Acknowledgment sent {"connection_id":186468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:48:48] local.INFO: TCP Data received {"connection_id":186468,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:48:48] local.INFO: Processing buffer {"connection_id":186468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:48:48] local.INFO: Packet analysis {"connection_id":186468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:48:48] local.INFO: Extracted packet for processing {"connection_id":186468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02:48: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:48: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-19 02: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-19 02: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-19 02:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":186468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:48:48] local.INFO: GPS data processed {"connection_id":186468,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:48:48] local.INFO: Acknowledgment sent {"connection_id":186468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:49:15] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:15] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:15] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:49:21] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:21] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:49:21] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:49:23] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:23] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:23] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:49:23] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:49:23] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:49:23] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:49:27] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:27] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:49:27] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:49:27] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:49:27] 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-19 02:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:49:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:49:27] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:49:27] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:50:10] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:10] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:10] local.INFO: IMEI packet received {"connection_id":186469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:50:16] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:16] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:50:16] local.INFO: IMEI packet received {"connection_id":186469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":186469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:50:17] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:17] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:17] local.INFO: Packet analysis {"connection_id":186469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:50:17] local.INFO: Extracted packet for processing {"connection_id":186469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50: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-19 02:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:50:17] 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-19 02:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":186469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:50:17] local.INFO: GPS data processed {"connection_id":186469,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:50:17] local.INFO: Acknowledgment sent {"connection_id":186469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:50:49] local.INFO: TCP Data received {"connection_id":186469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:49] local.INFO: Processing buffer {"connection_id":186469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:50:49] local.INFO: Packet analysis {"connection_id":186469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:50:49] local.INFO: Extracted packet for processing {"connection_id":186469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:50: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-19 02:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:50: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-19 02:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:50:49] 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-19 02:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":186469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:50:49] local.INFO: GPS data processed {"connection_id":186469,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:50:49] local.INFO: Acknowledgment sent {"connection_id":186469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:51:11] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:11] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:11] local.INFO: IMEI packet received {"connection_id":186470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":186470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:51:15] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:15] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:51:15] local.INFO: IMEI packet received {"connection_id":186470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":186470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:51:16] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:16] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:16] local.INFO: Packet analysis {"connection_id":186470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:51:16] local.INFO: Extracted packet for processing {"connection_id":186470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:51: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-19 02:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:51: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-19 02:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:51:16] local.INFO: GPS data processed {"connection_id":186470,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:51:16] local.INFO: Acknowledgment sent {"connection_id":186470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:51:48] local.INFO: TCP Data received {"connection_id":186470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:48] local.INFO: Processing buffer {"connection_id":186470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:51:48] local.INFO: Packet analysis {"connection_id":186470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:51:48] local.INFO: Extracted packet for processing {"connection_id":186470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02:51: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:51: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-19 02: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-19 02: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-19 02:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:51:48] local.INFO: GPS data processed {"connection_id":186470,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:51:48] local.INFO: Acknowledgment sent {"connection_id":186470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:52:10] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:10] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:10] local.INFO: IMEI packet received {"connection_id":186609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":186609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:52:15] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:15] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:52:15] local.INFO: IMEI packet received {"connection_id":186609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:52:16] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:16] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:16] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:52:16] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:52: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-19 02:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:52: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-19 02: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-19 02: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-19 02:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:52:16] 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-19 02:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:52:16] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:52:16] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:52:48] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:48] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:52:48] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:52:48] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:52: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-19 02: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-19 02: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-19 02:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:52:48] 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-19 02:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:52:48] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:52:48] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:53:10] local.INFO: TCP Data received {"connection_id":189212,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:10] local.INFO: Processing buffer {"connection_id":189212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:10] local.INFO: IMEI packet received {"connection_id":189212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":189212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:53:15] local.INFO: TCP Data received {"connection_id":189212,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:15] local.INFO: Processing buffer {"connection_id":189212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:53:15] local.INFO: IMEI packet received {"connection_id":189212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":189212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:53:17] local.INFO: TCP Data received {"connection_id":189212,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:53:17] local.INFO: Processing buffer {"connection_id":189212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6623ab0012d34c24006aa4140000801152f..."} 
[2026-09-19 02:53:17] local.INFO: Packet analysis {"connection_id":189212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:53:17] local.INFO: Extracted packet for processing {"connection_id":189212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b662"} 
[2026-09-19 02:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53: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-19 02:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789766286000,"timestamp_ms":1789766286000,"timestamp_seconds":1789766286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6623ab0"} 
[2026-09-19 02: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-19 02:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:53:17] 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-19 02:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180092160001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180092160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":189212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:53:17] local.INFO: GPS data processed {"connection_id":189212,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:53:17] local.INFO: Acknowledgment sent {"connection_id":189212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:53:48] local.INFO: TCP Data received {"connection_id":189212,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:53:48] local.INFO: Processing buffer {"connection_id":189212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:53:48] local.INFO: Packet analysis {"connection_id":189212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:53:48] local.INFO: Extracted packet for processing {"connection_id":189212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:53: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-19 02:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:53: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-19 02:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:53: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-19 02:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:53:48] 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-19 02:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:53:48] local.INFO: GPS data processed {"connection_id":189212,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:53:48] local.INFO: Acknowledgment sent {"connection_id":189212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:54:15] local.INFO: TCP Data received {"connection_id":189213,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:15] local.INFO: Processing buffer {"connection_id":189213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:15] local.INFO: IMEI packet received {"connection_id":189213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":189213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:54:20] local.INFO: TCP Data received {"connection_id":189213,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:20] local.INFO: Processing buffer {"connection_id":189213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:54:20] local.INFO: IMEI packet received {"connection_id":189213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":189213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:54:21] local.INFO: TCP Data received {"connection_id":189213,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:21] local.INFO: Processing buffer {"connection_id":189213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:21] local.INFO: Packet analysis {"connection_id":189213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:54:21] local.INFO: Extracted packet for processing {"connection_id":189213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:54:21] 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-19 02:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:54:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":189213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:54:21] local.INFO: GPS data processed {"connection_id":189213,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:54:21] local.INFO: Acknowledgment sent {"connection_id":189213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:54:26] local.INFO: TCP Data received {"connection_id":189213,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:26] local.INFO: Processing buffer {"connection_id":189213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:54:26] local.INFO: Packet analysis {"connection_id":189213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:54:26] local.INFO: Extracted packet for processing {"connection_id":189213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:54: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-19 02:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 02:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:54: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 02:54: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-19 02:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:54:26] 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-19 02:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:54:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:54:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":189213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:54:26] local.INFO: GPS data processed {"connection_id":189213,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:54:26] local.INFO: Acknowledgment sent {"connection_id":189213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:55:10] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:10] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:10] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:55:16] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:16] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:55:16] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:55:16] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:16] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:16] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:55:16] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:55: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-19 02:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:55: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-19 02:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:55:16] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:55:16] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:55:48] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:48] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:55:48] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:55:48] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 02:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 02:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 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-19 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-19 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-19 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-19 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-19 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-19 02:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:55:48] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:55:48] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:56:10] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:10] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:10] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:56:16] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:16] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:56:16] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:56:17] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:17] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:17] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:56:17] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56: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-19 02:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:56:17] 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-19 02:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:56:17] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:56:17] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:56:48] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:48] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:56:48] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:56:48] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:56: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-19 02:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:56: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-19 02:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:56: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-19 02:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:56:48] 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-19 02:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:56:48] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:56:48] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:57:11] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:11] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:11] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:57:15] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:15] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:57:15] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:57:17] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:17] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:17] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:57:17] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:57: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-19 02:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02: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-19 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:57:17] local.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-19 02:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:57:17] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:57:17] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:57:48] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:48] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:57:48] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:57:48] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02: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-19 02:57: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-19 02: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:57: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-19 02: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-19 02: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-19 02:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 02:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:57:48] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:57:48] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:58:10] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:10] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:10] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:58:15] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:15] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:58:15] local.INFO: IMEI packet received {"connection_id":186471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:58:16] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:16] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b666d278012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:16] local.INFO: Packet analysis {"connection_id":186471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:58:16] local.INFO: Extracted packet for processing {"connection_id":186471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b666"} 
[2026-09-19 02:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180169216001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58: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-19 02:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766587000,"timestamp_ms":1789766587000,"timestamp_seconds":1789766587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b666d278"} 
[2026-09-19 02:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 02:58: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-19 02:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180169216001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180169216001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180169216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:58:16] local.INFO: GPS data processed {"connection_id":186471,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:58:16] local.INFO: Acknowledgment sent {"connection_id":186471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:58:48] local.INFO: TCP Data received {"connection_id":186471,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:48] local.INFO: Processing buffer {"connection_id":186471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:58:48] local.INFO: Packet analysis {"connection_id":186471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:58:48] local.INFO: Extracted packet for processing {"connection_id":186471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:58: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-19 02:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 02:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:58: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-19 02:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:58: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-19 02:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:58:48] local.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-19 02:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:58:48] local.INFO: GPS data processed {"connection_id":186471,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:58:48] local.INFO: Acknowledgment sent {"connection_id":186471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:59:10] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:10] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:10] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 02:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 02:59:15] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:15] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 02:59:15] local.INFO: IMEI packet received {"connection_id":186472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 02:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 02:59:16] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:16] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:16] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:59:16] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 02:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02:59: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-19 02:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 02:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 02:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 02:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 02:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:59:16] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:59:16] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 02:59:48] local.INFO: TCP Data received {"connection_id":186472,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:48] local.INFO: Processing buffer {"connection_id":186472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 02:59:48] local.INFO: Packet analysis {"connection_id":186472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:59:48] local.INFO: Extracted packet for processing {"connection_id":186472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 02:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 02: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-19 02:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 02:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 02:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 02: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-19 02:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 02: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-19 02: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-19 02:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 02:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 02: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-19 02: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-19 02:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 02:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 02:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 02:59:48] 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-19 02:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 02:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 02:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 02:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 02:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 02:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 02:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 02:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 02:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 02:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 02:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 02:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":186472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 02:59:48] local.INFO: GPS data processed {"connection_id":186472,"processed":1,"errors":0,"total":1} 
[2026-09-19 02:59:48] local.INFO: Acknowledgment sent {"connection_id":186472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:00:15] local.INFO: TCP Data received {"connection_id":189214,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:15] local.INFO: Processing buffer {"connection_id":189214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:15] local.INFO: IMEI packet received {"connection_id":189214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":189214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:00:20] local.INFO: TCP Data received {"connection_id":189214,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:20] local.INFO: Processing buffer {"connection_id":189214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:00:20] local.INFO: IMEI packet received {"connection_id":189214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":189214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:00:21] local.INFO: TCP Data received {"connection_id":189214,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:21] local.INFO: Processing buffer {"connection_id":189214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:21] local.INFO: Packet analysis {"connection_id":189214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:00:21] local.INFO: Extracted packet for processing {"connection_id":189214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:00:21] 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-19 03:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":189214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:00:21] local.INFO: GPS data processed {"connection_id":189214,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:00:21] local.INFO: Acknowledgment sent {"connection_id":189214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:00:26] local.INFO: TCP Data received {"connection_id":189214,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:26] local.INFO: Processing buffer {"connection_id":189214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:00:26] local.INFO: Packet analysis {"connection_id":189214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:00:26] local.INFO: Extracted packet for processing {"connection_id":189214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:00: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-19 03:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:00: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-19 03:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:00:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":189214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:00:26] local.INFO: GPS data processed {"connection_id":189214,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:00:26] local.INFO: Acknowledgment sent {"connection_id":189214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:01:10] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:10] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:10] local.INFO: IMEI packet received {"connection_id":186473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":186473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:01:15] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:15] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:01:15] local.INFO: IMEI packet received {"connection_id":186473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:01:16] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:16] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:16] local.INFO: Packet analysis {"connection_id":186473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:01:16] local.INFO: Extracted packet for processing {"connection_id":186473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:01: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-19 03:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:01: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-19 03:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:01:16] local.INFO: GPS data processed {"connection_id":186473,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:01:16] local.INFO: Acknowledgment sent {"connection_id":186473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:01:48] local.INFO: TCP Data received {"connection_id":186473,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:48] local.INFO: Processing buffer {"connection_id":186473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:01:48] local.INFO: Packet analysis {"connection_id":186473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:01:48] local.INFO: Extracted packet for processing {"connection_id":186473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 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-19 03:01: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:01: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-19 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-19 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-19 03:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:01:48] 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-19 03:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":186473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:01:48] local.INFO: GPS data processed {"connection_id":186473,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:01:48] local.INFO: Acknowledgment sent {"connection_id":186473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:02:11] local.INFO: TCP Data received {"connection_id":189215,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:11] local.INFO: Processing buffer {"connection_id":189215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:11] local.INFO: IMEI packet received {"connection_id":189215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":189215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:02:16] local.INFO: TCP Data received {"connection_id":189215,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:16] local.INFO: Processing buffer {"connection_id":189215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:02:16] local.INFO: IMEI packet received {"connection_id":189215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":189215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:02:17] local.INFO: TCP Data received {"connection_id":189215,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:17] local.INFO: Processing buffer {"connection_id":189215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:17] local.INFO: Packet analysis {"connection_id":189215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:02:17] local.INFO: Extracted packet for processing {"connection_id":189215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:02: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-19 03:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02: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-19 03:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:02: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-19 03:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":189215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:02:17] local.INFO: GPS data processed {"connection_id":189215,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:02:17] local.INFO: Acknowledgment sent {"connection_id":189215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:02:50] local.INFO: TCP Data received {"connection_id":189215,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:50] local.INFO: Processing buffer {"connection_id":189215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:02:50] local.INFO: Packet analysis {"connection_id":189215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:02:50] local.INFO: Extracted packet for processing {"connection_id":189215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:02: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-19 03:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":189215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:02:50] local.INFO: GPS data processed {"connection_id":189215,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:02:50] local.INFO: Acknowledgment sent {"connection_id":189215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:03:10] local.INFO: TCP Data received {"connection_id":189216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:10] local.INFO: Processing buffer {"connection_id":189216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:10] local.INFO: IMEI packet received {"connection_id":189216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:03:15] local.INFO: TCP Data received {"connection_id":189216,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:15] local.INFO: Processing buffer {"connection_id":189216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:03:15] local.INFO: IMEI packet received {"connection_id":189216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:03:16] local.INFO: TCP Data received {"connection_id":189216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:16] local.INFO: Processing buffer {"connection_id":189216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:16] local.INFO: Packet analysis {"connection_id":189216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:03:16] local.INFO: Extracted packet for processing {"connection_id":189216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:03: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-19 03:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:03:16] local.INFO: GPS data processed {"connection_id":189216,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:03:16] local.INFO: Acknowledgment sent {"connection_id":189216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:03:48] local.INFO: TCP Data received {"connection_id":189216,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:48] local.INFO: Processing buffer {"connection_id":189216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b66b6a40012d34c24006aa41400008011530..."} 
[2026-09-19 03:03:48] local.INFO: Packet analysis {"connection_id":189216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:03:48] local.INFO: Extracted packet for processing {"connection_id":189216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b66b"} 
[2026-09-19 03:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789766888000,"timestamp_ms":1789766888000,"timestamp_seconds":1789766888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b66b6a40"} 
[2026-09-19 03: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-19 03:03: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:03: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-19 03: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-19 03: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-19 03:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03: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-19 03:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180246272001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180246272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":189216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:03:48] local.INFO: GPS data processed {"connection_id":189216,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:03:48] local.INFO: Acknowledgment sent {"connection_id":189216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:04:10] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:10] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:10] local.INFO: IMEI packet received {"connection_id":186474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":186474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:04:15] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:15] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:04:15] local.INFO: IMEI packet received {"connection_id":186474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":186474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:04:17] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:17] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:17] local.INFO: Packet analysis {"connection_id":186474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:04:17] local.INFO: Extracted packet for processing {"connection_id":186474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:04: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-19 03:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":186474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:04:17] local.INFO: GPS data processed {"connection_id":186474,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:04:17] local.INFO: Acknowledgment sent {"connection_id":186474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:04:48] local.INFO: TCP Data received {"connection_id":186474,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:48] local.INFO: Processing buffer {"connection_id":186474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:04:48] local.INFO: Packet analysis {"connection_id":186474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:04:48] local.INFO: Extracted packet for processing {"connection_id":186474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03: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-19 03: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-19 03: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:04: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-19 03: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-19 03: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-19 03:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:04:48] local.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-19 03:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":186474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:04:48] local.INFO: GPS data processed {"connection_id":186474,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:04:48] local.INFO: Acknowledgment sent {"connection_id":186474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:05:15] local.INFO: TCP Data received {"connection_id":189217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:15] local.INFO: Processing buffer {"connection_id":189217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:15] local.INFO: IMEI packet received {"connection_id":189217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":189217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:05:21] local.INFO: TCP Data received {"connection_id":189217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:21] local.INFO: Processing buffer {"connection_id":189217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:05:21] local.INFO: IMEI packet received {"connection_id":189217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":189217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:05:22] local.INFO: TCP Data received {"connection_id":189217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:22] local.INFO: Processing buffer {"connection_id":189217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:22] local.INFO: Packet analysis {"connection_id":189217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:05:22] local.INFO: Extracted packet for processing {"connection_id":189217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:05:22] 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-19 03:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":189217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:05:22] local.INFO: GPS data processed {"connection_id":189217,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:05:22] local.INFO: Acknowledgment sent {"connection_id":189217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:05:26] local.INFO: TCP Data received {"connection_id":189217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:26] local.INFO: Processing buffer {"connection_id":189217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:05:26] local.INFO: Packet analysis {"connection_id":189217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:05:26] local.INFO: Extracted packet for processing {"connection_id":189217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:05:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":189217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:05:26] local.INFO: GPS data processed {"connection_id":189217,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:05:26] local.INFO: Acknowledgment sent {"connection_id":189217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:06:10] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:10] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:10] local.INFO: IMEI packet received {"connection_id":187869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":187869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:06:16] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:16] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:06:16] local.INFO: IMEI packet received {"connection_id":187869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":187869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:06:17] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:17] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:17] local.INFO: Packet analysis {"connection_id":187869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:06:17] local.INFO: Extracted packet for processing {"connection_id":187869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:06: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-19 03:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:06: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-19 03:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:06: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-19 03:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":187869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:06:17] local.INFO: GPS data processed {"connection_id":187869,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:06:17] local.INFO: Acknowledgment sent {"connection_id":187869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:06:48] local.INFO: TCP Data received {"connection_id":187869,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:48] local.INFO: Processing buffer {"connection_id":187869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:06:48] local.INFO: Packet analysis {"connection_id":187869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:06:48] local.INFO: Extracted packet for processing {"connection_id":187869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 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-19 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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-19 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-19 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-19 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-19 03:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":187869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:06:48] local.INFO: GPS data processed {"connection_id":187869,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:06:48] local.INFO: Acknowledgment sent {"connection_id":187869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:07:10] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:10] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:10] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:07:15] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:15] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:07:15] local.INFO: IMEI packet received {"connection_id":186475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":186475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:07:16] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:16] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:16] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:07:16] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07: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-19 03:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:07:16] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:07:16] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:07:47] local.INFO: TCP Data received {"connection_id":186475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:47] local.INFO: Processing buffer {"connection_id":186475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:07:47] local.INFO: Packet analysis {"connection_id":186475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:07:47] local.INFO: Extracted packet for processing {"connection_id":186475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:07: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-19 03:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:07: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-19 03:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":186475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:07:47] local.INFO: GPS data processed {"connection_id":186475,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:07:47] local.INFO: Acknowledgment sent {"connection_id":186475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:08:10] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:10] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:10] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:08:15] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:15] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:08:15] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:08:17] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:17] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:17] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:08:17] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:08: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-19 03:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03: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-19 03:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:08:17] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:08:17] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:08:48] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:48] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6700208012d34c24006aa41400008011530..."} 
[2026-09-19 03:08:48] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:08:48] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b670"} 
[2026-09-19 03:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180323328001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767189000,"timestamp_ms":1789767189000,"timestamp_seconds":1789767189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6700208"} 
[2026-09-19 03: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-19 03:08: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-19 03: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 03:08: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-19 03: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-19 03: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-19 03:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180323328001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180323328001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180323328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:08:48] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:08:48] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:09:10] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:10] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:10] local.INFO: IMEI packet received {"connection_id":186476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":186476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:09:16] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:16] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:09:16] local.INFO: IMEI packet received {"connection_id":186476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":186476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:09:17] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:17] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:17] local.INFO: Packet analysis {"connection_id":186476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:09:17] local.INFO: Extracted packet for processing {"connection_id":186476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09: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-19 03:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03: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-19 03:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:09: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-19 03: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-19 03: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-19 03:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:09: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-19 03:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":186476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:09:17] local.INFO: GPS data processed {"connection_id":186476,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:09:17] local.INFO: Acknowledgment sent {"connection_id":186476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:09:49] local.INFO: TCP Data received {"connection_id":186476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:49] local.INFO: Processing buffer {"connection_id":186476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:09:49] local.INFO: Packet analysis {"connection_id":186476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:09:49] local.INFO: Extracted packet for processing {"connection_id":186476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:09: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-19 03:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:09: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-19 03:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:09: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-19 03:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":186476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:09:49] local.INFO: GPS data processed {"connection_id":186476,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:09:49] local.INFO: Acknowledgment sent {"connection_id":186476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:10:10] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:10] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:10] local.INFO: IMEI packet received {"connection_id":187870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":187870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:10:15] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:15] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:10:15] local.INFO: IMEI packet received {"connection_id":187870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":187870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:10:16] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:16] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:16] local.INFO: Packet analysis {"connection_id":187870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:10:16] local.INFO: Extracted packet for processing {"connection_id":187870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:10: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-19 03:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":187870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:10:16] local.INFO: GPS data processed {"connection_id":187870,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:10:16] local.INFO: Acknowledgment sent {"connection_id":187870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:10:48] local.INFO: TCP Data received {"connection_id":187870,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:48] local.INFO: Processing buffer {"connection_id":187870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:10:48] local.INFO: Packet analysis {"connection_id":187870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:10:48] local.INFO: Extracted packet for processing {"connection_id":187870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03: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-19 03:10: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:10:48] 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-19 03:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":187870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:10:48] local.INFO: GPS data processed {"connection_id":187870,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:10:48] local.INFO: Acknowledgment sent {"connection_id":187870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:11:15] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:15] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:15] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:11:21] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:21] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:11:21] local.INFO: IMEI packet received {"connection_id":186477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":186477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:11:22] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:22] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:22] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:11:22] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:11:22] local.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-19 03:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:11:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:11:22] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:11:22] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:11:26] local.INFO: TCP Data received {"connection_id":186477,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:26] local.INFO: Processing buffer {"connection_id":186477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:11:26] local.INFO: Packet analysis {"connection_id":186477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:11:26] local.INFO: Extracted packet for processing {"connection_id":186477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:11:26] local.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-19 03:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":186477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:11:26] local.INFO: GPS data processed {"connection_id":186477,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:11:26] local.INFO: Acknowledgment sent {"connection_id":186477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:12:11] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:11] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:11] local.INFO: IMEI packet received {"connection_id":186614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":186614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:12:15] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:15] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:12:15] local.INFO: IMEI packet received {"connection_id":186614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:12:17] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:17] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:17] local.INFO: Packet analysis {"connection_id":186614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:12:17] local.INFO: Extracted packet for processing {"connection_id":186614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12: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-19 03:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03: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-19 03:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:12: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-19 03: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-19 03: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-19 03:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:12: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-19 03:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:12:17] local.INFO: GPS data processed {"connection_id":186614,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:12:17] local.INFO: Acknowledgment sent {"connection_id":186614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:12:48] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:48] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:12:48] local.INFO: Packet analysis {"connection_id":186614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:12:48] local.INFO: Extracted packet for processing {"connection_id":186614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:12: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-19 03:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:12: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-19 03:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:12: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-19 03:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:12:48] local.INFO: GPS data processed {"connection_id":186614,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:12:48] local.INFO: Acknowledgment sent {"connection_id":186614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:13:11] local.INFO: TCP Data received {"connection_id":189218,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:11] local.INFO: Processing buffer {"connection_id":189218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:11] local.INFO: IMEI packet received {"connection_id":189218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":189218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:13:15] local.INFO: TCP Data received {"connection_id":189218,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:15] local.INFO: Processing buffer {"connection_id":189218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:13:15] local.INFO: IMEI packet received {"connection_id":189218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":189218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:13:16] local.INFO: TCP Data received {"connection_id":189218,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:16] local.INFO: Processing buffer {"connection_id":189218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:16] local.INFO: Packet analysis {"connection_id":189218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:13:16] local.INFO: Extracted packet for processing {"connection_id":189218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:13: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-19 03:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":189218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:13:16] local.INFO: GPS data processed {"connection_id":189218,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:13:16] local.INFO: Acknowledgment sent {"connection_id":189218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:13:48] local.INFO: TCP Data received {"connection_id":189218,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:48] local.INFO: Processing buffer {"connection_id":189218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67499d0012d34c24006aa41400008011530..."} 
[2026-09-19 03:13:48] local.INFO: Packet analysis {"connection_id":189218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:13:48] local.INFO: Extracted packet for processing {"connection_id":189218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b674"} 
[2026-09-19 03:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180400384001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767490000,"timestamp_ms":1789767490000,"timestamp_seconds":1789767490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67499d0"} 
[2026-09-19 03: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-19 03:13: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:13: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-19 03: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-19 03: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-19 03:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180400384001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180400384001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180400384001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":189218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:13:48] local.INFO: GPS data processed {"connection_id":189218,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:13:48] local.INFO: Acknowledgment sent {"connection_id":189218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:14:10] local.INFO: TCP Data received {"connection_id":189219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:10] local.INFO: Processing buffer {"connection_id":189219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:10] local.INFO: IMEI packet received {"connection_id":189219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":189219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:14:15] local.INFO: TCP Data received {"connection_id":189219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:15] local.INFO: Processing buffer {"connection_id":189219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:14:15] local.INFO: IMEI packet received {"connection_id":189219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":189219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:14:16] local.INFO: TCP Data received {"connection_id":189219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:16] local.INFO: Processing buffer {"connection_id":189219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:16] local.INFO: Packet analysis {"connection_id":189219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:14:16] local.INFO: Extracted packet for processing {"connection_id":189219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:14: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-19 03:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:14:16] 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-19 03:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":189219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:14:17] local.INFO: GPS data processed {"connection_id":189219,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:14:17] local.INFO: Acknowledgment sent {"connection_id":189219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:14:48] local.INFO: TCP Data received {"connection_id":189219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:48] local.INFO: Processing buffer {"connection_id":189219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:14:48] local.INFO: Packet analysis {"connection_id":189219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:14:48] local.INFO: Extracted packet for processing {"connection_id":189219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 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-19 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-19 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-19 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-19 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-19 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-19 03:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":189219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:14:49] local.INFO: GPS data processed {"connection_id":189219,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:14:49] local.INFO: Acknowledgment sent {"connection_id":189219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:15:15] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:15] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:15] local.INFO: IMEI packet received {"connection_id":187871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:15:20] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:20] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:15:20] local.INFO: IMEI packet received {"connection_id":187871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":187871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:15:22] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:22] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:22] local.INFO: Packet analysis {"connection_id":187871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:15:22] local.INFO: Extracted packet for processing {"connection_id":187871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:15:22] 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-19 03:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:15:22] local.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-19 03:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":187871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:15:22] local.INFO: GPS data processed {"connection_id":187871,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:15:22] local.INFO: Acknowledgment sent {"connection_id":187871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:15:26] local.INFO: TCP Data received {"connection_id":187871,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:26] local.INFO: Processing buffer {"connection_id":187871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:15:26] local.INFO: Packet analysis {"connection_id":187871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:15:26] local.INFO: Extracted packet for processing {"connection_id":187871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:15: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-19 03:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:15: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:15:26] 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-19 03:15: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-19 03:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:15:26] local.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-19 03:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:15:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:15:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":187871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:15:26] local.INFO: GPS data processed {"connection_id":187871,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:15:26] local.INFO: Acknowledgment sent {"connection_id":187871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:16:11] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:11] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:11] local.INFO: IMEI packet received {"connection_id":186478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":186478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:16:16] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:16] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:16:16] local.INFO: IMEI packet received {"connection_id":186478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":186478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:16:17] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:17] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:17] local.INFO: Packet analysis {"connection_id":186478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:17] local.INFO: Extracted packet for processing {"connection_id":186478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03: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-19 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:16:17] 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-19 03: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-19 03: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-19 03:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:17] 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-19 03:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":186478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:16:17] local.INFO: GPS data processed {"connection_id":186478,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:16:17] local.INFO: Acknowledgment sent {"connection_id":186478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:16:21] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:21] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:21] local.INFO: Packet analysis {"connection_id":186478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:21] local.INFO: Extracted packet for processing {"connection_id":186478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:16:21] 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-19 03:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:21] 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-19 03:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":186478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:16:21] local.INFO: GPS data processed {"connection_id":186478,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:16:21] local.INFO: Acknowledgment sent {"connection_id":186478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:16:53] local.INFO: TCP Data received {"connection_id":186478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:53] local.INFO: Processing buffer {"connection_id":186478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:16:53] local.INFO: Packet analysis {"connection_id":186478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:53] local.INFO: Extracted packet for processing {"connection_id":186478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:16: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-19 03:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:16: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-19 03:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:16:53] 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-19 03:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":186478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:16:53] local.INFO: GPS data processed {"connection_id":186478,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:16:53] local.INFO: Acknowledgment sent {"connection_id":186478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:17:11] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:11] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:11] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:17:15] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:15] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:17:15] local.INFO: IMEI packet received {"connection_id":186479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:17:17] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:17] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:17] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:17] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17: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-19 03:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:17:17] 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-19 03:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:17:17] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:17:17] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:17:21] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:21] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:21] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:21] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:17:21] 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-19 03:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:17:21] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:17:21] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:17:53] local.INFO: TCP Data received {"connection_id":186479,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:53] local.INFO: Processing buffer {"connection_id":186479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:17:53] local.INFO: Packet analysis {"connection_id":186479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:53] local.INFO: Extracted packet for processing {"connection_id":186479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 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-19 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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-19 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-19 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-19 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-19 03:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:17:53] 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-19 03:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":186479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:17:53] local.INFO: GPS data processed {"connection_id":186479,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:17:53] local.INFO: Acknowledgment sent {"connection_id":186479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:18:11] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:11] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:11] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:18:15] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:15] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:18:15] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:18:16] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:16] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:16] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:18:16] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:18: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-19 03:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03: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-19 03:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:18:16] 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-19 03: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-19 03: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-19 03:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:18:16] 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-19 03:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:18:16] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:18:16] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:18:48] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:48] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6793198012d34c24006aa4140000801152f..."} 
[2026-09-19 03:18:48] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:18:48] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b679"} 
[2026-09-19 03:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821120,"longitude_deg":75.843232,"latitude_deg":11.182112,"altitude":8,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180477440001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789767791000,"timestamp_ms":1789767791000,"timestamp_seconds":1789767791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6793198"} 
[2026-09-19 03: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-19 03:18: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-19 03: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 03:18: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-19 03: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-19 03: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-19 03:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180477440001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180477440001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180477440001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:18:48] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:18:48] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:19:10] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:10] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:10] local.INFO: IMEI packet received {"connection_id":187872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":187872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:19:15] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:15] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:19:15] local.INFO: IMEI packet received {"connection_id":187872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":187872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:19:17] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:17] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:17] local.INFO: Packet analysis {"connection_id":187872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:19:17] local.INFO: Extracted packet for processing {"connection_id":187872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19: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-19 03:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03: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-19 03:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:19: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-19 03: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-19 03: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-19 03:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:19:17] 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-19 03:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":187872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:19:17] local.INFO: GPS data processed {"connection_id":187872,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:19:17] local.INFO: Acknowledgment sent {"connection_id":187872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:19:49] local.INFO: TCP Data received {"connection_id":187872,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:49] local.INFO: Processing buffer {"connection_id":187872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:19:49] local.INFO: Packet analysis {"connection_id":187872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:19:49] local.INFO: Extracted packet for processing {"connection_id":187872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:19: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-19 03:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03: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-19 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:19: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-19 03: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-19 03: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-19 03:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:19:49] 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-19 03:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":187872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:19:49] local.INFO: GPS data processed {"connection_id":187872,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:19:49] local.INFO: Acknowledgment sent {"connection_id":187872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:20:10] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:10] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:10] local.INFO: IMEI packet received {"connection_id":186480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":186480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:20:15] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:15] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:20:15] local.INFO: IMEI packet received {"connection_id":186480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:20:16] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:16] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:16] local.INFO: Packet analysis {"connection_id":186480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:20:16] local.INFO: Extracted packet for processing {"connection_id":186480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03: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-19 03:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:20:16] 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-19 03:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":186480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:20:16] local.INFO: GPS data processed {"connection_id":186480,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:20:16] local.INFO: Acknowledgment sent {"connection_id":186480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:20:48] local.INFO: TCP Data received {"connection_id":186480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:48] local.INFO: Processing buffer {"connection_id":186480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:20:48] local.INFO: Packet analysis {"connection_id":186480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:20:48] local.INFO: Extracted packet for processing {"connection_id":186480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:20: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-19 03:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03: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-19 03:20: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:20: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-19 03: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-19 03: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-19 03:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":186480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:20:48] local.INFO: GPS data processed {"connection_id":186480,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:20:48] local.INFO: Acknowledgment sent {"connection_id":186480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:21:15] local.INFO: TCP Data received {"connection_id":189220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:15] local.INFO: Processing buffer {"connection_id":189220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:15] local.INFO: IMEI packet received {"connection_id":189220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":189220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:21:21] local.INFO: TCP Data received {"connection_id":189220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:21] local.INFO: Processing buffer {"connection_id":189220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:21:21] local.INFO: IMEI packet received {"connection_id":189220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":189220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:21:21] local.INFO: TCP Data received {"connection_id":189220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:21] local.INFO: Processing buffer {"connection_id":189220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:21] local.INFO: Packet analysis {"connection_id":189220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:21:21] local.INFO: Extracted packet for processing {"connection_id":189220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":189220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:21:21] local.INFO: GPS data processed {"connection_id":189220,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:21:21] local.INFO: Acknowledgment sent {"connection_id":189220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:21:26] local.INFO: TCP Data received {"connection_id":189220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:26] local.INFO: Processing buffer {"connection_id":189220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:21:26] local.INFO: Packet analysis {"connection_id":189220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:21:26] local.INFO: Extracted packet for processing {"connection_id":189220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:21: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-19 03:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:21: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-19 03:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:21:26] 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-19 03:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:21:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":189220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:21:26] local.INFO: GPS data processed {"connection_id":189220,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:21:26] local.INFO: Acknowledgment sent {"connection_id":189220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:22:11] local.INFO: TCP Data received {"connection_id":187873,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:11] local.INFO: Processing buffer {"connection_id":187873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:11] local.INFO: IMEI packet received {"connection_id":187873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":187873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:22:15] local.INFO: TCP Data received {"connection_id":187873,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:15] local.INFO: Processing buffer {"connection_id":187873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:22:15] local.INFO: IMEI packet received {"connection_id":187873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":187873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:22:18] local.INFO: TCP Data received {"connection_id":187873,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:18] local.INFO: Processing buffer {"connection_id":187873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:18] local.INFO: Packet analysis {"connection_id":187873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:22:18] local.INFO: Extracted packet for processing {"connection_id":187873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:22: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-19 03:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22: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-19 03:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:22: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:22: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-19 03:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:22:18] 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-19 03:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":187873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:22:18] local.INFO: GPS data processed {"connection_id":187873,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:22:18] local.INFO: Acknowledgment sent {"connection_id":187873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:22:49] local.INFO: TCP Data received {"connection_id":187873,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:49] local.INFO: Processing buffer {"connection_id":187873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:22:49] local.INFO: Packet analysis {"connection_id":187873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:22:49] local.INFO: Extracted packet for processing {"connection_id":187873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:22: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-19 03:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:22: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-19 03:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:22: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-19 03:22: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-19 03:22: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-19 03:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:22:49] 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-19 03:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":187873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:22:49] local.INFO: GPS data processed {"connection_id":187873,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:22:49] local.INFO: Acknowledgment sent {"connection_id":187873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:23:11] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:11] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:11] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:23:15] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:15] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:23:15] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:23:16] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:16] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:16] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:23:16] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23: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-19 03:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:23:16] 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-19 03:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:23:16] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:23:16] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:23:48] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:48] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b67dc960012d34c14006aa41400008010e30..."} 
[2026-09-19 03:23:48] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:23:48] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b67d"} 
[2026-09-19 03:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180554496001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824504320,"note":"Value kept but may cause issues"} 
[2026-09-19 03:23: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-19 03:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768092000,"timestamp_ms":1789768092000,"timestamp_seconds":1789768092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b67dc960"} 
[2026-09-19 03: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-19 03:23: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-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:23: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-19 03: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-19 03: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-19 03:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180554496001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801671432824504320},"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-19 03:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180554496001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824504320,"description":"Unknown IO ID 45"} 
[2026-09-19 03:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180554496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824504320}} 
[2026-09-19 03:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:23:48] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:23:48] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:24:10] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:10] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:10] local.INFO: IMEI packet received {"connection_id":187874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":187874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:24:15] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:15] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:24:15] local.INFO: IMEI packet received {"connection_id":187874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:24:16] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:16] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:16] local.INFO: Packet analysis {"connection_id":187874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:24:16] local.INFO: Extracted packet for processing {"connection_id":187874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:24: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-19 03:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:24:16] 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-19 03:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":187874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:24:16] local.INFO: GPS data processed {"connection_id":187874,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:24:16] local.INFO: Acknowledgment sent {"connection_id":187874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:24:48] local.INFO: TCP Data received {"connection_id":187874,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:48] local.INFO: Processing buffer {"connection_id":187874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:24:48] local.INFO: Packet analysis {"connection_id":187874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:24:48] local.INFO: Extracted packet for processing {"connection_id":187874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:24: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-19 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:24: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-19 03: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-19 03: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-19 03:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":187874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:24:48] local.INFO: GPS data processed {"connection_id":187874,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:24:48] local.INFO: Acknowledgment sent {"connection_id":187874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:25:10] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:10] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:10] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:25:15] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:15] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:25:15] local.INFO: IMEI packet received {"connection_id":186481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:25:16] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:16] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:16] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:25:16] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:25:16] 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-19 03:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:25:16] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:25:16] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:25:48] local.INFO: TCP Data received {"connection_id":186481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:48] local.INFO: Processing buffer {"connection_id":186481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:25:48] local.INFO: Packet analysis {"connection_id":186481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:25:48] local.INFO: Extracted packet for processing {"connection_id":186481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:25: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-19 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:25: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-19 03: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-19 03: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-19 03:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":186481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:25:48] local.INFO: GPS data processed {"connection_id":186481,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:25:48] local.INFO: Acknowledgment sent {"connection_id":186481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:26:10] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:10] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:10] local.INFO: IMEI packet received {"connection_id":187875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":187875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:26:15] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:15] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:26:15] local.INFO: IMEI packet received {"connection_id":187875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":187875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:26:17] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:17] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:17] local.INFO: Packet analysis {"connection_id":187875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:26:17] local.INFO: Extracted packet for processing {"connection_id":187875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03: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-19 03: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-19 03:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:26:17] 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-19 03:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":187875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:26:17] local.INFO: GPS data processed {"connection_id":187875,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:26:17] local.INFO: Acknowledgment sent {"connection_id":187875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:26:48] local.INFO: TCP Data received {"connection_id":187875,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:48] local.INFO: Processing buffer {"connection_id":187875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:26:48] local.INFO: Packet analysis {"connection_id":187875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:26:48] local.INFO: Extracted packet for processing {"connection_id":187875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:26: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-19 03:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:26: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-19 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:26: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-19 03: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-19 03: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-19 03:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":187875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:26:48] local.INFO: GPS data processed {"connection_id":187875,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:26:48] local.INFO: Acknowledgment sent {"connection_id":187875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:27:15] local.INFO: TCP Data received {"connection_id":189221,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:15] local.INFO: Processing buffer {"connection_id":189221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:15] local.INFO: IMEI packet received {"connection_id":189221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":189221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:27:21] local.INFO: TCP Data received {"connection_id":189221,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:21] local.INFO: Processing buffer {"connection_id":189221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:27:21] local.INFO: IMEI packet received {"connection_id":189221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":189221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:27:22] local.INFO: TCP Data received {"connection_id":189221,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:22] local.INFO: Processing buffer {"connection_id":189221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:22] local.INFO: Packet analysis {"connection_id":189221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:27:22] local.INFO: Extracted packet for processing {"connection_id":189221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:27:22] 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-19 03:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:27:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":189221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:27:22] local.INFO: GPS data processed {"connection_id":189221,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:27:22] local.INFO: Acknowledgment sent {"connection_id":189221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:27:26] local.INFO: TCP Data received {"connection_id":189221,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:26] local.INFO: Processing buffer {"connection_id":189221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:27:26] local.INFO: Packet analysis {"connection_id":189221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:27:26] local.INFO: Extracted packet for processing {"connection_id":189221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:27:26] 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-19 03:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:27:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":189221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:27:26] local.INFO: GPS data processed {"connection_id":189221,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:27:26] local.INFO: Acknowledgment sent {"connection_id":189221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:28:10] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:10] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:10] local.INFO: IMEI packet received {"connection_id":187876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":187876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:28:15] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:15] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:28:15] local.INFO: IMEI packet received {"connection_id":187876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":187876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:28:17] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:17] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:17] local.INFO: Packet analysis {"connection_id":187876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:28:17] local.INFO: Extracted packet for processing {"connection_id":187876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:28: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-19 03:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:28:17] 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-19 03:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":187876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:28:17] local.INFO: GPS data processed {"connection_id":187876,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:28:17] local.INFO: Acknowledgment sent {"connection_id":187876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:28:48] local.INFO: TCP Data received {"connection_id":187876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:48] local.INFO: Processing buffer {"connection_id":187876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6826128012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:28:48] local.INFO: Packet analysis {"connection_id":187876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:28:48] local.INFO: Extracted packet for processing {"connection_id":187876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b682"} 
[2026-09-19 03:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180631552001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768393000,"timestamp_ms":1789768393000,"timestamp_seconds":1789768393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6826128"} 
[2026-09-19 03: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-19 03:28: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-19 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:28: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-19 03: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-19 03: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-19 03:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:28:48] 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-19 03:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180631552001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180631552001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180631552001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":187876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:28:48] local.INFO: GPS data processed {"connection_id":187876,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:28:48] local.INFO: Acknowledgment sent {"connection_id":187876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:29:11] local.INFO: TCP Data received {"connection_id":189222,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:11] local.INFO: Processing buffer {"connection_id":189222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:11] local.INFO: IMEI packet received {"connection_id":189222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":189222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:29:15] local.INFO: TCP Data received {"connection_id":189222,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:15] local.INFO: Processing buffer {"connection_id":189222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:29:15] local.INFO: IMEI packet received {"connection_id":189222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":189222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:29:17] local.INFO: TCP Data received {"connection_id":189222,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:17] local.INFO: Processing buffer {"connection_id":189222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:17] local.INFO: Packet analysis {"connection_id":189222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:29:17] local.INFO: Extracted packet for processing {"connection_id":189222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:29: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-19 03:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:29: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-19 03:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:29:17] 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-19 03:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":189222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:29:17] local.INFO: GPS data processed {"connection_id":189222,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:29:17] local.INFO: Acknowledgment sent {"connection_id":189222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:29:48] local.INFO: TCP Data received {"connection_id":189222,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:48] local.INFO: Processing buffer {"connection_id":189222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:29:48] local.INFO: Packet analysis {"connection_id":189222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:29:48] local.INFO: Extracted packet for processing {"connection_id":189222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03: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-19 03:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:29: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-19 03:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:29:48] 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-19 03:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":189222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:29:48] local.INFO: GPS data processed {"connection_id":189222,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:29:48] local.INFO: Acknowledgment sent {"connection_id":189222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:30:10] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:10] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:10] local.INFO: IMEI packet received {"connection_id":186482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":186482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:30:15] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:15] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:30:15] local.INFO: IMEI packet received {"connection_id":186482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:30:16] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:16] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:16] local.INFO: Packet analysis {"connection_id":186482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:30:16] local.INFO: Extracted packet for processing {"connection_id":186482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:30: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-19 03:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03: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-19 03:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:30:16] 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-19 03:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":186482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:30:16] local.INFO: GPS data processed {"connection_id":186482,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:30:16] local.INFO: Acknowledgment sent {"connection_id":186482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:30:48] local.INFO: TCP Data received {"connection_id":186482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:48] local.INFO: Processing buffer {"connection_id":186482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:30:48] local.INFO: Packet analysis {"connection_id":186482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:30:48] local.INFO: Extracted packet for processing {"connection_id":186482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03: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-19 03:30: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:30: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-19 03: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-19 03: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-19 03:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:30:48] 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-19 03:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":186482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:30:48] local.INFO: GPS data processed {"connection_id":186482,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:30:48] local.INFO: Acknowledgment sent {"connection_id":186482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:31:10] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:10] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:10] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:31:15] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:15] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:31:15] local.INFO: IMEI packet received {"connection_id":186483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:31:16] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:16] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:16] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:31:16] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31: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-19 03:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:31:16] 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-19 03:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:31:16] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:31:16] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:31:47] local.INFO: TCP Data received {"connection_id":186483,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:47] local.INFO: Processing buffer {"connection_id":186483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:31:47] local.INFO: Packet analysis {"connection_id":186483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:31:47] local.INFO: Extracted packet for processing {"connection_id":186483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:31: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-19 03:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03: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-19 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:31: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-19 03: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-19 03: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-19 03:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:31:47] 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-19 03:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":186483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:31:47] local.INFO: GPS data processed {"connection_id":186483,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:31:47] local.INFO: Acknowledgment sent {"connection_id":186483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:32:10] local.INFO: TCP Data received {"connection_id":189223,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:10] local.INFO: Processing buffer {"connection_id":189223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:10] local.INFO: IMEI packet received {"connection_id":189223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":189223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:32:15] local.INFO: TCP Data received {"connection_id":189223,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:15] local.INFO: Processing buffer {"connection_id":189223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:32:15] local.INFO: IMEI packet received {"connection_id":189223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":189223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:32:17] local.INFO: TCP Data received {"connection_id":189223,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:17] local.INFO: Processing buffer {"connection_id":189223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:17] local.INFO: Packet analysis {"connection_id":189223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:32:17] local.INFO: Extracted packet for processing {"connection_id":189223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32: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-19 03:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:32: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-19 03:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:32:17] 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-19 03:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":189223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:32:17] local.INFO: GPS data processed {"connection_id":189223,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:32:17] local.INFO: Acknowledgment sent {"connection_id":189223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:32:48] local.INFO: TCP Data received {"connection_id":189223,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:48] local.INFO: Processing buffer {"connection_id":189223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:32:48] local.INFO: Packet analysis {"connection_id":189223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:32:48] local.INFO: Extracted packet for processing {"connection_id":189223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:32: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-19 03:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:32: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-19 03:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03: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-19 03:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:32:48] 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-19 03:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":189223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:32:48] local.INFO: GPS data processed {"connection_id":189223,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:32:48] local.INFO: Acknowledgment sent {"connection_id":189223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:33:15] local.INFO: TCP Data received {"connection_id":187877,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:15] local.INFO: Processing buffer {"connection_id":187877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:15] local.INFO: IMEI packet received {"connection_id":187877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":187877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:33:21] local.INFO: TCP Data received {"connection_id":187877,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:21] local.INFO: Processing buffer {"connection_id":187877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:33:21] local.INFO: IMEI packet received {"connection_id":187877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":187877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:33:22] local.INFO: TCP Data received {"connection_id":187877,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:22] local.INFO: Processing buffer {"connection_id":187877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:22] local.INFO: Packet analysis {"connection_id":187877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:33:22] local.INFO: Extracted packet for processing {"connection_id":187877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03: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-19 03:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:33:22] 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-19 03:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:33:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":187877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:33:22] local.INFO: GPS data processed {"connection_id":187877,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:33:22] local.INFO: Acknowledgment sent {"connection_id":187877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:33:54] local.INFO: TCP Data received {"connection_id":187877,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:54] local.INFO: Processing buffer {"connection_id":187877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b686f8f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:33:54] local.INFO: Packet analysis {"connection_id":187877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:33:54] local.INFO: Extracted packet for processing {"connection_id":187877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b686"} 
[2026-09-19 03:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180708608001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789768694000,"timestamp_ms":1789768694000,"timestamp_seconds":1789768694,"priority":1,"record_length":96,"hex_timestamp":"000001a0b686f8f0"} 
[2026-09-19 03:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:33:54] 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-19 03:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180708608001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180708608001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180708608001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":187877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:33:54] local.INFO: GPS data processed {"connection_id":187877,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:33:54] local.INFO: Acknowledgment sent {"connection_id":187877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:34:10] local.INFO: TCP Data received {"connection_id":187878,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:10] local.INFO: Processing buffer {"connection_id":187878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:10] local.INFO: IMEI packet received {"connection_id":187878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":187878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:34:16] local.INFO: TCP Data received {"connection_id":187878,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:16] local.INFO: Processing buffer {"connection_id":187878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:34:16] local.INFO: IMEI packet received {"connection_id":187878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":187878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:34:17] local.INFO: TCP Data received {"connection_id":187878,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:17] local.INFO: Processing buffer {"connection_id":187878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:17] local.INFO: Packet analysis {"connection_id":187878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:34:17] local.INFO: Extracted packet for processing {"connection_id":187878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:34: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-19 03:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:34: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-19 03:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:34: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-19 03:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:34:17] 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-19 03:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":187878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:34:17] local.INFO: GPS data processed {"connection_id":187878,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:34:17] local.INFO: Acknowledgment sent {"connection_id":187878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:34:49] local.INFO: TCP Data received {"connection_id":187878,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:49] local.INFO: Processing buffer {"connection_id":187878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:34:49] local.INFO: Packet analysis {"connection_id":187878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:34:49] local.INFO: Extracted packet for processing {"connection_id":187878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:34: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-19 03: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-19 03: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-19 03:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:34:49] 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-19 03:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":187878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:34:49] local.INFO: GPS data processed {"connection_id":187878,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:34:49] local.INFO: Acknowledgment sent {"connection_id":187878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:35:10] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:10] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:10] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:35:15] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:15] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:35:15] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:35:16] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:16] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:16] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:35:16] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35: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-19 03:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:35:16] 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-19 03:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:35:16] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:35:16] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:35:48] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:48] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:35:48] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:35:48] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:35: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-19 03:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:35: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-19 03: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-19 03: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-19 03:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:35:48] 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-19 03:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:35:48] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:35:48] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:36:10] local.INFO: TCP Data received {"connection_id":189224,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:10] local.INFO: Processing buffer {"connection_id":189224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:10] local.INFO: IMEI packet received {"connection_id":189224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":189224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:36:15] local.INFO: TCP Data received {"connection_id":189224,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:15] local.INFO: Processing buffer {"connection_id":189224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:36:15] local.INFO: IMEI packet received {"connection_id":189224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":189224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:36:16] local.INFO: TCP Data received {"connection_id":189224,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:16] local.INFO: Processing buffer {"connection_id":189224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:16] local.INFO: Packet analysis {"connection_id":189224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:36:16] local.INFO: Extracted packet for processing {"connection_id":189224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:36: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-19 03:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:36:16] 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-19 03:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":189224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:36:16] local.INFO: GPS data processed {"connection_id":189224,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:36:16] local.INFO: Acknowledgment sent {"connection_id":189224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:36:48] local.INFO: TCP Data received {"connection_id":189224,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:48] local.INFO: Processing buffer {"connection_id":189224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:36:48] local.INFO: Packet analysis {"connection_id":189224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:36:48] local.INFO: Extracted packet for processing {"connection_id":189224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03:36: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-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:36: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-19 03: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-19 03: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-19 03:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:36:48] 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-19 03:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":189224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:36:48] local.INFO: GPS data processed {"connection_id":189224,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:36:48] local.INFO: Acknowledgment sent {"connection_id":189224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:37:15] local.INFO: TCP Data received {"connection_id":187879,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:15] local.INFO: Processing buffer {"connection_id":187879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:15] local.INFO: IMEI packet received {"connection_id":187879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":187879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:37:20] local.INFO: TCP Data received {"connection_id":187879,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:20] local.INFO: Processing buffer {"connection_id":187879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:37:20] local.INFO: IMEI packet received {"connection_id":187879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":187879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:37:22] local.INFO: TCP Data received {"connection_id":187879,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:22] local.INFO: Processing buffer {"connection_id":187879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:22] local.INFO: Packet analysis {"connection_id":187879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:37:22] local.INFO: Extracted packet for processing {"connection_id":187879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:37: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-19 03:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:37: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:37: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-19 03:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:37:22] 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-19 03:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:37:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":187879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:37:22] local.INFO: GPS data processed {"connection_id":187879,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:37:22] local.INFO: Acknowledgment sent {"connection_id":187879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:37:26] local.INFO: TCP Data received {"connection_id":187879,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:26] local.INFO: Processing buffer {"connection_id":187879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:37:26] local.INFO: Packet analysis {"connection_id":187879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:37:26] local.INFO: Extracted packet for processing {"connection_id":187879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:37:26] 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-19 03:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:37:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":187879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:37:26] local.INFO: GPS data processed {"connection_id":187879,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:37:26] local.INFO: Acknowledgment sent {"connection_id":187879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:38:10] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:10] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:10] local.INFO: IMEI packet received {"connection_id":187880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":187880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:38:15] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:15] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:38:15] local.INFO: IMEI packet received {"connection_id":187880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":187880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:38:16] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:16] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:16] local.INFO: Packet analysis {"connection_id":187880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:38:16] local.INFO: Extracted packet for processing {"connection_id":187880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:38: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-19 03:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:38:16] 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-19 03:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":187880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:38:16] local.INFO: GPS data processed {"connection_id":187880,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:38:16] local.INFO: Acknowledgment sent {"connection_id":187880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:38:48] local.INFO: TCP Data received {"connection_id":187880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:48] local.INFO: Processing buffer {"connection_id":187880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b68b90b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:38:48] local.INFO: Packet analysis {"connection_id":187880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:38:48] local.INFO: Extracted packet for processing {"connection_id":187880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b68b"} 
[2026-09-19 03:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180785664001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789768995000,"timestamp_ms":1789768995000,"timestamp_seconds":1789768995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b68b90b8"} 
[2026-09-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:38:48] 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-19 03:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180785664001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180785664001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180785664001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":187880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:38:48] local.INFO: GPS data processed {"connection_id":187880,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:38:48] local.INFO: Acknowledgment sent {"connection_id":187880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:39:10] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:10] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:10] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:39:15] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:15] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:39:15] local.INFO: IMEI packet received {"connection_id":186484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:39:16] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:16] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:16] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:39:16] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:39: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-19 03:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:39:16] 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-19 03:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:39:16] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:39:16] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:39:48] local.INFO: TCP Data received {"connection_id":186484,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:48] local.INFO: Processing buffer {"connection_id":186484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:39:48] local.INFO: Packet analysis {"connection_id":186484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:39:48] local.INFO: Extracted packet for processing {"connection_id":186484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03: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-19 03:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:39: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-19 03: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-19 03: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-19 03:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:39:48] 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-19 03:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":186484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:39:48] local.INFO: GPS data processed {"connection_id":186484,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:39:48] local.INFO: Acknowledgment sent {"connection_id":186484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:40:10] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:10] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:10] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:40:12] local.INFO: TCP Data received {"connection_id":189225,"ip":"85.217.149.61","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-19 03:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189225,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-19 03:40:12] local.INFO: Processing buffer {"connection_id":189225,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-19 03:40:15] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:15] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:40:15] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:40:16] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:16] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:16] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:40:16] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40: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-19 03:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:40:16] 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-19 03:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:40:16] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:40:16] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:40:48] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:48] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:40:48] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:40:48] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:40: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-19 03:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:40: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-19 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:40: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-19 03:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:40:48] 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-19 03:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:40:48] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:40:48] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:41:10] local.INFO: TCP Data received {"connection_id":189226,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:10] local.INFO: Processing buffer {"connection_id":189226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:10] local.INFO: IMEI packet received {"connection_id":189226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":189226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:41:15] local.INFO: TCP Data received {"connection_id":189226,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:15] local.INFO: Processing buffer {"connection_id":189226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:41:15] local.INFO: IMEI packet received {"connection_id":189226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":189226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:41:16] local.INFO: TCP Data received {"connection_id":189226,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:16] local.INFO: Processing buffer {"connection_id":189226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:16] local.INFO: Packet analysis {"connection_id":189226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:41:16] local.INFO: Extracted packet for processing {"connection_id":189226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03: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-19 03:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03: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-19 03: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-19 03:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:41:16] 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-19 03:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":189226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:41:16] local.INFO: GPS data processed {"connection_id":189226,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:41:16] local.INFO: Acknowledgment sent {"connection_id":189226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:41:47] local.INFO: TCP Data received {"connection_id":189226,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:47] local.INFO: Processing buffer {"connection_id":189226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:41:47] local.INFO: Packet analysis {"connection_id":189226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:41:47] local.INFO: Extracted packet for processing {"connection_id":189226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:41: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-19 03:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03: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-19 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:41: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-19 03: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-19 03: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-19 03:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:41:47] 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-19 03:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":189226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:41:47] local.INFO: GPS data processed {"connection_id":189226,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:41:47] local.INFO: Acknowledgment sent {"connection_id":189226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:42:16] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:16] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:16] local.INFO: IMEI packet received {"connection_id":187881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":187881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:42:20] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:20] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:42:20] local.INFO: IMEI packet received {"connection_id":187881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":187881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:42:22] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:22] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:22] local.INFO: Packet analysis {"connection_id":187881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:42:22] local.INFO: Extracted packet for processing {"connection_id":187881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:42:22] 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-19 03:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:42:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":187881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:42:22] local.INFO: GPS data processed {"connection_id":187881,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:42:22] local.INFO: Acknowledgment sent {"connection_id":187881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:42:26] local.INFO: TCP Data received {"connection_id":187881,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:26] local.INFO: Processing buffer {"connection_id":187881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:42:26] local.INFO: Packet analysis {"connection_id":187881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:42:26] local.INFO: Extracted packet for processing {"connection_id":187881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03: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-19 03:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03: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-19 03: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-19 03:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:42:26] 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-19 03:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:42:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":187881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:42:26] local.INFO: GPS data processed {"connection_id":187881,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:42:26] local.INFO: Acknowledgment sent {"connection_id":187881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:43:10] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:10] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:10] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:43:15] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:15] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:43:15] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:43:17] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:17] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:17] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:43:17] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:43: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-19 03:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:43:17] 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-19 03:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:43:17] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:43:17] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:43:48] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:48] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6902880012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:43:48] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:43:48] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b690"} 
[2026-09-19 03:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180862720001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769296000,"timestamp_ms":1789769296000,"timestamp_seconds":1789769296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6902880"} 
[2026-09-19 03: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-19 03:43: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-19 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 03:43: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-19 03: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-19 03: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-19 03:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:43:48] 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-19 03:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180862720001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180862720001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180862720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:43:48] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:43:48] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:44:10] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:10] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:10] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:44:15] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:15] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:15] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:44:20] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:20] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:44:20] local.INFO: IMEI packet received {"connection_id":186485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":186485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:44:22] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:22] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:22] local.INFO: Packet analysis {"connection_id":186485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:44:22] local.INFO: Extracted packet for processing {"connection_id":186485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:44:22] 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-19 03:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":186485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:44:22] local.INFO: GPS data processed {"connection_id":186485,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:44:22] local.INFO: Acknowledgment sent {"connection_id":186485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:44:54] local.INFO: TCP Data received {"connection_id":186485,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:54] local.INFO: Processing buffer {"connection_id":186485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:44:54] local.INFO: Packet analysis {"connection_id":186485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:44:54] local.INFO: Extracted packet for processing {"connection_id":186485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:44:54] 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-19 03:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":186485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:44:54] local.INFO: GPS data processed {"connection_id":186485,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:44:54] local.INFO: Acknowledgment sent {"connection_id":186485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:45:15] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:15] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:15] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:45:20] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:20] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:45:20] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:45:21] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:21] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:21] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:45:21] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:45:21] 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-19 03:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:45:21] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:45:21] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:45:26] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:26] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:45:26] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:45:26] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:45:26] 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-19 03:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:45:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:45:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:45:26] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:45:26] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:46:10] local.INFO: TCP Data received {"connection_id":189227,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:10] local.INFO: Processing buffer {"connection_id":189227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:10] local.INFO: IMEI packet received {"connection_id":189227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":189227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:46:15] local.INFO: TCP Data received {"connection_id":189227,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:15] local.INFO: Processing buffer {"connection_id":189227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:46:15] local.INFO: IMEI packet received {"connection_id":189227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":189227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:46:17] local.INFO: TCP Data received {"connection_id":189227,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:17] local.INFO: Processing buffer {"connection_id":189227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:17] local.INFO: Packet analysis {"connection_id":189227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:46:17] local.INFO: Extracted packet for processing {"connection_id":189227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46: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-19 03:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03: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-19 03:46: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-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:46: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-19 03: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-19 03: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-19 03:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":189227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:46:17] local.INFO: GPS data processed {"connection_id":189227,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:46:17] local.INFO: Acknowledgment sent {"connection_id":189227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:46:48] local.INFO: TCP Data received {"connection_id":189227,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:48] local.INFO: Processing buffer {"connection_id":189227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:46:48] local.INFO: Packet analysis {"connection_id":189227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:46:48] local.INFO: Extracted packet for processing {"connection_id":189227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:46: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-19 03:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03: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-19 03:46: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-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:46: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-19 03: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-19 03: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-19 03:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":189227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:46:48] local.INFO: GPS data processed {"connection_id":189227,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:46:48] local.INFO: Acknowledgment sent {"connection_id":189227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:47:10] local.INFO: TCP Data received {"connection_id":187882,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:10] local.INFO: Processing buffer {"connection_id":187882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:10] local.INFO: IMEI packet received {"connection_id":187882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":187882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:47:15] local.INFO: TCP Data received {"connection_id":187882,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:15] local.INFO: Processing buffer {"connection_id":187882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:47:15] local.INFO: IMEI packet received {"connection_id":187882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:47:16] local.INFO: TCP Data received {"connection_id":187882,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:16] local.INFO: Processing buffer {"connection_id":187882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:16] local.INFO: Packet analysis {"connection_id":187882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:47:16] local.INFO: Extracted packet for processing {"connection_id":187882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:47: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-19 03:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:47:16] 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-19 03:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":187882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:47:16] local.INFO: GPS data processed {"connection_id":187882,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:47:16] local.INFO: Acknowledgment sent {"connection_id":187882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:47:48] local.INFO: TCP Data received {"connection_id":187882,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:48] local.INFO: Processing buffer {"connection_id":187882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:47:48] local.INFO: Packet analysis {"connection_id":187882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:47:48] local.INFO: Extracted packet for processing {"connection_id":187882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":187882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:47:48] local.INFO: GPS data processed {"connection_id":187882,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:47:48] local.INFO: Acknowledgment sent {"connection_id":187882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:48:10] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:10] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:10] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:48:15] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:15] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:48:15] local.INFO: IMEI packet received {"connection_id":186486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:48:16] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:16] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:16] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:48:16] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:48: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-19 03:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03: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-19 03:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:48:16] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:48:16] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:48:48] local.INFO: TCP Data received {"connection_id":186486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:48] local.INFO: Processing buffer {"connection_id":186486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b694c048012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:48:48] local.INFO: Packet analysis {"connection_id":186486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:48:48] local.INFO: Extracted packet for processing {"connection_id":186486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b694"} 
[2026-09-19 03:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458180939776001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769597000,"timestamp_ms":1789769597000,"timestamp_seconds":1789769597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b694c048"} 
[2026-09-19 03: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-19 03: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:48: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-19 03: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-19 03: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-19 03:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458180939776001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458180939776001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458180939776001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":186486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:48:48] local.INFO: GPS data processed {"connection_id":186486,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:48:48] local.INFO: Acknowledgment sent {"connection_id":186486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:49:10] local.INFO: TCP Data received {"connection_id":189228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:10] local.INFO: Processing buffer {"connection_id":189228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:10] local.INFO: IMEI packet received {"connection_id":189228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":189228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:49:15] local.INFO: TCP Data received {"connection_id":189228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:15] local.INFO: Processing buffer {"connection_id":189228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:49:15] local.INFO: IMEI packet received {"connection_id":189228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":189228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:49:16] local.INFO: TCP Data received {"connection_id":189228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:16] local.INFO: Processing buffer {"connection_id":189228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:16] local.INFO: Packet analysis {"connection_id":189228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:49:16] local.INFO: Extracted packet for processing {"connection_id":189228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:49: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-19 03:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":189228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:49:16] local.INFO: GPS data processed {"connection_id":189228,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:49:16] local.INFO: Acknowledgment sent {"connection_id":189228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:49:47] local.INFO: TCP Data received {"connection_id":189228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:47] local.INFO: Processing buffer {"connection_id":189228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:49:47] local.INFO: Packet analysis {"connection_id":189228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:49:47] local.INFO: Extracted packet for processing {"connection_id":189228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:49:47] local.INFO: GPS data processed {"connection_id":189228,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:49:47] local.INFO: Acknowledgment sent {"connection_id":189228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:50:10] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:10] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:10] local.INFO: IMEI packet received {"connection_id":186487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:50:15] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:15] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:50:15] local.INFO: IMEI packet received {"connection_id":186487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":186487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:50:16] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:16] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:16] local.INFO: Packet analysis {"connection_id":186487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:50:16] local.INFO: Extracted packet for processing {"connection_id":186487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50: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-19 03:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":186487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:50:16] local.INFO: GPS data processed {"connection_id":186487,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:50:16] local.INFO: Acknowledgment sent {"connection_id":186487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:50:49] local.INFO: TCP Data received {"connection_id":186487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:49] local.INFO: Processing buffer {"connection_id":186487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:50:49] local.INFO: Packet analysis {"connection_id":186487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:50:49] local.INFO: Extracted packet for processing {"connection_id":186487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:50: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-19 03:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:50: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-19 03:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:50:49] 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-19 03:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":186487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:50:49] local.INFO: GPS data processed {"connection_id":186487,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:50:49] local.INFO: Acknowledgment sent {"connection_id":186487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:51:15] local.INFO: TCP Data received {"connection_id":189229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:15] local.INFO: Processing buffer {"connection_id":189229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:15] local.INFO: IMEI packet received {"connection_id":189229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":189229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:51:20] local.INFO: TCP Data received {"connection_id":189229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:20] local.INFO: Processing buffer {"connection_id":189229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:51:20] local.INFO: IMEI packet received {"connection_id":189229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":189229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:51:21] local.INFO: TCP Data received {"connection_id":189229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:21] local.INFO: Processing buffer {"connection_id":189229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:21] local.INFO: Packet analysis {"connection_id":189229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:51:21] local.INFO: Extracted packet for processing {"connection_id":189229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":189229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:51:21] local.INFO: GPS data processed {"connection_id":189229,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:51:21] local.INFO: Acknowledgment sent {"connection_id":189229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:51:26] local.INFO: TCP Data received {"connection_id":189229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:26] local.INFO: Processing buffer {"connection_id":189229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:51:26] local.INFO: Packet analysis {"connection_id":189229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:51:26] local.INFO: Extracted packet for processing {"connection_id":189229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 03:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":189229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:51:26] local.INFO: GPS data processed {"connection_id":189229,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:51:26] local.INFO: Acknowledgment sent {"connection_id":189229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:52:11] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:11] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:11] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:52:15] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:15] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:52:15] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:52:16] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:16] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:16] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:52:16] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:52: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-19 03:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:52:16] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:52:16] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:52:48] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:48] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:52:48] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:52:48] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03: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-19 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:52: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-19 03: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-19 03: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-19 03:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:52:48] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:52:48] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:53:10] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:10] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:10] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:53:15] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:15] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:53:15] local.INFO: IMEI packet received {"connection_id":186488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:53:16] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:16] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:16] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:53:16] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53: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-19 03:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03: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-19 03:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:53:16] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:53:16] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:53:48] local.INFO: TCP Data received {"connection_id":186488,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:48] local.INFO: Processing buffer {"connection_id":186488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6995810012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:53:48] local.INFO: Packet analysis {"connection_id":186488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:53:48] local.INFO: Extracted packet for processing {"connection_id":186488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b699"} 
[2026-09-19 03:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181016832001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:53: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-19 03:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789769898000,"timestamp_ms":1789769898000,"timestamp_seconds":1789769898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6995810"} 
[2026-09-19 03:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:53: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-19 03:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:53: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-19 03:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:53:48] 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-19 03:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181016832001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 03:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181016832001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181016832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":186488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:53:48] local.INFO: GPS data processed {"connection_id":186488,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:53:48] local.INFO: Acknowledgment sent {"connection_id":186488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:54:10] local.INFO: TCP Data received {"connection_id":186489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:10] local.INFO: Processing buffer {"connection_id":186489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:10] local.INFO: IMEI packet received {"connection_id":186489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":186489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:54:15] local.INFO: TCP Data received {"connection_id":186489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:15] local.INFO: Processing buffer {"connection_id":186489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:54:15] local.INFO: IMEI packet received {"connection_id":186489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":186489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:54:16] local.INFO: TCP Data received {"connection_id":186489,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:16] local.INFO: Processing buffer {"connection_id":186489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:16] local.INFO: Packet analysis {"connection_id":186489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:54:16] local.INFO: Extracted packet for processing {"connection_id":186489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:54: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-19 03:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":186489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:54:16] local.INFO: GPS data processed {"connection_id":186489,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:54:16] local.INFO: Acknowledgment sent {"connection_id":186489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:54:48] local.INFO: TCP Data received {"connection_id":186489,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:48] local.INFO: Processing buffer {"connection_id":186489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:54:48] local.INFO: Packet analysis {"connection_id":186489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:54:48] local.INFO: Extracted packet for processing {"connection_id":186489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 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-19 03:54: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:54: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-19 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-19 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-19 03:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:54:48] local.INFO: GPS data processed {"connection_id":186489,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:54:48] local.INFO: Acknowledgment sent {"connection_id":186489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:55:10] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:10] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:10] local.INFO: IMEI packet received {"connection_id":187883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":187883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:55:15] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:15] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:55:15] local.INFO: IMEI packet received {"connection_id":187883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":187883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:55:17] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:17] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:17] local.INFO: Packet analysis {"connection_id":187883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:55:17] local.INFO: Extracted packet for processing {"connection_id":187883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:55: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-19 03:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:55: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-19 03:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:55: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-19 03:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:55:17] 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-19 03:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":187883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:55:17] local.INFO: GPS data processed {"connection_id":187883,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:55:17] local.INFO: Acknowledgment sent {"connection_id":187883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:55:48] local.INFO: TCP Data received {"connection_id":187883,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:48] local.INFO: Processing buffer {"connection_id":187883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:55:48] local.INFO: Packet analysis {"connection_id":187883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:55:48] local.INFO: Extracted packet for processing {"connection_id":187883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03: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-19 03:55: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-19 03:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":187883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:55:48] local.INFO: GPS data processed {"connection_id":187883,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:55:48] local.INFO: Acknowledgment sent {"connection_id":187883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:56:11] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:11] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:11] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:56:15] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:15] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:56:15] local.INFO: IMEI packet received {"connection_id":186490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:56:16] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:16] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:16] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:56:16] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56: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-19 03:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03: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-19 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03: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-19 03: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-19 03:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:56:16] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:56:16] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:56:48] local.INFO: TCP Data received {"connection_id":186490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:48] local.INFO: Processing buffer {"connection_id":186490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:56:48] local.INFO: Packet analysis {"connection_id":186490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:56:48] local.INFO: Extracted packet for processing {"connection_id":186490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:56: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-19 03:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:56: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-19 03:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:56: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-19 03:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:56:48] 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-19 03:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:56:48] local.INFO: GPS data processed {"connection_id":186490,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:56:48] local.INFO: Acknowledgment sent {"connection_id":186490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:57:10] local.INFO: TCP Data received {"connection_id":189230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:10] local.INFO: Processing buffer {"connection_id":189230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:10] local.INFO: IMEI packet received {"connection_id":189230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":189230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:57:15] local.INFO: TCP Data received {"connection_id":189230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:15] local.INFO: Processing buffer {"connection_id":189230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:57:15] local.INFO: IMEI packet received {"connection_id":189230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":189230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:57:16] local.INFO: TCP Data received {"connection_id":189230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:16] local.INFO: Processing buffer {"connection_id":189230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:16] local.INFO: Packet analysis {"connection_id":189230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:57:16] local.INFO: Extracted packet for processing {"connection_id":189230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:57: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-19 03:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":189230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:57:16] local.INFO: GPS data processed {"connection_id":189230,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:57:16] local.INFO: Acknowledgment sent {"connection_id":189230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:57:48] local.INFO: TCP Data received {"connection_id":189230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:48] local.INFO: Processing buffer {"connection_id":189230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:57:48] local.INFO: Packet analysis {"connection_id":189230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:57:48] local.INFO: Extracted packet for processing {"connection_id":189230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03: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-19 03:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03: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-19 03:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03: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-19 03:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":189230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:57:48] local.INFO: GPS data processed {"connection_id":189230,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:57:48] local.INFO: Acknowledgment sent {"connection_id":189230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:58:10] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:10] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:10] local.INFO: IMEI packet received {"connection_id":186491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":186491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:58:15] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:15] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:58:15] local.INFO: IMEI packet received {"connection_id":186491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:58:16] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:16] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:16] local.INFO: Packet analysis {"connection_id":186491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:58:16] local.INFO: Extracted packet for processing {"connection_id":186491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58: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-19 03:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 03:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:58:16] local.INFO: GPS data processed {"connection_id":186491,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:58:16] local.INFO: Acknowledgment sent {"connection_id":186491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:58:48] local.INFO: TCP Data received {"connection_id":186491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:48] local.INFO: Processing buffer {"connection_id":186491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b69defd8012d34c14006aa41400008010e2c..."} 
[2026-09-19 03:58:48] local.INFO: Packet analysis {"connection_id":186491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:58:48] local.INFO: Extracted packet for processing {"connection_id":186491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b69d"} 
[2026-09-19 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181093888001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:58: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-19 03:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770199000,"timestamp_ms":1789770199000,"timestamp_seconds":1789770199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b69defd8"} 
[2026-09-19 03:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:58: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-19 03:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 03:58: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-19 03:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181093888001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181093888001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181093888001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:58:48] local.INFO: GPS data processed {"connection_id":186491,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:58:48] local.INFO: Acknowledgment sent {"connection_id":186491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:59:10] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:10] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:10] local.INFO: IMEI packet received {"connection_id":187884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 03:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":187884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 03:59:15] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:15] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 03:59:15] local.INFO: IMEI packet received {"connection_id":187884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 03:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":187884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 03:59:17] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:17] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:17] local.INFO: Packet analysis {"connection_id":187884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 03:59:17] local.INFO: Extracted packet for processing {"connection_id":187884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 03:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 03:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 03:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 03:59: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-19 03:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 03:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 03:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 03:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 03:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 03:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 03:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:59:17] 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-19 03:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":187884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:59:17] local.INFO: GPS data processed {"connection_id":187884,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:59:17] local.INFO: Acknowledgment sent {"connection_id":187884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 03:59:48] local.INFO: TCP Data received {"connection_id":187884,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:48] local.INFO: Processing buffer {"connection_id":187884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 03:59:48] local.INFO: Packet analysis {"connection_id":187884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 03:59:48] local.INFO: Extracted packet for processing {"connection_id":187884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 03:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 03:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 03:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 03:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 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-19 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-19 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":47,"data_length":795,"current_offset":136} 
[2026-09-19 03:59: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-19 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-19 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-19 03:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 03:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 03:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 03:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 03:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 03:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 03:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 03:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 03:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 03:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 03:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 03:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 03:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 03:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 03:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 03:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":187884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 03:59:48] local.INFO: GPS data processed {"connection_id":187884,"processed":1,"errors":0,"total":1} 
[2026-09-19 03:59:48] local.INFO: Acknowledgment sent {"connection_id":187884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:00:10] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:10] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:10] local.INFO: IMEI packet received {"connection_id":187885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":187885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:00:15] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:15] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:00:15] local.INFO: IMEI packet received {"connection_id":187885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":187885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:00:17] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:17] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:17] local.INFO: Packet analysis {"connection_id":187885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:00:17] local.INFO: Extracted packet for processing {"connection_id":187885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00: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-19 04:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 04:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":187885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:00:17] local.INFO: GPS data processed {"connection_id":187885,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:00:17] local.INFO: Acknowledgment sent {"connection_id":187885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:00:49] local.INFO: TCP Data received {"connection_id":187885,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:49] local.INFO: Processing buffer {"connection_id":187885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:00:49] local.INFO: Packet analysis {"connection_id":187885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:00:49] local.INFO: Extracted packet for processing {"connection_id":187885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:00: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-19 04:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 04:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:00:49] local.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-19 04:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":187885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:00:49] local.INFO: GPS data processed {"connection_id":187885,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:00:49] local.INFO: Acknowledgment sent {"connection_id":187885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:01:10] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:10] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:10] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:01:15] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:15] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:01:15] local.INFO: IMEI packet received {"connection_id":186492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:01:16] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:16] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:16] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:01:16] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:01: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-19 04:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:01:16] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:01:16] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:01:48] local.INFO: TCP Data received {"connection_id":186492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:48] local.INFO: Processing buffer {"connection_id":186492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:01:48] local.INFO: Packet analysis {"connection_id":186492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:01:48] local.INFO: Extracted packet for processing {"connection_id":186492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04: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-19 04:01: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":186492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:01:48] local.INFO: GPS data processed {"connection_id":186492,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:01:48] local.INFO: Acknowledgment sent {"connection_id":186492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:02:10] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:10] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:10] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:02:15] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:15] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:02:15] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:02:16] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:16] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:16] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:02:16] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02: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-19 04:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04: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-19 04:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:02: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-19 04:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:02:16] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:02:16] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:02:48] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:48] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:02:48] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:02:48] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:02: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-19 04:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:02: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-19 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:02: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-19 04:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:02: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-19 04:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:02:48] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:02:48] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:03:10] local.INFO: TCP Data received {"connection_id":189231,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:10] local.INFO: Processing buffer {"connection_id":189231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:10] local.INFO: IMEI packet received {"connection_id":189231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:03:15] local.INFO: TCP Data received {"connection_id":189231,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:15] local.INFO: Processing buffer {"connection_id":189231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:03:15] local.INFO: IMEI packet received {"connection_id":189231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:03:16] local.INFO: TCP Data received {"connection_id":189231,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:16] local.INFO: Processing buffer {"connection_id":189231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:16] local.INFO: Packet analysis {"connection_id":189231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:03:16] local.INFO: Extracted packet for processing {"connection_id":189231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:03: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-19 04:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:03:16] local.INFO: GPS data processed {"connection_id":189231,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:03:16] local.INFO: Acknowledgment sent {"connection_id":189231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:03:48] local.INFO: TCP Data received {"connection_id":189231,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:48] local.INFO: Processing buffer {"connection_id":189231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a287a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:03:48] local.INFO: Packet analysis {"connection_id":189231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:03:48] local.INFO: Extracted packet for processing {"connection_id":189231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a2"} 
[2026-09-19 04:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181170944001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770500000,"timestamp_ms":1789770500000,"timestamp_seconds":1789770500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a287a0"} 
[2026-09-19 04:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:03: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-19 04:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 04:03: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-19 04:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181170944001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181170944001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181170944001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":189231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:03:48] local.INFO: GPS data processed {"connection_id":189231,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:03:48] local.INFO: Acknowledgment sent {"connection_id":189231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:04:10] local.INFO: TCP Data received {"connection_id":189232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:10] local.INFO: Processing buffer {"connection_id":189232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:10] local.INFO: IMEI packet received {"connection_id":189232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":189232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:04:15] local.INFO: TCP Data received {"connection_id":189232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:15] local.INFO: Processing buffer {"connection_id":189232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:04:15] local.INFO: IMEI packet received {"connection_id":189232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":189232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:04:16] local.INFO: TCP Data received {"connection_id":189232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:16] local.INFO: Processing buffer {"connection_id":189232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:16] local.INFO: Packet analysis {"connection_id":189232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:04:16] local.INFO: Extracted packet for processing {"connection_id":189232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04: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-19 04:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:04:16] 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-19 04:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":189232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:04:16] local.INFO: GPS data processed {"connection_id":189232,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:04:16] local.INFO: Acknowledgment sent {"connection_id":189232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:04:47] local.INFO: TCP Data received {"connection_id":189232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:47] local.INFO: Processing buffer {"connection_id":189232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:04:47] local.INFO: Packet analysis {"connection_id":189232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:04:47] local.INFO: Extracted packet for processing {"connection_id":189232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:04: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-19 04:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:04: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-19 04:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:04:47] 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-19 04:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":189232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:04:47] local.INFO: GPS data processed {"connection_id":189232,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:04:47] local.INFO: Acknowledgment sent {"connection_id":189232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:05:10] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:10] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:10] local.INFO: IMEI packet received {"connection_id":186623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:05:15] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:15] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:05:15] local.INFO: IMEI packet received {"connection_id":186623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:05:17] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:17] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:17] local.INFO: Packet analysis {"connection_id":186623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:05:17] local.INFO: Extracted packet for processing {"connection_id":186623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05: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-19 04:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:05: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-19 04:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:05:17] 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-19 04:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:05:17] 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-19 04:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":186623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:05:17] local.INFO: GPS data processed {"connection_id":186623,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:05:17] local.INFO: Acknowledgment sent {"connection_id":186623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:05:48] local.INFO: TCP Data received {"connection_id":186623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:48] local.INFO: Processing buffer {"connection_id":186623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:05:48] local.INFO: Packet analysis {"connection_id":186623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:05:48] local.INFO: Extracted packet for processing {"connection_id":186623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:05: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-19 04:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:05: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-19 04:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:05: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-19 04:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:05:48] 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-19 04:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":186623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:05:48] local.INFO: GPS data processed {"connection_id":186623,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:05:48] local.INFO: Acknowledgment sent {"connection_id":186623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:06:10] local.INFO: TCP Data received {"connection_id":187886,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:10] local.INFO: Processing buffer {"connection_id":187886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:10] local.INFO: IMEI packet received {"connection_id":187886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":187886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:06:15] local.INFO: TCP Data received {"connection_id":187886,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:15] local.INFO: Processing buffer {"connection_id":187886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:06:15] local.INFO: IMEI packet received {"connection_id":187886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":187886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:06:16] local.INFO: TCP Data received {"connection_id":187886,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:16] local.INFO: Processing buffer {"connection_id":187886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:16] local.INFO: Packet analysis {"connection_id":187886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:06:16] local.INFO: Extracted packet for processing {"connection_id":187886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:06: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-19 04:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04: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-19 04:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:06:16] 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-19 04: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-19 04: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-19 04:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:06:16] 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-19 04:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":187886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:06:16] local.INFO: GPS data processed {"connection_id":187886,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:06:16] local.INFO: Acknowledgment sent {"connection_id":187886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:06:48] local.INFO: TCP Data received {"connection_id":187886,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:48] local.INFO: Processing buffer {"connection_id":187886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:06:48] local.INFO: Packet analysis {"connection_id":187886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:06:48] local.INFO: Extracted packet for processing {"connection_id":187886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04: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-19 04:06: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-19 04: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:06: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-19 04: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-19 04: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-19 04:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:06:48] 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-19 04:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":187886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:06:48] local.INFO: GPS data processed {"connection_id":187886,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:06:48] local.INFO: Acknowledgment sent {"connection_id":187886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:07:10] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:10] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:10] local.INFO: IMEI packet received {"connection_id":187887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":187887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:07:15] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:15] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:07:15] local.INFO: IMEI packet received {"connection_id":187887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":187887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:07:16] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:16] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:16] local.INFO: Packet analysis {"connection_id":187887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:07:16] local.INFO: Extracted packet for processing {"connection_id":187887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:07: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-19 04:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:07:16] 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-19 04:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:07: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-19 04:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":187887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:07:16] local.INFO: GPS data processed {"connection_id":187887,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:07:16] local.INFO: Acknowledgment sent {"connection_id":187887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:07:48] local.INFO: TCP Data received {"connection_id":187887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:48] local.INFO: Processing buffer {"connection_id":187887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:07:48] local.INFO: Packet analysis {"connection_id":187887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:07:48] local.INFO: Extracted packet for processing {"connection_id":187887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04: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-19 04:07: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-19 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:07: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-19 04: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-19 04: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-19 04:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:07: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-19 04:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":187887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:07:48] local.INFO: GPS data processed {"connection_id":187887,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:07:48] local.INFO: Acknowledgment sent {"connection_id":187887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:08:10] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:10] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:10] local.INFO: IMEI packet received {"connection_id":187888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":187888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:08:15] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:15] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:08:15] local.INFO: IMEI packet received {"connection_id":187888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":187888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:08:17] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:17] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:17] local.INFO: Packet analysis {"connection_id":187888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:08:17] local.INFO: Extracted packet for processing {"connection_id":187888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:08: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-19 04:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:08: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-19 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:08:17] 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-19 04:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":187888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:08:17] local.INFO: GPS data processed {"connection_id":187888,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:08:17] local.INFO: Acknowledgment sent {"connection_id":187888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:08:48] local.INFO: TCP Data received {"connection_id":187888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:48] local.INFO: Processing buffer {"connection_id":187888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6a71f68012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:08:48] local.INFO: Packet analysis {"connection_id":187888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:08:48] local.INFO: Extracted packet for processing {"connection_id":187888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6a7"} 
[2026-09-19 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181248000001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789770801000,"timestamp_ms":1789770801000,"timestamp_seconds":1789770801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6a71f68"} 
[2026-09-19 04:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:08: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-19 04:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 04:08: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-19 04:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:08: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-19 04:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181248000001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181248000001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181248000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":187888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:08:48] local.INFO: GPS data processed {"connection_id":187888,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:08:48] local.INFO: Acknowledgment sent {"connection_id":187888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:09:15] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:15] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:15] local.INFO: IMEI packet received {"connection_id":186493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:09:20] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:20] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:09:20] local.INFO: IMEI packet received {"connection_id":186493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":186493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:09:22] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:22] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:22] local.INFO: Packet analysis {"connection_id":186493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:09:22] local.INFO: Extracted packet for processing {"connection_id":186493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:09:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:09:22] local.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-19 04:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:09:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":186493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:09:22] local.INFO: GPS data processed {"connection_id":186493,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:09:22] local.INFO: Acknowledgment sent {"connection_id":186493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:09:26] local.INFO: TCP Data received {"connection_id":186493,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:26] local.INFO: Processing buffer {"connection_id":186493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:09:26] local.INFO: Packet analysis {"connection_id":186493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:09:26] local.INFO: Extracted packet for processing {"connection_id":186493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:09: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-19 04:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:09: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-19 04:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:09:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":186493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:09:26] local.INFO: GPS data processed {"connection_id":186493,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:09:26] local.INFO: Acknowledgment sent {"connection_id":186493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:10:10] local.INFO: TCP Data received {"connection_id":189233,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:10] local.INFO: Processing buffer {"connection_id":189233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:10] local.INFO: IMEI packet received {"connection_id":189233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":189233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:10:15] local.INFO: TCP Data received {"connection_id":189233,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:15] local.INFO: Processing buffer {"connection_id":189233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:10:15] local.INFO: IMEI packet received {"connection_id":189233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":189233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:10:16] local.INFO: TCP Data received {"connection_id":189233,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:16] local.INFO: Processing buffer {"connection_id":189233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:16] local.INFO: Packet analysis {"connection_id":189233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:10:16] local.INFO: Extracted packet for processing {"connection_id":189233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10: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-19 04:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:10:16] 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-19 04:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":189233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:10:16] local.INFO: GPS data processed {"connection_id":189233,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:10:16] local.INFO: Acknowledgment sent {"connection_id":189233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:10:47] local.INFO: TCP Data received {"connection_id":189233,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:47] local.INFO: Processing buffer {"connection_id":189233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:10:47] local.INFO: Packet analysis {"connection_id":189233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:10:47] local.INFO: Extracted packet for processing {"connection_id":189233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:10: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-19 04:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04: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-19 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:10: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-19 04:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":189233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:10:47] local.INFO: GPS data processed {"connection_id":189233,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:10:47] local.INFO: Acknowledgment sent {"connection_id":189233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:11:10] local.INFO: TCP Data received {"connection_id":189234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:10] local.INFO: Processing buffer {"connection_id":189234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:10] local.INFO: IMEI packet received {"connection_id":189234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":189234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:11:15] local.INFO: TCP Data received {"connection_id":189234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:15] local.INFO: Processing buffer {"connection_id":189234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:11:15] local.INFO: IMEI packet received {"connection_id":189234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":189234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:11:16] local.INFO: TCP Data received {"connection_id":189234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:16] local.INFO: Processing buffer {"connection_id":189234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:16] local.INFO: Packet analysis {"connection_id":189234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:11:16] local.INFO: Extracted packet for processing {"connection_id":189234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11: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-19 04:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":189234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:11:16] local.INFO: GPS data processed {"connection_id":189234,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:11:16] local.INFO: Acknowledgment sent {"connection_id":189234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:11:48] local.INFO: TCP Data received {"connection_id":189234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:48] local.INFO: Processing buffer {"connection_id":189234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:11:48] local.INFO: Packet analysis {"connection_id":189234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:11:48] local.INFO: Extracted packet for processing {"connection_id":189234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:11: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-19 04:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:11: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-19 04:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:11: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-19 04:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":189234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:11:48] local.INFO: GPS data processed {"connection_id":189234,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:11:48] local.INFO: Acknowledgment sent {"connection_id":189234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:12:10] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:10] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:10] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:12:15] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:15] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:12:15] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:12:16] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:16] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:16] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:12:16] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12: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-19 04:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04: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-19 04:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:12:16] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:12:16] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:12:47] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:47] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:12:47] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:12:47] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:12: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-19 04:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04: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-19 04:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:12: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-19 04: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-19 04: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-19 04:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:12: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-19 04:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:12:47] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:12:47] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:13:15] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:15] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:15] local.INFO: IMEI packet received {"connection_id":186494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":186494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:13:20] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:20] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:13:20] local.INFO: IMEI packet received {"connection_id":186494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":186494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:13:21] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:21] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:21] local.INFO: Packet analysis {"connection_id":186494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:13:21] local.INFO: Extracted packet for processing {"connection_id":186494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:13:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":186494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:13:21] local.INFO: GPS data processed {"connection_id":186494,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:13:21] local.INFO: Acknowledgment sent {"connection_id":186494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:13:26] local.INFO: TCP Data received {"connection_id":186494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:26] local.INFO: Processing buffer {"connection_id":186494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6abb730012d34c14006aa41400008010e29..."} 
[2026-09-19 04:13:26] local.INFO: Packet analysis {"connection_id":186494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:13:26] local.INFO: Extracted packet for processing {"connection_id":186494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ab"} 
[2026-09-19 04:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181325056001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789771102000,"timestamp_ms":1789771102000,"timestamp_seconds":1789771102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6abb730"} 
[2026-09-19 04:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181325056001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181325056001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:13:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181325056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":186494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:13:26] local.INFO: GPS data processed {"connection_id":186494,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:13:26] local.INFO: Acknowledgment sent {"connection_id":186494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:14:10] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:10] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:10] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:14:15] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:15] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:14:15] local.INFO: IMEI packet received {"connection_id":186495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:14:17] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:17] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:17] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:14:17] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:14: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-19 04:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:14: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-19 04:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:14: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-19 04:14: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-19 04:14: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-19 04:14: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-19 04:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:14:17] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:14:17] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:14:48] local.INFO: TCP Data received {"connection_id":186495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:48] local.INFO: Processing buffer {"connection_id":186495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:14:48] local.INFO: Packet analysis {"connection_id":186495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:14:48] local.INFO: Extracted packet for processing {"connection_id":186495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 04:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 04:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 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-19 04: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-19 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-19 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-19 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-19 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-19 04:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":186495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:14:48] local.INFO: GPS data processed {"connection_id":186495,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:14:48] local.INFO: Acknowledgment sent {"connection_id":186495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:15:10] local.INFO: TCP Data received {"connection_id":189235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:10] local.INFO: Processing buffer {"connection_id":189235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:10] local.INFO: IMEI packet received {"connection_id":189235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":189235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:15:15] local.INFO: TCP Data received {"connection_id":189235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:15] local.INFO: Processing buffer {"connection_id":189235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:15:15] local.INFO: IMEI packet received {"connection_id":189235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":189235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:15:16] local.INFO: TCP Data received {"connection_id":189235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:16] local.INFO: Processing buffer {"connection_id":189235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:16] local.INFO: Packet analysis {"connection_id":189235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:15:16] local.INFO: Extracted packet for processing {"connection_id":189235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15: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-19 04:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":189235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:15:16] local.INFO: GPS data processed {"connection_id":189235,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:15:16] local.INFO: Acknowledgment sent {"connection_id":189235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:15:47] local.INFO: TCP Data received {"connection_id":189235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:47] local.INFO: Processing buffer {"connection_id":189235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:15:47] local.INFO: Packet analysis {"connection_id":189235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:15:47] local.INFO: Extracted packet for processing {"connection_id":189235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:15: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-19 04:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:15: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-19 04:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:15: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-19 04:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:15: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-19 04:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":189235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:15:47] local.INFO: GPS data processed {"connection_id":189235,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:15:47] local.INFO: Acknowledgment sent {"connection_id":189235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:16:10] local.INFO: TCP Data received {"connection_id":187889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:10] local.INFO: Processing buffer {"connection_id":187889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:10] local.INFO: IMEI packet received {"connection_id":187889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":187889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:16:15] local.INFO: TCP Data received {"connection_id":187889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:15] local.INFO: Processing buffer {"connection_id":187889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:16:15] local.INFO: IMEI packet received {"connection_id":187889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":187889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:16:16] local.INFO: TCP Data received {"connection_id":187889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:16] local.INFO: Processing buffer {"connection_id":187889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:16] local.INFO: Packet analysis {"connection_id":187889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:16:16] local.INFO: Extracted packet for processing {"connection_id":187889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:16: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-19 04:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":187889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:16:16] local.INFO: GPS data processed {"connection_id":187889,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:16:16] local.INFO: Acknowledgment sent {"connection_id":187889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:16:48] local.INFO: TCP Data received {"connection_id":187889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:48] local.INFO: Processing buffer {"connection_id":187889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:16:48] local.INFO: Packet analysis {"connection_id":187889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:16:48] local.INFO: Extracted packet for processing {"connection_id":187889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04: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-19 04:16: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:16: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-19 04: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-19 04: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-19 04:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":187889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:16:48] local.INFO: GPS data processed {"connection_id":187889,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:16:48] local.INFO: Acknowledgment sent {"connection_id":187889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:17:10] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:10] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:10] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:17:15] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:15] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:17:15] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:17:16] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:16] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:16] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:17:16] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17: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-19 04:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:17:16] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:17:16] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:17:47] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:47] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:17:47] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:17:47] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:17: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-19 04:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:17: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-19 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:17: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-19 04:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:17: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-19 04:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:17:47] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:17:47] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:18:10] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:10] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:10] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:18:15] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:15] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:18:15] local.INFO: IMEI packet received {"connection_id":186496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:18:16] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:16] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:16] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:18:16] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:18: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-19 04:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04: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-19 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:18:16] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:18:16] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:18:48] local.INFO: TCP Data received {"connection_id":186496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:48] local.INFO: Processing buffer {"connection_id":186496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b04ef8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:18:48] local.INFO: Packet analysis {"connection_id":186496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:18:48] local.INFO: Extracted packet for processing {"connection_id":186496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b0"} 
[2026-09-19 04:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181402112001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771403000,"timestamp_ms":1789771403000,"timestamp_seconds":1789771403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b04ef8"} 
[2026-09-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181402112001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181402112001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181402112001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":186496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:18:48] local.INFO: GPS data processed {"connection_id":186496,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:18:48] local.INFO: Acknowledgment sent {"connection_id":186496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:19:10] local.INFO: TCP Data received {"connection_id":189236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:10] local.INFO: Processing buffer {"connection_id":189236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:10] local.INFO: IMEI packet received {"connection_id":189236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":189236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:19:15] local.INFO: TCP Data received {"connection_id":189236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:15] local.INFO: Processing buffer {"connection_id":189236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:19:15] local.INFO: IMEI packet received {"connection_id":189236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":189236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:19:17] local.INFO: TCP Data received {"connection_id":189236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:17] local.INFO: Processing buffer {"connection_id":189236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:17] local.INFO: Packet analysis {"connection_id":189236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:19:17] local.INFO: Extracted packet for processing {"connection_id":189236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19: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-19 04:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04: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-19 04:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:19: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-19 04: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-19 04: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-19 04:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":189236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:19:17] local.INFO: GPS data processed {"connection_id":189236,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:19:17] local.INFO: Acknowledgment sent {"connection_id":189236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:19:48] local.INFO: TCP Data received {"connection_id":189236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:48] local.INFO: Processing buffer {"connection_id":189236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:19:48] local.INFO: Packet analysis {"connection_id":189236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:19:48] local.INFO: Extracted packet for processing {"connection_id":189236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:19: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-19 04:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:19: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-19 04:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:19: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-19 04:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":189236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:19:48] local.INFO: GPS data processed {"connection_id":189236,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:19:48] local.INFO: Acknowledgment sent {"connection_id":189236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:20:10] local.INFO: TCP Data received {"connection_id":189237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:10] local.INFO: Processing buffer {"connection_id":189237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:10] local.INFO: IMEI packet received {"connection_id":189237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":189237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:20:15] local.INFO: TCP Data received {"connection_id":189237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:15] local.INFO: Processing buffer {"connection_id":189237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:20:15] local.INFO: IMEI packet received {"connection_id":189237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":189237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:20:16] local.INFO: TCP Data received {"connection_id":189237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:16] local.INFO: Processing buffer {"connection_id":189237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:16] local.INFO: Packet analysis {"connection_id":189237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:20:16] local.INFO: Extracted packet for processing {"connection_id":189237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04: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-19 04:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":189237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:20:16] local.INFO: GPS data processed {"connection_id":189237,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:20:16] local.INFO: Acknowledgment sent {"connection_id":189237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:20:47] local.INFO: TCP Data received {"connection_id":189237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:47] local.INFO: Processing buffer {"connection_id":189237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:20:47] local.INFO: Packet analysis {"connection_id":189237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:20:47] local.INFO: Extracted packet for processing {"connection_id":189237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:20: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-19 04:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:20: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-19 04:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:20: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-19 04:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":189237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:20:47] local.INFO: GPS data processed {"connection_id":189237,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:20:47] local.INFO: Acknowledgment sent {"connection_id":189237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:21:10] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:10] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:10] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:21:15] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:15] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:21:15] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:21:16] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:16] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:16] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:21:16] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:21:16] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:21:16] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:21:47] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:47] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:21:47] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:21:47] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04: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-19 04: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:21: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-19 04: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-19 04: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-19 04:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:21: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-19 04:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:21:47] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:21:47] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:22:10] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:10] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:10] local.INFO: IMEI packet received {"connection_id":187890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":187890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:22:15] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:15] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:22:15] local.INFO: IMEI packet received {"connection_id":187890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":187890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:22:16] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:16] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:16] local.INFO: Packet analysis {"connection_id":187890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:22:16] local.INFO: Extracted packet for processing {"connection_id":187890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:22: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-19 04:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":187890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:22:16] local.INFO: GPS data processed {"connection_id":187890,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:22:16] local.INFO: Acknowledgment sent {"connection_id":187890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:22:48] local.INFO: TCP Data received {"connection_id":187890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:48] local.INFO: Processing buffer {"connection_id":187890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:22:48] local.INFO: Packet analysis {"connection_id":187890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:22:48] local.INFO: Extracted packet for processing {"connection_id":187890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04: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-19 04:22: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:22: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-19 04: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-19 04: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-19 04:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":187890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:22:48] local.INFO: GPS data processed {"connection_id":187890,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:22:48] local.INFO: Acknowledgment sent {"connection_id":187890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:23:11] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:11] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:11] local.INFO: IMEI packet received {"connection_id":186497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":186497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:23:15] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:15] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:23:15] local.INFO: IMEI packet received {"connection_id":186497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:23:16] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:16] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:16] local.INFO: Packet analysis {"connection_id":186497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:23:16] local.INFO: Extracted packet for processing {"connection_id":186497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23: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-19 04:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:23:16] local.INFO: GPS data processed {"connection_id":186497,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:23:16] local.INFO: Acknowledgment sent {"connection_id":186497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:23:48] local.INFO: TCP Data received {"connection_id":186497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:48] local.INFO: Processing buffer {"connection_id":186497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b4e6c0012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:23:48] local.INFO: Packet analysis {"connection_id":186497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:23:48] local.INFO: Extracted packet for processing {"connection_id":186497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b4"} 
[2026-09-19 04:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181479168001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:23: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-19 04:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789771704000,"timestamp_ms":1789771704000,"timestamp_seconds":1789771704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b4e6c0"} 
[2026-09-19 04: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-19 04:23: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-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:23: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-19 04: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-19 04: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-19 04:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04: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-19 04:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181479168001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181479168001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181479168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:23:48] local.INFO: GPS data processed {"connection_id":186497,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:23:48] local.INFO: Acknowledgment sent {"connection_id":186497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:24:10] local.INFO: TCP Data received {"connection_id":187891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:10] local.INFO: Processing buffer {"connection_id":187891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:10] local.INFO: IMEI packet received {"connection_id":187891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":187891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:24:15] local.INFO: TCP Data received {"connection_id":187891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:15] local.INFO: Processing buffer {"connection_id":187891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:24:15] local.INFO: IMEI packet received {"connection_id":187891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":187891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:24:16] local.INFO: TCP Data received {"connection_id":187891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:16] local.INFO: Processing buffer {"connection_id":187891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:16] local.INFO: Packet analysis {"connection_id":187891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:24:16] local.INFO: Extracted packet for processing {"connection_id":187891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:24: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-19 04:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":187891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:24:16] local.INFO: GPS data processed {"connection_id":187891,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:24:16] local.INFO: Acknowledgment sent {"connection_id":187891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:24:48] local.INFO: TCP Data received {"connection_id":187891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:48] local.INFO: Processing buffer {"connection_id":187891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:24:48] local.INFO: Packet analysis {"connection_id":187891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:24:48] local.INFO: Extracted packet for processing {"connection_id":187891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04: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-19 04: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:24: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-19 04: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-19 04: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-19 04:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":187891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:24:48] local.INFO: GPS data processed {"connection_id":187891,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:24:48] local.INFO: Acknowledgment sent {"connection_id":187891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:25:10] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:10] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:10] local.INFO: IMEI packet received {"connection_id":186498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":186498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:25:15] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:15] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:25:15] local.INFO: IMEI packet received {"connection_id":186498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:25:16] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:16] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:16] local.INFO: Packet analysis {"connection_id":186498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:25:16] local.INFO: Extracted packet for processing {"connection_id":186498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04: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-19 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:25: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-19 04:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":186498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:25:16] local.INFO: GPS data processed {"connection_id":186498,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:25:16] local.INFO: Acknowledgment sent {"connection_id":186498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:25:48] local.INFO: TCP Data received {"connection_id":186498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:48] local.INFO: Processing buffer {"connection_id":186498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:25:48] local.INFO: Packet analysis {"connection_id":186498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:25:48] local.INFO: Extracted packet for processing {"connection_id":186498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04: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-19 04:25: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:25: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-19 04: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-19 04: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-19 04:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:25:48] 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-19 04:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":186498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:25:48] local.INFO: GPS data processed {"connection_id":186498,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:25:48] local.INFO: Acknowledgment sent {"connection_id":186498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:26:15] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:15] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:15] local.INFO: IMEI packet received {"connection_id":186627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:26:20] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:20] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:26:20] local.INFO: IMEI packet received {"connection_id":186627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:26:21] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:21] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:21] local.INFO: Packet analysis {"connection_id":186627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:26:21] local.INFO: Extracted packet for processing {"connection_id":186627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":186627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:26:21] local.INFO: GPS data processed {"connection_id":186627,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:26:21] local.INFO: Acknowledgment sent {"connection_id":186627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:26:26] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:26] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:26:26] local.INFO: Packet analysis {"connection_id":186627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:26:26] local.INFO: Extracted packet for processing {"connection_id":186627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:26: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-19 04:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:26: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:26: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-19 04:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:26:26] 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-19 04:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:26:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":186627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:26:26] local.INFO: GPS data processed {"connection_id":186627,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:26:26] local.INFO: Acknowledgment sent {"connection_id":186627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:27:10] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:10] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:10] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:27:15] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:15] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:27:15] local.INFO: IMEI packet received {"connection_id":186499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:27:16] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:16] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:16] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:27:16] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27: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-19 04:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04: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-19 04:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:27: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-19 04:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:27:16] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:27:16] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:27:47] local.INFO: TCP Data received {"connection_id":186499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:47] local.INFO: Processing buffer {"connection_id":186499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:27:47] local.INFO: Packet analysis {"connection_id":186499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:27:47] local.INFO: Extracted packet for processing {"connection_id":186499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:27: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-19 04:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:27: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-19 04:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:27: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-19 04:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":186499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:27:47] local.INFO: GPS data processed {"connection_id":186499,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:27:47] local.INFO: Acknowledgment sent {"connection_id":186499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:28:10] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:10] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:10] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:28:15] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:15] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:28:15] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:28:16] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:16] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:16] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:28:16] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:28: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-19 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:28:16] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:28:16] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:28:48] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:48] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6b97e88012d34c14006aa41400008010e2a..."} 
[2026-09-19 04:28:48] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:28:48] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6b9"} 
[2026-09-19 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181556224001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772005000,"timestamp_ms":1789772005000,"timestamp_seconds":1789772005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6b97e88"} 
[2026-09-19 04:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04: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-19 04:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04: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-19 04:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181556224001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181556224001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181556224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:28:48] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:28:48] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:29:10] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:10] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:10] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:29:15] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:15] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:29:15] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:29:16] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:16] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:16] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:29:16] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:29: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-19 04:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:29:16] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:29:16] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:29:47] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:47] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:29:47] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:29:47] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04:29: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-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:29: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-19 04: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-19 04: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-19 04:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:29:47] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:29:47] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:30:10] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:10] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:10] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:30:15] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:15] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:30:15] local.INFO: IMEI packet received {"connection_id":186500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:30:16] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:16] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:16] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:30:16] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:30: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-19 04:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:30:16] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:30:16] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:30:48] local.INFO: TCP Data received {"connection_id":186500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:48] local.INFO: Processing buffer {"connection_id":186500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:30:48] local.INFO: Packet analysis {"connection_id":186500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:30:48] local.INFO: Extracted packet for processing {"connection_id":186500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:30: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-19 04: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-19 04: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-19 04:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":186500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:30:48] local.INFO: GPS data processed {"connection_id":186500,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:30:48] local.INFO: Acknowledgment sent {"connection_id":186500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:31:10] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:10] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:10] local.INFO: IMEI packet received {"connection_id":186501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:31:15] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:15] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:31:15] local.INFO: IMEI packet received {"connection_id":186501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:31:16] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:16] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:16] local.INFO: Packet analysis {"connection_id":186501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:31:16] local.INFO: Extracted packet for processing {"connection_id":186501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31: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-19 04:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:31:16] 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-19 04:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:31:16] local.INFO: GPS data processed {"connection_id":186501,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:31:16] local.INFO: Acknowledgment sent {"connection_id":186501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:31:48] local.INFO: TCP Data received {"connection_id":186501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:48] local.INFO: Processing buffer {"connection_id":186501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:31:48] local.INFO: Packet analysis {"connection_id":186501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:31:48] local.INFO: Extracted packet for processing {"connection_id":186501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:31: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-19 04:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:31: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-19 04:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:31:48] local.INFO: GPS data processed {"connection_id":186501,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:31:48] local.INFO: Acknowledgment sent {"connection_id":186501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:32:15] local.INFO: TCP Data received {"connection_id":189238,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:15] local.INFO: Processing buffer {"connection_id":189238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:15] local.INFO: IMEI packet received {"connection_id":189238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":189238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:32:20] local.INFO: TCP Data received {"connection_id":189238,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:20] local.INFO: Processing buffer {"connection_id":189238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:32:20] local.INFO: IMEI packet received {"connection_id":189238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":189238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:32:21] local.INFO: TCP Data received {"connection_id":189238,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:21] local.INFO: Processing buffer {"connection_id":189238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:21] local.INFO: Packet analysis {"connection_id":189238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:32:21] local.INFO: Extracted packet for processing {"connection_id":189238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:32:21] 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-19 04:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:32:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":189238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:32:21] local.INFO: GPS data processed {"connection_id":189238,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:32:21] local.INFO: Acknowledgment sent {"connection_id":189238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:32:27] local.INFO: TCP Data received {"connection_id":189238,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:27] local.INFO: Processing buffer {"connection_id":189238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:32:27] local.INFO: Packet analysis {"connection_id":189238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:32:27] local.INFO: Extracted packet for processing {"connection_id":189238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:32:27] 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-19 04:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:32:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:32:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":189238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:32:27] local.INFO: GPS data processed {"connection_id":189238,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:32:27] local.INFO: Acknowledgment sent {"connection_id":189238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:33:10] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:10] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:10] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:33:15] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:15] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:33:15] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:33:16] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:16] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:16] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:33:16] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33: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-19 04:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:33: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-19 04:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:33:16] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:33:16] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:33:47] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:47] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6be1650012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:33:47] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:33:47] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6be"} 
[2026-09-19 04:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181633280001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:33: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-19 04:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789772306000,"timestamp_ms":1789772306000,"timestamp_seconds":1789772306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6be1650"} 
[2026-09-19 04: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-19 04:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:33: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-19 04: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-19 04: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-19 04:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181633280001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181633280001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181633280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:33:47] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:33:47] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:34:10] local.INFO: TCP Data received {"connection_id":189239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:10] local.INFO: Processing buffer {"connection_id":189239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:10] local.INFO: IMEI packet received {"connection_id":189239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":189239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:34:15] local.INFO: TCP Data received {"connection_id":189239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:15] local.INFO: Processing buffer {"connection_id":189239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:34:15] local.INFO: IMEI packet received {"connection_id":189239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":189239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:34:16] local.INFO: TCP Data received {"connection_id":189239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:16] local.INFO: Processing buffer {"connection_id":189239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:16] local.INFO: Packet analysis {"connection_id":189239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:34:16] local.INFO: Extracted packet for processing {"connection_id":189239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:34: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-19 04:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04: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-19 04:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":189239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:34:16] local.INFO: GPS data processed {"connection_id":189239,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:34:16] local.INFO: Acknowledgment sent {"connection_id":189239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:34:48] local.INFO: TCP Data received {"connection_id":189239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:48] local.INFO: Processing buffer {"connection_id":189239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:34:48] local.INFO: Packet analysis {"connection_id":189239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:34:48] local.INFO: Extracted packet for processing {"connection_id":189239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 04:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 04:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 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-19 04: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:34: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-19 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-19 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-19 04:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:34: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-19 04:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":189239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:34:48] local.INFO: GPS data processed {"connection_id":189239,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:34:48] local.INFO: Acknowledgment sent {"connection_id":189239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:35:10] local.INFO: TCP Data received {"connection_id":187892,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:10] local.INFO: Processing buffer {"connection_id":187892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:10] local.INFO: IMEI packet received {"connection_id":187892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":187892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:35:15] local.INFO: TCP Data received {"connection_id":187892,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:15] local.INFO: Processing buffer {"connection_id":187892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:35:15] local.INFO: IMEI packet received {"connection_id":187892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":187892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:35:16] local.INFO: TCP Data received {"connection_id":187892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:16] local.INFO: Processing buffer {"connection_id":187892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:16] local.INFO: Packet analysis {"connection_id":187892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:35:16] local.INFO: Extracted packet for processing {"connection_id":187892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35: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-19 04:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04: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-19 04:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":187892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:35:16] local.INFO: GPS data processed {"connection_id":187892,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:35:16] local.INFO: Acknowledgment sent {"connection_id":187892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:35:48] local.INFO: TCP Data received {"connection_id":187892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:48] local.INFO: Processing buffer {"connection_id":187892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:35:48] local.INFO: Packet analysis {"connection_id":187892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:35:48] local.INFO: Extracted packet for processing {"connection_id":187892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:35: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-19 04:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04: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-19 04:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:35: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-19 04: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-19 04: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-19 04:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":187892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:35:48] local.INFO: GPS data processed {"connection_id":187892,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:35:48] local.INFO: Acknowledgment sent {"connection_id":187892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:36:10] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:10] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:10] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:36:15] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:15] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:36:15] local.INFO: IMEI packet received {"connection_id":186502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:36:16] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:16] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:16] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:36:16] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36: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-19 04:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:36:16] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:36:16] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:36:47] local.INFO: TCP Data received {"connection_id":186502,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:47] local.INFO: Processing buffer {"connection_id":186502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:36:47] local.INFO: Packet analysis {"connection_id":186502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:36:47] local.INFO: Extracted packet for processing {"connection_id":186502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:36: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-19 04:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04: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-19 04:36: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-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:36: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-19 04: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-19 04: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-19 04:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:36:48] local.INFO: GPS data processed {"connection_id":186502,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:36:48] local.INFO: Acknowledgment sent {"connection_id":186502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:37:15] local.INFO: TCP Data received {"connection_id":189240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:15] local.INFO: Processing buffer {"connection_id":189240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:15] local.INFO: IMEI packet received {"connection_id":189240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":189240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:37:20] local.INFO: TCP Data received {"connection_id":189240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:20] local.INFO: Processing buffer {"connection_id":189240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:37:20] local.INFO: IMEI packet received {"connection_id":189240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":189240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:37:21] local.INFO: TCP Data received {"connection_id":189240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:21] local.INFO: Processing buffer {"connection_id":189240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:21] local.INFO: Packet analysis {"connection_id":189240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:37:21] local.INFO: Extracted packet for processing {"connection_id":189240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:37:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":189240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:37:21] local.INFO: GPS data processed {"connection_id":189240,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:37:21] local.INFO: Acknowledgment sent {"connection_id":189240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:37:26] local.INFO: TCP Data received {"connection_id":189240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:26] local.INFO: Processing buffer {"connection_id":189240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:37:26] local.INFO: Packet analysis {"connection_id":189240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:37:26] local.INFO: Extracted packet for processing {"connection_id":189240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:37:26] local.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-19 04:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:37:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":189240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:37:26] local.INFO: GPS data processed {"connection_id":189240,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:37:26] local.INFO: Acknowledgment sent {"connection_id":189240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:38:10] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:10] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:10] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:38:15] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:15] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:38:15] local.INFO: IMEI packet received {"connection_id":186503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":186503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:38:16] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:16] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:16] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:16] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38: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-19 04:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:38:16] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:38:16] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:38:21] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:21] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:21] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:21] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:38:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:38:21] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:38:21] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:38:52] local.INFO: TCP Data received {"connection_id":186503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:52] local.INFO: Processing buffer {"connection_id":186503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c2ae18012d34c14006aa41400008010e2b..."} 
[2026-09-19 04:38:52] local.INFO: Packet analysis {"connection_id":186503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:52] local.INFO: Extracted packet for processing {"connection_id":186503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c2"} 
[2026-09-19 04:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181710336001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:38: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-19 04:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789772607000,"timestamp_ms":1789772607000,"timestamp_seconds":1789772607,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c2ae18"} 
[2026-09-19 04:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:38:52] local.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-19 04:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181710336001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181710336001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181710336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:38:52] local.INFO: GPS data processed {"connection_id":186503,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:38:52] local.INFO: Acknowledgment sent {"connection_id":186503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:39:10] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:10] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:10] local.INFO: IMEI packet received {"connection_id":186504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":186504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:39:15] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:15] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:39:15] local.INFO: IMEI packet received {"connection_id":186504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:39:16] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:16] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:16] local.INFO: Packet analysis {"connection_id":186504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:39:16] local.INFO: Extracted packet for processing {"connection_id":186504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39: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-19 04:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04: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-19 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:39:16] local.INFO: GPS data processed {"connection_id":186504,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:39:16] local.INFO: Acknowledgment sent {"connection_id":186504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:39:47] local.INFO: TCP Data received {"connection_id":186504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:47] local.INFO: Processing buffer {"connection_id":186504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:39:47] local.INFO: Packet analysis {"connection_id":186504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:39:47] local.INFO: Extracted packet for processing {"connection_id":186504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:39: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-19 04:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:39: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-19 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:39: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-19 04:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:39:47] local.INFO: GPS data processed {"connection_id":186504,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:39:47] local.INFO: Acknowledgment sent {"connection_id":186504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:40:15] local.INFO: TCP Data received {"connection_id":189241,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:40:15] local.INFO: Processing buffer {"connection_id":189241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:40:15] local.INFO: IMEI packet received {"connection_id":189241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":189241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:40:17] local.INFO: TCP Data received {"connection_id":189241,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:17] local.INFO: Processing buffer {"connection_id":189241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:17] local.INFO: Packet analysis {"connection_id":189241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:40:17] local.INFO: Extracted packet for processing {"connection_id":189241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40: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-19 04:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04: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-19 04:40: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-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:40: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-19 04: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-19 04: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-19 04:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":189241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:40:17] local.INFO: GPS data processed {"connection_id":189241,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:40:17] local.INFO: Acknowledgment sent {"connection_id":189241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:40:49] local.INFO: TCP Data received {"connection_id":189241,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:49] local.INFO: Processing buffer {"connection_id":189241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:40:49] local.INFO: Packet analysis {"connection_id":189241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:40:49] local.INFO: Extracted packet for processing {"connection_id":189241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:40: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-19 04:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04: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-19 04:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:40: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-19 04: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-19 04: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-19 04:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":189241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:40:49] local.INFO: GPS data processed {"connection_id":189241,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:40:49] local.INFO: Acknowledgment sent {"connection_id":189241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:41:10] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:10] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:10] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:41:15] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:15] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:41:15] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:41:16] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:16] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:16] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:16] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:16] 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-19 04:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:41:16] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:41:16] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:41:21] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:21] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:21] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:21] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:21] 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-19 04:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:41:21] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:41:21] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:41:54] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:54] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:41:54] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:54] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:41:54] 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-19 04:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:41:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:41:54] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:41:54] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:42:10] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:10] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:10] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:42:15] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:15] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:42:15] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:42:17] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:17] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:17] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:42:17] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42: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-19 04:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:42: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-19 04:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:42: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-19 04:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:42:17] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:42:17] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:42:48] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:48] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:42:48] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:42:48] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:42: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-19 04:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:42: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-19 04:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:42: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-19 04:42: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-19 04:42: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-19 04:42: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-19 04:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:42:48] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:42:48] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:43:10] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:10] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:10] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:43:15] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:15] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:43:15] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:43:16] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:16] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:16] local.INFO: Packet analysis {"connection_id":186633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:43:16] local.INFO: Extracted packet for processing {"connection_id":186633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:43: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-19 04:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04: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-19 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:43:16] local.INFO: GPS data processed {"connection_id":186633,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:43:16] local.INFO: Acknowledgment sent {"connection_id":186633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:43:48] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:48] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6c745e0012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:43:48] local.INFO: Packet analysis {"connection_id":186633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:43:48] local.INFO: Extracted packet for processing {"connection_id":186633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6c7"} 
[2026-09-19 04:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181787392001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789772908000,"timestamp_ms":1789772908000,"timestamp_seconds":1789772908,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6c745e0"} 
[2026-09-19 04: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-19 04: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:43: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-19 04: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-19 04: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-19 04:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181787392001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181787392001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181787392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:43:48] local.INFO: GPS data processed {"connection_id":186633,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:43:48] local.INFO: Acknowledgment sent {"connection_id":186633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:44:10] local.INFO: TCP Data received {"connection_id":187893,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:10] local.INFO: Processing buffer {"connection_id":187893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:10] local.INFO: IMEI packet received {"connection_id":187893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":187893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:44:16] local.INFO: TCP Data received {"connection_id":187893,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:16] local.INFO: Processing buffer {"connection_id":187893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:44:16] local.INFO: IMEI packet received {"connection_id":187893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":187893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:44:17] local.INFO: TCP Data received {"connection_id":187893,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:17] local.INFO: Processing buffer {"connection_id":187893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:17] local.INFO: Packet analysis {"connection_id":187893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:44:17] local.INFO: Extracted packet for processing {"connection_id":187893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44: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-19 04:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:44: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-19 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:44: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-19 04:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:44:17] 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-19 04:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":187893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:44:17] local.INFO: GPS data processed {"connection_id":187893,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:44:17] local.INFO: Acknowledgment sent {"connection_id":187893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:44:49] local.INFO: TCP Data received {"connection_id":187893,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:49] local.INFO: Processing buffer {"connection_id":187893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:44:49] local.INFO: Packet analysis {"connection_id":187893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:44:49] local.INFO: Extracted packet for processing {"connection_id":187893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:44: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-19 04:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:44: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-19 04:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04: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-19 04:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:44: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-19 04: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-19 04: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-19 04:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:44:49] 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-19 04:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":187893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:44:49] local.INFO: GPS data processed {"connection_id":187893,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:44:49] local.INFO: Acknowledgment sent {"connection_id":187893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:45:10] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:10] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:10] local.INFO: IMEI packet received {"connection_id":187894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":187894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:45:15] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:15] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:45:15] local.INFO: IMEI packet received {"connection_id":187894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":187894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:45:16] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:16] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:16] local.INFO: Packet analysis {"connection_id":187894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:45:16] local.INFO: Extracted packet for processing {"connection_id":187894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45: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-19 04:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04: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-19 04:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":187894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:45:16] local.INFO: GPS data processed {"connection_id":187894,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:45:16] local.INFO: Acknowledgment sent {"connection_id":187894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:45:48] local.INFO: TCP Data received {"connection_id":187894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:48] local.INFO: Processing buffer {"connection_id":187894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:45:48] local.INFO: Packet analysis {"connection_id":187894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:45:48] local.INFO: Extracted packet for processing {"connection_id":187894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:45: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-19 04:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:45: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-19 04:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:45: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-19 04:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":187894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:45:48] local.INFO: GPS data processed {"connection_id":187894,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:45:48] local.INFO: Acknowledgment sent {"connection_id":187894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:46:15] local.INFO: TCP Data received {"connection_id":189242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:15] local.INFO: Processing buffer {"connection_id":189242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:15] local.INFO: IMEI packet received {"connection_id":189242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":189242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:46:20] local.INFO: TCP Data received {"connection_id":189242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:20] local.INFO: Processing buffer {"connection_id":189242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:46:20] local.INFO: IMEI packet received {"connection_id":189242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":189242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:46:21] local.INFO: TCP Data received {"connection_id":189242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:21] local.INFO: Processing buffer {"connection_id":189242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:21] local.INFO: Packet analysis {"connection_id":189242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:46:21] local.INFO: Extracted packet for processing {"connection_id":189242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":189242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:46:21] local.INFO: GPS data processed {"connection_id":189242,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:46:21] local.INFO: Acknowledgment sent {"connection_id":189242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:46:26] local.INFO: TCP Data received {"connection_id":189242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:26] local.INFO: Processing buffer {"connection_id":189242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:46:26] local.INFO: Packet analysis {"connection_id":189242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:46:26] local.INFO: Extracted packet for processing {"connection_id":189242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:46: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-19 04:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:46: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:46: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-19 04:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:46:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":189242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:46:26] local.INFO: GPS data processed {"connection_id":189242,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:46:26] local.INFO: Acknowledgment sent {"connection_id":189242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:47:10] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:10] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:10] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:47:15] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:15] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:47:15] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:47:16] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:16] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:16] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:47:16] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:47: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-19 04:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:47:16] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:47:16] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:47:49] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:49] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:47:49] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:47:49] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04: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-19 04:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:47: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-19 04: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-19 04: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-19 04:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:47:49] local.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-19 04:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:47:49] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:47:49] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:48:10] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:10] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:10] local.INFO: IMEI packet received {"connection_id":187895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:48:15] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:15] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:48:15] local.INFO: IMEI packet received {"connection_id":187895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":187895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:48:16] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:16] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:16] local.INFO: Packet analysis {"connection_id":187895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:48:16] local.INFO: Extracted packet for processing {"connection_id":187895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:48: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-19 04:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04: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-19 04:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":187895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:48:16] local.INFO: GPS data processed {"connection_id":187895,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:48:16] local.INFO: Acknowledgment sent {"connection_id":187895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:48:48] local.INFO: TCP Data received {"connection_id":187895,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:48] local.INFO: Processing buffer {"connection_id":187895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6cbdda8012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:48:48] local.INFO: Packet analysis {"connection_id":187895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:48:48] local.INFO: Extracted packet for processing {"connection_id":187895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6cb"} 
[2026-09-19 04:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181864448001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773209000,"timestamp_ms":1789773209000,"timestamp_seconds":1789773209,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6cbdda8"} 
[2026-09-19 04: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-19 04: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:48: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-19 04: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-19 04: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-19 04:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:48: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-19 04:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181864448001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181864448001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181864448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":187895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:48:48] local.INFO: GPS data processed {"connection_id":187895,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:48:48] local.INFO: Acknowledgment sent {"connection_id":187895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:49:08] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:08] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:08] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:49:10] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:10] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:10] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:49:15] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:15] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:49:15] local.INFO: IMEI packet received {"connection_id":186505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:49:16] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:16] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:16] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:49:16] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:49: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-19 04:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:49: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-19 04:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:49:16] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:49:16] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:49:48] local.INFO: TCP Data received {"connection_id":186505,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:48] local.INFO: Processing buffer {"connection_id":186505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:49:48] local.INFO: Packet analysis {"connection_id":186505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:49:48] local.INFO: Extracted packet for processing {"connection_id":186505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:49:48] 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-19 04:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":186505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:49:48] local.INFO: GPS data processed {"connection_id":186505,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:49:48] local.INFO: Acknowledgment sent {"connection_id":186505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:50:10] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:10] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:10] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:50:15] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:15] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:50:15] local.INFO: IMEI packet received {"connection_id":186506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":186506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:50:16] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:16] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:16] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:50:16] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:50: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-19 04:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:50:16] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:50:16] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:50:48] local.INFO: TCP Data received {"connection_id":186506,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:48] local.INFO: Processing buffer {"connection_id":186506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:50:48] local.INFO: Packet analysis {"connection_id":186506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:50:48] local.INFO: Extracted packet for processing {"connection_id":186506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04:50: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:50: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-19 04: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-19 04: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-19 04:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":186506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:50:48] local.INFO: GPS data processed {"connection_id":186506,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:50:48] local.INFO: Acknowledgment sent {"connection_id":186506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:51:15] local.INFO: TCP Data received {"connection_id":187896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:15] local.INFO: Processing buffer {"connection_id":187896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:15] local.INFO: IMEI packet received {"connection_id":187896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":187896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:51:20] local.INFO: TCP Data received {"connection_id":187896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:20] local.INFO: Processing buffer {"connection_id":187896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:51:20] local.INFO: IMEI packet received {"connection_id":187896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":187896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:51:21] local.INFO: TCP Data received {"connection_id":187896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:21] local.INFO: Processing buffer {"connection_id":187896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:21] local.INFO: Packet analysis {"connection_id":187896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:51:21] local.INFO: Extracted packet for processing {"connection_id":187896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:51:21] 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-19 04:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":187896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:51:21] local.INFO: GPS data processed {"connection_id":187896,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:51:21] local.INFO: Acknowledgment sent {"connection_id":187896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:51:26] local.INFO: TCP Data received {"connection_id":187896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:26] local.INFO: Processing buffer {"connection_id":187896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:51:26] local.INFO: Packet analysis {"connection_id":187896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:51:26] local.INFO: Extracted packet for processing {"connection_id":187896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:51:26] 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-19 04:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":187896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:51:26] local.INFO: GPS data processed {"connection_id":187896,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:51:26] local.INFO: Acknowledgment sent {"connection_id":187896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:52:10] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:10] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:10] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:52:15] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:15] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:52:15] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:52:17] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:17] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:17] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:52:17] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:52: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-19 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:52: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-19 04:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:52:17] 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-19 04:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:52:17] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:52:17] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:52:48] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:48] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:52:48] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:52:48] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 04:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 04:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 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-19 04: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:52: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-19 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-19 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-19 04:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:52:48] 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-19 04:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:52:48] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:52:48] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:53:10] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:10] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:10] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:53:15] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:15] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:53:15] local.INFO: IMEI packet received {"connection_id":186507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:53:16] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:16] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:16] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:53:16] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:53: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-19 04:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:53:16] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:53:16] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:53:47] local.INFO: TCP Data received {"connection_id":186507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:47] local.INFO: Processing buffer {"connection_id":186507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d07570012d34c14006aa41400008010e2c..."} 
[2026-09-19 04:53:47] local.INFO: Packet analysis {"connection_id":186507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:53:47] local.INFO: Extracted packet for processing {"connection_id":186507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d0"} 
[2026-09-19 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458181941504001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789773510000,"timestamp_ms":1789773510000,"timestamp_seconds":1789773510,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d07570"} 
[2026-09-19 04: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-19 04:53: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-19 04: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:53: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-19 04: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-19 04: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-19 04:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:53: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-19 04:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458181941504001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458181941504001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458181941504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:53:47] local.INFO: GPS data processed {"connection_id":186507,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:53:47] local.INFO: Acknowledgment sent {"connection_id":186507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:54:09] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:09] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:09] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:54:10] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:10] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:10] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:54:15] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:15] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:54:15] local.INFO: IMEI packet received {"connection_id":186508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":186508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:54:16] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:16] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:16] local.INFO: Packet analysis {"connection_id":186508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:54:16] local.INFO: Extracted packet for processing {"connection_id":186508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:54: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-19 04:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":186508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:54:16] local.INFO: GPS data processed {"connection_id":186508,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:54:16] local.INFO: Acknowledgment sent {"connection_id":186508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:54:47] local.INFO: TCP Data received {"connection_id":186508,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:47] local.INFO: Processing buffer {"connection_id":186508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:54:47] local.INFO: Packet analysis {"connection_id":186508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:54:47] local.INFO: Extracted packet for processing {"connection_id":186508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:54: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-19 04:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:54: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-19 04:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":186508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:54:47] local.INFO: GPS data processed {"connection_id":186508,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:54:47] local.INFO: Acknowledgment sent {"connection_id":186508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:55:10] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:10] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:10] local.INFO: IMEI packet received {"connection_id":187897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":187897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:55:13] local.INFO: TCP Data received {"connection_id":189243,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 04:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 04:55:13] local.INFO: Processing buffer {"connection_id":189243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 04:55:13] local.INFO: IMEI packet received {"connection_id":189243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 04:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":189243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:55:15] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:15] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:55:15] local.INFO: IMEI packet received {"connection_id":187897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":187897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:55:16] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:16] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:16] local.INFO: Packet analysis {"connection_id":187897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:55:16] local.INFO: Extracted packet for processing {"connection_id":187897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:55: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-19 04:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":187897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:55:16] local.INFO: GPS data processed {"connection_id":187897,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:55:16] local.INFO: Acknowledgment sent {"connection_id":187897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:55:48] local.INFO: TCP Data received {"connection_id":187897,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:48] local.INFO: Processing buffer {"connection_id":187897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:55:48] local.INFO: Packet analysis {"connection_id":187897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:55:48] local.INFO: Extracted packet for processing {"connection_id":187897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04: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-19 04:55: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-19 04:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04: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-19 04: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-19 04:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 04:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":187897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:55:48] local.INFO: GPS data processed {"connection_id":187897,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:55:48] local.INFO: Acknowledgment sent {"connection_id":187897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:56:15] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:15] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:15] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:56:20] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:20] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:56:20] local.INFO: IMEI packet received {"connection_id":186509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":186509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:56:21] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:21] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:21] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:56:21] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:56:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:56:21] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:56:21] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:56:26] local.INFO: TCP Data received {"connection_id":186509,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:26] local.INFO: Processing buffer {"connection_id":186509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:56:26] local.INFO: Packet analysis {"connection_id":186509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:56:26] local.INFO: Extracted packet for processing {"connection_id":186509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 04:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:56:26] 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-19 04:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:56:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":186509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:56:26] local.INFO: GPS data processed {"connection_id":186509,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:56:26] local.INFO: Acknowledgment sent {"connection_id":186509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:57:10] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:10] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:10] local.INFO: IMEI packet received {"connection_id":187898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":187898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:57:15] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:15] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:57:15] local.INFO: IMEI packet received {"connection_id":187898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":187898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:57:16] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:16] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:16] local.INFO: Packet analysis {"connection_id":187898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:57:16] local.INFO: Extracted packet for processing {"connection_id":187898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:57: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-19 04:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":187898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:57:16] local.INFO: GPS data processed {"connection_id":187898,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:57:16] local.INFO: Acknowledgment sent {"connection_id":187898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:57:48] local.INFO: TCP Data received {"connection_id":187898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:48] local.INFO: Processing buffer {"connection_id":187898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:57:48] local.INFO: Packet analysis {"connection_id":187898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:57:48] local.INFO: Extracted packet for processing {"connection_id":187898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04: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-19 04:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:57: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-19 04:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":187898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:57:48] local.INFO: GPS data processed {"connection_id":187898,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:57:48] local.INFO: Acknowledgment sent {"connection_id":187898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:58:10] local.INFO: TCP Data received {"connection_id":189244,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:10] local.INFO: Processing buffer {"connection_id":189244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:10] local.INFO: IMEI packet received {"connection_id":189244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":189244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:58:15] local.INFO: TCP Data received {"connection_id":189244,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:15] local.INFO: Processing buffer {"connection_id":189244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:58:15] local.INFO: IMEI packet received {"connection_id":189244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":189244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:58:16] local.INFO: TCP Data received {"connection_id":189244,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:16] local.INFO: Processing buffer {"connection_id":189244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:16] local.INFO: Packet analysis {"connection_id":189244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:58:16] local.INFO: Extracted packet for processing {"connection_id":189244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58: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-19 04:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 04:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":189244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:58:16] local.INFO: GPS data processed {"connection_id":189244,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:58:16] local.INFO: Acknowledgment sent {"connection_id":189244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:58:48] local.INFO: TCP Data received {"connection_id":189244,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:48] local.INFO: Processing buffer {"connection_id":189244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d50d38012d34c14006aa41400008010e2d..."} 
[2026-09-19 04:58:48] local.INFO: Packet analysis {"connection_id":189244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:58:48] local.INFO: Extracted packet for processing {"connection_id":189244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d5"} 
[2026-09-19 04:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 04:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182018560001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:58: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-19 04:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789773811000,"timestamp_ms":1789773811000,"timestamp_seconds":1789773811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d50d38"} 
[2026-09-19 04:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 04:58: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-19 04:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 04:58: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-19 04:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 04:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 04:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:58:48] 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-19 04:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182018560001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182018560001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182018560001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":189244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:58:48] local.INFO: GPS data processed {"connection_id":189244,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:58:48] local.INFO: Acknowledgment sent {"connection_id":189244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:59:10] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:10] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:10] local.INFO: IMEI packet received {"connection_id":187899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 04:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":187899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 04:59:11] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:11] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:11] local.INFO: IMEI packet received {"connection_id":187899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":187899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:59:15] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:15] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 04:59:15] local.INFO: IMEI packet received {"connection_id":187899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 04:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":187899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 04:59:16] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:16] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:16] local.INFO: Packet analysis {"connection_id":187899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 04:59:16] local.INFO: Extracted packet for processing {"connection_id":187899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 04:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04:59: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-19 04:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 04: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-19 04:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 04:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 04: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-19 04: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-19 04:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":187899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:59:16] local.INFO: GPS data processed {"connection_id":187899,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:59:16] local.INFO: Acknowledgment sent {"connection_id":187899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 04:59:48] local.INFO: TCP Data received {"connection_id":187899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:48] local.INFO: Processing buffer {"connection_id":187899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 04:59:48] local.INFO: Packet analysis {"connection_id":187899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 04:59:48] local.INFO: Extracted packet for processing {"connection_id":187899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 04:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 04: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-19 04:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 04:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 04:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 04: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-19 04:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 04: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-19 04:59: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-19 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 04:59: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-19 04: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-19 04: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-19 04:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 04:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 04:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 04:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 04:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 04:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 04:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 04:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 04:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 04:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 04:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 04:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 04:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 04:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 04:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 04:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":187899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 04:59:48] local.INFO: GPS data processed {"connection_id":187899,"processed":1,"errors":0,"total":1} 
[2026-09-19 04:59:48] local.INFO: Acknowledgment sent {"connection_id":187899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:00:10] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:10] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:10] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:00:15] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:15] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:00:15] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:00:16] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:16] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:16] local.INFO: Packet analysis {"connection_id":186636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:00:16] local.INFO: Extracted packet for processing {"connection_id":186636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00: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-19 05:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":186636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:00:16] local.INFO: GPS data processed {"connection_id":186636,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:00:16] local.INFO: Acknowledgment sent {"connection_id":186636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:00:33] local.INFO: TCP Data received {"connection_id":189245,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:00:33] local.INFO: Processing buffer {"connection_id":189245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:00:33] local.INFO: IMEI packet received {"connection_id":189245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":189245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:00:48] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:48] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:00:48] local.INFO: Packet analysis {"connection_id":186636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:00:48] local.INFO: Extracted packet for processing {"connection_id":186636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:00: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-19 05:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:00: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-19 05:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:00: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-19 05:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:00:48] 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-19 05:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":186636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:00:48] local.INFO: GPS data processed {"connection_id":186636,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:00:48] local.INFO: Acknowledgment sent {"connection_id":186636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:01:15] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:15] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:15] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:01:20] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:20] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:01:20] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:01:21] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:21] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:21] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:01:21] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:01:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:01:21] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:01:21] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:01:26] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:26] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:01:26] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:01:26] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:01: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-19 05:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:01: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-19 05:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:01:26] 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-19 05:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:01:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:01:26] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:01:26] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:02:10] local.INFO: TCP Data received {"connection_id":189246,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:10] local.INFO: Processing buffer {"connection_id":189246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:10] local.INFO: IMEI packet received {"connection_id":189246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":189246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:02:15] local.INFO: TCP Data received {"connection_id":189246,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:15] local.INFO: Processing buffer {"connection_id":189246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:02:15] local.INFO: IMEI packet received {"connection_id":189246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":189246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:02:16] local.INFO: TCP Data received {"connection_id":189246,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:16] local.INFO: Processing buffer {"connection_id":189246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:16] local.INFO: Packet analysis {"connection_id":189246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:02:16] local.INFO: Extracted packet for processing {"connection_id":189246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02: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-19 05:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05: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-19 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05: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-19 05: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-19 05:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":189246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:02:16] local.INFO: GPS data processed {"connection_id":189246,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:02:16] local.INFO: Acknowledgment sent {"connection_id":189246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:02:48] local.INFO: TCP Data received {"connection_id":189246,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:48] local.INFO: Processing buffer {"connection_id":189246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:02:48] local.INFO: Packet analysis {"connection_id":189246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:02:48] local.INFO: Extracted packet for processing {"connection_id":189246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:02: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-19 05:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:02: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-19 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:02: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-19 05:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":189246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:02:48] local.INFO: GPS data processed {"connection_id":189246,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:02:48] local.INFO: Acknowledgment sent {"connection_id":189246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:03:10] local.INFO: TCP Data received {"connection_id":189247,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:10] local.INFO: Processing buffer {"connection_id":189247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:10] local.INFO: IMEI packet received {"connection_id":189247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:03:15] local.INFO: TCP Data received {"connection_id":189247,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:15] local.INFO: Processing buffer {"connection_id":189247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:03:15] local.INFO: IMEI packet received {"connection_id":189247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:03:16] local.INFO: TCP Data received {"connection_id":189247,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:16] local.INFO: Processing buffer {"connection_id":189247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:16] local.INFO: Packet analysis {"connection_id":189247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:03:16] local.INFO: Extracted packet for processing {"connection_id":189247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:03: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-19 05:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:03:16] 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-19 05:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":189247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:03:17] local.INFO: GPS data processed {"connection_id":189247,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:03:17] local.INFO: Acknowledgment sent {"connection_id":189247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:03:48] local.INFO: TCP Data received {"connection_id":189247,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:48] local.INFO: Processing buffer {"connection_id":189247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6d9a500012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:03:48] local.INFO: Packet analysis {"connection_id":189247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:03:48] local.INFO: Extracted packet for processing {"connection_id":189247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6d9"} 
[2026-09-19 05:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182095616001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774112000,"timestamp_ms":1789774112000,"timestamp_seconds":1789774112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6d9a500"} 
[2026-09-19 05: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-19 05:03: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-19 05: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:03: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-19 05: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-19 05: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-19 05:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:03:48] 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-19 05:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182095616001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182095616001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182095616001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":189247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:03:48] local.INFO: GPS data processed {"connection_id":189247,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:03:48] local.INFO: Acknowledgment sent {"connection_id":189247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:04:10] local.INFO: TCP Data received {"connection_id":189248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:10] local.INFO: Processing buffer {"connection_id":189248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:10] local.INFO: IMEI packet received {"connection_id":189248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":189248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:04:11] local.INFO: TCP Data received {"connection_id":189248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:11] local.INFO: Processing buffer {"connection_id":189248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:11] local.INFO: IMEI packet received {"connection_id":189248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":189248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:04:15] local.INFO: TCP Data received {"connection_id":189248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:15] local.INFO: Processing buffer {"connection_id":189248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:04:15] local.INFO: IMEI packet received {"connection_id":189248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":189248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:04:16] local.INFO: TCP Data received {"connection_id":189248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:16] local.INFO: Processing buffer {"connection_id":189248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:16] local.INFO: Packet analysis {"connection_id":189248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:04:16] local.INFO: Extracted packet for processing {"connection_id":189248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04: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-19 05:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":189248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:04:16] local.INFO: GPS data processed {"connection_id":189248,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:04:16] local.INFO: Acknowledgment sent {"connection_id":189248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:04:47] local.INFO: TCP Data received {"connection_id":189248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:47] local.INFO: Processing buffer {"connection_id":189248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:04:47] local.INFO: Packet analysis {"connection_id":189248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:04:47] local.INFO: Extracted packet for processing {"connection_id":189248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:04: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-19 05:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:04: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-19 05:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:04: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-19 05:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":189248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:04:48] local.INFO: GPS data processed {"connection_id":189248,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:04:48] local.INFO: Acknowledgment sent {"connection_id":189248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:05:10] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:10] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:10] local.INFO: IMEI packet received {"connection_id":187900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":187900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:05:15] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:15] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:05:15] local.INFO: IMEI packet received {"connection_id":187900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":187900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:05:17] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:17] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:17] local.INFO: Packet analysis {"connection_id":187900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:05:17] local.INFO: Extracted packet for processing {"connection_id":187900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05: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-19 05:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:05: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-19 05:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:05: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-19 05:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":187900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:05:17] local.INFO: GPS data processed {"connection_id":187900,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:05:17] local.INFO: Acknowledgment sent {"connection_id":187900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:05:48] local.INFO: TCP Data received {"connection_id":187900,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:48] local.INFO: Processing buffer {"connection_id":187900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:05:48] local.INFO: Packet analysis {"connection_id":187900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:05:48] local.INFO: Extracted packet for processing {"connection_id":187900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:05: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-19 05:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:05: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-19 05:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:05: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-19 05:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:05:48] 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-19 05:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":187900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:05:48] local.INFO: GPS data processed {"connection_id":187900,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:05:48] local.INFO: Acknowledgment sent {"connection_id":187900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:06:15] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:15] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:15] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:06:20] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:20] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:06:20] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:06:21] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:21] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:21] local.INFO: Packet analysis {"connection_id":186639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:06:21] local.INFO: Extracted packet for processing {"connection_id":186639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":186639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:06:21] local.INFO: GPS data processed {"connection_id":186639,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:06:21] local.INFO: Acknowledgment sent {"connection_id":186639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:06:26] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:26] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:06:26] local.INFO: Packet analysis {"connection_id":186639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:06:26] local.INFO: Extracted packet for processing {"connection_id":186639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:06:26] 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-19 05:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":186639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:06:26] local.INFO: GPS data processed {"connection_id":186639,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:06:26] local.INFO: Acknowledgment sent {"connection_id":186639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:06:53] local.INFO: TCP Data received {"connection_id":187901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:06:53] local.INFO: Processing buffer {"connection_id":187901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:06:53] local.INFO: IMEI packet received {"connection_id":187901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":187901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:07:11] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:11] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:11] local.INFO: IMEI packet received {"connection_id":187902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":187902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:07:15] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:15] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:07:15] local.INFO: IMEI packet received {"connection_id":187902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":187902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:07:16] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:16] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:16] local.INFO: Packet analysis {"connection_id":187902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:07:16] local.INFO: Extracted packet for processing {"connection_id":187902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07: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-19 05:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":187902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:07:16] local.INFO: GPS data processed {"connection_id":187902,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:07:16] local.INFO: Acknowledgment sent {"connection_id":187902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:07:47] local.INFO: TCP Data received {"connection_id":187902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:47] local.INFO: Processing buffer {"connection_id":187902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:07:47] local.INFO: Packet analysis {"connection_id":187902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:07:47] local.INFO: Extracted packet for processing {"connection_id":187902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:07: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-19 05:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:07: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-19 05:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:07: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-19 05:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":187902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:07:47] local.INFO: GPS data processed {"connection_id":187902,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:07:47] local.INFO: Acknowledgment sent {"connection_id":187902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:08:10] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:10] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:10] local.INFO: IMEI packet received {"connection_id":187903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":187903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:08:15] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:15] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:08:15] local.INFO: IMEI packet received {"connection_id":187903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":187903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:08:16] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:16] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:16] local.INFO: Packet analysis {"connection_id":187903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:08:16] local.INFO: Extracted packet for processing {"connection_id":187903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:08: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-19 05:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":187903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:08:16] local.INFO: GPS data processed {"connection_id":187903,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:08:16] local.INFO: Acknowledgment sent {"connection_id":187903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:08:48] local.INFO: TCP Data received {"connection_id":187903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:48] local.INFO: Processing buffer {"connection_id":187903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6de3cc8012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:08:48] local.INFO: Packet analysis {"connection_id":187903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:08:48] local.INFO: Extracted packet for processing {"connection_id":187903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6de"} 
[2026-09-19 05:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182172672001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789774413000,"timestamp_ms":1789774413000,"timestamp_seconds":1789774413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6de3cc8"} 
[2026-09-19 05: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-19 05:08: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182172672001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182172672001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182172672001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":187903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:08:48] local.INFO: GPS data processed {"connection_id":187903,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:08:48] local.INFO: Acknowledgment sent {"connection_id":187903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:09:10] local.INFO: TCP Data received {"connection_id":189249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:10] local.INFO: Processing buffer {"connection_id":189249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:10] local.INFO: IMEI packet received {"connection_id":189249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":189249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:09:12] local.INFO: TCP Data received {"connection_id":189249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:12] local.INFO: Processing buffer {"connection_id":189249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:12] local.INFO: IMEI packet received {"connection_id":189249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":189249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:09:15] local.INFO: TCP Data received {"connection_id":189249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:15] local.INFO: Processing buffer {"connection_id":189249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:09:15] local.INFO: IMEI packet received {"connection_id":189249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":189249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:09:16] local.INFO: TCP Data received {"connection_id":189249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:16] local.INFO: Processing buffer {"connection_id":189249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:16] local.INFO: Packet analysis {"connection_id":189249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:09:16] local.INFO: Extracted packet for processing {"connection_id":189249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09: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-19 05:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05: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-19 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05: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-19 05: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-19 05:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":189249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:09:16] local.INFO: GPS data processed {"connection_id":189249,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:09:16] local.INFO: Acknowledgment sent {"connection_id":189249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:09:47] local.INFO: TCP Data received {"connection_id":189249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:47] local.INFO: Processing buffer {"connection_id":189249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:09:47] local.INFO: Packet analysis {"connection_id":189249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:09:47] local.INFO: Extracted packet for processing {"connection_id":189249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:09: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-19 05:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:09: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-19 05:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:09: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-19 05:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":189249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:09:47] local.INFO: GPS data processed {"connection_id":189249,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:09:47] local.INFO: Acknowledgment sent {"connection_id":189249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:10:15] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:15] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:15] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:10:20] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:20] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:10:20] local.INFO: IMEI packet received {"connection_id":186510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":186510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:10:21] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:21] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:21] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:10:21] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:10:21] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:10:21] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:10:26] local.INFO: TCP Data received {"connection_id":186510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:26] local.INFO: Processing buffer {"connection_id":186510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:10:26] local.INFO: Packet analysis {"connection_id":186510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:10:26] local.INFO: Extracted packet for processing {"connection_id":186510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:10:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:10: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-19 05:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:10: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-19 05:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:10:26] 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-19 05:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:10:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":186510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:10:26] local.INFO: GPS data processed {"connection_id":186510,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:10:26] local.INFO: Acknowledgment sent {"connection_id":186510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:11:10] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:10] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:10] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:11:15] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:15] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:11:15] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:11:16] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:16] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:16] local.INFO: Packet analysis {"connection_id":186641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:11:16] local.INFO: Extracted packet for processing {"connection_id":186641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:11: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-19 05:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":186641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:11:16] local.INFO: GPS data processed {"connection_id":186641,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:11:16] local.INFO: Acknowledgment sent {"connection_id":186641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:11:47] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:47] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:11:47] local.INFO: Packet analysis {"connection_id":186641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:11:47] local.INFO: Extracted packet for processing {"connection_id":186641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:11: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-19 05:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05: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-19 05:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:11: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-19 05:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":186641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:11:47] local.INFO: GPS data processed {"connection_id":186641,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:11:47] local.INFO: Acknowledgment sent {"connection_id":186641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:12:10] local.INFO: TCP Data received {"connection_id":189250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:10] local.INFO: Processing buffer {"connection_id":189250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:10] local.INFO: IMEI packet received {"connection_id":189250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":189250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:12:15] local.INFO: TCP Data received {"connection_id":189250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:15] local.INFO: Processing buffer {"connection_id":189250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:12:15] local.INFO: IMEI packet received {"connection_id":189250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":189250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:12:16] local.INFO: TCP Data received {"connection_id":189250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:16] local.INFO: Processing buffer {"connection_id":189250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:16] local.INFO: Packet analysis {"connection_id":189250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:12:16] local.INFO: Extracted packet for processing {"connection_id":189250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12: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-19 05:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":189250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:12:16] local.INFO: GPS data processed {"connection_id":189250,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:12:16] local.INFO: Acknowledgment sent {"connection_id":189250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:12:23] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:12:23] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:12:23] local.INFO: IMEI packet received {"connection_id":186640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":186640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:12:47] local.INFO: TCP Data received {"connection_id":189250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:47] local.INFO: Processing buffer {"connection_id":189250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:12:47] local.INFO: Packet analysis {"connection_id":189250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:12:47] local.INFO: Extracted packet for processing {"connection_id":189250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:12: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-19 05:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:12: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-19 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:12: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-19 05:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":189250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:12:47] local.INFO: GPS data processed {"connection_id":189250,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:12:47] local.INFO: Acknowledgment sent {"connection_id":189250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:13:10] local.INFO: TCP Data received {"connection_id":186511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:10] local.INFO: Processing buffer {"connection_id":186511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:10] local.INFO: IMEI packet received {"connection_id":186511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":186511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:13:15] local.INFO: TCP Data received {"connection_id":186511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:15] local.INFO: Processing buffer {"connection_id":186511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:13:15] local.INFO: IMEI packet received {"connection_id":186511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":186511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:13:16] local.INFO: TCP Data received {"connection_id":186511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:16] local.INFO: Processing buffer {"connection_id":186511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:16] local.INFO: Packet analysis {"connection_id":186511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:13:16] local.INFO: Extracted packet for processing {"connection_id":186511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13: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-19 05:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:13:16] local.INFO: GPS data processed {"connection_id":186511,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:13:16] local.INFO: Acknowledgment sent {"connection_id":186511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:13:47] local.INFO: TCP Data received {"connection_id":186511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:47] local.INFO: Processing buffer {"connection_id":186511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e2d490012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:13:47] local.INFO: Packet analysis {"connection_id":186511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:13:47] local.INFO: Extracted packet for processing {"connection_id":186511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e2"} 
[2026-09-19 05:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182249728001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:13: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-19 05:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789774714000,"timestamp_ms":1789774714000,"timestamp_seconds":1789774714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e2d490"} 
[2026-09-19 05: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-19 05:13: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-19 05:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:13: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-19 05:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182249728001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182249728001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182249728001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":186511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:13:47] local.INFO: GPS data processed {"connection_id":186511,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:13:47] local.INFO: Acknowledgment sent {"connection_id":186511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:14:10] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:10] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:10] local.INFO: IMEI packet received {"connection_id":186642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:14:13] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:13] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:13] local.INFO: IMEI packet received {"connection_id":186642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":186642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:14:15] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:15] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:14:15] local.INFO: IMEI packet received {"connection_id":186642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:14:16] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:16] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:16] local.INFO: Packet analysis {"connection_id":186642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:16] local.INFO: Extracted packet for processing {"connection_id":186642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14: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-19 05:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":186642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:14:16] local.INFO: GPS data processed {"connection_id":186642,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:14:16] local.INFO: Acknowledgment sent {"connection_id":186642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:14:21] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:21] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:21] local.INFO: Packet analysis {"connection_id":186642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:21] local.INFO: Extracted packet for processing {"connection_id":186642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":186642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:14:21] local.INFO: GPS data processed {"connection_id":186642,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:14:21] local.INFO: Acknowledgment sent {"connection_id":186642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:14:51] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:51] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:14:51] local.INFO: Packet analysis {"connection_id":186642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:51] local.INFO: Extracted packet for processing {"connection_id":186642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:14: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-19 05:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05: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-19 05:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:14:51] local.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-19 05:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":186642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:14:52] local.INFO: GPS data processed {"connection_id":186642,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:14:52] local.INFO: Acknowledgment sent {"connection_id":186642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:15:10] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:10] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:10] local.INFO: IMEI packet received {"connection_id":186643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":186643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:15:15] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:15] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:15:15] local.INFO: IMEI packet received {"connection_id":186643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":186643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:15:16] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:16] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:16] local.INFO: Packet analysis {"connection_id":186643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:15:16] local.INFO: Extracted packet for processing {"connection_id":186643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15: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-19 05:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:15: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-19 05:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":186643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:15:16] local.INFO: GPS data processed {"connection_id":186643,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:15:16] local.INFO: Acknowledgment sent {"connection_id":186643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:15:47] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:47] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:15:47] local.INFO: Packet analysis {"connection_id":186643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:15:47] local.INFO: Extracted packet for processing {"connection_id":186643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:15: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-19 05:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:15: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-19 05:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:15: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-19 05:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:15: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-19 05:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":186643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:15:47] local.INFO: GPS data processed {"connection_id":186643,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:15:47] local.INFO: Acknowledgment sent {"connection_id":186643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:16:10] local.INFO: TCP Data received {"connection_id":187905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:10] local.INFO: Processing buffer {"connection_id":187905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:10] local.INFO: IMEI packet received {"connection_id":187905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":187905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:16:15] local.INFO: TCP Data received {"connection_id":187905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:15] local.INFO: Processing buffer {"connection_id":187905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:16:15] local.INFO: IMEI packet received {"connection_id":187905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":187905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:16:16] local.INFO: TCP Data received {"connection_id":187905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:16] local.INFO: Processing buffer {"connection_id":187905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:16] local.INFO: Packet analysis {"connection_id":187905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:16:16] local.INFO: Extracted packet for processing {"connection_id":187905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:16: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-19 05:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:16: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-19 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":187905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:16:16] local.INFO: GPS data processed {"connection_id":187905,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:16:16] local.INFO: Acknowledgment sent {"connection_id":187905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:16:48] local.INFO: TCP Data received {"connection_id":187905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:48] local.INFO: Processing buffer {"connection_id":187905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:16:48] local.INFO: Packet analysis {"connection_id":187905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:16:48] local.INFO: Extracted packet for processing {"connection_id":187905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:16: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-19 05:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:16: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-19 05: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-19 05:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":187905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:16:48] local.INFO: GPS data processed {"connection_id":187905,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:16:48] local.INFO: Acknowledgment sent {"connection_id":187905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:17:15] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:15] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:15] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:17:20] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:20] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:17:20] local.INFO: IMEI packet received {"connection_id":186512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":186512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:17:21] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:21] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:21] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:17:21] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:17:21] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:17:21] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:17:26] local.INFO: TCP Data received {"connection_id":186512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:26] local.INFO: Processing buffer {"connection_id":186512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:17:26] local.INFO: Packet analysis {"connection_id":186512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:17:26] local.INFO: Extracted packet for processing {"connection_id":186512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:17:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:17:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":186512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:17:26] local.INFO: GPS data processed {"connection_id":186512,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:17:26] local.INFO: Acknowledgment sent {"connection_id":186512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:18:10] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:10] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:10] local.INFO: IMEI packet received {"connection_id":187906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":187906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:18:15] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:15] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:18:15] local.INFO: IMEI packet received {"connection_id":187906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":187906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:18:16] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:16] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:16] local.INFO: Packet analysis {"connection_id":187906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:18:16] local.INFO: Extracted packet for processing {"connection_id":187906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:18: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-19 05:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 05:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:18: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-19 05:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":187906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:18:16] local.INFO: GPS data processed {"connection_id":187906,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:18:16] local.INFO: Acknowledgment sent {"connection_id":187906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:18:48] local.INFO: TCP Data received {"connection_id":187906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:48] local.INFO: Processing buffer {"connection_id":187906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6e76c58012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:18:48] local.INFO: Packet analysis {"connection_id":187906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:18:48] local.INFO: Extracted packet for processing {"connection_id":187906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6e7"} 
[2026-09-19 05:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 05:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182326784001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 05:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775015000,"timestamp_ms":1789775015000,"timestamp_seconds":1789775015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6e76c58"} 
[2026-09-19 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-19 05:18: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-19 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-19 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-19 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-19 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-19 05:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182326784001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182326784001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182326784001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":187906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:18:48] local.INFO: GPS data processed {"connection_id":187906,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:18:48] local.INFO: Acknowledgment sent {"connection_id":187906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:18:53] local.INFO: TCP Data received {"connection_id":189251,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:18:53] local.INFO: Processing buffer {"connection_id":189251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:18:53] local.INFO: IMEI packet received {"connection_id":189251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":189251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:19:10] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:10] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:10] local.INFO: IMEI packet received {"connection_id":187907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":187907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:19:14] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:14] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:19:14] local.INFO: IMEI packet received {"connection_id":187907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:19:15] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:15] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:15] local.INFO: Packet analysis {"connection_id":187907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:19:15] local.INFO: Extracted packet for processing {"connection_id":187907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05:19: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-19 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":187907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:19:15] local.INFO: GPS data processed {"connection_id":187907,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:19:15] local.INFO: Acknowledgment sent {"connection_id":187907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:19:46] local.INFO: TCP Data received {"connection_id":187907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:46] local.INFO: Processing buffer {"connection_id":187907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:19:46] local.INFO: Packet analysis {"connection_id":187907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:19:46] local.INFO: Extracted packet for processing {"connection_id":187907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:19: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-19 05: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-19 05: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-19 05:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:19: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-19 05:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":187907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:19:46] local.INFO: GPS data processed {"connection_id":187907,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:19:46] local.INFO: Acknowledgment sent {"connection_id":187907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:20:10] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:10] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:10] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:20:15] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:15] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:20:15] local.INFO: IMEI packet received {"connection_id":186513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:20:16] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:16] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:16] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:20:16] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:20:16] 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-19 05: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-19 05: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-19 05:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:20:16] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:20:16] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:20:47] local.INFO: TCP Data received {"connection_id":186513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:47] local.INFO: Processing buffer {"connection_id":186513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:20:47] local.INFO: Packet analysis {"connection_id":186513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:20:47] local.INFO: Extracted packet for processing {"connection_id":186513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:20: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-19 05:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:20: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-19 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:20:47] 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-19 05:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":186513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:20:47] local.INFO: GPS data processed {"connection_id":186513,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:20:47] local.INFO: Acknowledgment sent {"connection_id":186513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:21:10] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:10] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:10] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:21:15] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:15] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:21:15] local.INFO: IMEI packet received {"connection_id":186514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":186514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:21:16] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:16] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:16] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:21:16] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:21:16] 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-19 05: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-19 05: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-19 05:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:21:16] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:21:16] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:21:47] local.INFO: TCP Data received {"connection_id":186514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:47] local.INFO: Processing buffer {"connection_id":186514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:21:47] local.INFO: Packet analysis {"connection_id":186514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:21:47] local.INFO: Extracted packet for processing {"connection_id":186514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05: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-19 05: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:21:47] 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-19 05: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-19 05: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-19 05:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:21: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-19 05:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":186514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:21:47] local.INFO: GPS data processed {"connection_id":186514,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:21:47] local.INFO: Acknowledgment sent {"connection_id":186514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:22:10] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:10] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:10] local.INFO: IMEI packet received {"connection_id":186645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":186645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:22:15] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:15] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:22:15] local.INFO: IMEI packet received {"connection_id":186645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:22:16] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:16] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:16] local.INFO: Packet analysis {"connection_id":186645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:22:16] local.INFO: Extracted packet for processing {"connection_id":186645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:22: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-19 05:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:22:16] 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-19 05:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:22:16] local.INFO: GPS data processed {"connection_id":186645,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:22:16] local.INFO: Acknowledgment sent {"connection_id":186645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:22:47] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:47] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:22:47] local.INFO: Packet analysis {"connection_id":186645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:22:47] local.INFO: Extracted packet for processing {"connection_id":186645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:22: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-19 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:22:47] 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-19 05:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:22: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-19 05:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":186645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:22:47] local.INFO: GPS data processed {"connection_id":186645,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:22:47] local.INFO: Acknowledgment sent {"connection_id":186645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:23:10] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:10] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:10] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:23:15] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:15] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:23:15] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:23:16] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:16] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:16] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:23:16] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23: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-19 05:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:23:16] 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-19 05:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:23:16] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:23:16] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:23:47] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:47] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6ec0420012d34c14006aa41400008010e2c..."} 
[2026-09-19 05:23:47] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:23:47] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6ec"} 
[2026-09-19 05:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182403840001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:23: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-19 05:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775316000,"timestamp_ms":1789775316000,"timestamp_seconds":1789775316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6ec0420"} 
[2026-09-19 05: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-19 05:23: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-19 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 05:23:47] 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-19 05: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-19 05: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-19 05:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:23: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-19 05:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182403840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182403840001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182403840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:23:47] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:23:47] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:24:10] local.INFO: TCP Data received {"connection_id":189252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:10] local.INFO: Processing buffer {"connection_id":189252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:10] local.INFO: IMEI packet received {"connection_id":189252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":189252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:24:15] local.INFO: TCP Data received {"connection_id":189252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:15] local.INFO: Processing buffer {"connection_id":189252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:24:15] local.INFO: IMEI packet received {"connection_id":189252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":189252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:24:16] local.INFO: TCP Data received {"connection_id":189252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:16] local.INFO: Processing buffer {"connection_id":189252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:16] local.INFO: Packet analysis {"connection_id":189252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:24:16] local.INFO: Extracted packet for processing {"connection_id":189252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:24: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-19 05:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:24: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-19 05:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:24: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-19 05:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":189252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:24:16] local.INFO: GPS data processed {"connection_id":189252,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:24:16] local.INFO: Acknowledgment sent {"connection_id":189252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:24:23] local.INFO: TCP Data received {"connection_id":186644,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:23] local.INFO: Processing buffer {"connection_id":186644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:23] local.INFO: IMEI packet received {"connection_id":186644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":186644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:24:48] local.INFO: TCP Data received {"connection_id":189252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:48] local.INFO: Processing buffer {"connection_id":189252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:24:48] local.INFO: Packet analysis {"connection_id":189252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:24:48] local.INFO: Extracted packet for processing {"connection_id":189252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 05:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 05:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 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-19 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-19 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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:24: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-19 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-19 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-19 05:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:24:48] 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-19 05:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":189252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:24:48] local.INFO: GPS data processed {"connection_id":189252,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:24:48] local.INFO: Acknowledgment sent {"connection_id":189252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:24:53] local.INFO: TCP Data received {"connection_id":187908,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:53] local.INFO: Processing buffer {"connection_id":187908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:24:53] local.INFO: IMEI packet received {"connection_id":187908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":187908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:25:10] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:10] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:10] local.INFO: IMEI packet received {"connection_id":186515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":186515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:25:15] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:15] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:25:15] local.INFO: IMEI packet received {"connection_id":186515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:25:17] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:17] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:17] local.INFO: Packet analysis {"connection_id":186515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:25:17] local.INFO: Extracted packet for processing {"connection_id":186515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25: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-19 05:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05: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-19 05:25: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:25:17] 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-19 05: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-19 05: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-19 05:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":186515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:25:17] local.INFO: GPS data processed {"connection_id":186515,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:25:17] local.INFO: Acknowledgment sent {"connection_id":186515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:25:49] local.INFO: TCP Data received {"connection_id":186515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:49] local.INFO: Processing buffer {"connection_id":186515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:25:49] local.INFO: Packet analysis {"connection_id":186515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:25:49] local.INFO: Extracted packet for processing {"connection_id":186515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:25: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-19 05:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:25: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-19 05:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:25: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-19 05:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:25:49] local.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-19 05:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":186515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:25:49] local.INFO: GPS data processed {"connection_id":186515,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:25:49] local.INFO: Acknowledgment sent {"connection_id":186515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:26:11] local.INFO: TCP Data received {"connection_id":189253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:11] local.INFO: Processing buffer {"connection_id":189253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:11] local.INFO: IMEI packet received {"connection_id":189253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":189253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:26:15] local.INFO: TCP Data received {"connection_id":189253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:15] local.INFO: Processing buffer {"connection_id":189253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:26:15] local.INFO: IMEI packet received {"connection_id":189253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":189253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:26:16] local.INFO: TCP Data received {"connection_id":189253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:16] local.INFO: Processing buffer {"connection_id":189253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:16] local.INFO: Packet analysis {"connection_id":189253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:26:16] local.INFO: Extracted packet for processing {"connection_id":189253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26: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-19 05:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05: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-19 05:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:26: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-19 05: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-19 05: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-19 05:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":189253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:26:16] local.INFO: GPS data processed {"connection_id":189253,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:26:16] local.INFO: Acknowledgment sent {"connection_id":189253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:26:48] local.INFO: TCP Data received {"connection_id":189253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:48] local.INFO: Processing buffer {"connection_id":189253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:26:48] local.INFO: Packet analysis {"connection_id":189253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:26:48] local.INFO: Extracted packet for processing {"connection_id":189253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:26: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-19 05:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05: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-19 05:26: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-19 05:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:26:48] local.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-19 05:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":189253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:26:48] local.INFO: GPS data processed {"connection_id":189253,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:26:48] local.INFO: Acknowledgment sent {"connection_id":189253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:27:10] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:10] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:10] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:27:15] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:15] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:27:15] local.INFO: IMEI packet received {"connection_id":186516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:27:16] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:16] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:16] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:27:16] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27: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-19 05:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05: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-19 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:27: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-19 05: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-19 05: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-19 05:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:27:16] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:27:16] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:27:48] local.INFO: TCP Data received {"connection_id":186516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:48] local.INFO: Processing buffer {"connection_id":186516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:27:48] local.INFO: Packet analysis {"connection_id":186516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:27:48] local.INFO: Extracted packet for processing {"connection_id":186516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:27: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-19 05:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:27: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-19 05:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:27: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-19 05:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:27: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-19 05:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":186516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:27:48] local.INFO: GPS data processed {"connection_id":186516,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:27:48] local.INFO: Acknowledgment sent {"connection_id":186516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:28:10] local.INFO: TCP Data received {"connection_id":187909,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:10] local.INFO: Processing buffer {"connection_id":187909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:10] local.INFO: IMEI packet received {"connection_id":187909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":187909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:28:15] local.INFO: TCP Data received {"connection_id":187909,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:15] local.INFO: Processing buffer {"connection_id":187909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:28:15] local.INFO: IMEI packet received {"connection_id":187909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":187909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:28:16] local.INFO: TCP Data received {"connection_id":187909,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:16] local.INFO: Processing buffer {"connection_id":187909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:16] local.INFO: Packet analysis {"connection_id":187909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:28:16] local.INFO: Extracted packet for processing {"connection_id":187909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28: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-19 05:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:28: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-19 05:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:28: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-19 05:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":187909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:28:16] local.INFO: GPS data processed {"connection_id":187909,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:28:16] local.INFO: Acknowledgment sent {"connection_id":187909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:28:47] local.INFO: TCP Data received {"connection_id":187909,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:47] local.INFO: Processing buffer {"connection_id":187909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:28:47] local.INFO: Packet analysis {"connection_id":187909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:28:47] local.INFO: Extracted packet for processing {"connection_id":187909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:28: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-19 05:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05: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-19 05:28: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":187909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:28:47] local.INFO: GPS data processed {"connection_id":187909,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:28:47] local.INFO: Acknowledgment sent {"connection_id":187909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:29:10] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:10] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:10] local.INFO: IMEI packet received {"connection_id":186517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:29:15] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:15] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:29:15] local.INFO: IMEI packet received {"connection_id":186517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:29:16] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:16] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f09be8012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:16] local.INFO: Packet analysis {"connection_id":186517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:29:16] local.INFO: Extracted packet for processing {"connection_id":186517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f0"} 
[2026-09-19 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182480896001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:29: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-19 05:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775617000,"timestamp_ms":1789775617000,"timestamp_seconds":1789775617,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f09be8"} 
[2026-09-19 05:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:29: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-19 05:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182480896001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182480896001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182480896001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:29:16] local.INFO: GPS data processed {"connection_id":186517,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:29:16] local.INFO: Acknowledgment sent {"connection_id":186517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:29:47] local.INFO: TCP Data received {"connection_id":186517,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:47] local.INFO: Processing buffer {"connection_id":186517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:29:47] local.INFO: Packet analysis {"connection_id":186517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:29:47] local.INFO: Extracted packet for processing {"connection_id":186517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:29: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-19 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:29: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-19 05:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:29: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-19 05:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":186517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:29:47] local.INFO: GPS data processed {"connection_id":186517,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:29:47] local.INFO: Acknowledgment sent {"connection_id":186517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:30:10] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:10] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:10] local.INFO: IMEI packet received {"connection_id":187910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":187910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:30:15] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:15] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:30:15] local.INFO: IMEI packet received {"connection_id":187910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":187910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:30:16] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:16] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:16] local.INFO: Packet analysis {"connection_id":187910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:30:16] local.INFO: Extracted packet for processing {"connection_id":187910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:30: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-19 05:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05: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-19 05:30: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-19 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":187910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:30:16] local.INFO: GPS data processed {"connection_id":187910,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:30:16] local.INFO: Acknowledgment sent {"connection_id":187910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:30:23] local.INFO: TCP Data received {"connection_id":189254,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:30:23] local.INFO: Processing buffer {"connection_id":189254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:30:23] local.INFO: IMEI packet received {"connection_id":189254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":189254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:30:48] local.INFO: TCP Data received {"connection_id":187910,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:48] local.INFO: Processing buffer {"connection_id":187910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:30:48] local.INFO: Packet analysis {"connection_id":187910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:30:48] local.INFO: Extracted packet for processing {"connection_id":187910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05: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-19 05:30: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-19 05: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:30: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-19 05: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-19 05: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-19 05:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":187910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:30:48] local.INFO: GPS data processed {"connection_id":187910,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:30:48] local.INFO: Acknowledgment sent {"connection_id":187910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:31:10] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:10] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:10] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:31:15] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:15] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:31:15] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:31:16] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:16] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:16] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:31:16] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31: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-19 05:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:31: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-19 05:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:31:16] 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-19 05:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:31:16] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:31:16] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:31:49] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:49] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:31:49] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:31:49] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:31: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-19 05:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:31: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-19 05:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:31: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-19 05:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:31:49] 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-19 05:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:31:49] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:31:49] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:32:10] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:10] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:10] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:32:15] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:15] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:32:15] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:32:16] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:16] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:16] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:32:16] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:32: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-19 05:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:32:16] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:32:16] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:32:47] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:47] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:32:47] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:32:47] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:32: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-19 05:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05: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-19 05:32: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-19 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:32: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-19 05: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-19 05: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-19 05:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:32: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-19 05:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:32:47] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:32:47] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:33:10] local.INFO: TCP Data received {"connection_id":189255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:10] local.INFO: Processing buffer {"connection_id":189255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:10] local.INFO: IMEI packet received {"connection_id":189255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":189255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:33:15] local.INFO: TCP Data received {"connection_id":189255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:15] local.INFO: Processing buffer {"connection_id":189255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:33:15] local.INFO: IMEI packet received {"connection_id":189255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":189255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:33:16] local.INFO: TCP Data received {"connection_id":189255,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:16] local.INFO: Processing buffer {"connection_id":189255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:16] local.INFO: Packet analysis {"connection_id":189255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:33:16] local.INFO: Extracted packet for processing {"connection_id":189255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33: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-19 05:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05: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-19 05:33: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-19 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":189255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:33:16] local.INFO: GPS data processed {"connection_id":189255,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:33:16] local.INFO: Acknowledgment sent {"connection_id":189255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:33:48] local.INFO: TCP Data received {"connection_id":189255,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:48] local.INFO: Processing buffer {"connection_id":189255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:33:48] local.INFO: Packet analysis {"connection_id":189255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:33:48] local.INFO: Extracted packet for processing {"connection_id":189255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:33: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-19 05:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:33: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-19 05:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:33: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-19 05:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":189255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:33:48] local.INFO: GPS data processed {"connection_id":189255,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:33:48] local.INFO: Acknowledgment sent {"connection_id":189255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:34:10] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:10] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:10] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:34:15] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:15] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:34:15] local.INFO: IMEI packet received {"connection_id":186518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:34:16] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:34:16] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f533b0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:34:16] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:34:16] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f5"} 
[2026-09-19 05:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182557952001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:34: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-19 05:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789775918000,"timestamp_ms":1789775918000,"timestamp_seconds":1789775918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f533b0"} 
[2026-09-19 05:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:34: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-19 05:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 05:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182557952001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182557952001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182557952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:34:16] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:34:16] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:34:47] local.INFO: TCP Data received {"connection_id":186518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:34:47] local.INFO: Processing buffer {"connection_id":186518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:34:47] local.INFO: Packet analysis {"connection_id":186518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:34:47] local.INFO: Extracted packet for processing {"connection_id":186518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:34: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-19 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:34: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-19 05:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:34:47] 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-19 05:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":186518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:34:47] local.INFO: GPS data processed {"connection_id":186518,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:34:47] local.INFO: Acknowledgment sent {"connection_id":186518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:35:10] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:10] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:10] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:35:15] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:15] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:35:15] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:35:17] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:17] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:17] local.INFO: Packet analysis {"connection_id":186650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:35:17] local.INFO: Extracted packet for processing {"connection_id":186650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35: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-19 05:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:35: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-19 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":186650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:35:17] local.INFO: GPS data processed {"connection_id":186650,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:35:17] local.INFO: Acknowledgment sent {"connection_id":186650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:35:48] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:48] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:35:48] local.INFO: Packet analysis {"connection_id":186650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:35:48] local.INFO: Extracted packet for processing {"connection_id":186650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:35: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-19 05:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05: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-19 05:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:35: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-19 05: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-19 05: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-19 05:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:35:48] local.INFO: GPS data processed {"connection_id":186650,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:35:48] local.INFO: Acknowledgment sent {"connection_id":186650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:35:58] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:35:58] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:35:58] local.INFO: IMEI packet received {"connection_id":186649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":186649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:36:10] local.INFO: TCP Data received {"connection_id":187911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:10] local.INFO: Processing buffer {"connection_id":187911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:10] local.INFO: IMEI packet received {"connection_id":187911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":187911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:36:15] local.INFO: TCP Data received {"connection_id":187911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:15] local.INFO: Processing buffer {"connection_id":187911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:36:15] local.INFO: IMEI packet received {"connection_id":187911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":187911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:36:16] local.INFO: TCP Data received {"connection_id":187911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:16] local.INFO: Processing buffer {"connection_id":187911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:16] local.INFO: Packet analysis {"connection_id":187911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:36:16] local.INFO: Extracted packet for processing {"connection_id":187911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36: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-19 05:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05: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-19 05:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05: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-19 05: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-19 05:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":187911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:36:16] local.INFO: GPS data processed {"connection_id":187911,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:36:16] local.INFO: Acknowledgment sent {"connection_id":187911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:36:47] local.INFO: TCP Data received {"connection_id":187911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:47] local.INFO: Processing buffer {"connection_id":187911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:36:47] local.INFO: Packet analysis {"connection_id":187911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:36:47] local.INFO: Extracted packet for processing {"connection_id":187911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:36: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-19 05:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05: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-19 05:36: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-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:36: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-19 05: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-19 05: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-19 05:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":187911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:36:47] local.INFO: GPS data processed {"connection_id":187911,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:36:47] local.INFO: Acknowledgment sent {"connection_id":187911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:37:10] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:10] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:10] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:37:15] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:15] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:37:15] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:37:16] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:16] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:16] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:37:16] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:37: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-19 05:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:37:16] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:37:16] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:37:48] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:48] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:37:48] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:37:48] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05: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-19 05:37: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-19 05: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:37: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-19 05: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-19 05: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-19 05:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:37:48] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:37:48] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:38:10] local.INFO: TCP Data received {"connection_id":189256,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:10] local.INFO: Processing buffer {"connection_id":189256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:10] local.INFO: IMEI packet received {"connection_id":189256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":189256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:38:15] local.INFO: TCP Data received {"connection_id":189256,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:15] local.INFO: Processing buffer {"connection_id":189256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:38:15] local.INFO: IMEI packet received {"connection_id":189256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":189256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:38:16] local.INFO: TCP Data received {"connection_id":189256,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:16] local.INFO: Processing buffer {"connection_id":189256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:16] local.INFO: Packet analysis {"connection_id":189256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:38:16] local.INFO: Extracted packet for processing {"connection_id":189256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:38: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-19 05:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":189256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:38:16] local.INFO: GPS data processed {"connection_id":189256,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:38:16] local.INFO: Acknowledgment sent {"connection_id":189256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:38:48] local.INFO: TCP Data received {"connection_id":189256,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:48] local.INFO: Processing buffer {"connection_id":189256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:38:48] local.INFO: Packet analysis {"connection_id":189256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:38:48] local.INFO: Extracted packet for processing {"connection_id":189256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":189256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:38:48] local.INFO: GPS data processed {"connection_id":189256,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:38:48] local.INFO: Acknowledgment sent {"connection_id":189256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:39:10] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:10] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:10] local.INFO: IMEI packet received {"connection_id":186652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":186652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:39:15] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:15] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:39:15] local.INFO: IMEI packet received {"connection_id":186652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:39:16] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:39:16] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6f9cb78012d34c14006aa41400008010e2e..."} 
[2026-09-19 05:39:16] local.INFO: Packet analysis {"connection_id":186652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:39:16] local.INFO: Extracted packet for processing {"connection_id":186652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6f9"} 
[2026-09-19 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182635008001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39: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-19 05:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776219000,"timestamp_ms":1789776219000,"timestamp_seconds":1789776219,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6f9cb78"} 
[2026-09-19 05:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182635008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182635008001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182635008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:39:16] local.INFO: GPS data processed {"connection_id":186652,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:39:16] local.INFO: Acknowledgment sent {"connection_id":186652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:39:47] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:39:47] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:39:47] local.INFO: Packet analysis {"connection_id":186652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:39:47] local.INFO: Extracted packet for processing {"connection_id":186652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:39: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-19 05:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05:39: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-19 05:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:39:47] local.INFO: GPS data processed {"connection_id":186652,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:39:47] local.INFO: Acknowledgment sent {"connection_id":186652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:40:10] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:10] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:10] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:40:15] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:15] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:40:15] local.INFO: IMEI packet received {"connection_id":186519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:40:16] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:16] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:16] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:40:16] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40: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-19 05:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:40: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-19 05: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-19 05: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-19 05:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:40:16] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:40:16] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:40:48] local.INFO: TCP Data received {"connection_id":186519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:48] local.INFO: Processing buffer {"connection_id":186519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:40:48] local.INFO: Packet analysis {"connection_id":186519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:40:48] local.INFO: Extracted packet for processing {"connection_id":186519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:40: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-19 05:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:40: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-19 05:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:40: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-19 05:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:40:48] local.INFO: GPS data processed {"connection_id":186519,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:40:48] local.INFO: Acknowledgment sent {"connection_id":186519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:41:10] local.INFO: TCP Data received {"connection_id":189258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:10] local.INFO: Processing buffer {"connection_id":189258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:10] local.INFO: IMEI packet received {"connection_id":189258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":189258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:41:15] local.INFO: TCP Data received {"connection_id":189258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:15] local.INFO: Processing buffer {"connection_id":189258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:41:15] local.INFO: IMEI packet received {"connection_id":189258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":189258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:41:16] local.INFO: TCP Data received {"connection_id":189258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:16] local.INFO: Processing buffer {"connection_id":189258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:16] local.INFO: Packet analysis {"connection_id":189258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:41:16] local.INFO: Extracted packet for processing {"connection_id":189258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:41: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-19 05: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-19 05: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-19 05:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":189258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:41:16] local.INFO: GPS data processed {"connection_id":189258,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:41:16] local.INFO: Acknowledgment sent {"connection_id":189258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:41:33] local.INFO: TCP Data received {"connection_id":189257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:41:33] local.INFO: Processing buffer {"connection_id":189257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:41:33] local.INFO: IMEI packet received {"connection_id":189257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":189257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:41:48] local.INFO: TCP Data received {"connection_id":189258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:48] local.INFO: Processing buffer {"connection_id":189258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:41:48] local.INFO: Packet analysis {"connection_id":189258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:41:48] local.INFO: Extracted packet for processing {"connection_id":189258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05:41: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-19 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:41: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-19 05: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-19 05: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-19 05:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":189258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:41:48] local.INFO: GPS data processed {"connection_id":189258,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:41:48] local.INFO: Acknowledgment sent {"connection_id":189258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:42:10] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:10] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:10] local.INFO: IMEI packet received {"connection_id":187912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":187912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:42:15] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:15] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:42:15] local.INFO: IMEI packet received {"connection_id":187912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":187912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:42:16] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:16] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:16] local.INFO: Packet analysis {"connection_id":187912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:42:16] local.INFO: Extracted packet for processing {"connection_id":187912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42: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-19 05:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:42: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-19 05:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":187912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:42:16] local.INFO: GPS data processed {"connection_id":187912,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:42:16] local.INFO: Acknowledgment sent {"connection_id":187912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:42:48] local.INFO: TCP Data received {"connection_id":187912,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:48] local.INFO: Processing buffer {"connection_id":187912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:42:48] local.INFO: Packet analysis {"connection_id":187912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:42:48] local.INFO: Extracted packet for processing {"connection_id":187912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:42: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-19 05:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:42: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-19 05:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:42: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-19 05:42: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-19 05:42: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-19 05:42: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-19 05:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:42:48] local.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-19 05:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:42:48] local.INFO: GPS data processed {"connection_id":187912,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:42:48] local.INFO: Acknowledgment sent {"connection_id":187912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:43:10] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:10] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:10] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:43:15] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:15] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:43:15] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:43:16] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:16] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:16] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:43:16] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:43: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-19 05:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:43: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-19 05: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-19 05: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-19 05:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:43:16] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:43:16] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:43:48] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:48] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:43:48] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:43:48] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:43:48] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:43:48] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:44:10] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:10] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:10] local.INFO: IMEI packet received {"connection_id":187913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":187913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:44:15] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:15] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:44:15] local.INFO: IMEI packet received {"connection_id":187913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":187913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:44:16] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:44:16] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b6fe6340012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:44:16] local.INFO: Packet analysis {"connection_id":187913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:44:16] local.INFO: Extracted packet for processing {"connection_id":187913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b6fe"} 
[2026-09-19 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182712064001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44: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-19 05:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776520000,"timestamp_ms":1789776520000,"timestamp_seconds":1789776520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b6fe6340"} 
[2026-09-19 05:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:44: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-19 05:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182712064001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182712064001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182712064001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":187913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:44:16] local.INFO: GPS data processed {"connection_id":187913,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:44:16] local.INFO: Acknowledgment sent {"connection_id":187913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:44:47] local.INFO: TCP Data received {"connection_id":187913,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:44:47] local.INFO: Processing buffer {"connection_id":187913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:44:47] local.INFO: Packet analysis {"connection_id":187913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:44:47] local.INFO: Extracted packet for processing {"connection_id":187913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:44: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-19 05:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:44: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-19 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:44: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-19 05:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":187913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:44:47] local.INFO: GPS data processed {"connection_id":187913,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:44:47] local.INFO: Acknowledgment sent {"connection_id":187913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:45:11] local.INFO: TCP Data received {"connection_id":189260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:11] local.INFO: Processing buffer {"connection_id":189260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:11] local.INFO: IMEI packet received {"connection_id":189260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":189260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:45:15] local.INFO: TCP Data received {"connection_id":189260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:15] local.INFO: Processing buffer {"connection_id":189260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:45:15] local.INFO: IMEI packet received {"connection_id":189260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":189260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:45:16] local.INFO: TCP Data received {"connection_id":189260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:16] local.INFO: Processing buffer {"connection_id":189260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:16] local.INFO: Packet analysis {"connection_id":189260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:16] local.INFO: Extracted packet for processing {"connection_id":189260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45: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-19 05:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05: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-19 05:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05: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-19 05: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-19 05:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":189260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:45:16] local.INFO: GPS data processed {"connection_id":189260,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:45:16] local.INFO: Acknowledgment sent {"connection_id":189260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:45:21] local.INFO: TCP Data received {"connection_id":189260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:21] local.INFO: Processing buffer {"connection_id":189260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:21] local.INFO: Packet analysis {"connection_id":189260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:21] local.INFO: Extracted packet for processing {"connection_id":189260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:21] 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-19 05:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":189260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:45:21] local.INFO: GPS data processed {"connection_id":189260,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:45:21] local.INFO: Acknowledgment sent {"connection_id":189260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:45:52] local.INFO: TCP Data received {"connection_id":189260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:52] local.INFO: Processing buffer {"connection_id":189260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:45:52] local.INFO: Packet analysis {"connection_id":189260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:52] local.INFO: Extracted packet for processing {"connection_id":189260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:45: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-19 05:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:45: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-19 05:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:45:52] 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-19 05:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":189260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:45:52] local.INFO: GPS data processed {"connection_id":189260,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:45:52] local.INFO: Acknowledgment sent {"connection_id":189260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:46:10] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:10] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:10] local.INFO: IMEI packet received {"connection_id":186654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":186654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:46:15] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:15] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:46:15] local.INFO: IMEI packet received {"connection_id":186654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:46:17] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:17] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:17] local.INFO: Packet analysis {"connection_id":186654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:46:17] local.INFO: Extracted packet for processing {"connection_id":186654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46: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-19 05:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05: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-19 05:46: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-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05: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-19 05: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-19 05:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:46:17] 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-19 05:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":186654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:46:17] local.INFO: GPS data processed {"connection_id":186654,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:46:17] local.INFO: Acknowledgment sent {"connection_id":186654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:46:48] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:48] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:46:48] local.INFO: Packet analysis {"connection_id":186654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:46:48] local.INFO: Extracted packet for processing {"connection_id":186654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:46: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-19 05:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05: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-19 05:46: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-19 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:46: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-19 05: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-19 05: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-19 05:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:46:48] 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-19 05:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":186654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:46:48] local.INFO: GPS data processed {"connection_id":186654,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:46:48] local.INFO: Acknowledgment sent {"connection_id":186654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:47:08] local.INFO: TCP Data received {"connection_id":189259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:47:08] local.INFO: Processing buffer {"connection_id":189259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:47:08] local.INFO: IMEI packet received {"connection_id":189259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":189259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:47:10] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:10] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:10] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:47:15] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:15] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:47:15] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:47:16] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:16] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:16] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:47:16] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47: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-19 05:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:47:16] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:47:16] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:47:47] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:47] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:47:47] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:47:47] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:47: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-19 05:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:47: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-19 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:47: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-19 05:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:47: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-19 05:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:47:47] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:47:47] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:48:10] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:10] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:10] local.INFO: IMEI packet received {"connection_id":187914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:48:15] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:15] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:48:15] local.INFO: IMEI packet received {"connection_id":187914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":187914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:48:16] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:16] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:16] local.INFO: Packet analysis {"connection_id":187914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:48:16] local.INFO: Extracted packet for processing {"connection_id":187914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:48: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-19 05:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":187914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:48:16] local.INFO: GPS data processed {"connection_id":187914,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:48:16] local.INFO: Acknowledgment sent {"connection_id":187914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:48:48] local.INFO: TCP Data received {"connection_id":187914,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:48] local.INFO: Processing buffer {"connection_id":187914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:48:48] local.INFO: Packet analysis {"connection_id":187914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:48:48] local.INFO: Extracted packet for processing {"connection_id":187914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05: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-19 05:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":187914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:48:48] local.INFO: GPS data processed {"connection_id":187914,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:48:48] local.INFO: Acknowledgment sent {"connection_id":187914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:49:10] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:10] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:10] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:49:15] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:15] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:49:15] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:49:16] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:49:16] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b702fb08012d34c14006aa41400008010e2a..."} 
[2026-09-19 05:49:16] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:49:16] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b702"} 
[2026-09-19 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182789120001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:49: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-19 05:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789776821000,"timestamp_ms":1789776821000,"timestamp_seconds":1789776821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b702fb08"} 
[2026-09-19 05:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 05:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 05:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:49: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-19 05:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182789120001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182789120001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182789120001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:49:16] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:49:16] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:49:48] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:49:48] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:49:48] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:49:48] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 05:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 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-19 05:49: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-19 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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:49: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-19 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-19 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-19 05:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:49: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-19 05:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:49:48] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:49:48] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:50:15] local.INFO: TCP Data received {"connection_id":189261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:15] local.INFO: Processing buffer {"connection_id":189261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:15] local.INFO: IMEI packet received {"connection_id":189261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":189261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:50:20] local.INFO: TCP Data received {"connection_id":189261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:20] local.INFO: Processing buffer {"connection_id":189261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:50:20] local.INFO: IMEI packet received {"connection_id":189261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":189261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:50:21] local.INFO: TCP Data received {"connection_id":189261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:21] local.INFO: Processing buffer {"connection_id":189261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:21] local.INFO: Packet analysis {"connection_id":189261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:50:21] local.INFO: Extracted packet for processing {"connection_id":189261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:50:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":189261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:50:21] local.INFO: GPS data processed {"connection_id":189261,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:50:21] local.INFO: Acknowledgment sent {"connection_id":189261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:50:26] local.INFO: TCP Data received {"connection_id":189261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:26] local.INFO: Processing buffer {"connection_id":189261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:50:26] local.INFO: Packet analysis {"connection_id":189261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:50:26] local.INFO: Extracted packet for processing {"connection_id":189261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:50:26] 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-19 05:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:50:26] 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-19 05:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:50:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":189261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:50:26] local.INFO: GPS data processed {"connection_id":189261,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:50:26] local.INFO: Acknowledgment sent {"connection_id":189261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:51:10] local.INFO: TCP Data received {"connection_id":189262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:10] local.INFO: Processing buffer {"connection_id":189262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:10] local.INFO: IMEI packet received {"connection_id":189262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":189262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:51:15] local.INFO: TCP Data received {"connection_id":189262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:15] local.INFO: Processing buffer {"connection_id":189262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:51:15] local.INFO: IMEI packet received {"connection_id":189262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":189262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:51:16] local.INFO: TCP Data received {"connection_id":189262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:16] local.INFO: Processing buffer {"connection_id":189262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:16] local.INFO: Packet analysis {"connection_id":189262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:51:16] local.INFO: Extracted packet for processing {"connection_id":189262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51: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-19 05:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05: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-19 05:51: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:51: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-19 05: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-19 05: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-19 05:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":189262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:51:16] local.INFO: GPS data processed {"connection_id":189262,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:51:16] local.INFO: Acknowledgment sent {"connection_id":189262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:51:47] local.INFO: TCP Data received {"connection_id":189262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:47] local.INFO: Processing buffer {"connection_id":189262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:51:47] local.INFO: Packet analysis {"connection_id":189262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:51:47] local.INFO: Extracted packet for processing {"connection_id":189262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:51: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-19 05:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05: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-19 05:51: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:51: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-19 05:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":189262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:51:47] local.INFO: GPS data processed {"connection_id":189262,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:51:47] local.INFO: Acknowledgment sent {"connection_id":189262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:52:10] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:10] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:10] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:52:15] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:15] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:52:15] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:52:16] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:16] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:16] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:52:16] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:52: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-19 05:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05: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-19 05:52: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:52: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-19 05: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-19 05: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-19 05:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:52:16] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:52:16] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:52:43] local.INFO: TCP Data received {"connection_id":187915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:52:43] local.INFO: Processing buffer {"connection_id":187915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:52:43] local.INFO: IMEI packet received {"connection_id":187915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":187915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:52:48] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:48] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:52:48] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:52:48] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 05:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 05:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 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-19 05:52: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-19 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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:52: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-19 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-19 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-19 05:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:52:48] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:52:48] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:53:10] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:10] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:10] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:53:15] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:15] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:53:15] local.INFO: IMEI packet received {"connection_id":186520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:53:16] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:16] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:16] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:53:16] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:53: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-19 05:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:53: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-19 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:53: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-19 05:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:53:16] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:53:16] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:53:47] local.INFO: TCP Data received {"connection_id":186520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:47] local.INFO: Processing buffer {"connection_id":186520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:53:47] local.INFO: Packet analysis {"connection_id":186520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:53:47] local.INFO: Extracted packet for processing {"connection_id":186520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05: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-19 05:53: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-19 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:53: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-19 05:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:53:47] local.INFO: GPS data processed {"connection_id":186520,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:53:47] local.INFO: Acknowledgment sent {"connection_id":186520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:54:10] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:10] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:10] local.INFO: IMEI packet received {"connection_id":187916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":187916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:54:15] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:15] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:54:15] local.INFO: IMEI packet received {"connection_id":187916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":187916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:54:16] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:54:16] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70792d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 05:54:16] local.INFO: Packet analysis {"connection_id":187916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:54:16] local.INFO: Extracted packet for processing {"connection_id":187916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b707"} 
[2026-09-19 05:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182866176001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:54: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-19 05:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777122000,"timestamp_ms":1789777122000,"timestamp_seconds":1789777122,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70792d0"} 
[2026-09-19 05:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:54: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-19 05:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:54: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-19 05:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182866176001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182866176001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182866176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":187916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:54:16] local.INFO: GPS data processed {"connection_id":187916,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:54:16] local.INFO: Acknowledgment sent {"connection_id":187916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:54:47] local.INFO: TCP Data received {"connection_id":187916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:54:47] local.INFO: Processing buffer {"connection_id":187916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:54:47] local.INFO: Packet analysis {"connection_id":187916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:54:47] local.INFO: Extracted packet for processing {"connection_id":187916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05: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-19 05:54: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-19 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:54: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-19 05:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":187916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:54:47] local.INFO: GPS data processed {"connection_id":187916,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:54:47] local.INFO: Acknowledgment sent {"connection_id":187916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:55:15] local.INFO: TCP Data received {"connection_id":189263,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:15] local.INFO: Processing buffer {"connection_id":189263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:15] local.INFO: IMEI packet received {"connection_id":189263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":189263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:55:20] local.INFO: TCP Data received {"connection_id":189263,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:20] local.INFO: Processing buffer {"connection_id":189263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:55:20] local.INFO: IMEI packet received {"connection_id":189263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":189263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:55:22] local.INFO: TCP Data received {"connection_id":189263,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:22] local.INFO: Processing buffer {"connection_id":189263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:22] local.INFO: Packet analysis {"connection_id":189263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:55:22] local.INFO: Extracted packet for processing {"connection_id":189263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:55: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-19 05:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:55: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:55:22] 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-19 05:55: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-19 05:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:55:22] 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-19 05:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:55:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:55:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":189263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:55:22] local.INFO: GPS data processed {"connection_id":189263,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:55:22] local.INFO: Acknowledgment sent {"connection_id":189263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:55:26] local.INFO: TCP Data received {"connection_id":189263,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:26] local.INFO: Processing buffer {"connection_id":189263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:55:26] local.INFO: Packet analysis {"connection_id":189263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:55:26] local.INFO: Extracted packet for processing {"connection_id":189263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:55: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-19 05:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 05:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:55: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:55:26] 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-19 05:55: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-19 05:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:55:26] 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-19 05:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:55:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":189263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:55:26] local.INFO: GPS data processed {"connection_id":189263,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:55:26] local.INFO: Acknowledgment sent {"connection_id":189263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:56:10] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:10] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:10] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:56:15] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:15] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:56:15] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:56:16] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:16] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:16] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:56:16] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56: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-19 05:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05: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-19 05:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:56:16] 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-19 05: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-19 05: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-19 05:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:56:16] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:56:16] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:56:48] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:48] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:56:48] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:56:48] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:56: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-19 05:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:56: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-19 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:56: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-19 05:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:56:48] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:56:48] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:57:10] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:10] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:10] local.INFO: IMEI packet received {"connection_id":186659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":186659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:57:15] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:15] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:57:15] local.INFO: IMEI packet received {"connection_id":186659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:57:16] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:16] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:16] local.INFO: Packet analysis {"connection_id":186659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:57:16] local.INFO: Extracted packet for processing {"connection_id":186659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:57: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-19 05:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:57:16] local.INFO: IO Element 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-19 05:57:16] 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-19 05:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":186659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:57:16] local.INFO: GPS data processed {"connection_id":186659,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:57:16] local.INFO: Acknowledgment sent {"connection_id":186659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:57:48] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:48] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:57:48] local.INFO: Packet analysis {"connection_id":186659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:57:48] local.INFO: Extracted packet for processing {"connection_id":186659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 05:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 05:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 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-19 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-19 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":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:57: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-19 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-19 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-19 05:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":186659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:57:48] local.INFO: GPS data processed {"connection_id":186659,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:57:48] local.INFO: Acknowledgment sent {"connection_id":186659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:58:10] local.INFO: TCP Data received {"connection_id":189264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:10] local.INFO: Processing buffer {"connection_id":189264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:10] local.INFO: IMEI packet received {"connection_id":189264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":189264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:58:15] local.INFO: TCP Data received {"connection_id":189264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:15] local.INFO: Processing buffer {"connection_id":189264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:58:15] local.INFO: IMEI packet received {"connection_id":189264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":189264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:58:16] local.INFO: TCP Data received {"connection_id":189264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:16] local.INFO: Processing buffer {"connection_id":189264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:16] local.INFO: Packet analysis {"connection_id":189264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:58:16] local.INFO: Extracted packet for processing {"connection_id":189264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58: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-19 05:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:58:16] 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-19 05:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":189264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:58:16] local.INFO: GPS data processed {"connection_id":189264,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:58:16] local.INFO: Acknowledgment sent {"connection_id":189264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:58:18] local.INFO: TCP Data received {"connection_id":187917,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:58:18] local.INFO: Processing buffer {"connection_id":187917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 05:58:18] local.INFO: IMEI packet received {"connection_id":187917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 05:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":187917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:58:48] local.INFO: TCP Data received {"connection_id":189264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:48] local.INFO: Processing buffer {"connection_id":189264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:58:48] local.INFO: Packet analysis {"connection_id":189264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:58:48] local.INFO: Extracted packet for processing {"connection_id":189264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 05:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:58: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-19 05:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 05:58: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-19 05:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:58: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-19 05:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 05:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 05:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 05:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":189264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:58:48] local.INFO: GPS data processed {"connection_id":189264,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:58:48] local.INFO: Acknowledgment sent {"connection_id":189264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:59:10] local.INFO: TCP Data received {"connection_id":189265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:10] local.INFO: Processing buffer {"connection_id":189265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:10] local.INFO: IMEI packet received {"connection_id":189265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 05:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":189265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 05:59:15] local.INFO: TCP Data received {"connection_id":189265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:15] local.INFO: Processing buffer {"connection_id":189265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 05:59:15] local.INFO: IMEI packet received {"connection_id":189265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 05:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":189265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 05:59:16] local.INFO: TCP Data received {"connection_id":189265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:59:16] local.INFO: Processing buffer {"connection_id":189265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b70c2a98012d34c14006aa41400008010e29..."} 
[2026-09-19 05:59:16] local.INFO: Packet analysis {"connection_id":189265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:59:16] local.INFO: Extracted packet for processing {"connection_id":189265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b70c"} 
[2026-09-19 05:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458182943232001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05:59: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-19 05:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777423000,"timestamp_ms":1789777423000,"timestamp_seconds":1789777423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b70c2a98"} 
[2026-09-19 05: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-19 05:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 05:59:16] 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-19 05: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-19 05: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-19 05:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458182943232001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458182943232001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458182943232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":189265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:59:16] local.INFO: GPS data processed {"connection_id":189265,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:59:16] local.INFO: Acknowledgment sent {"connection_id":189265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 05:59:47] local.INFO: TCP Data received {"connection_id":189265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 05:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 05:59:47] local.INFO: Processing buffer {"connection_id":189265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 05:59:47] local.INFO: Packet analysis {"connection_id":189265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 05:59:47] local.INFO: Extracted packet for processing {"connection_id":189265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 05:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 05: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-19 05:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 05:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 05:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 05: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-19 05:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 05: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-19 05:59: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-19 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 05:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 05: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-19 05: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-19 05:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 05:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 05:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 05:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 05:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 05:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 05:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 05:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 05:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 05:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 05:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 05:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 05:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 05:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 05:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 05:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":189265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 05:59:47] local.INFO: GPS data processed {"connection_id":189265,"processed":1,"errors":0,"total":1} 
[2026-09-19 05:59:47] local.INFO: Acknowledgment sent {"connection_id":189265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:00:10] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:10] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:10] local.INFO: IMEI packet received {"connection_id":187918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":187918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:00:15] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:15] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:00:15] local.INFO: IMEI packet received {"connection_id":187918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":187918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:00:16] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:16] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:16] local.INFO: Packet analysis {"connection_id":187918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:00:16] local.INFO: Extracted packet for processing {"connection_id":187918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00: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-19 06:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:00: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-19 06:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:00:16] 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-19 06:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":187918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:00:16] local.INFO: GPS data processed {"connection_id":187918,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:00:16] local.INFO: Acknowledgment sent {"connection_id":187918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:00:49] local.INFO: TCP Data received {"connection_id":187918,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:49] local.INFO: Processing buffer {"connection_id":187918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:00:49] local.INFO: Packet analysis {"connection_id":187918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:00:49] local.INFO: Extracted packet for processing {"connection_id":187918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:00: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-19 06:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:00:49] 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-19 06:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":187918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:00:49] local.INFO: GPS data processed {"connection_id":187918,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:00:49] local.INFO: Acknowledgment sent {"connection_id":187918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:01:15] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:15] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:15] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:01:20] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:20] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:01:20] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:01:21] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:21] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:21] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:01:21] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:01:21] 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-19 06:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:01:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:01:21] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:01:21] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:01:26] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:26] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:01:26] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:01:26] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:01: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-19 06:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:01:26] 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-19 06:01: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-19 06:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:01:26] 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-19 06:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:01:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:01:26] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:01:26] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:02:10] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:10] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:10] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:02:16] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:16] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:02:16] local.INFO: IMEI packet received {"connection_id":186521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":186521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:02:19] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:19] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:19] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:02:19] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:02:19] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:02:19] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:02:50] local.INFO: TCP Data received {"connection_id":186521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:50] local.INFO: Processing buffer {"connection_id":186521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:02:50] local.INFO: Packet analysis {"connection_id":186521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:02:50] local.INFO: Extracted packet for processing {"connection_id":186521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:02: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-19 06:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:02:50] 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-19 06:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:02:50] local.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-19 06:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":186521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:02:50] local.INFO: GPS data processed {"connection_id":186521,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:02:50] local.INFO: Acknowledgment sent {"connection_id":186521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:03:10] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:10] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:10] local.INFO: IMEI packet received {"connection_id":187919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":187919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:03:15] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:15] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:03:15] local.INFO: IMEI packet received {"connection_id":187919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":187919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:03:16] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:16] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:16] local.INFO: Packet analysis {"connection_id":187919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:03:16] local.INFO: Extracted packet for processing {"connection_id":187919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:03: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-19 06:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:03: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-19 06:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":187919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:03:16] local.INFO: GPS data processed {"connection_id":187919,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:03:16] local.INFO: Acknowledgment sent {"connection_id":187919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:03:48] local.INFO: TCP Data received {"connection_id":187919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:48] local.INFO: Processing buffer {"connection_id":187919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:03:48] local.INFO: Packet analysis {"connection_id":187919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:03:48] local.INFO: Extracted packet for processing {"connection_id":187919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06: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-19 06:03: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-19 06: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:03: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-19 06: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-19 06: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-19 06:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:03:48] 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-19 06:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":187919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:03:48] local.INFO: GPS data processed {"connection_id":187919,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:03:48] local.INFO: Acknowledgment sent {"connection_id":187919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:03:53] local.INFO: TCP Data received {"connection_id":189266,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:03:53] local.INFO: Processing buffer {"connection_id":189266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:03:53] local.INFO: IMEI packet received {"connection_id":189266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":189266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:04:10] local.INFO: TCP Data received {"connection_id":189267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:10] local.INFO: Processing buffer {"connection_id":189267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:10] local.INFO: IMEI packet received {"connection_id":189267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":189267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:04:15] local.INFO: TCP Data received {"connection_id":189267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:15] local.INFO: Processing buffer {"connection_id":189267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:04:15] local.INFO: IMEI packet received {"connection_id":189267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":189267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:04:16] local.INFO: TCP Data received {"connection_id":189267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:04:16] local.INFO: Processing buffer {"connection_id":189267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b710c260012d34c14006aa41400008010e27..."} 
[2026-09-19 06:04:16] local.INFO: Packet analysis {"connection_id":189267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:04:16] local.INFO: Extracted packet for processing {"connection_id":189267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b710"} 
[2026-09-19 06:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183020288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04: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-19 06:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789777724000,"timestamp_ms":1789777724000,"timestamp_seconds":1789777724,"priority":1,"record_length":96,"hex_timestamp":"000001a0b710c260"} 
[2026-09-19 06:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 06:04: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-19 06:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183020288001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183020288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183020288001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":189267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:04:16] local.INFO: GPS data processed {"connection_id":189267,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:04:16] local.INFO: Acknowledgment sent {"connection_id":189267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:04:47] local.INFO: TCP Data received {"connection_id":189267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:04:47] local.INFO: Processing buffer {"connection_id":189267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:04:47] local.INFO: Packet analysis {"connection_id":189267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:04:47] local.INFO: Extracted packet for processing {"connection_id":189267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:04: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-19 06:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:04: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-19 06:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:04: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-19 06:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:04: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-19 06:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":189267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:04:47] local.INFO: GPS data processed {"connection_id":189267,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:04:47] local.INFO: Acknowledgment sent {"connection_id":189267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:05:15] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:15] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:15] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:05:20] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:20] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:05:20] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:05:21] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:21] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:21] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:21] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:05:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:05:21] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:05:21] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:05:26] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:26] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:26] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:26] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:05:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:05:26] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:05:26] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:05:31] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:31] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:05:31] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:31] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:05:31] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:05:31] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:06:10] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:10] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:10] local.INFO: IMEI packet received {"connection_id":186522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:06:15] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:15] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:06:15] local.INFO: IMEI packet received {"connection_id":186522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:06:17] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:17] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:17] local.INFO: Packet analysis {"connection_id":186522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:17] local.INFO: Extracted packet for processing {"connection_id":186522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:06: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-19 06:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06: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-19 06:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:06: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-19 06:06: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-19 06:06: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-19 06:06: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-19 06:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":186522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:06:17] local.INFO: GPS data processed {"connection_id":186522,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:06:17] local.INFO: Acknowledgment sent {"connection_id":186522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:06:21] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:21] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:21] local.INFO: Packet analysis {"connection_id":186522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:21] local.INFO: Extracted packet for processing {"connection_id":186522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":186522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:06:21] local.INFO: GPS data processed {"connection_id":186522,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:06:21] local.INFO: Acknowledgment sent {"connection_id":186522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:06:52] local.INFO: TCP Data received {"connection_id":186522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:52] local.INFO: Processing buffer {"connection_id":186522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:06:52] local.INFO: Packet analysis {"connection_id":186522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:52] local.INFO: Extracted packet for processing {"connection_id":186522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:06: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-19 06:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:06: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-19 06:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":186522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:06:52] local.INFO: GPS data processed {"connection_id":186522,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:06:52] local.INFO: Acknowledgment sent {"connection_id":186522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:07:10] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:10] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:10] local.INFO: IMEI packet received {"connection_id":187921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":187921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:07:15] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:15] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:07:15] local.INFO: IMEI packet received {"connection_id":187921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":187921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:07:16] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:16] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:16] local.INFO: Packet analysis {"connection_id":187921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:07:16] local.INFO: Extracted packet for processing {"connection_id":187921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07: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-19 06:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:07:16] 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-19 06:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":187921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:07:16] local.INFO: GPS data processed {"connection_id":187921,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:07:16] local.INFO: Acknowledgment sent {"connection_id":187921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:07:47] local.INFO: TCP Data received {"connection_id":187921,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:47] local.INFO: Processing buffer {"connection_id":187921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:07:47] local.INFO: Packet analysis {"connection_id":187921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:07:47] local.INFO: Extracted packet for processing {"connection_id":187921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:07: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-19 06:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:07:47] 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-19 06:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":187921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:07:47] local.INFO: GPS data processed {"connection_id":187921,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:07:47] local.INFO: Acknowledgment sent {"connection_id":187921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:08:11] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:11] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:11] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:08:15] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:15] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:08:15] local.INFO: IMEI packet received {"connection_id":186523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:08:16] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:16] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:16] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:08:16] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08: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-19 06:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:08: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-19 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:08:16] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:08:16] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:08:47] local.INFO: TCP Data received {"connection_id":186523,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:47] local.INFO: Processing buffer {"connection_id":186523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:08:47] local.INFO: Packet analysis {"connection_id":186523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:08:47] local.INFO: Extracted packet for processing {"connection_id":186523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:08: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-19 06:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06: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-19 06:08: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:08: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-19 06: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-19 06: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-19 06:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":186523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:08:47] local.INFO: GPS data processed {"connection_id":186523,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:08:47] local.INFO: Acknowledgment sent {"connection_id":186523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:09:10] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:10] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:10] local.INFO: IMEI packet received {"connection_id":187922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":187922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:09:15] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:15] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:09:15] local.INFO: IMEI packet received {"connection_id":187922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":187922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:09:16] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:16] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7155a28012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:16] local.INFO: Packet analysis {"connection_id":187922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:09:16] local.INFO: Extracted packet for processing {"connection_id":187922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b715"} 
[2026-09-19 06:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183097344001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09: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-19 06:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778025000,"timestamp_ms":1789778025000,"timestamp_seconds":1789778025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7155a28"} 
[2026-09-19 06: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-19 06:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183097344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183097344001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183097344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":187922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:09:16] local.INFO: GPS data processed {"connection_id":187922,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:09:16] local.INFO: Acknowledgment sent {"connection_id":187922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:09:28] local.INFO: TCP Data received {"connection_id":187920,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:28] local.INFO: Processing buffer {"connection_id":187920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:28] local.INFO: IMEI packet received {"connection_id":187920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":187920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:09:47] local.INFO: TCP Data received {"connection_id":187922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:47] local.INFO: Processing buffer {"connection_id":187922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:09:47] local.INFO: Packet analysis {"connection_id":187922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:09:47] local.INFO: Extracted packet for processing {"connection_id":187922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:09: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-19 06:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:09: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-19 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:09: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-19 06:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:09: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-19 06:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":187922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:09:47] local.INFO: GPS data processed {"connection_id":187922,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:09:47] local.INFO: Acknowledgment sent {"connection_id":187922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:09:53] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:53] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:09:53] local.INFO: IMEI packet received {"connection_id":186662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":186662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:10:10] local.INFO: TCP Data received {"connection_id":189268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:10] local.INFO: Processing buffer {"connection_id":189268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:10] local.INFO: IMEI packet received {"connection_id":189268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":189268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:10:15] local.INFO: TCP Data received {"connection_id":189268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:15] local.INFO: Processing buffer {"connection_id":189268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:10:15] local.INFO: IMEI packet received {"connection_id":189268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":189268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:10:16] local.INFO: TCP Data received {"connection_id":189268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:16] local.INFO: Processing buffer {"connection_id":189268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:16] local.INFO: Packet analysis {"connection_id":189268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:10:16] local.INFO: Extracted packet for processing {"connection_id":189268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10: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-19 06:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":189268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:10:16] local.INFO: GPS data processed {"connection_id":189268,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:10:16] local.INFO: Acknowledgment sent {"connection_id":189268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:10:47] local.INFO: TCP Data received {"connection_id":189268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:47] local.INFO: Processing buffer {"connection_id":189268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:10:47] local.INFO: Packet analysis {"connection_id":189268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:10:47] local.INFO: Extracted packet for processing {"connection_id":189268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:10: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-19 06:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06: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-19 06:10: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-19 06:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:10: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-19 06:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":189268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:10:47] local.INFO: GPS data processed {"connection_id":189268,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:10:47] local.INFO: Acknowledgment sent {"connection_id":189268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:11:10] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:10] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:10] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:11:15] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:15] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:11:15] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:11:16] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:16] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:16] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:11:16] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:11: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-19 06:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:11:16] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:11:16] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:11:47] local.INFO: TCP Data received {"connection_id":186663,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:47] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:11:47] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:11:47] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06: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-19 06:11: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:11: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-19 06: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-19 06: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-19 06:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:11:47] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:11:47] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:12:15] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:15] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:15] local.INFO: IMEI packet received {"connection_id":187923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":187923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:12:20] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:20] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:12:20] local.INFO: IMEI packet received {"connection_id":187923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":187923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:12:21] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:21] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:21] local.INFO: Packet analysis {"connection_id":187923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:12:21] local.INFO: Extracted packet for processing {"connection_id":187923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":187923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:12:21] local.INFO: GPS data processed {"connection_id":187923,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:12:21] local.INFO: Acknowledgment sent {"connection_id":187923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:12:25] local.INFO: TCP Data received {"connection_id":187923,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:25] local.INFO: Processing buffer {"connection_id":187923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:12:25] local.INFO: Packet analysis {"connection_id":187923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:12:25] local.INFO: Extracted packet for processing {"connection_id":187923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:12:25] 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-19 06:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":187923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:12:25] local.INFO: GPS data processed {"connection_id":187923,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:12:25] local.INFO: Acknowledgment sent {"connection_id":187923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:13:10] local.INFO: TCP Data received {"connection_id":189270,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:10] local.INFO: Processing buffer {"connection_id":189270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:10] local.INFO: IMEI packet received {"connection_id":189270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":189270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:13:15] local.INFO: TCP Data received {"connection_id":189270,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:15] local.INFO: Processing buffer {"connection_id":189270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:13:15] local.INFO: IMEI packet received {"connection_id":189270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":189270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:13:16] local.INFO: TCP Data received {"connection_id":189270,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:16] local.INFO: Processing buffer {"connection_id":189270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:16] local.INFO: Packet analysis {"connection_id":189270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:13:16] local.INFO: Extracted packet for processing {"connection_id":189270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13: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-19 06:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:13:16] 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-19 06:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":189270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:13:16] local.INFO: GPS data processed {"connection_id":189270,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:13:16] local.INFO: Acknowledgment sent {"connection_id":189270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:13:47] local.INFO: TCP Data received {"connection_id":189270,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:47] local.INFO: Processing buffer {"connection_id":189270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:13:47] local.INFO: Packet analysis {"connection_id":189270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:13:47] local.INFO: Extracted packet for processing {"connection_id":189270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:13: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-19 06:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06: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-19 06:13: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-19 06:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:13: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-19 06: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-19 06: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-19 06:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:13: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-19 06:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":189270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:13:47] local.INFO: GPS data processed {"connection_id":189270,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:13:47] local.INFO: Acknowledgment sent {"connection_id":189270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:14:10] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:10] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:10] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:14:15] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:15] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:14:15] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:14:16] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:16] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b719f1f0012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:16] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:14:16] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b719"} 
[2026-09-19 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183174400001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14: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-19 06:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778326000,"timestamp_ms":1789778326000,"timestamp_seconds":1789778326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b719f1f0"} 
[2026-09-19 06:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:14:16] 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-19 06:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183174400001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183174400001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183174400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:14:16] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:14:16] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:14:47] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:47] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:14:47] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:14:47] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:14: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-19 06:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:14: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-19 06:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:14: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-19 06:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:14: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-19 06:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:14:47] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:14:47] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:15:10] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:10] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:10] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:15:15] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:15] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:15:15] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:15:16] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:16] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:16] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:15:16] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15: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-19 06:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:15: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-19 06:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:15: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-19 06:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:15:16] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:15:16] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:15:23] local.INFO: TCP Data received {"connection_id":186524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:15:23] local.INFO: Processing buffer {"connection_id":186524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:15:23] local.INFO: IMEI packet received {"connection_id":186524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":186524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:15:48] local.INFO: TCP Data received {"connection_id":186665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:48] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:15:48] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:15:48] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:15: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-19 06:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:15: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-19 06:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:15: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-19 06:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:15:48] 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-19 06:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:15:48] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:15:48] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:16:15] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:15] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:15] local.INFO: IMEI packet received {"connection_id":186525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":186525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:16:20] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:20] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:16:20] local.INFO: IMEI packet received {"connection_id":186525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":186525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:16:22] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:22] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:22] local.INFO: Packet analysis {"connection_id":186525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:16:22] local.INFO: Extracted packet for processing {"connection_id":186525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:16: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-19 06:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:16:22] 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-19 06:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":186525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:16:22] local.INFO: GPS data processed {"connection_id":186525,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:16:22] local.INFO: Acknowledgment sent {"connection_id":186525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:16:26] local.INFO: TCP Data received {"connection_id":186525,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:26] local.INFO: Processing buffer {"connection_id":186525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:16:26] local.INFO: Packet analysis {"connection_id":186525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:16:26] local.INFO: Extracted packet for processing {"connection_id":186525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:16: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-19 06:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:16: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-19 06:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:16:26] 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-19 06:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:16:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":186525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:16:26] local.INFO: GPS data processed {"connection_id":186525,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:16:26] local.INFO: Acknowledgment sent {"connection_id":186525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:17:10] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:10] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:10] local.INFO: IMEI packet received {"connection_id":187924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":187924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:17:15] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:15] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:17:15] local.INFO: IMEI packet received {"connection_id":187924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":187924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:17:16] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:16] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:16] local.INFO: Packet analysis {"connection_id":187924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:17:16] local.INFO: Extracted packet for processing {"connection_id":187924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17: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-19 06:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:17: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-19 06:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":187924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:17:16] local.INFO: GPS data processed {"connection_id":187924,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:17:16] local.INFO: Acknowledgment sent {"connection_id":187924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:17:47] local.INFO: TCP Data received {"connection_id":187924,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:47] local.INFO: Processing buffer {"connection_id":187924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:17:47] local.INFO: Packet analysis {"connection_id":187924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:17:47] local.INFO: Extracted packet for processing {"connection_id":187924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:17: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-19 06:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:17: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-19 06:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:17: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-19 06:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:17: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-19 06:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":187924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:17:47] local.INFO: GPS data processed {"connection_id":187924,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:17:47] local.INFO: Acknowledgment sent {"connection_id":187924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:18:10] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:10] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:10] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:18:15] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:15] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:18:15] local.INFO: IMEI packet received {"connection_id":186526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:18:16] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:16] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:16] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:18:16] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:18: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-19 06:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06: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-19 06:18: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-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:18:16] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:18:16] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:18:48] local.INFO: TCP Data received {"connection_id":186526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:48] local.INFO: Processing buffer {"connection_id":186526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:18:48] local.INFO: Packet analysis {"connection_id":186526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:18:48] local.INFO: Extracted packet for processing {"connection_id":186526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06: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-19 06:18: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-19 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:18: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-19 06: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-19 06: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-19 06:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":186526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:18:48] local.INFO: GPS data processed {"connection_id":186526,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:18:48] local.INFO: Acknowledgment sent {"connection_id":186526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:19:10] local.INFO: TCP Data received {"connection_id":189271,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:10] local.INFO: Processing buffer {"connection_id":189271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:10] local.INFO: IMEI packet received {"connection_id":189271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":189271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:19:15] local.INFO: TCP Data received {"connection_id":189271,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:15] local.INFO: Processing buffer {"connection_id":189271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:15] local.INFO: IMEI packet received {"connection_id":189271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":189271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:19:17] local.INFO: TCP Data received {"connection_id":189271,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:19:17] local.INFO: Processing buffer {"connection_id":189271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b71e89b8012d34c14006aa41400008010e29..."} 
[2026-09-19 06:19:17] local.INFO: Packet analysis {"connection_id":189271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:19:17] local.INFO: Extracted packet for processing {"connection_id":189271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b71e"} 
[2026-09-19 06:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183251456001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:19: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-19 06:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789778627000,"timestamp_ms":1789778627000,"timestamp_seconds":1789778627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b71e89b8"} 
[2026-09-19 06: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-19 06:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 06:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:19:17] local.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-19 06:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183251456001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-19 06:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183251456001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183251456001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":189271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:19:17] local.INFO: GPS data processed {"connection_id":189271,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:19:17] local.INFO: Acknowledgment sent {"connection_id":189271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:19:50] local.INFO: TCP Data received {"connection_id":187925,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:50] local.INFO: Processing buffer {"connection_id":187925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:19:50] local.INFO: IMEI packet received {"connection_id":187925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":187925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:20:25] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:25] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:25] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:20:30] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:30] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:20:30] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:20:31] local.INFO: TCP Data received {"connection_id":186667,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:20:31] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:20:31] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:20:31] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:20:31] 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-19 06: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-19 06: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-19 06:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:20:31] 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-19 06:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:20:31] local.INFO: GPS data processed {"connection_id":186667,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:20:31] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:20:58] local.INFO: TCP Data received {"connection_id":186666,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:20:58] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:20:58] local.INFO: IMEI packet received {"connection_id":186666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":186666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:21:10] local.INFO: TCP Data received {"connection_id":189272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:10] local.INFO: Processing buffer {"connection_id":189272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:10] local.INFO: IMEI packet received {"connection_id":189272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":189272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:21:15] local.INFO: TCP Data received {"connection_id":189272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:15] local.INFO: Processing buffer {"connection_id":189272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:21:15] local.INFO: IMEI packet received {"connection_id":189272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":189272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:21:16] local.INFO: TCP Data received {"connection_id":189272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:16] local.INFO: Processing buffer {"connection_id":189272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:16] local.INFO: Packet analysis {"connection_id":189272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:21:16] local.INFO: Extracted packet for processing {"connection_id":189272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06: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-19 06: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:21:16] 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-19 06: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-19 06: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-19 06:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:21:16] 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-19 06:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":189272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:21:16] local.INFO: GPS data processed {"connection_id":189272,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:21:16] local.INFO: Acknowledgment sent {"connection_id":189272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:21:47] local.INFO: TCP Data received {"connection_id":189272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:47] local.INFO: Processing buffer {"connection_id":189272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:21:47] local.INFO: Packet analysis {"connection_id":189272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:21:47] local.INFO: Extracted packet for processing {"connection_id":189272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06:21: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-19 06: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:21:47] 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-19 06: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-19 06: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-19 06:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:21:47] 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-19 06:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":189272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:21:48] local.INFO: GPS data processed {"connection_id":189272,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:21:48] local.INFO: Acknowledgment sent {"connection_id":189272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:22:10] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:10] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:10] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:22:15] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:15] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:22:15] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:22:16] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:16] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:16] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:22:16] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:22: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-19 06:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:22: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-19 06:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:22:16] 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-19 06:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:22:16] 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-19 06:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:22:16] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:22:16] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:22:48] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:48] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:22:48] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:22:48] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06:22: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-19 06: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:22: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-19 06: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-19 06: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-19 06:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:22: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-19 06:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:22:48] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:22:48] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:23:10] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:10] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:10] local.INFO: IMEI packet received {"connection_id":186669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:23:15] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:15] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:23:15] local.INFO: IMEI packet received {"connection_id":186669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:23:16] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:16] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:16] local.INFO: Packet analysis {"connection_id":186669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:23:16] local.INFO: Extracted packet for processing {"connection_id":186669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23: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-19 06:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:23: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-19 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:23:16] 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-19 06:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:23: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-19 06:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:23:16] local.INFO: GPS data processed {"connection_id":186669,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:23:16] local.INFO: Acknowledgment sent {"connection_id":186669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:23:48] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:48] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:23:48] local.INFO: Packet analysis {"connection_id":186669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:23:48] local.INFO: Extracted packet for processing {"connection_id":186669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:23: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-19 06:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06:23: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-19 06: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:23: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-19 06: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-19 06: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-19 06:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:23: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-19 06:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:23:48] local.INFO: GPS data processed {"connection_id":186669,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:23:48] local.INFO: Acknowledgment sent {"connection_id":186669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:24:10] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:10] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:10] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:24:15] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:15] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:24:15] local.INFO: IMEI packet received {"connection_id":186527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":186527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:24:17] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:17] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7232180012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:17] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:24:17] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b723"} 
[2026-09-19 06:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183328512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789778928000,"timestamp_ms":1789778928000,"timestamp_seconds":1789778928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7232180"} 
[2026-09-19 06: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-19 06:24: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-19 06: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 06:24:17] 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-19 06: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-19 06: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-19 06:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:24:17] 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-19 06:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183328512001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183328512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183328512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:24:17] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:24:17] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:24:48] local.INFO: TCP Data received {"connection_id":186527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:48] local.INFO: Processing buffer {"connection_id":186527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:24:48] local.INFO: Packet analysis {"connection_id":186527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:24:48] local.INFO: Extracted packet for processing {"connection_id":186527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:24: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-19 06:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:24: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-19 06:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:24: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-19 06:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:24:48] local.INFO: GPS data processed {"connection_id":186527,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:24:48] local.INFO: Acknowledgment sent {"connection_id":186527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:25:10] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:10] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:10] local.INFO: IMEI packet received {"connection_id":187926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":187926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:25:15] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:15] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:25:15] local.INFO: IMEI packet received {"connection_id":187926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":187926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:25:16] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:16] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:16] local.INFO: Packet analysis {"connection_id":187926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:25:16] local.INFO: Extracted packet for processing {"connection_id":187926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06: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-19 06:25: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:25:16] 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-19 06:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":187926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:25:16] local.INFO: GPS data processed {"connection_id":187926,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:25:16] local.INFO: Acknowledgment sent {"connection_id":187926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:25:48] local.INFO: TCP Data received {"connection_id":187926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:48] local.INFO: Processing buffer {"connection_id":187926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:25:48] local.INFO: Packet analysis {"connection_id":187926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:25:48] local.INFO: Extracted packet for processing {"connection_id":187926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06: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-19 06:25: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:25: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-19 06: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-19 06: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-19 06:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06: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-19 06:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":187926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:25:48] local.INFO: GPS data processed {"connection_id":187926,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:25:48] local.INFO: Acknowledgment sent {"connection_id":187926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:26:10] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:10] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:10] local.INFO: IMEI packet received {"connection_id":187927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":187927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:26:16] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:16] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:26:16] local.INFO: IMEI packet received {"connection_id":187927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":187927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:26:17] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:17] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:17] local.INFO: Packet analysis {"connection_id":187927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:26:17] local.INFO: Extracted packet for processing {"connection_id":187927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06: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-19 06: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:26: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-19 06: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-19 06: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-19 06:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:26: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-19 06:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":187927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:26:17] local.INFO: GPS data processed {"connection_id":187927,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:26:17] local.INFO: Acknowledgment sent {"connection_id":187927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:26:33] local.INFO: TCP Data received {"connection_id":189273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:26:33] local.INFO: Processing buffer {"connection_id":189273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:26:33] local.INFO: IMEI packet received {"connection_id":189273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":189273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:26:49] local.INFO: TCP Data received {"connection_id":187927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:49] local.INFO: Processing buffer {"connection_id":187927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:26:49] local.INFO: Packet analysis {"connection_id":187927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:26:49] local.INFO: Extracted packet for processing {"connection_id":187927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:26: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-19 06:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:26: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-19 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:26: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-19 06:26: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-19 06:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:26:49] 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-19 06:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":187927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:26:49] local.INFO: GPS data processed {"connection_id":187927,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:26:49] local.INFO: Acknowledgment sent {"connection_id":187927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:27:10] local.INFO: TCP Data received {"connection_id":187928,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:10] local.INFO: Processing buffer {"connection_id":187928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:10] local.INFO: IMEI packet received {"connection_id":187928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":187928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:27:15] local.INFO: TCP Data received {"connection_id":187928,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:15] local.INFO: Processing buffer {"connection_id":187928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:27:15] local.INFO: IMEI packet received {"connection_id":187928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":187928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:27:16] local.INFO: TCP Data received {"connection_id":187928,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:16] local.INFO: Processing buffer {"connection_id":187928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:16] local.INFO: Packet analysis {"connection_id":187928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:27:16] local.INFO: Extracted packet for processing {"connection_id":187928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27: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-19 06:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06: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-19 06:27: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:27:16] 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-19 06:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":187928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:27:16] local.INFO: GPS data processed {"connection_id":187928,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:27:16] local.INFO: Acknowledgment sent {"connection_id":187928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:27:48] local.INFO: TCP Data received {"connection_id":187928,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:48] local.INFO: Processing buffer {"connection_id":187928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:27:48] local.INFO: Packet analysis {"connection_id":187928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:27:48] local.INFO: Extracted packet for processing {"connection_id":187928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:27: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-19 06:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:27: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-19 06:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:27: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-19 06:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:27: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-19 06:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":187928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:27:48] local.INFO: GPS data processed {"connection_id":187928,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:27:48] local.INFO: Acknowledgment sent {"connection_id":187928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:28:10] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:10] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:10] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:28:15] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:15] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:28:15] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:28:16] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:16] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:16] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:28:16] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:28: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-19 06:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:28: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-19 06:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:28:16] 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-19 06:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:28:16] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:28:16] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:28:48] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:48] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:28:48] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:28:48] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06: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-19 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06: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-19 06:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:28: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-19 06:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:28:48] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:28:48] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:29:10] local.INFO: TCP Data received {"connection_id":189274,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:10] local.INFO: Processing buffer {"connection_id":189274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:10] local.INFO: IMEI packet received {"connection_id":189274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":189274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:29:15] local.INFO: TCP Data received {"connection_id":189274,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:15] local.INFO: Processing buffer {"connection_id":189274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:29:15] local.INFO: IMEI packet received {"connection_id":189274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":189274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:29:16] local.INFO: TCP Data received {"connection_id":189274,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:29:16] local.INFO: Processing buffer {"connection_id":189274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b727b948012d34c14006aa41400008010e28..."} 
[2026-09-19 06:29:16] local.INFO: Packet analysis {"connection_id":189274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:29:16] local.INFO: Extracted packet for processing {"connection_id":189274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b727"} 
[2026-09-19 06:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183405568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:29: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-19 06:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779229000,"timestamp_ms":1789779229000,"timestamp_seconds":1789779229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b727b948"} 
[2026-09-19 06:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:29:16] 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-19 06:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183405568001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183405568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183405568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":189274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:29:16] local.INFO: GPS data processed {"connection_id":189274,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:29:16] local.INFO: Acknowledgment sent {"connection_id":189274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:29:47] local.INFO: TCP Data received {"connection_id":189274,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:29:47] local.INFO: Processing buffer {"connection_id":189274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:29:47] local.INFO: Packet analysis {"connection_id":189274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:29:47] local.INFO: Extracted packet for processing {"connection_id":189274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:29: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:29: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-19 06: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-19 06: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-19 06:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:29:47] 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-19 06:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":189274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:29:47] local.INFO: GPS data processed {"connection_id":189274,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:29:47] local.INFO: Acknowledgment sent {"connection_id":189274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:30:10] local.INFO: TCP Data received {"connection_id":189276,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:10] local.INFO: Processing buffer {"connection_id":189276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:10] local.INFO: IMEI packet received {"connection_id":189276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":189276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:30:15] local.INFO: TCP Data received {"connection_id":189276,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:15] local.INFO: Processing buffer {"connection_id":189276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:30:15] local.INFO: IMEI packet received {"connection_id":189276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":189276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:30:16] local.INFO: TCP Data received {"connection_id":189276,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:16] local.INFO: Processing buffer {"connection_id":189276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:16] local.INFO: Packet analysis {"connection_id":189276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:30:16] local.INFO: Extracted packet for processing {"connection_id":189276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:30: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-19 06:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:30: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:30: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-19 06:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":189276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:30:16] local.INFO: GPS data processed {"connection_id":189276,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:30:16] local.INFO: Acknowledgment sent {"connection_id":189276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:30:48] local.INFO: TCP Data received {"connection_id":189276,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:48] local.INFO: Processing buffer {"connection_id":189276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:30:48] local.INFO: Packet analysis {"connection_id":189276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:30:48] local.INFO: Extracted packet for processing {"connection_id":189276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 06:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 06:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 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-19 06:30: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-19 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":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:30: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-19 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-19 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-19 06:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:30: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-19 06:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":189276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:30:48] local.INFO: GPS data processed {"connection_id":189276,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:30:48] local.INFO: Acknowledgment sent {"connection_id":189276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:31:10] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:10] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:10] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:31:15] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:15] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:31:15] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:31:16] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:16] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:16] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:31:16] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31: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-19 06:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:31: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-19 06:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:31: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-19 06:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:31:16] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:31:16] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:31:49] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:49] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:31:49] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:31:49] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:31: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-19 06:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:31: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-19 06:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:31: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-19 06:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:31:49] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:31:49] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:32:08] local.INFO: TCP Data received {"connection_id":189275,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:32:08] local.INFO: Processing buffer {"connection_id":189275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:32:08] local.INFO: IMEI packet received {"connection_id":189275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":189275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:32:10] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:10] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:10] local.INFO: IMEI packet received {"connection_id":187929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":187929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:32:15] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:15] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:32:15] local.INFO: IMEI packet received {"connection_id":187929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":187929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:32:16] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:16] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:16] local.INFO: Packet analysis {"connection_id":187929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:32:16] local.INFO: Extracted packet for processing {"connection_id":187929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:32: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-19 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:32: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-19 06:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":187929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:32:16] local.INFO: GPS data processed {"connection_id":187929,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:32:16] local.INFO: Acknowledgment sent {"connection_id":187929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:32:47] local.INFO: TCP Data received {"connection_id":187929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:47] local.INFO: Processing buffer {"connection_id":187929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:32:47] local.INFO: Packet analysis {"connection_id":187929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:32:47] local.INFO: Extracted packet for processing {"connection_id":187929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:32: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-19 06:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:32: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:32: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-19 06: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-19 06: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-19 06:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:32: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-19 06:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":187929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:32:47] local.INFO: GPS data processed {"connection_id":187929,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:32:47] local.INFO: Acknowledgment sent {"connection_id":187929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:33:10] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:10] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:10] local.INFO: IMEI packet received {"connection_id":186672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:33:15] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:15] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:33:15] local.INFO: IMEI packet received {"connection_id":186672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:33:16] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:16] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:16] local.INFO: Packet analysis {"connection_id":186672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:33:16] local.INFO: Extracted packet for processing {"connection_id":186672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33: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-19 06:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:33: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:33: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-19 06:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:33:16] local.INFO: GPS data processed {"connection_id":186672,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:33:16] local.INFO: Acknowledgment sent {"connection_id":186672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:33:48] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:48] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:33:48] local.INFO: Packet analysis {"connection_id":186672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:33:48] local.INFO: Extracted packet for processing {"connection_id":186672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:33: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-19 06:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:33: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-19 06:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:33: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-19 06:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:33: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-19 06:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":186672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:33:48] local.INFO: GPS data processed {"connection_id":186672,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:33:48] local.INFO: Acknowledgment sent {"connection_id":186672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:34:10] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:10] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:10] local.INFO: IMEI packet received {"connection_id":186528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:34:15] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:15] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:34:15] local.INFO: IMEI packet received {"connection_id":186528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:34:16] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:34:16] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b72c5110012d34c14006aa41400008010e26..."} 
[2026-09-19 06:34:16] local.INFO: Packet analysis {"connection_id":186528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:34:16] local.INFO: Extracted packet for processing {"connection_id":186528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b72c"} 
[2026-09-19 06:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:34: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-19 06:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779530000,"timestamp_ms":1789779530000,"timestamp_seconds":1789779530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b72c5110"} 
[2026-09-19 06: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-19 06:34: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:34:16] 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-19 06:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183482624001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183482624001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183482624001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":186528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:34:16] local.INFO: GPS data processed {"connection_id":186528,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:34:16] local.INFO: Acknowledgment sent {"connection_id":186528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:34:47] local.INFO: TCP Data received {"connection_id":186528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:34:47] local.INFO: Processing buffer {"connection_id":186528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:34:47] local.INFO: Packet analysis {"connection_id":186528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:34:47] local.INFO: Extracted packet for processing {"connection_id":186528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:34: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:34: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-19 06: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-19 06: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-19 06:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:34: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-19 06:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":186528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:34:47] local.INFO: GPS data processed {"connection_id":186528,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:34:47] local.INFO: Acknowledgment sent {"connection_id":186528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:35:10] local.INFO: TCP Data received {"connection_id":189277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:10] local.INFO: Processing buffer {"connection_id":189277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:10] local.INFO: IMEI packet received {"connection_id":189277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":189277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:35:15] local.INFO: TCP Data received {"connection_id":189277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:15] local.INFO: Processing buffer {"connection_id":189277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:35:15] local.INFO: IMEI packet received {"connection_id":189277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":189277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:35:16] local.INFO: TCP Data received {"connection_id":189277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:16] local.INFO: Processing buffer {"connection_id":189277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:16] local.INFO: Packet analysis {"connection_id":189277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:35:16] local.INFO: Extracted packet for processing {"connection_id":189277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35: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-19 06:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:35: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:35:16] 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-19 06:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":189277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:35:16] local.INFO: GPS data processed {"connection_id":189277,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:35:16] local.INFO: Acknowledgment sent {"connection_id":189277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:35:48] local.INFO: TCP Data received {"connection_id":189277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:48] local.INFO: Processing buffer {"connection_id":189277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:35:48] local.INFO: Packet analysis {"connection_id":189277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:35:48] local.INFO: Extracted packet for processing {"connection_id":189277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:35: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-19 06:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:35: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:35: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-19 06: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-19 06: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-19 06:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:35: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-19 06:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":189277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:35:48] local.INFO: GPS data processed {"connection_id":189277,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:35:48] local.INFO: Acknowledgment sent {"connection_id":189277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:36:10] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:10] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:10] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:36:15] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:15] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:36:15] local.INFO: IMEI packet received {"connection_id":186529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:36:17] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:17] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:17] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:36:17] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:36: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-19 06:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:36: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:36: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-19 06: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-19 06: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-19 06:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:36:17] 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-19 06:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:36:17] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:36:17] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:36:48] local.INFO: TCP Data received {"connection_id":186529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:48] local.INFO: Processing buffer {"connection_id":186529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:36:48] local.INFO: Packet analysis {"connection_id":186529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:36:48] local.INFO: Extracted packet for processing {"connection_id":186529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:36: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:36: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-19 06: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-19 06: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-19 06:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:36:48] 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-19 06:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:36:48] local.INFO: GPS data processed {"connection_id":186529,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:36:48] local.INFO: Acknowledgment sent {"connection_id":186529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:37:10] local.INFO: TCP Data received {"connection_id":187930,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:10] local.INFO: Processing buffer {"connection_id":187930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:10] local.INFO: IMEI packet received {"connection_id":187930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":187930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:37:15] local.INFO: TCP Data received {"connection_id":187930,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:15] local.INFO: Processing buffer {"connection_id":187930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:37:15] local.INFO: IMEI packet received {"connection_id":187930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":187930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:37:16] local.INFO: TCP Data received {"connection_id":187930,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:16] local.INFO: Processing buffer {"connection_id":187930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:16] local.INFO: Packet analysis {"connection_id":187930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:37:16] local.INFO: Extracted packet for processing {"connection_id":187930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:37: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-19 06:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:37: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-19 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:37: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-19 06:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":187930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:37:16] local.INFO: GPS data processed {"connection_id":187930,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:37:16] local.INFO: Acknowledgment sent {"connection_id":187930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:37:43] local.INFO: TCP Data received {"connection_id":186673,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:37:43] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:37:43] local.INFO: IMEI packet received {"connection_id":186673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":186673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:37:48] local.INFO: TCP Data received {"connection_id":187930,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:48] local.INFO: Processing buffer {"connection_id":187930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:37:48] local.INFO: Packet analysis {"connection_id":187930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:37:48] local.INFO: Extracted packet for processing {"connection_id":187930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:37: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:37: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-19 06: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-19 06: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-19 06:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:37: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-19 06:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":187930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:37:48] local.INFO: GPS data processed {"connection_id":187930,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:37:48] local.INFO: Acknowledgment sent {"connection_id":187930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:38:10] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:10] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:10] local.INFO: IMEI packet received {"connection_id":187931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":187931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:38:15] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:15] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:38:15] local.INFO: IMEI packet received {"connection_id":187931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":187931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:38:16] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:16] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:16] local.INFO: Packet analysis {"connection_id":187931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:38:16] local.INFO: Extracted packet for processing {"connection_id":187931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:38: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-19 06:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:38: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-19 06:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:38:16] 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-19 06:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":187931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:38:16] local.INFO: GPS data processed {"connection_id":187931,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:38:16] local.INFO: Acknowledgment sent {"connection_id":187931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:38:48] local.INFO: TCP Data received {"connection_id":187931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:48] local.INFO: Processing buffer {"connection_id":187931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:38:48] local.INFO: Packet analysis {"connection_id":187931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:38:48] local.INFO: Extracted packet for processing {"connection_id":187931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06: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-19 06:38: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-19 06: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-19 06: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-19 06: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-19 06: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-19 06:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:38: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-19 06:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":187931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:38:48] local.INFO: GPS data processed {"connection_id":187931,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:38:48] local.INFO: Acknowledgment sent {"connection_id":187931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:39:10] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:10] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:10] local.INFO: IMEI packet received {"connection_id":187932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":187932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:39:15] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:15] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:39:15] local.INFO: IMEI packet received {"connection_id":187932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":187932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:39:16] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:39:16] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b730e8d8012d34c14006aa41400008010e27..."} 
[2026-09-19 06:39:16] local.INFO: Packet analysis {"connection_id":187932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:39:16] local.INFO: Extracted packet for processing {"connection_id":187932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b730"} 
[2026-09-19 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183559680001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:39: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-19 06:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789779831000,"timestamp_ms":1789779831000,"timestamp_seconds":1789779831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b730e8d8"} 
[2026-09-19 06:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:39: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-19 06:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:39:16] 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-19 06:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183559680001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183559680001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183559680001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":187932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:39:16] local.INFO: GPS data processed {"connection_id":187932,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:39:16] local.INFO: Acknowledgment sent {"connection_id":187932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:39:48] local.INFO: TCP Data received {"connection_id":187932,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:39:48] local.INFO: Processing buffer {"connection_id":187932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:39:48] local.INFO: Packet analysis {"connection_id":187932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:39:48] local.INFO: Extracted packet for processing {"connection_id":187932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 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-19 06:39: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06: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-19 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-19 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-19 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 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-19 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":187932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:39:48] local.INFO: GPS data processed {"connection_id":187932,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:39:48] local.INFO: Acknowledgment sent {"connection_id":187932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:40:10] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:10] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:10] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:40:15] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:15] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:40:15] local.INFO: IMEI packet received {"connection_id":186530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:40:16] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:16] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:16] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:40:16] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40: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-19 06:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06: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-19 06:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:40: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-19 06:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:40:16] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:40:16] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:40:47] local.INFO: TCP Data received {"connection_id":186530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:47] local.INFO: Processing buffer {"connection_id":186530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:40:47] local.INFO: Packet analysis {"connection_id":186530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:40:47] local.INFO: Extracted packet for processing {"connection_id":186530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:40: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-19 06:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:40: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-19 06:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:40: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-19 06:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:40:47] 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-19 06:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":186530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:40:47] local.INFO: GPS data processed {"connection_id":186530,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:40:47] local.INFO: Acknowledgment sent {"connection_id":186530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:41:10] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:10] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:10] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:41:15] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:15] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:41:15] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:41:16] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:16] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:16] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:41:16] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06: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-19 06:41: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:41: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-19 06:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:41:16] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:41:16] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:41:48] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:48] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:41:48] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:41:48] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06: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-19 06:41: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:41: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-19 06: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-19 06: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-19 06:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:41: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-19 06:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:41:48] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:41:48] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:42:10] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:10] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:10] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:42:16] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:16] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:42:16] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:42:17] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:17] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:17] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:42:17] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42: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-19 06:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:42: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-19 06:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:42: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-19 06:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:42:17] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:42:17] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:42:48] local.INFO: TCP Data received {"connection_id":186675,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:48] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:42:48] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:42:48] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:42: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-19 06:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:42: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-19 06:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:42: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-19 06:42: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-19 06:42: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-19 06:42: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-19 06:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:42: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-19 06:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:42:48] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:42:48] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:43:10] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:10] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:10] local.INFO: IMEI packet received {"connection_id":187934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":187934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:43:15] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:15] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:43:15] local.INFO: IMEI packet received {"connection_id":187934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":187934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:43:17] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:17] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:17] local.INFO: Packet analysis {"connection_id":187934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:43:17] local.INFO: Extracted packet for processing {"connection_id":187934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:43: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-19 06:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:43: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-19 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:43: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-19 06:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:43: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-19 06:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":187934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:43:17] local.INFO: GPS data processed {"connection_id":187934,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:43:17] local.INFO: Acknowledgment sent {"connection_id":187934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:43:18] local.INFO: TCP Data received {"connection_id":187933,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:43:18] local.INFO: Processing buffer {"connection_id":187933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:43:18] local.INFO: IMEI packet received {"connection_id":187933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":187933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:43:48] local.INFO: TCP Data received {"connection_id":187934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:48] local.INFO: Processing buffer {"connection_id":187934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:43:48] local.INFO: Packet analysis {"connection_id":187934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:43:48] local.INFO: Extracted packet for processing {"connection_id":187934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 06:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 06:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 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-19 06:43: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-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:43: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-19 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-19 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-19 06:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06: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-19 06:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":187934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:43:48] local.INFO: GPS data processed {"connection_id":187934,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:43:48] local.INFO: Acknowledgment sent {"connection_id":187934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:44:10] local.INFO: TCP Data received {"connection_id":187935,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:10] local.INFO: Processing buffer {"connection_id":187935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:10] local.INFO: IMEI packet received {"connection_id":187935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":187935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:44:15] local.INFO: TCP Data received {"connection_id":187935,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:15] local.INFO: Processing buffer {"connection_id":187935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:15] local.INFO: IMEI packet received {"connection_id":187935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":187935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:44:20] local.INFO: TCP Data received {"connection_id":187935,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:20] local.INFO: Processing buffer {"connection_id":187935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:44:20] local.INFO: IMEI packet received {"connection_id":187935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":187935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:44:21] local.INFO: TCP Data received {"connection_id":187935,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:44:21] local.INFO: Processing buffer {"connection_id":187935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73580a0012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:44:21] local.INFO: Packet analysis {"connection_id":187935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:44:21] local.INFO: Extracted packet for processing {"connection_id":187935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b735"} 
[2026-09-19 06:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183636736001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789780132000,"timestamp_ms":1789780132000,"timestamp_seconds":1789780132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73580a0"} 
[2026-09-19 06: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-19 06:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:44:21] 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-19 06:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183636736001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183636736001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:44:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183636736001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":187935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:44:21] local.INFO: GPS data processed {"connection_id":187935,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:44:21] local.INFO: Acknowledgment sent {"connection_id":187935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:44:22] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:22] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:22] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:44:23] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:23] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:23] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:44:27] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:27] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:44:27] local.INFO: IMEI packet received {"connection_id":186531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":186531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:44:28] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 06:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 06:44:28] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 06:44:28] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 06:44:28] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 06:44: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-19 06:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878663337312256,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:28] 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-19 06:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 06:44:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 06:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 06:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 06:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 06:44:28] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 06:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 06:44:28] local.ERROR: GPS data processing failed {"connection_id":186531,"error":"No valid data to process"} 
[2026-09-19 06:44:28] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 06:44:52] local.INFO: TCP Data received {"connection_id":187935,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:44:52] local.INFO: Processing buffer {"connection_id":187935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:44:52] local.INFO: Packet analysis {"connection_id":187935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:44:52] local.INFO: Extracted packet for processing {"connection_id":187935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44: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-19 06:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:44: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-19 06:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:44:52] 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-19 06:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":187935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:44:52] local.INFO: GPS data processed {"connection_id":187935,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:44:52] local.INFO: Acknowledgment sent {"connection_id":187935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:44:58] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73aacd8012d7e024005d50c780000001d09..."} 
[2026-09-19 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73aacd8012d7e024005d50c780000001d09..."} 
[2026-09-19 06:44:58] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73aacd8012d7e024005d50c780000001d09..."} 
[2026-09-19 06:44:58] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:44:58] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97848440,"longitude_deg":76.3232832,"latitude_deg":9.784844,"altitude":0,"angle":29,"satellites":9,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d50c78","is_valid_coordinates":true} 
[2026-09-19 06:44:58] 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-19 06:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878663337312256,"note":"Value kept but may cause issues"} 
[2026-09-19 06:44:58] 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-19 06:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789780471000,"timestamp_ms":1789780471000,"timestamp_seconds":1789780471,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73aacd8"} 
[2026-09-19 06:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:44:58] 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-19 06:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:44:58] 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-19 06:44: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-19 06:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13678,"111":206,"85":15104,"24":0,"16":134878663337312256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16]} 
[2026-09-19 06:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 06:44:58] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878663337312256,"km_value":134878663337312.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:44:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13678,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-19 06:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:44:58] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:44:58] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:45:10] local.INFO: TCP Data received {"connection_id":189278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:10] local.INFO: Processing buffer {"connection_id":189278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:10] local.INFO: IMEI packet received {"connection_id":189278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":189278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:45:15] local.INFO: TCP Data received {"connection_id":189278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:15] local.INFO: Processing buffer {"connection_id":189278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:45:15] local.INFO: IMEI packet received {"connection_id":189278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":189278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:45:16] local.INFO: TCP Data received {"connection_id":189278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:16] local.INFO: Processing buffer {"connection_id":189278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:16] local.INFO: Packet analysis {"connection_id":189278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:16] local.INFO: Extracted packet for processing {"connection_id":189278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45: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-19 06:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06: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-19 06:45: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:45:16] 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-19 06:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":189278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:45:16] local.INFO: GPS data processed {"connection_id":189278,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:45:16] local.INFO: Acknowledgment sent {"connection_id":189278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:45:29] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73ad3e8012d7e02c005d50c280000001d0a..."} 
[2026-09-19 06:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73ad3e8012d7e02c005d50c280000001d0a..."} 
[2026-09-19 06:45:29] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73ad3e8012d7e02c005d50c280000001d0a..."} 
[2026-09-19 06:45:29] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:29] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97848360,"longitude_deg":76.323296,"latitude_deg":9.784836,"altitude":0,"angle":29,"satellites":10,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50c28","is_valid_coordinates":true} 
[2026-09-19 06:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183800576001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878684812148736,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525719552,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45: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-19 06:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789780481000,"timestamp_ms":1789780481000,"timestamp_seconds":1789780481,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73ad3e8"} 
[2026-09-19 06:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:45:29] 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-19 06:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183800576001,"66":13830,"111":206,"85":15104,"24":0,"16":134878684812148736,"45":9079890192525719552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183800576001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:45:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878684812148736,"km_value":134878684812148.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525719552,"description":"Unknown IO ID 45"} 
[2026-09-19 06:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183800576001,"power":13830,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525719552}} 
[2026-09-19 06:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:45:29] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:45:29] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:45:47] local.INFO: TCP Data received {"connection_id":189278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:47] local.INFO: Processing buffer {"connection_id":189278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:45:47] local.INFO: Packet analysis {"connection_id":189278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:47] local.INFO: Extracted packet for processing {"connection_id":189278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06: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-19 06:45: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-19 06: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:45: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-19 06: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-19 06: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-19 06:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:45:47] 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-19 06:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":189278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:45:47] local.INFO: GPS data processed {"connection_id":189278,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:45:47] local.INFO: Acknowledgment sent {"connection_id":189278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:46:00] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73b25f0012d7e03c005d50bd00000001d09..."} 
[2026-09-19 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73b25f0012d7e03c005d50bd00000001d09..."} 
[2026-09-19 06:46:00] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73b25f0012d7e03c005d50bd00000001d09..."} 
[2026-09-19 06:46:00] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:46:00] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97848272,"longitude_deg":76.3233216,"latitude_deg":9.7848272,"altitude":0,"angle":29,"satellites":9,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50bd0","is_valid_coordinates":true} 
[2026-09-19 06:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183803136001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878706286985216,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014054400,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] 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-19 06:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789780502000,"timestamp_ms":1789780502000,"timestamp_seconds":1789780502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73b25f0"} 
[2026-09-19 06:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:46:00] 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-19 06:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5188144566822371328,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862720,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-5187815276548192811,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:00] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,111,85,24,241,157,16,47,160,172,45,64,12,9,10,66,183,31,1,240,140,4,113,205,239,2,48,223,130],"length":528,"final_offset":658,"validated_count":29,"validation_warnings":[]} 
[2026-09-19 06:46:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":31928786878464,"timestamp_seconds":31928786878.464,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 06:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183803136001,"66":13928,"111":206,"85":15104,"24":0,"16":134878706286985216,"45":9080030930014054400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183803136001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:46:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878706286985216,"km_value":134878706286985.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014054400,"description":"Unknown IO ID 45"} 
[2026-09-19 06:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183803136001,"power":13928,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014054400}} 
[2026-09-19 06:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:46:00] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:46:00] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:46:10] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:10] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:10] local.INFO: IMEI packet received {"connection_id":186676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":186676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:46:15] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:15] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:46:15] local.INFO: IMEI packet received {"connection_id":186676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:46:16] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:16] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:16] local.INFO: Packet analysis {"connection_id":186676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:46:16] local.INFO: Extracted packet for processing {"connection_id":186676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46: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-19 06:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:46: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-19 06:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:46: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-19 06:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:46:16] local.INFO: GPS data processed {"connection_id":186676,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:46:16] local.INFO: Acknowledgment sent {"connection_id":186676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:46:31] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73b77f8012d7e02c005d50c080000001d0b..."} 
[2026-09-19 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73b77f8012d7e02c005d50c080000001d0b..."} 
[2026-09-19 06:46:31] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73b77f8012d7e02c005d50c080000001d0b..."} 
[2026-09-19 06:46:31] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:46:31] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97848328,"longitude_deg":76.323296,"latitude_deg":9.7848328,"altitude":0,"angle":29,"satellites":11,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50c08","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183808512001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878723466854400,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990742528,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:31] 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-19 06:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789780523000,"timestamp_ms":1789780523000,"timestamp_seconds":1789780523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73b77f8"} 
[2026-09-19 06: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-19 06:46:31] 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-19 06: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 06:46:31] 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-19 06: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-19 06: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-19 06:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183808512001,"66":13820,"111":206,"85":15104,"24":0,"16":134878723466854400,"45":9080312404990742528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183808512001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:46:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878723466854400,"km_value":134878723466854.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990742528,"description":"Unknown IO ID 45"} 
[2026-09-19 06:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183808512001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990742528}} 
[2026-09-19 06:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:46:31] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:46:31] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:46:47] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:47] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:46:47] local.INFO: Packet analysis {"connection_id":186676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:46:47] local.INFO: Extracted packet for processing {"connection_id":186676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:46: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-19 06:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06: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-19 06:46: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:46: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-19 06: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-19 06: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-19 06:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:46:47] 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-19 06:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:46:47] local.INFO: GPS data processed {"connection_id":186676,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:46:47] local.INFO: Acknowledgment sent {"connection_id":186676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:47:02] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73bca00012d7e030005d50c280000001d0d..."} 
[2026-09-19 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73bca00012d7e030005d50c280000001d0d..."} 
[2026-09-19 06:47:02] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73bca00012d7e030005d50c280000001d0d..."} 
[2026-09-19 06:47:02] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:47:02] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97848360,"longitude_deg":76.3233024,"latitude_deg":9.784836,"altitude":0,"angle":29,"satellites":13,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d50c28","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183813888001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878740646723584,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014046208,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:02] 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-19 06:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789780544000,"timestamp_ms":1789780544000,"timestamp_seconds":1789780544,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73bca00"} 
[2026-09-19 06: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-19 06:47:02] 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-19 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 06:47: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-19 06: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-19 06: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-19 06:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183813888001,"66":13820,"111":206,"85":15104,"24":0,"16":134878740646723584,"45":9080030930014046208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183813888001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:47:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878740646723584,"km_value":134878740646723.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014046208,"description":"Unknown IO ID 45"} 
[2026-09-19 06:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183813888001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014046208}} 
[2026-09-19 06:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:47:02] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:47:02] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:47:10] local.INFO: TCP Data received {"connection_id":189279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:10] local.INFO: Processing buffer {"connection_id":189279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:10] local.INFO: IMEI packet received {"connection_id":189279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":189279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:47:15] local.INFO: TCP Data received {"connection_id":189279,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:15] local.INFO: Processing buffer {"connection_id":189279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:47:15] local.INFO: IMEI packet received {"connection_id":189279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":189279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:47:16] local.INFO: TCP Data received {"connection_id":189279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:16] local.INFO: Processing buffer {"connection_id":189279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:16] local.INFO: Packet analysis {"connection_id":189279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:47:16] local.INFO: Extracted packet for processing {"connection_id":189279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47: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-19 06:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:47: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-19 06:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:47:16] 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-19 06:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":189279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:47:16] local.INFO: GPS data processed {"connection_id":189279,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:47:16] local.INFO: Acknowledgment sent {"connection_id":189279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:47:33] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73bed28012d7e034005d50c280000006d0d..."} 
[2026-09-19 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73bed28012d7e034005d50c280000006d0d..."} 
[2026-09-19 06:47:33] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73bed28012d7e034005d50c280000006d0d..."} 
[2026-09-19 06:47:33] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:47:33] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73b"} 
[2026-09-19 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763233088,"raw_latitude":97848360,"longitude_deg":76.3233088,"latitude_deg":9.784836,"altitude":0,"angle":109,"satellites":13,"speed":1,"hex_longitude":"2d7e0340","hex_latitude":"05d50c28","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183819264001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878744941690880,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758232064,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:33] 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-19 06:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789780553000,"timestamp_ms":1789780553000,"timestamp_seconds":1789780553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73bed28"} 
[2026-09-19 06: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-19 06:47:33] 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-19 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 06:47: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-19 06: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-19 06: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-19 06:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183819264001,"66":13863,"111":206,"85":15104,"24":1,"16":134878744941690880,"45":9080101298758232064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183819264001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:47:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878744941690880,"km_value":134878744941690.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758232064,"description":"Unknown IO ID 45"} 
[2026-09-19 06:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183819264001,"power":13863,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9080101298758232064}} 
[2026-09-19 06:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:47:33] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:47:33] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:47:48] local.INFO: TCP Data received {"connection_id":189279,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:48] local.INFO: Processing buffer {"connection_id":189279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:47:48] local.INFO: Packet analysis {"connection_id":189279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:47:48] local.INFO: Extracted packet for processing {"connection_id":189279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:47: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-19 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06: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-19 06:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:47: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-19 06:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":189279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:47:48] local.INFO: GPS data processed {"connection_id":189279,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:47:48] local.INFO: Acknowledgment sent {"connection_id":189279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:48:04] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73da2a8012d7e028005d50a78000000ba11..."} 
[2026-09-19 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73da2a8012d7e028005d50a78000000ba11..."} 
[2026-09-19 06:48:04] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73da2a8012d7e028005d50a78000000ba11..."} 
[2026-09-19 06:48:04] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:48:04] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97847928,"longitude_deg":76.3232896,"latitude_deg":9.7847928,"altitude":0,"angle":186,"satellites":17,"speed":2,"hex_longitude":"2d7e0280","hex_latitude":"05d50a78","is_valid_coordinates":true} 
[2026-09-19 06:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183849472001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878848020905984,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561269819392,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789780665000,"timestamp_ms":1789780665000,"timestamp_seconds":1789780665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73da2a8"} 
[2026-09-19 06: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-19 06:48: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-19 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:48:04] 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-19 06: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-19 06: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-19 06:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183849472001,"66":13624,"111":206,"85":15104,"24":2,"16":134878848020905984,"45":9079960561269819392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183849472001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:48:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878848020905984,"km_value":134878848020905.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561269819392,"description":"Unknown IO ID 45"} 
[2026-09-19 06:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183849472001,"power":13624,"unknown_111":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9079960561269819392}} 
[2026-09-19 06:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:48:04] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:48:04] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:48:10] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:10] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:10] local.INFO: IMEI packet received {"connection_id":187937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:48:15] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:15] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:48:15] local.INFO: IMEI packet received {"connection_id":187937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":187937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:48:16] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:16] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:16] local.INFO: Packet analysis {"connection_id":187937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:48:16] local.INFO: Extracted packet for processing {"connection_id":187937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48: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-19 06:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06: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-19 06:48: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:48:16] 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-19 06:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":187937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:48:16] local.INFO: GPS data processed {"connection_id":187937,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:48:16] local.INFO: Acknowledgment sent {"connection_id":187937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:48:35] local.INFO: TCP Data received {"connection_id":186531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73daa78012d7e024005d50a50000000cc11..."} 
[2026-09-19 06:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73daa78012d7e024005d50a50000000cc11..."} 
[2026-09-19 06:48:35] local.INFO: Processing buffer {"connection_id":186531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73daa78012d7e024005d50a50000000cc11..."} 
[2026-09-19 06:48:35] local.INFO: Packet analysis {"connection_id":186531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:48:35] local.INFO: Extracted packet for processing {"connection_id":186531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97847888,"longitude_deg":76.3232832,"latitude_deg":9.7847888,"altitude":0,"angle":204,"satellites":17,"speed":1,"hex_longitude":"2d7e0240","hex_latitude":"05d50a50","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183850240001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878856610840576,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561269766144,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:35] 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-19 06:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789780667000,"timestamp_ms":1789780667000,"timestamp_seconds":1789780667,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73daa78"} 
[2026-09-19 06: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-19 06:48:35] 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-19 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 06:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":186531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":186531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183850240001,"66":13602,"111":206,"85":15104,"24":1,"16":134878856610840576,"45":9079960561269766144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183850240001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:48:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878856610840576,"km_value":134878856610840.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561269766144,"description":"Unknown IO ID 45"} 
[2026-09-19 06:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183850240001,"power":13602,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9079960561269766144}} 
[2026-09-19 06:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":186531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:48:35] local.INFO: GPS data processed {"connection_id":186531,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:48:35] local.INFO: Acknowledgment sent {"connection_id":186531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:48:47] local.INFO: TCP Data received {"connection_id":187937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:47] local.INFO: Processing buffer {"connection_id":187937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:48:47] local.INFO: Packet analysis {"connection_id":187937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:48:47] local.INFO: Extracted packet for processing {"connection_id":187937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:48: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-19 06:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:48: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-19 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:48: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-19 06:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:48: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-19 06:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":187937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:48:47] local.INFO: GPS data processed {"connection_id":187937,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:48:47] local.INFO: Acknowledgment sent {"connection_id":187937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:48:53] local.INFO: TCP Data received {"connection_id":187936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:48:53] local.INFO: Processing buffer {"connection_id":187936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:48:53] local.INFO: IMEI packet received {"connection_id":187936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":187936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:49:03] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:03] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:03] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:49:07] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:07] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:49:07] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:49:08] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73dae60012d7e024005d50a30000000c011..."} 
[2026-09-19 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73dae60012d7e024005d50a30000000c011..."} 
[2026-09-19 06:49:08] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73dae60012d7e024005d50a30000000c011..."} 
[2026-09-19 06:49:08] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:49:08] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97847856,"longitude_deg":76.3232832,"latitude_deg":9.7847856,"altitude":0,"angle":192,"satellites":17,"speed":1,"hex_longitude":"2d7e0240","hex_latitude":"05d50a30","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183850752001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878856610840576,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525578240,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:08] 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-19 06:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789780668000,"timestamp_ms":1789780668000,"timestamp_seconds":1789780668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73dae60"} 
[2026-09-19 06: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-19 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-19 06:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183850752001,"66":13450,"111":206,"85":15104,"24":1,"16":134878856610840576,"45":9079890192525578240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183850752001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:49:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878856610840576,"km_value":134878856610840.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525578240,"description":"Unknown IO ID 45"} 
[2026-09-19 06:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183850752001,"power":13450,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9079890192525578240}} 
[2026-09-19 06:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:49:08] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:49:08] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:49:10] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:10] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:10] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:49:15] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:15] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:49:15] local.INFO: IMEI packet received {"connection_id":186532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:49:16] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:49:16] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73a1868012d34c14006aa41400008010e29..."} 
[2026-09-19 06:49:16] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:49:16] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73a"} 
[2026-09-19 06:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183713792001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49: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-19 06:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780433000,"timestamp_ms":1789780433000,"timestamp_seconds":1789780433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73a1868"} 
[2026-09-19 06:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:49: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-19 06:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:49:16] 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-19 06:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183713792001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183713792001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183713792001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:49:16] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:49:16] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:49:39] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73dfc80012d7e024005d50988000000c811..."} 
[2026-09-19 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73dfc80012d7e024005d50988000000c811..."} 
[2026-09-19 06:49:39] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73dfc80012d7e024005d50988000000c811..."} 
[2026-09-19 06:49:39] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:49:39] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73d"} 
[2026-09-19 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97847688,"longitude_deg":76.3232832,"latitude_deg":9.7847688,"altitude":0,"angle":200,"satellites":17,"speed":0,"hex_longitude":"2d7e0240","hex_latitude":"05d50988","is_valid_coordinates":true} 
[2026-09-19 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-19 06:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183851008001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878873790709760,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525570048,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789780688000,"timestamp_ms":1789780688000,"timestamp_seconds":1789780688,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73dfc80"} 
[2026-09-19 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-19 06:49:39] 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-19 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 06:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 06:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183851008001,"66":13656,"111":206,"85":15104,"24":0,"16":134878873790709760,"45":9079890192525570048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183851008001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:49:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878873790709760,"km_value":134878873790709.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525570048,"description":"Unknown IO ID 45"} 
[2026-09-19 06:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183851008001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079890192525570048}} 
[2026-09-19 06:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:49:39] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:49:39] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:49:47] local.INFO: TCP Data received {"connection_id":186532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:49:47] local.INFO: Processing buffer {"connection_id":186532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:49:47] local.INFO: Packet analysis {"connection_id":186532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:49:47] local.INFO: Extracted packet for processing {"connection_id":186532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:49: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-19 06:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:49: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-19 06: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-19 06: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-19 06:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:49: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-19 06:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":186532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:49:47] local.INFO: GPS data processed {"connection_id":186532,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:49:47] local.INFO: Acknowledgment sent {"connection_id":186532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:50:10] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73e2390012d7e02c005d509e00000005c14..."} 
[2026-09-19 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73e2390012d7e02c005d509e00000005c14..."} 
[2026-09-19 06:50:10] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73e2390012d7e02c005d509e00000005c14..."} 
[2026-09-19 06:50:10] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:10] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97847776,"longitude_deg":76.323296,"latitude_deg":9.7847776,"altitude":0,"angle":92,"satellites":20,"speed":3,"hex_longitude":"2d7e02c0","hex_latitude":"05d509e0","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183856128001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878890970578944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525527040,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:10] 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-19 06:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789780698000,"timestamp_ms":1789780698000,"timestamp_seconds":1789780698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73e2390"} 
[2026-09-19 06: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-19 06:50:10] 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-19 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 06:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183856128001,"66":13798,"111":206,"85":15104,"24":3,"16":134878890970578944,"45":9079890192525527040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183856128001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878890970578944,"km_value":134878890970578.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525527040,"description":"Unknown IO ID 45"} 
[2026-09-19 06:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183856128001,"power":13798,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079890192525527040}} 
[2026-09-19 06:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:50:10] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:50:10] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:50:10] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:10] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:10] local.INFO: IMEI packet received {"connection_id":187938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":187938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:50:15] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:15] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:50:15] local.INFO: IMEI packet received {"connection_id":187938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":187938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:50:16] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:16] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:16] local.INFO: Packet analysis {"connection_id":187938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:16] local.INFO: Extracted packet for processing {"connection_id":187938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50: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-19 06:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:50: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:50: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-19 06:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":187938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:50:16] local.INFO: GPS data processed {"connection_id":187938,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:50:16] local.INFO: Acknowledgment sent {"connection_id":187938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:50:41] local.INFO: TCP Data received {"connection_id":186677,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73e3330012d7e03c005d509a80000007314..."} 
[2026-09-19 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73e3330012d7e03c005d509a80000007314..."} 
[2026-09-19 06:50:41] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73e3330012d7e03c005d509a80000007314..."} 
[2026-09-19 06:50:41] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:41] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97847720,"longitude_deg":76.3233216,"latitude_deg":9.784772,"altitude":0,"angle":115,"satellites":20,"speed":3,"hex_longitude":"2d7e03c0","hex_latitude":"05d509a8","is_valid_coordinates":true} 
[2026-09-19 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183858688001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134878903855480832,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930013904896,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789780702000,"timestamp_ms":1789780702000,"timestamp_seconds":1789780702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73e3330"} 
[2026-09-19 06:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:50:41] 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-19 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 06:50:41] 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-19 06: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-19 06:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183858688001,"66":13906,"111":206,"85":15104,"24":3,"16":134878903855480832,"45":9080030930013904896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183858688001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:50:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134878903855480832,"km_value":134878903855480.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930013904896,"description":"Unknown IO ID 45"} 
[2026-09-19 06:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183858688001,"power":13906,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9080030930013904896}} 
[2026-09-19 06:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:50:41] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:50:41] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:50:49] local.INFO: TCP Data received {"connection_id":187938,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:49] local.INFO: Processing buffer {"connection_id":187938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:50:49] local.INFO: Packet analysis {"connection_id":187938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:49] local.INFO: Extracted packet for processing {"connection_id":187938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:50: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-19 06:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:50: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-19 06:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:50: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-19 06:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":187938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:50:49] local.INFO: GPS data processed {"connection_id":187938,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:50:49] local.INFO: Acknowledgment sent {"connection_id":187938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:51:02] local.INFO: TCP Data received {"connection_id":189280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: Processing buffer {"connection_id":189280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: IMEI packet received {"connection_id":189280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":189280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:51:02] local.INFO: TCP Data received {"connection_id":189280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: Processing buffer {"connection_id":189280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:02] local.INFO: IMEI packet received {"connection_id":189280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":189280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:51:07] local.INFO: TCP Data received {"connection_id":189280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:07] local.INFO: Processing buffer {"connection_id":189280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:51:07] local.INFO: IMEI packet received {"connection_id":189280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":189280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:51:08] local.INFO: TCP Data received {"connection_id":189280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7405de0012d7e138005d50558000000551f..."} 
[2026-09-19 06:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7405de0012d7e138005d50558000000551f..."} 
[2026-09-19 06:51:08] local.INFO: Processing buffer {"connection_id":189280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7405de0012d7e138005d50558000000551f..."} 
[2026-09-19 06:51:08] local.INFO: Packet analysis {"connection_id":189280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:51:08] local.INFO: Extracted packet for processing {"connection_id":189280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":97846616,"longitude_deg":76.3237248,"latitude_deg":9.7846616,"altitude":0,"angle":85,"satellites":31,"speed":21,"hex_longitude":"2d7e1380","hex_latitude":"05d50558","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183895552001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134879213093126144,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367222503424,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:08] 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-19 06:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789780844000,"timestamp_ms":1789780844000,"timestamp_seconds":1789780844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7405de0"} 
[2026-09-19 06: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-19 06:51:08] 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-19 06: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 06:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183895552001,"66":13765,"111":206,"85":15104,"24":21,"16":134879213093126144,"45":9083549367222503424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183895552001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:51:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134879213093126144,"km_value":134879213093126.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367222503424,"description":"Unknown IO ID 45"} 
[2026-09-19 06:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183895552001,"power":13765,"unknown_111":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9083549367222503424}} 
[2026-09-19 06:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":189280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:51:08] local.INFO: GPS data processed {"connection_id":189280,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:51:08] local.INFO: Acknowledgment sent {"connection_id":189280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:51:10] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:10] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:10] local.INFO: IMEI packet received {"connection_id":186533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":186533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:51:15] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:15] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:51:15] local.INFO: IMEI packet received {"connection_id":186533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":186533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:51:16] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:16] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:16] local.INFO: Packet analysis {"connection_id":186533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:51:16] local.INFO: Extracted packet for processing {"connection_id":186533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51: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-19 06:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:51: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:51:16] 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-19 06:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:51:16] local.INFO: GPS data processed {"connection_id":186533,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:51:16] local.INFO: Acknowledgment sent {"connection_id":186533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:51:39] local.INFO: TCP Data received {"connection_id":189280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74090a8012d7e23c005d50720000200831f..."} 
[2026-09-19 06:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74090a8012d7e23c005d50720000200831f..."} 
[2026-09-19 06:51:39] local.INFO: Processing buffer {"connection_id":189280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74090a8012d7e23c005d50720000200831f..."} 
[2026-09-19 06:51:39] local.INFO: Packet analysis {"connection_id":189280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:51:39] local.INFO: Extracted packet for processing {"connection_id":189280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763241408,"raw_latitude":97847072,"longitude_deg":76.3241408,"latitude_deg":9.7847072,"altitude":2,"angle":131,"satellites":31,"speed":6,"hex_longitude":"2d7e23c0","hex_latitude":"05d50720","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183896064001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134879419251556352,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745635873511424,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789780857000,"timestamp_ms":1789780857000,"timestamp_seconds":1789780857,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74090a8"} 
[2026-09-19 06: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-19 06:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-19 06:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183896064001,"66":13580,"111":206,"85":15104,"24":6,"16":134879419251556352,"45":9084745635873511424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183896064001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:51:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134879419251556352,"km_value":134879419251556.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745635873511424,"description":"Unknown IO ID 45"} 
[2026-09-19 06:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183896064001,"power":13580,"unknown_111":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9084745635873511424}} 
[2026-09-19 06:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":189280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:51:39] local.INFO: GPS data processed {"connection_id":189280,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:51:39] local.INFO: Acknowledgment sent {"connection_id":189280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:51:48] local.INFO: TCP Data received {"connection_id":186533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:48] local.INFO: Processing buffer {"connection_id":186533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:51:48] local.INFO: Packet analysis {"connection_id":186533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:51:48] local.INFO: Extracted packet for processing {"connection_id":186533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 06:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 06:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 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-19 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-19 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-19 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-19 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-19 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-19 06:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06: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-19 06:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:51:48] local.INFO: GPS data processed {"connection_id":186533,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:51:48] local.INFO: Acknowledgment sent {"connection_id":186533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:52:02] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:02] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:02] local.INFO: IMEI packet received {"connection_id":187939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":187939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:52:05] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:05] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:05] local.INFO: IMEI packet received {"connection_id":187939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":187939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:52:07] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:07] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:52:07] local.INFO: IMEI packet received {"connection_id":187939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":187939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:52:08] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7409490012d7e248005d506600002009a1f..."} 
[2026-09-19 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7409490012d7e248005d506600002009a1f..."} 
[2026-09-19 06:52:08] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7409490012d7e248005d506600002009a1f..."} 
[2026-09-19 06:52:08] local.INFO: Packet analysis {"connection_id":187939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:52:08] local.INFO: Extracted packet for processing {"connection_id":187939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b740"} 
[2026-09-19 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763241600,"raw_latitude":97846880,"longitude_deg":76.32416,"latitude_deg":9.784688,"altitude":2,"angle":154,"satellites":31,"speed":10,"hex_longitude":"2d7e2480","hex_latitude":"05d50660","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183899392001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134879432136458240,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089319604245176320,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] 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-19 06:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789780858000,"timestamp_ms":1789780858000,"timestamp_seconds":1789780858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7409490"} 
[2026-09-19 06: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-19 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636271,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3074362864,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3574183936,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435108207,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2364470068718338048,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":126,"raw_value":468380773796282368,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571296686067285,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,111,85,24,241,157,16,48,160,93,45,128,5,31,10,66,47,86,64,4,1,240,252,227,183,213,113,205,95,28,239,53,2,223,126,54,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-09-19 06:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144259357243473920,"timestamp_seconds":144259357243473.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 06: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-19 06:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183899392001,"66":13961,"111":206,"85":15104,"24":10,"16":134879432136458240,"45":9089319604245176320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 06:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183899392001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:52:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 06:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134879432136458240,"km_value":134879432136458.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089319604245176320,"description":"Unknown IO ID 45"} 
[2026-09-19 06:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183899392001,"power":13961,"unknown_111":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9089319604245176320}} 
[2026-09-19 06:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":187939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:52:08] local.INFO: GPS data processed {"connection_id":187939,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:52:08] local.INFO: Acknowledgment sent {"connection_id":187939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:52:11] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:11] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:11] local.INFO: IMEI packet received {"connection_id":187940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":187940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:52:15] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:15] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:52:15] local.INFO: IMEI packet received {"connection_id":187940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":187940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:52:16] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:16] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:16] local.INFO: Packet analysis {"connection_id":187940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:52:16] local.INFO: Extracted packet for processing {"connection_id":187940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52: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-19 06:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:52: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:52: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-19 06:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":187940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:52:16] local.INFO: GPS data processed {"connection_id":187940,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:52:16] local.INFO: Acknowledgment sent {"connection_id":187940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:52:39] local.INFO: TCP Data received {"connection_id":187939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b741b1b8012d7e3ec005d41810000000a21f..."} 
[2026-09-19 06:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b741b1b8012d7e3ec005d41810000000a21f..."} 
[2026-09-19 06:52:39] local.INFO: Processing buffer {"connection_id":187939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b741b1b8012d7e3ec005d41810000000a21f..."} 
[2026-09-19 06:52:39] local.INFO: Packet analysis {"connection_id":187939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:52:39] local.INFO: Extracted packet for processing {"connection_id":187939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97785872,"longitude_deg":76.324832,"latitude_deg":9.7785872,"altitude":0,"angle":162,"satellites":31,"speed":36,"hex_longitude":"2d7e3ec0","hex_latitude":"05d41810","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183916288001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134882438613565440,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159951540224,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789780931000,"timestamp_ms":1789780931000,"timestamp_seconds":1789780931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b741b1b8"} 
[2026-09-19 06: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-19 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 06:52:39] 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-19 06: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-19 06: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-19 06:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183916288001,"66":13798,"110":206,"85":15104,"24":36,"16":134882438613565440,"45":9095723159951540224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-19 06:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183916288001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:52:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-19 06:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134882438613565440,"km_value":134882438613565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159951540224,"description":"Unknown IO ID 45"} 
[2026-09-19 06:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183916288001,"power":13798,"unknown_110":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9095723159951540224}} 
[2026-09-19 06:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":187939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:52:39] local.INFO: GPS data processed {"connection_id":187939,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:52:39] local.INFO: Acknowledgment sent {"connection_id":187939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:52:48] local.INFO: TCP Data received {"connection_id":187940,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:48] local.INFO: Processing buffer {"connection_id":187940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:52:48] local.INFO: Packet analysis {"connection_id":187940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:52:48] local.INFO: Extracted packet for processing {"connection_id":187940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:52: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-19 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:52: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-19 06: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-19 06: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-19 06:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:52: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-19 06:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":187940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:52:48] local.INFO: GPS data processed {"connection_id":187940,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:52:48] local.INFO: Acknowledgment sent {"connection_id":187940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:53:02] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:02] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:02] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:53:05] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:05] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:05] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:53:06] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:53:06] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:53:06] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:53:07] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b741d4e0012d7e468005d3f898000100ae1f..."} 
[2026-09-19 06:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b741d4e0012d7e468005d3f898000100ae1f..."} 
[2026-09-19 06:53:07] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b741d4e0012d7e468005d3f898000100ae1f..."} 
[2026-09-19 06:53:07] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:53:07] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763250304,"raw_latitude":97777816,"longitude_deg":76.3250304,"latitude_deg":9.7777816,"altitude":1,"angle":174,"satellites":31,"speed":35,"hex_longitude":"2d7e4680","hex_latitude":"05d3f898","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183918336001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134882842340491264,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428600696832,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789780940000,"timestamp_ms":1789780940000,"timestamp_seconds":1789780940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b741d4e0"} 
[2026-09-19 06: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-19 06:53:07] 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-19 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 06:53:07] 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-19 06: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-19 06: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-19 06:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183918336001,"66":13798,"110":206,"85":15104,"24":35,"16":134882842340491264,"45":9096919428600696832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-19 06:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183918336001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:53:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-19 06:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134882842340491264,"km_value":134882842340491.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428600696832,"description":"Unknown IO ID 45"} 
[2026-09-19 06:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183918336001,"power":13798,"unknown_110":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9096919428600696832}} 
[2026-09-19 06:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:53:07] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:53:07] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:53:10] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:10] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:10] local.INFO: IMEI packet received {"connection_id":186534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:53:15] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:15] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:53:15] local.INFO: IMEI packet received {"connection_id":186534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:53:16] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:16] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:16] local.INFO: Packet analysis {"connection_id":186534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:53:16] local.INFO: Extracted packet for processing {"connection_id":186534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53: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-19 06:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:53: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06: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-19 06: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-19 06:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:53: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-19 06:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:53:16] local.INFO: GPS data processed {"connection_id":186534,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:53:16] local.INFO: Acknowledgment sent {"connection_id":186534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:53:38] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b741f808012d7e480005d3d488000000b31f..."} 
[2026-09-19 06:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b741f808012d7e480005d3d488000000b31f..."} 
[2026-09-19 06:53:38] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b741f808012d7e480005d3d488000000b31f..."} 
[2026-09-19 06:53:38] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:53:38] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b741"} 
[2026-09-19 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763250688,"raw_latitude":97768584,"longitude_deg":76.3250688,"latitude_deg":9.7768584,"altitude":0,"angle":179,"satellites":31,"speed":42,"hex_longitude":"2d7e4800","hex_latitude":"05d3d488","is_valid_coordinates":true} 
[2026-09-19 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-19 06:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183920640001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134883289017090048,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099100859668142080,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789780949000,"timestamp_ms":1789780949000,"timestamp_seconds":1789780949,"priority":1,"record_length":96,"hex_timestamp":"000001a0b741f808"} 
[2026-09-19 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-19 06:53:38] 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-19 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 06:53:38] 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-19 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-19 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-19 06:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183920640001,"66":13798,"110":206,"85":15104,"24":42,"16":134883289017090048,"45":9099100859668142080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-19 06:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183920640001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:53:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-19 06:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134883289017090048,"km_value":134883289017090.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099100859668142080,"description":"Unknown IO ID 45"} 
[2026-09-19 06:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183920640001,"power":13798,"unknown_110":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9099100859668142080}} 
[2026-09-19 06:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:53:38] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:53:38] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:53:47] local.INFO: TCP Data received {"connection_id":186534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:47] local.INFO: Processing buffer {"connection_id":186534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:53:47] local.INFO: Packet analysis {"connection_id":186534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:53:47] local.INFO: Extracted packet for processing {"connection_id":186534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06: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-19 06:53: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-19 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:53: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-19 06: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-19 06: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-19 06:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06: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-19 06:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:53:47] local.INFO: GPS data processed {"connection_id":186534,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:53:47] local.INFO: Acknowledgment sent {"connection_id":186534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:07] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:07] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:07] local.INFO: IMEI packet received {"connection_id":187941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":187941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:54:08] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:08] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:54:08] local.INFO: IMEI packet received {"connection_id":187941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":187941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:54:08] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7430590012d7e678005d303500000007c20..."} 
[2026-09-19 06:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7430590012d7e678005d303500000007c20..."} 
[2026-09-19 06:54:08] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7430590012d7e678005d303500000007c20..."} 
[2026-09-19 06:54:08] local.INFO: Packet analysis {"connection_id":187941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:08] local.INFO: Extracted packet for processing {"connection_id":187941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763258752,"raw_latitude":97715024,"longitude_deg":76.3258752,"latitude_deg":9.7715024,"altitude":0,"angle":124,"satellites":32,"speed":9,"hex_longitude":"2d7e6780","hex_latitude":"05d30350","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183940352001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134885973371650048,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427651018752,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781018000,"timestamp_ms":1789781018000,"timestamp_seconds":1789781018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7430590"} 
[2026-09-19 06: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-19 06:54: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-19 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-19 06:54:08] 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-19 06: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-19 06: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-19 06:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183940352001,"66":13656,"109":206,"85":15104,"24":9,"16":134885973371650048,"45":9108178427651018752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183940352001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:54:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134885973371650048,"km_value":134885973371650.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427651018752,"description":"Unknown IO ID 45"} 
[2026-09-19 06:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183940352001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108178427651018752}} 
[2026-09-19 06:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":187941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:54:08] local.INFO: GPS data processed {"connection_id":187941,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:54:08] local.INFO: Acknowledgment sent {"connection_id":187941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:10] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:10] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:10] local.INFO: IMEI packet received {"connection_id":186535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":186535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:54:12] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7430978012d7e684005d303080000006020..."} 
[2026-09-19 06:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7430978012d7e684005d303080000006020..."} 
[2026-09-19 06:54:12] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7430978012d7e684005d303080000006020..."} 
[2026-09-19 06:54:12] local.INFO: Packet analysis {"connection_id":187941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:12] local.INFO: Extracted packet for processing {"connection_id":187941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763258944,"raw_latitude":97714952,"longitude_deg":76.3258944,"latitude_deg":9.7714952,"altitude":0,"angle":96,"satellites":32,"speed":11,"hex_longitude":"2d7e6840","hex_latitude":"05d30308","is_valid_coordinates":true} 
[2026-09-19 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183940608001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134885981961584640,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108389533883518976,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789781019000,"timestamp_ms":1789781019000,"timestamp_seconds":1789781019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7430978"} 
[2026-09-19 06:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 06:54:12] 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-19 06:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183940608001,"66":13656,"109":206,"85":15104,"24":11,"16":134885981961584640,"45":9108389533883518976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183940608001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:54:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134885981961584640,"km_value":134885981961584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108389533883518976,"description":"Unknown IO ID 45"} 
[2026-09-19 06:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183940608001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9108389533883518976}} 
[2026-09-19 06:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":187941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:54:12] local.INFO: GPS data processed {"connection_id":187941,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:54:12] local.INFO: Acknowledgment sent {"connection_id":187941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:15] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:15] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:54:15] local.INFO: IMEI packet received {"connection_id":186535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":186535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:54:16] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:16] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b73eb030012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:16] local.INFO: Packet analysis {"connection_id":186535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:54:16] local.INFO: Extracted packet for processing {"connection_id":186535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b73e"} 
[2026-09-19 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183790848001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54: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-19 06:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789780734000,"timestamp_ms":1789780734000,"timestamp_seconds":1789780734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b73eb030"} 
[2026-09-19 06:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:54: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-19 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 06:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:54: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-19 06:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183790848001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183790848001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183790848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":186535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:54:16] local.INFO: GPS data processed {"connection_id":186535,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:54:16] local.INFO: Acknowledgment sent {"connection_id":186535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:28] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:28] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:28] local.INFO: IMEI packet received {"connection_id":186678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":186678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:54:44] local.INFO: TCP Data received {"connection_id":187941,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7430d60012d7e698005d303200000004b1f..."} 
[2026-09-19 06:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7430d60012d7e698005d303200000004b1f..."} 
[2026-09-19 06:54:44] local.INFO: Processing buffer {"connection_id":187941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7430d60012d7e698005d303200000004b1f..."} 
[2026-09-19 06:54:44] local.INFO: Packet analysis {"connection_id":187941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:44] local.INFO: Extracted packet for processing {"connection_id":187941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763259264,"raw_latitude":97714976,"longitude_deg":76.3259264,"latitude_deg":9.7714976,"altitude":0,"angle":75,"satellites":31,"speed":14,"hex_longitude":"2d7e6980","hex_latitude":"05d30320","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183940864001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134885999141453824,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108600640116033536,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789781020000,"timestamp_ms":1789781020000,"timestamp_seconds":1789781020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7430d60"} 
[2026-09-19 06: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-19 06:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 06:54:44] 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-19 06: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-19 06: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-19 06:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183940864001,"66":13504,"109":206,"85":15104,"24":14,"16":134885999141453824,"45":9108600640116033536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183940864001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:54:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134885999141453824,"km_value":134885999141453.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108600640116033536,"description":"Unknown IO ID 45"} 
[2026-09-19 06:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183940864001,"power":13504,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9108600640116033536}} 
[2026-09-19 06:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":187941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:54:44] local.INFO: GPS data processed {"connection_id":187941,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:54:44] local.INFO: Acknowledgment sent {"connection_id":187941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:47] local.INFO: TCP Data received {"connection_id":186535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:47] local.INFO: Processing buffer {"connection_id":186535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:54:47] local.INFO: Packet analysis {"connection_id":186535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:47] local.INFO: Extracted packet for processing {"connection_id":186535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06: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-19 06: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-19 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:54:47] 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-19 06:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":186535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:54:47] local.INFO: GPS data processed {"connection_id":186535,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:54:47] local.INFO: Acknowledgment sent {"connection_id":186535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:54:53] local.INFO: TCP Data received {"connection_id":189281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:53] local.INFO: Processing buffer {"connection_id":189281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 06:54:53] local.INFO: IMEI packet received {"connection_id":189281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 06:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":189281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:55:02] local.INFO: TCP Data received {"connection_id":189282,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:02] local.INFO: Processing buffer {"connection_id":189282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:02] local.INFO: IMEI packet received {"connection_id":189282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":189282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:55:07] local.INFO: TCP Data received {"connection_id":189282,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:07] local.INFO: Processing buffer {"connection_id":189282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:55:07] local.INFO: IMEI packet received {"connection_id":189282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":189282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:55:08] local.INFO: TCP Data received {"connection_id":189282,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:08] local.INFO: Processing buffer {"connection_id":189282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:08] local.INFO: Packet analysis {"connection_id":189282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:08] local.INFO: Extracted packet for processing {"connection_id":189282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763268416,"raw_latitude":97717536,"longitude_deg":76.3268416,"latitude_deg":9.7717536,"altitude":2,"angle":58,"satellites":32,"speed":33,"hex_longitude":"2d7e8d40","hex_latitude":"05d30d20","is_valid_coordinates":true} 
[2026-09-19 06:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183941120001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134886454407987200,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108952483836928000,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781033000,"timestamp_ms":1789781033000,"timestamp_seconds":1789781033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7434028"} 
[2026-09-19 06:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:55: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-19 06:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-19 06:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183941120001,"66":13678,"109":206,"85":15104,"24":33,"16":134886454407987200,"45":9108952483836928000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183941120001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:55:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134886454407987200,"km_value":134886454407987.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108952483836928000,"description":"Unknown IO ID 45"} 
[2026-09-19 06:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183941120001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9108952483836928000}} 
[2026-09-19 06:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":189282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:55:08] local.INFO: GPS data processed {"connection_id":189282,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:55:08] local.INFO: Acknowledgment sent {"connection_id":189282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:55:15] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:15] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:15] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:55:20] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:20] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:55:20] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:55:21] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:21] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:21] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:21] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:55:21] 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-19 06:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:55:21] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:55:21] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:55:25] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:25] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:55:25] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:25] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06: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-19 06:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:55:25] 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-19 06:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:55:26] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:55:26] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:55:39] local.INFO: TCP Data received {"connection_id":189282,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:39] local.INFO: Processing buffer {"connection_id":189282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7434028012d7e8d4005d30d200002003a20..."} 
[2026-09-19 06:55:39] local.INFO: Packet analysis {"connection_id":189282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:39] local.INFO: Extracted packet for processing {"connection_id":189282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763268416,"raw_latitude":97717536,"longitude_deg":76.3268416,"latitude_deg":9.7717536,"altitude":2,"angle":58,"satellites":32,"speed":33,"hex_longitude":"2d7e8d40","hex_latitude":"05d30d20","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944448001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134886454407987200,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119015214254989312,"note":"Value kept but may cause issues"} 
[2026-09-19 06:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789781033000,"timestamp_ms":1789781033000,"timestamp_seconds":1789781033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7434028"} 
[2026-09-19 06: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-19 06:55: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-19 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:55:39] 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-19 06: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-19 06: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-19 06:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944448001,"66":13678,"109":206,"85":15104,"24":33,"16":134886454407987200,"45":9119015214254989312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944448001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:55:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134886454407987200,"km_value":134886454407987.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119015214254989312,"description":"Unknown IO ID 45"} 
[2026-09-19 06:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944448001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9119015214254989312}} 
[2026-09-19 06:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":189282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:55:39] local.INFO: GPS data processed {"connection_id":189282,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:55:39] local.INFO: Acknowledgment sent {"connection_id":189282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:56:00] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:00] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:00] local.INFO: IMEI packet received {"connection_id":187942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":187942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:56:01] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:01] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:01] local.INFO: IMEI packet received {"connection_id":187942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":187942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:56:07] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:07] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:56:07] local.INFO: IMEI packet received {"connection_id":187942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":187942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:56:08] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74372f0012d7ea78005d31fc00003004620..."} 
[2026-09-19 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74372f0012d7ea78005d31fc00003004620..."} 
[2026-09-19 06:56:08] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74372f0012d7ea78005d31fc00003004620..."} 
[2026-09-19 06:56:08] local.INFO: Packet analysis {"connection_id":187942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:08] local.INFO: Extracted packet for processing {"connection_id":187942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":97722304,"longitude_deg":76.3275136,"latitude_deg":9.7722304,"altitude":3,"angle":70,"satellites":32,"speed":11,"hex_longitude":"2d7ea780","hex_latitude":"05d31fc0","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944448001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134886853839945728,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119015214254989312,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781046000,"timestamp_ms":1789781046000,"timestamp_seconds":1789781046,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74372f0"} 
[2026-09-19 06: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-19 06:56: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-19 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944448001,"66":13059,"109":206,"85":15104,"24":11,"16":134886853839945728,"45":9119015214254989312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944448001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:56:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134886853839945728,"km_value":134886853839945.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119015214254989312,"description":"Unknown IO ID 45"} 
[2026-09-19 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944448001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9119015214254989312}} 
[2026-09-19 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":187942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:56:08] local.INFO: GPS data processed {"connection_id":187942,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:56:08] local.INFO: Acknowledgment sent {"connection_id":187942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:56:10] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:10] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:10] local.INFO: IMEI packet received {"connection_id":186681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":186681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:56:15] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:15] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:56:15] local.INFO: IMEI packet received {"connection_id":186681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:56:16] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:16] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:16] local.INFO: Packet analysis {"connection_id":186681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:16] local.INFO: Extracted packet for processing {"connection_id":186681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56: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-19 06:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06: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-19 06:56: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06: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-19 06:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:56:16] local.INFO: GPS data processed {"connection_id":186681,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:56:16] local.INFO: Acknowledgment sent {"connection_id":186681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:56:39] local.INFO: TCP Data received {"connection_id":187942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74591e8012d7f57c005d38d280002004023..."} 
[2026-09-19 06:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74591e8012d7f57c005d38d280002004023..."} 
[2026-09-19 06:56:39] local.INFO: Processing buffer {"connection_id":187942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74591e8012d7f57c005d38d280002004023..."} 
[2026-09-19 06:56:39] local.INFO: Packet analysis {"connection_id":187942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:56:39] local.INFO: Extracted packet for processing {"connection_id":187942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763320256,"raw_latitude":97750312,"longitude_deg":76.3320256,"latitude_deg":9.7750312,"altitude":2,"angle":64,"satellites":35,"speed":49,"hex_longitude":"2d7f57c0","hex_latitude":"05d38d28","is_valid_coordinates":true} 
[2026-09-19 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-19 06:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183981568001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134889555374374912,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168977022628382720,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789781185000,"timestamp_ms":1789781185000,"timestamp_seconds":1789781185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74591e8"} 
[2026-09-19 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-19 06:56: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-19 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 06:56:39] 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-19 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-19 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-19 06:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183981568001,"66":13624,"109":206,"85":15104,"24":49,"16":134889555374374912,"45":9168977022628382720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183981568001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:56:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134889555374374912,"km_value":134889555374374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168977022628382720,"description":"Unknown IO ID 45"} 
[2026-09-19 06:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183981568001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9168977022628382720}} 
[2026-09-19 06:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":187942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:56:39] local.INFO: GPS data processed {"connection_id":187942,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:56:39] local.INFO: Acknowledgment sent {"connection_id":187942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:56:47] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:47] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:56:47] local.INFO: Packet analysis {"connection_id":186681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:47] local.INFO: Extracted packet for processing {"connection_id":186681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:56: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-19 06:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06: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-19 06:56: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-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:56: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-19 06: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-19 06: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-19 06:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:56: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-19 06:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":186681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:56:47] local.INFO: GPS data processed {"connection_id":186681,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:56:47] local.INFO: Acknowledgment sent {"connection_id":186681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:57:01] local.INFO: TCP Data received {"connection_id":189283,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:01] local.INFO: Processing buffer {"connection_id":189283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:01] local.INFO: IMEI packet received {"connection_id":189283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":189283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:57:02] local.INFO: TCP Data received {"connection_id":189283,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:02] local.INFO: Processing buffer {"connection_id":189283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:02] local.INFO: IMEI packet received {"connection_id":189283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":189283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:57:08] local.INFO: TCP Data received {"connection_id":189283,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:08] local.INFO: Processing buffer {"connection_id":189283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:57:08] local.INFO: IMEI packet received {"connection_id":189283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":189283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:57:09] local.INFO: TCP Data received {"connection_id":189283,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7459da0012d7f658005d392300002004b23..."} 
[2026-09-19 06:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7459da0012d7f658005d392300002004b23..."} 
[2026-09-19 06:57:09] local.INFO: Processing buffer {"connection_id":189283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7459da0012d7f658005d392300002004b23..."} 
[2026-09-19 06:57:09] local.INFO: Packet analysis {"connection_id":189283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:57:09] local.INFO: Extracted packet for processing {"connection_id":189283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763323776,"raw_latitude":97751600,"longitude_deg":76.3323776,"latitude_deg":9.77516,"altitude":2,"angle":75,"satellites":35,"speed":47,"hex_longitude":"2d7f6580","hex_latitude":"05d39230","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183983360001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134889735763001344,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176013897047287808,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789781188000,"timestamp_ms":1789781188000,"timestamp_seconds":1789781188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7459da0"} 
[2026-09-19 06: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-19 06:57:09] 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-19 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 06:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183983360001,"66":13472,"109":206,"85":15104,"24":47,"16":134889735763001344,"45":9176013897047287808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183983360001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:57:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134889735763001344,"km_value":134889735763001.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176013897047287808,"description":"Unknown IO ID 45"} 
[2026-09-19 06:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183983360001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9176013897047287808}} 
[2026-09-19 06:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":189283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:57:09] local.INFO: GPS data processed {"connection_id":189283,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:57:09] local.INFO: Acknowledgment sent {"connection_id":189283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:57:10] local.INFO: TCP Data received {"connection_id":189284,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:10] local.INFO: Processing buffer {"connection_id":189284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:10] local.INFO: IMEI packet received {"connection_id":189284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":189284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:57:15] local.INFO: TCP Data received {"connection_id":189284,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:15] local.INFO: Processing buffer {"connection_id":189284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:57:15] local.INFO: IMEI packet received {"connection_id":189284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":189284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:57:16] local.INFO: TCP Data received {"connection_id":189284,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:16] local.INFO: Processing buffer {"connection_id":189284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:16] local.INFO: Packet analysis {"connection_id":189284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:57:16] local.INFO: Extracted packet for processing {"connection_id":189284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57: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-19 06:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:57: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-19 06:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:57:16] 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-19 06:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":189284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:57:16] local.INFO: GPS data processed {"connection_id":189284,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:57:16] local.INFO: Acknowledgment sent {"connection_id":189284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:57:42] local.INFO: TCP Data received {"connection_id":189283,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b745a958012d7f72c005d394080003005722..."} 
[2026-09-19 06:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b745a958012d7f72c005d394080003005722..."} 
[2026-09-19 06:57:42] local.INFO: Processing buffer {"connection_id":189283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b745a958012d7f72c005d394080003005722..."} 
[2026-09-19 06:57:42] local.INFO: Packet analysis {"connection_id":189283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:57:42] local.INFO: Extracted packet for processing {"connection_id":189283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b745"} 
[2026-09-19 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763327168,"raw_latitude":97752072,"longitude_deg":76.3327168,"latitude_deg":9.7752072,"altitude":3,"angle":87,"satellites":34,"speed":38,"hex_longitude":"2d7f72c0","hex_latitude":"05d39408","is_valid_coordinates":true} 
[2026-09-19 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183984128001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134889898971758592,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179884177977389056,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789781191000,"timestamp_ms":1789781191000,"timestamp_seconds":1789781191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b745a958"} 
[2026-09-19 06:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 06:57:42] 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-19 06:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183984128001,"66":13406,"109":206,"85":15104,"24":38,"16":134889898971758592,"45":9179884177977389056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-19 06:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183984128001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:57:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 06:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134889898971758592,"km_value":134889898971758.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179884177977389056,"description":"Unknown IO ID 45"} 
[2026-09-19 06:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183984128001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9179884177977389056}} 
[2026-09-19 06:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":189283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:57:42] local.INFO: GPS data processed {"connection_id":189283,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:57:42] local.INFO: Acknowledgment sent {"connection_id":189283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:57:47] local.INFO: TCP Data received {"connection_id":189284,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:47] local.INFO: Processing buffer {"connection_id":189284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:57:47] local.INFO: Packet analysis {"connection_id":189284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:57:47] local.INFO: Extracted packet for processing {"connection_id":189284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:57: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-19 06:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:57: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-19 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:57: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-19 06:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:57:47] 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-19 06:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":189284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:57:47] local.INFO: GPS data processed {"connection_id":189284,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:57:47] local.INFO: Acknowledgment sent {"connection_id":189284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:58:02] local.INFO: TCP Data received {"connection_id":189285,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: Processing buffer {"connection_id":189285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: IMEI packet received {"connection_id":189285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":189285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:58:02] local.INFO: TCP Data received {"connection_id":189285,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: Processing buffer {"connection_id":189285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:02] local.INFO: IMEI packet received {"connection_id":189285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":189285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:58:06] local.INFO: TCP Data received {"connection_id":189285,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:06] local.INFO: Processing buffer {"connection_id":189285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:58:06] local.INFO: IMEI packet received {"connection_id":189285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":189285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:58:07] local.INFO: TCP Data received {"connection_id":189285,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b746c298012d80458005d382c80004007723..."} 
[2026-09-19 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b746c298012d80458005d382c80004007723..."} 
[2026-09-19 06:58:07] local.INFO: Processing buffer {"connection_id":189285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b746c298012d80458005d382c80004007723..."} 
[2026-09-19 06:58:07] local.INFO: Packet analysis {"connection_id":189285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b746"} 
[2026-09-19 06:58:07] local.INFO: Extracted packet for processing {"connection_id":189285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b746"} 
[2026-09-19 06:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763381120,"raw_latitude":97747656,"longitude_deg":76.338112,"latitude_deg":9.7747656,"altitude":4,"angle":119,"satellites":35,"speed":30,"hex_longitude":"2d804580","hex_latitude":"05d382c8","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184003072001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134892609096122368,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204583557135831040,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789781263000,"timestamp_ms":1789781263000,"timestamp_seconds":1789781263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b746c298"} 
[2026-09-19 06: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-19 06:58: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-19 06: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 06:58:07] 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-19 06:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06: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-19 06:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184003072001,"66":13722,"167":206,"85":15104,"24":30,"16":134892609096122368,"45":-9204583557135831040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-19 06:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184003072001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:58:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-19 06:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134892609096122368,"km_value":134892609096122.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204583557135831040,"description":"Unknown IO ID 45"} 
[2026-09-19 06:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184003072001,"power":13722,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9204583557135831040}} 
[2026-09-19 06:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":189285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:58:07] local.INFO: GPS data processed {"connection_id":189285,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:58:07] local.INFO: Acknowledgment sent {"connection_id":189285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:58:10] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:10] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:10] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:58:15] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:15] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:58:15] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:58:16] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:16] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:16] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:58:16] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58: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-19 06:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:58: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-19 06:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:58: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-19 06:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:58:16] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:58:16] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:58:38] local.INFO: TCP Data received {"connection_id":189285,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b746c680012d8048c005d381c00004006922..."} 
[2026-09-19 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b746c680012d8048c005d381c00004006922..."} 
[2026-09-19 06:58:38] local.INFO: Processing buffer {"connection_id":189285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b746c680012d8048c005d381c00004006922..."} 
[2026-09-19 06:58:38] local.INFO: Packet analysis {"connection_id":189285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b746"} 
[2026-09-19 06:58:38] local.INFO: Extracted packet for processing {"connection_id":189285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b746"} 
[2026-09-19 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763381952,"raw_latitude":97747392,"longitude_deg":76.3381952,"latitude_deg":9.7747392,"altitude":4,"angle":105,"satellites":34,"speed":33,"hex_longitude":"2d8048c0","hex_latitude":"05d381c0","is_valid_coordinates":true} 
[2026-09-19 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-19 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184003328001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134892652045795328,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203809500949985280,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789781264000,"timestamp_ms":1789781264000,"timestamp_seconds":1789781264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b746c680"} 
[2026-09-19 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-19 06:58: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-19 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 06:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184003328001,"66":13678,"167":206,"85":15104,"24":33,"16":134892652045795328,"45":-9203809500949985280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-19 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184003328001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134892652045795328,"km_value":134892652045795.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203809500949985280,"description":"Unknown IO ID 45"} 
[2026-09-19 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184003328001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9203809500949985280}} 
[2026-09-19 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":189285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:58:38] local.INFO: GPS data processed {"connection_id":189285,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:58:38] local.INFO: Acknowledgment sent {"connection_id":189285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:58:48] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:48] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:58:48] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:58:48] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 06:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:58: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-19 06:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 06:58: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-19 06:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:58: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-19 06:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 06:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 06:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:58: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-19 06:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:58:48] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:58:48] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:59:01] local.INFO: TCP Data received {"connection_id":189286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:01] local.INFO: Processing buffer {"connection_id":189286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:01] local.INFO: IMEI packet received {"connection_id":189286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 06:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":189286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:59:02] local.INFO: TCP Data received {"connection_id":189286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: Processing buffer {"connection_id":189286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: IMEI packet received {"connection_id":189286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":189286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:59:02] local.INFO: TCP Data received {"connection_id":189286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: Processing buffer {"connection_id":189286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:02] local.INFO: IMEI packet received {"connection_id":189286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":189286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:59:05] local.INFO: TCP Data received {"connection_id":189286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:05] local.INFO: Processing buffer {"connection_id":189286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 06:59:05] local.INFO: IMEI packet received {"connection_id":189286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":189286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:59:10] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:10] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:10] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 06:59:15] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:15] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 06:59:15] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 06:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 06:59:16] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:59:16] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74347f8012d34c14006aa41400008010e2a..."} 
[2026-09-19 06:59:16] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:59:16] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b743"} 
[2026-09-19 06:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183867904001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06:59: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-19 06:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781035000,"timestamp_ms":1789781035000,"timestamp_seconds":1789781035,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74347f8"} 
[2026-09-19 06: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-19 06:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 06:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 06: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-19 06: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-19 06:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:59: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-19 06:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183867904001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183867904001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183867904001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:59:16] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:59:16] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 06:59:47] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 06:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 06:59:47] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 06:59:47] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 06:59:47] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 06:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 06: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-19 06:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 06:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 06:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 06: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-19 06:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 06: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-19 06:59: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-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 06:59: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-19 06: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-19 06: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-19 06:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 06:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 06:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 06:59: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-19 06:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 06:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 06:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 06:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 06:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 06:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 06:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 06:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 06:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 06:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 06:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 06:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 06:59:47] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-19 06:59:47] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:00:15] local.INFO: TCP Data received {"connection_id":189288,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:15] local.INFO: Processing buffer {"connection_id":189288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:15] local.INFO: IMEI packet received {"connection_id":189288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":189288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:00:21] local.INFO: TCP Data received {"connection_id":189288,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:21] local.INFO: Processing buffer {"connection_id":189288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:00:21] local.INFO: IMEI packet received {"connection_id":189288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":189288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:00:23] local.INFO: TCP Data received {"connection_id":189288,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:23] local.INFO: Processing buffer {"connection_id":189288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:23] local.INFO: Packet analysis {"connection_id":189288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:00:23] local.INFO: Extracted packet for processing {"connection_id":189288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:00:23] 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-19 07:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":189288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:00:23] local.INFO: GPS data processed {"connection_id":189288,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:00:23] local.INFO: Acknowledgment sent {"connection_id":189288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:00:23] local.INFO: TCP Data received {"connection_id":189287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:00:23] local.INFO: Processing buffer {"connection_id":189287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:00:23] local.INFO: IMEI packet received {"connection_id":189287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":189287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:00:26] local.INFO: TCP Data received {"connection_id":189288,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:26] local.INFO: Processing buffer {"connection_id":189288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:00:26] local.INFO: Packet analysis {"connection_id":189288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:00:26] local.INFO: Extracted packet for processing {"connection_id":189288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:00: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-19 07:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:00: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-19 07:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:00:26] 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-19 07:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":189288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:00:26] local.INFO: GPS data processed {"connection_id":189288,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:00:26] local.INFO: Acknowledgment sent {"connection_id":189288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:01:10] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:10] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:10] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:01:15] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:15] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:01:15] local.INFO: IMEI packet received {"connection_id":186538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:01:16] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:16] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:16] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:01:16] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01: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-19 07:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:01: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-19 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:01:16] 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-19 07:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:01:16] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:01:16] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:01:47] local.INFO: TCP Data received {"connection_id":186538,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:47] local.INFO: Processing buffer {"connection_id":186538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:01:47] local.INFO: Packet analysis {"connection_id":186538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:01:47] local.INFO: Extracted packet for processing {"connection_id":186538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:01: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-19 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07: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-19 07:01: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-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:01: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-19 07: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-19 07: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-19 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:01: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-19 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":186538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:01:47] local.INFO: GPS data processed {"connection_id":186538,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:01:47] local.INFO: Acknowledgment sent {"connection_id":186538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:02:10] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:10] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:10] local.INFO: IMEI packet received {"connection_id":187943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":187943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:02:15] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:15] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:02:15] local.INFO: IMEI packet received {"connection_id":187943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":187943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:02:16] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:16] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:16] local.INFO: Packet analysis {"connection_id":187943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:02:16] local.INFO: Extracted packet for processing {"connection_id":187943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02: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-19 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:02: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-19 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:02: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-19 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":187943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:02:16] local.INFO: GPS data processed {"connection_id":187943,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:02:16] local.INFO: Acknowledgment sent {"connection_id":187943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:02:47] local.INFO: TCP Data received {"connection_id":187943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:47] local.INFO: Processing buffer {"connection_id":187943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:02:47] local.INFO: Packet analysis {"connection_id":187943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:02:47] local.INFO: Extracted packet for processing {"connection_id":187943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:02: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-19 07:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07: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-19 07:02: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-19 07:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:02: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-19 07: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-19 07: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-19 07:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:02: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-19 07:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":187943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:02:47] local.INFO: GPS data processed {"connection_id":187943,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:02:47] local.INFO: Acknowledgment sent {"connection_id":187943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:03:10] local.INFO: TCP Data received {"connection_id":187944,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:10] local.INFO: Processing buffer {"connection_id":187944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:10] local.INFO: IMEI packet received {"connection_id":187944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":187944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:03:15] local.INFO: TCP Data received {"connection_id":187944,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:15] local.INFO: Processing buffer {"connection_id":187944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:03:15] local.INFO: IMEI packet received {"connection_id":187944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":187944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:03:16] local.INFO: TCP Data received {"connection_id":187944,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:16] local.INFO: Processing buffer {"connection_id":187944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:16] local.INFO: Packet analysis {"connection_id":187944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:03:16] local.INFO: Extracted packet for processing {"connection_id":187944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:03: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-19 07:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:03: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-19 07:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:03:16] 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-19 07:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":187944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:03:16] local.INFO: GPS data processed {"connection_id":187944,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:03:16] local.INFO: Acknowledgment sent {"connection_id":187944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:03:48] local.INFO: TCP Data received {"connection_id":187944,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:48] local.INFO: Processing buffer {"connection_id":187944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:03:48] local.INFO: Packet analysis {"connection_id":187944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:03:48] local.INFO: Extracted packet for processing {"connection_id":187944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07: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-19 07: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-19 07: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:03: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-19 07: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-19 07: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-19 07:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":187944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:03:48] local.INFO: GPS data processed {"connection_id":187944,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:03:48] local.INFO: Acknowledgment sent {"connection_id":187944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:04:07] local.INFO: TCP Data received {"connection_id":189290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:04:07] local.INFO: Processing buffer {"connection_id":189290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:04:07] local.INFO: IMEI packet received {"connection_id":189290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":189290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:04:08] local.INFO: TCP Data received {"connection_id":189290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74b1410012d81604005d184280000005e21..."} 
[2026-09-19 07:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74b1410012d81604005d184280000005e21..."} 
[2026-09-19 07:04:08] local.INFO: Processing buffer {"connection_id":189290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74b1410012d81604005d184280000005e21..."} 
[2026-09-19 07:04:08] local.INFO: Packet analysis {"connection_id":189290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:04:08] local.INFO: Extracted packet for processing {"connection_id":189290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763453504,"raw_latitude":97616936,"longitude_deg":76.3453504,"latitude_deg":9.7616936,"altitude":0,"angle":94,"satellites":33,"speed":0,"hex_longitude":"2d816040","hex_latitude":"05d18428","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184070400001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134901890520449024,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124222451318511616,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781546000,"timestamp_ms":1789781546000,"timestamp_seconds":1789781546,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74b1410"} 
[2026-09-19 07: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-19 07:04: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-19 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:04: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-19 07: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-19 07: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-19 07:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184070400001,"66":13515,"208":206,"85":15104,"24":0,"16":134901890520449024,"45":-9124222451318511616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 07:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184070400001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:04:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 07:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134901890520449024,"km_value":134901890520449.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124222451318511616,"description":"Unknown IO ID 45"} 
[2026-09-19 07:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184070400001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124222451318511616}} 
[2026-09-19 07:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":189290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:04:08] local.INFO: GPS data processed {"connection_id":189290,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:04:08] local.INFO: Acknowledgment sent {"connection_id":189290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:04:10] local.INFO: TCP Data received {"connection_id":189291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:10] local.INFO: Processing buffer {"connection_id":189291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:10] local.INFO: IMEI packet received {"connection_id":189291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":189291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:04:15] local.INFO: TCP Data received {"connection_id":189291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:15] local.INFO: Processing buffer {"connection_id":189291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:04:15] local.INFO: IMEI packet received {"connection_id":189291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":189291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:04:16] local.INFO: TCP Data received {"connection_id":189291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:04:16] local.INFO: Processing buffer {"connection_id":189291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b747dfc0012d34c14006aa41400008010e28..."} 
[2026-09-19 07:04:16] local.INFO: Packet analysis {"connection_id":189291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:04:16] local.INFO: Extracted packet for processing {"connection_id":189291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b747"} 
[2026-09-19 07:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183944960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04: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-19 07:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781336000,"timestamp_ms":1789781336000,"timestamp_seconds":1789781336,"priority":1,"record_length":96,"hex_timestamp":"000001a0b747dfc0"} 
[2026-09-19 07:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:04: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-19 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:04: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-19 07:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183944960001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183944960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183944960001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":189291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:04:16] local.INFO: GPS data processed {"connection_id":189291,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:04:16] local.INFO: Acknowledgment sent {"connection_id":189291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:04:39] local.INFO: TCP Data received {"connection_id":189290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74b6618012d81604005d184280000005e22..."} 
[2026-09-19 07:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74b6618012d81604005d184280000005e22..."} 
[2026-09-19 07:04:39] local.INFO: Processing buffer {"connection_id":189290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74b6618012d81604005d184280000005e22..."} 
[2026-09-19 07:04:39] local.INFO: Packet analysis {"connection_id":189290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:04:39] local.INFO: Extracted packet for processing {"connection_id":189290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763453504,"raw_latitude":97616936,"longitude_deg":76.3453504,"latitude_deg":9.7616936,"altitude":0,"angle":94,"satellites":34,"speed":0,"hex_longitude":"2d816040","hex_latitude":"05d18428","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184075776001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134901890520449024,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124222451318511616,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789781567000,"timestamp_ms":1789781567000,"timestamp_seconds":1789781567,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74b6618"} 
[2026-09-19 07: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-19 07:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 07:04:39] 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-19 07: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-19 07: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-19 07:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184075776001,"66":13450,"208":206,"85":15104,"24":0,"16":134901890520449024,"45":-9124222451318511616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 07:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184075776001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:04:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 07:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134901890520449024,"km_value":134901890520449.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124222451318511616,"description":"Unknown IO ID 45"} 
[2026-09-19 07:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184075776001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124222451318511616}} 
[2026-09-19 07:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":189290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:04:39] local.INFO: GPS data processed {"connection_id":189290,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:04:39] local.INFO: Acknowledgment sent {"connection_id":189290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:04:47] local.INFO: TCP Data received {"connection_id":189291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:04:47] local.INFO: Processing buffer {"connection_id":189291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:04:47] local.INFO: Packet analysis {"connection_id":189291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:04:47] local.INFO: Extracted packet for processing {"connection_id":189291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:04: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-19 07:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:04:47] 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-19 07:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:04: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-19 07:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":189291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:04:47] local.INFO: GPS data processed {"connection_id":189291,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:04:47] local.INFO: Acknowledgment sent {"connection_id":189291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:05:02] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:02] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:02] local.INFO: IMEI packet received {"connection_id":187945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":187945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:05:10] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:10] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:10] local.INFO: IMEI packet received {"connection_id":186685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:05:15] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:15] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:05:15] local.INFO: IMEI packet received {"connection_id":186685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:05:15] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:15] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:05:15] local.INFO: IMEI packet received {"connection_id":187945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":187945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:05:16] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:16] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:16] local.INFO: Packet analysis {"connection_id":186685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:05:16] local.INFO: Extracted packet for processing {"connection_id":186685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05: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-19 07:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07: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-19 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:05:16] 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-19 07: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-19 07: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-19 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:05: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-19 07:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":186685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:05:16] local.INFO: GPS data processed {"connection_id":186685,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:05:16] local.INFO: Acknowledgment sent {"connection_id":186685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:05:16] local.INFO: TCP Data received {"connection_id":187945,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74bb820012d81604005d184280000005e23..."} 
[2026-09-19 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74bb820012d81604005d184280000005e23..."} 
[2026-09-19 07:05:16] local.INFO: Processing buffer {"connection_id":187945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74bb820012d81604005d184280000005e23..."} 
[2026-09-19 07:05:16] local.INFO: Packet analysis {"connection_id":187945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:05:16] local.INFO: Extracted packet for processing {"connection_id":187945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74b"} 
[2026-09-19 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763453504,"raw_latitude":97616936,"longitude_deg":76.3453504,"latitude_deg":9.7616936,"altitude":0,"angle":94,"satellites":35,"speed":0,"hex_longitude":"2d816040","hex_latitude":"05d18428","is_valid_coordinates":true} 
[2026-09-19 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184081152001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134901890520449024,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124222451318511616,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781588000,"timestamp_ms":1789781588000,"timestamp_seconds":1789781588,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74bb820"} 
[2026-09-19 07: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-19 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 07:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184081152001,"66":13580,"208":206,"85":15104,"24":0,"16":134901890520449024,"45":-9124222451318511616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 07:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184081152001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134901890520449024,"km_value":134901890520449.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124222451318511616,"description":"Unknown IO ID 45"} 
[2026-09-19 07:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184081152001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124222451318511616}} 
[2026-09-19 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":187945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:05:16] local.INFO: GPS data processed {"connection_id":187945,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:05:16] local.INFO: Acknowledgment sent {"connection_id":187945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:05:47] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:47] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:05:47] local.INFO: Packet analysis {"connection_id":186685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:05:47] local.INFO: Extracted packet for processing {"connection_id":186685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:05: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-19 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:05:47] 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-19 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:05: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-19 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":186685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:05:47] local.INFO: GPS data processed {"connection_id":186685,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:05:47] local.INFO: Acknowledgment sent {"connection_id":186685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:05:58] local.INFO: TCP Data received {"connection_id":186540,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:05:58] local.INFO: Processing buffer {"connection_id":186540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:05:58] local.INFO: IMEI packet received {"connection_id":186540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":186540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:06:07] local.INFO: TCP Data received {"connection_id":186686,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:07] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:07] local.INFO: IMEI packet received {"connection_id":186686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":186686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:06:10] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:10] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:10] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:06:12] local.INFO: TCP Data received {"connection_id":186686,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:12] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:06:12] local.INFO: IMEI packet received {"connection_id":186686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":186686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:06:13] local.INFO: TCP Data received {"connection_id":186686,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74dee88012d8185c005d18ab00007007426..."} 
[2026-09-19 07:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74dee88012d8185c005d18ab00007007426..."} 
[2026-09-19 07:06:13] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74dee88012d8185c005d18ab00007007426..."} 
[2026-09-19 07:06:13] local.INFO: Packet analysis {"connection_id":186686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74d"} 
[2026-09-19 07:06:13] local.INFO: Extracted packet for processing {"connection_id":186686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74d"} 
[2026-09-19 07:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763463104,"raw_latitude":97618608,"longitude_deg":76.3463104,"latitude_deg":9.7618608,"altitude":7,"angle":116,"satellites":38,"speed":6,"hex_longitude":"2d8185c0","hex_latitude":"05d18ab0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184123392001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134902367261818880,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113737508435591168,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789781733000,"timestamp_ms":1789781733000,"timestamp_seconds":1789781733,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74dee88"} 
[2026-09-19 07: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-19 07:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184123392001,"66":13406,"116":206,"85":15104,"24":6,"16":134902367261818880,"45":-9113737508435591168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-19 07:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184123392001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:06:13] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-19 07:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134902367261818880,"km_value":134902367261818.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113737508435591168,"description":"Unknown IO ID 45"} 
[2026-09-19 07:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184123392001,"power":13406,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9113737508435591168}} 
[2026-09-19 07:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":186686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:06:13] local.INFO: GPS data processed {"connection_id":186686,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:06:13] local.INFO: Acknowledgment sent {"connection_id":186686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:06:15] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:15] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:06:15] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:06:16] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:16] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:16] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:06:16] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06: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-19 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:06:16] 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-19 07:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:06: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-19 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:06:16] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:06:16] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:06:43] local.INFO: TCP Data received {"connection_id":186686,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74e09e0012d818fc005d185e00008006627..."} 
[2026-09-19 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74e09e0012d818fc005d185e00008006627..."} 
[2026-09-19 07:06:43] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74e09e0012d818fc005d185e00008006627..."} 
[2026-09-19 07:06:43] local.INFO: Packet analysis {"connection_id":186686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74e"} 
[2026-09-19 07:06:43] local.INFO: Extracted packet for processing {"connection_id":186686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74e"} 
[2026-09-19 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763465664,"raw_latitude":97617376,"longitude_deg":76.3465664,"latitude_deg":9.7617376,"altitude":8,"angle":102,"satellites":39,"speed":22,"hex_longitude":"2d818fc0","hex_latitude":"05d185e0","is_valid_coordinates":true} 
[2026-09-19 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184123648001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134902500405805056,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113667139691433984,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789781740000,"timestamp_ms":1789781740000,"timestamp_seconds":1789781740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74e09e0"} 
[2026-09-19 07:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:06: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-19 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184123648001,"66":13678,"116":206,"85":15104,"24":22,"16":134902500405805056,"45":-9113667139691433984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-19 07:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184123648001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:06:43] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-19 07:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134902500405805056,"km_value":134902500405805.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113667139691433984,"description":"Unknown IO ID 45"} 
[2026-09-19 07:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184123648001,"power":13678,"unknown_116":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9113667139691433984}} 
[2026-09-19 07:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":186686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:06:43] local.INFO: GPS data processed {"connection_id":186686,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:06:43] local.INFO: Acknowledgment sent {"connection_id":186686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:06:47] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:47] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:06:47] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:06:47] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:06:47] 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-19 07:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:06:47] 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-19 07:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:06:47] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:06:47] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:07:01] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:02] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:02] local.INFO: IMEI packet received {"connection_id":187946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":187946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:07:03] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:03] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:03] local.INFO: IMEI packet received {"connection_id":187946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":187946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:07:07] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:07] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:07:07] local.INFO: IMEI packet received {"connection_id":187946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":187946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:07:08] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74f1380012d823bc005d169000007006f24..."} 
[2026-09-19 07:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74f1380012d823bc005d169000007006f24..."} 
[2026-09-19 07:07:08] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74f1380012d823bc005d169000007006f24..."} 
[2026-09-19 07:07:08] local.INFO: Packet analysis {"connection_id":187946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:07:08] local.INFO: Extracted packet for processing {"connection_id":187946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763509696,"raw_latitude":97609984,"longitude_deg":76.3509696,"latitude_deg":9.7609984,"altitude":7,"angle":111,"satellites":36,"speed":38,"hex_longitude":"2d823bc0","hex_latitude":"05d16900","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184142080001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134904677954224128,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065112706210711552,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781808000,"timestamp_ms":1789781808000,"timestamp_seconds":1789781808,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74f1380"} 
[2026-09-19 07: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-19 07:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 07:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":187946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":187946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":187946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184142080001,"66":13602,"65":206,"85":15104,"24":38,"16":134904677954224128,"45":-9065112706210711552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-19 07:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184142080001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:07:08] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-19 07:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134904677954224128,"km_value":134904677954224.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065112706210711552,"description":"Unknown IO ID 45"} 
[2026-09-19 07:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184142080001,"power":13602,"unknown_65":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9065112706210711552}} 
[2026-09-19 07:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":187946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:07:08] local.INFO: GPS data processed {"connection_id":187946,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:07:08] local.INFO: Acknowledgment sent {"connection_id":187946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:07:10] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:10] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:10] local.INFO: IMEI packet received {"connection_id":186688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":186688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:07:15] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:15] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:07:15] local.INFO: IMEI packet received {"connection_id":186688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":186688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:07:16] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:16] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:16] local.INFO: Packet analysis {"connection_id":186688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:07:16] local.INFO: Extracted packet for processing {"connection_id":186688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07: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-19 07:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:07:16] 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-19 07:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:07: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-19 07:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":186688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:07:16] local.INFO: GPS data processed {"connection_id":186688,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:07:16] local.INFO: Acknowledgment sent {"connection_id":186688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:07:38] local.INFO: TCP Data received {"connection_id":187946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74f9468012d829b4005d16260000a005726..."} 
[2026-09-19 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74f9468012d829b4005d16260000a005726..."} 
[2026-09-19 07:07:38] local.INFO: Processing buffer {"connection_id":187946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74f9468012d829b4005d16260000a005726..."} 
[2026-09-19 07:07:38] local.INFO: Packet analysis {"connection_id":187946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:07:38] local.INFO: Extracted packet for processing {"connection_id":187946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763534144,"raw_latitude":97608288,"longitude_deg":76.3534144,"latitude_deg":9.7608288,"altitude":10,"angle":87,"satellites":38,"speed":18,"hex_longitude":"2d829b40","hex_latitude":"05d16260","is_valid_coordinates":true} 
[2026-09-19 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-19 07:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184151040001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134905919199772672,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414866116608,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789781841000,"timestamp_ms":1789781841000,"timestamp_seconds":1789781841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74f9468"} 
[2026-09-19 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-19 07:07: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-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 07:07:38] 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-19 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-19 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-19 07:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":187946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":187946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":187946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184151040001,"66":13559,"64":206,"85":15104,"24":18,"16":134905919199772672,"45":-9036050414866116608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-19 07:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184151040001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134905919199772672,"km_value":134905919199772.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414866116608,"description":"Unknown IO ID 45"} 
[2026-09-19 07:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184151040001,"power":13559,"unknown_64":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9036050414866116608}} 
[2026-09-19 07:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":187946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:07:38] local.INFO: GPS data processed {"connection_id":187946,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:07:38] local.INFO: Acknowledgment sent {"connection_id":187946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:07:47] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:47] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:07:47] local.INFO: Packet analysis {"connection_id":186688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:07:47] local.INFO: Extracted packet for processing {"connection_id":186688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:07: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-19 07:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:07:47] 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-19 07:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:07: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-19 07:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":186688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:07:48] local.INFO: GPS data processed {"connection_id":186688,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:07:48] local.INFO: Acknowledgment sent {"connection_id":186688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:08:02] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:08:02] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:02] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:08:04] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:04] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:04] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:08:07] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:07] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:08:07] local.INFO: IMEI packet received {"connection_id":186541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":186541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:08:08] local.INFO: TCP Data received {"connection_id":186541,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74fabd8012d82ae8005d162380009006225..."} 
[2026-09-19 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74fabd8012d82ae8005d162380009006225..."} 
[2026-09-19 07:08:08] local.INFO: Processing buffer {"connection_id":186541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74fabd8012d82ae8005d162380009006225..."} 
[2026-09-19 07:08:08] local.INFO: Packet analysis {"connection_id":186541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:08:08] local.INFO: Extracted packet for processing {"connection_id":186541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74f"} 
[2026-09-19 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763539072,"raw_latitude":97608248,"longitude_deg":76.3539072,"latitude_deg":9.7608248,"altitude":9,"angle":98,"satellites":37,"speed":39,"hex_longitude":"2d82ae80","hex_latitude":"05d16238","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184151296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134906151128006656,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557833656868864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789781847000,"timestamp_ms":1789781847000,"timestamp_seconds":1789781847,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74fabd8"} 
[2026-09-19 07: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-19 07:08:08] 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-19 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 07:08:08] 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-19 07: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-19 07: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-19 07:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184151296001,"66":13222,"64":206,"85":15104,"24":39,"16":134906151128006656,"45":-9035557833656868864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-19 07:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184151296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:08:08] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-19 07:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134906151128006656,"km_value":134906151128006.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557833656868864,"description":"Unknown IO ID 45"} 
[2026-09-19 07:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184151296001,"power":13222,"unknown_64":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9035557833656868864}} 
[2026-09-19 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":186541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:08:08] local.INFO: GPS data processed {"connection_id":186541,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:08:08] local.INFO: Acknowledgment sent {"connection_id":186541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:08:10] local.INFO: TCP Data received {"connection_id":186689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:10] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:10] local.INFO: IMEI packet received {"connection_id":186689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":186689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:08:15] local.INFO: TCP Data received {"connection_id":186689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:15] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:08:15] local.INFO: IMEI packet received {"connection_id":186689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:08:16] local.INFO: TCP Data received {"connection_id":186689,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:16] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:16] local.INFO: Packet analysis {"connection_id":186689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:08:16] local.INFO: Extracted packet for processing {"connection_id":186689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08: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-19 07:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:08:16] 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-19 07:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:08: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-19 07:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":186689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:08:16] local.INFO: GPS data processed {"connection_id":186689,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:08:16] local.INFO: Acknowledgment sent {"connection_id":186689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:08:48] local.INFO: TCP Data received {"connection_id":186689,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:48] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:08:48] local.INFO: Packet analysis {"connection_id":186689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:08:48] local.INFO: Extracted packet for processing {"connection_id":186689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07: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-19 07:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:08: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-19 07: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-19 07: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-19 07:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:08: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-19 07:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":186689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:08:48] local.INFO: GPS data processed {"connection_id":186689,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:08:48] local.INFO: Acknowledgment sent {"connection_id":186689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:09:10] local.INFO: TCP Data received {"connection_id":189292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:10] local.INFO: Processing buffer {"connection_id":189292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:10] local.INFO: IMEI packet received {"connection_id":189292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":189292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:09:15] local.INFO: TCP Data received {"connection_id":189292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:15] local.INFO: Processing buffer {"connection_id":189292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:09:15] local.INFO: IMEI packet received {"connection_id":189292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":189292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:09:16] local.INFO: TCP Data received {"connection_id":189292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:09:16] local.INFO: Processing buffer {"connection_id":189292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b74c7788012d34c14006aa41400008010e2b..."} 
[2026-09-19 07:09:16] local.INFO: Packet analysis {"connection_id":189292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:09:16] local.INFO: Extracted packet for processing {"connection_id":189292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b74c"} 
[2026-09-19 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184022016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09: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-19 07:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781637000,"timestamp_ms":1789781637000,"timestamp_seconds":1789781637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b74c7788"} 
[2026-09-19 07: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-19 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:09:16] 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-19 07: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-19 07: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-19 07:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:09:16] 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-19 07:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184022016001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184022016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184022016001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":189292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:09:16] local.INFO: GPS data processed {"connection_id":189292,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:09:16] local.INFO: Acknowledgment sent {"connection_id":189292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:09:47] local.INFO: TCP Data received {"connection_id":189292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:09:47] local.INFO: Processing buffer {"connection_id":189292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:09:47] local.INFO: Packet analysis {"connection_id":189292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:09:47] local.INFO: Extracted packet for processing {"connection_id":189292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:09: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-19 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:09:47] 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-19 07:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:09: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-19 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":189292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:09:47] local.INFO: GPS data processed {"connection_id":189292,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:09:47] local.INFO: Acknowledgment sent {"connection_id":189292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:10:10] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:10] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:10] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:10:15] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:15] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:10:15] local.INFO: IMEI packet received {"connection_id":186542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":186542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:10:16] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:16] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:16] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:10:16] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10: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-19 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:10:16] 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-19 07:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:10: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-19 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:10:16] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:10:16] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:10:47] local.INFO: TCP Data received {"connection_id":186542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:47] local.INFO: Processing buffer {"connection_id":186542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:10:47] local.INFO: Packet analysis {"connection_id":186542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:10:47] local.INFO: Extracted packet for processing {"connection_id":186542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:10: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-19 07:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07: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-19 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:10:47] 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-19 07: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-19 07: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-19 07:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:10:47] 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-19 07:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":186542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:10:47] local.INFO: GPS data processed {"connection_id":186542,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:10:47] local.INFO: Acknowledgment sent {"connection_id":186542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:11:10] local.INFO: TCP Data received {"connection_id":189293,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:10] local.INFO: Processing buffer {"connection_id":189293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:10] local.INFO: IMEI packet received {"connection_id":189293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":189293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:11:15] local.INFO: TCP Data received {"connection_id":189293,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:15] local.INFO: Processing buffer {"connection_id":189293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:11:15] local.INFO: IMEI packet received {"connection_id":189293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":189293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:11:16] local.INFO: TCP Data received {"connection_id":189293,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:16] local.INFO: Processing buffer {"connection_id":189293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:16] local.INFO: Packet analysis {"connection_id":189293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:11:16] local.INFO: Extracted packet for processing {"connection_id":189293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:11: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-19 07:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:11:16] 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-19 07:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:11: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-19 07:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":189293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:11:16] local.INFO: GPS data processed {"connection_id":189293,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:11:16] local.INFO: Acknowledgment sent {"connection_id":189293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:11:33] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:11:33] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:11:33] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:11:47] local.INFO: TCP Data received {"connection_id":189293,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:47] local.INFO: Processing buffer {"connection_id":189293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:11:47] local.INFO: Packet analysis {"connection_id":189293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:11:47] local.INFO: Extracted packet for processing {"connection_id":189293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07: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-19 07:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:11:47] 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-19 07: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-19 07: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-19 07:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:11: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-19 07:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":189293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:11:47] local.INFO: GPS data processed {"connection_id":189293,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:11:47] local.INFO: Acknowledgment sent {"connection_id":189293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:12:10] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:10] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:10] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:12:15] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:15] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:12:15] local.INFO: IMEI packet received {"connection_id":186543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:12:16] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:16] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:16] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:12:16] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12: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-19 07:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07: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-19 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:12:16] 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-19 07: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-19 07: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-19 07:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:12: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-19 07:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:12:16] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:12:16] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:12:48] local.INFO: TCP Data received {"connection_id":186543,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:48] local.INFO: Processing buffer {"connection_id":186543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:12:48] local.INFO: Packet analysis {"connection_id":186543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:12:48] local.INFO: Extracted packet for processing {"connection_id":186543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:12: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-19 07:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:12: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-19 07:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:12: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-19 07:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:12:48] local.INFO: GPS data processed {"connection_id":186543,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:12:48] local.INFO: Acknowledgment sent {"connection_id":186543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:13:10] local.INFO: TCP Data received {"connection_id":189294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:10] local.INFO: Processing buffer {"connection_id":189294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:10] local.INFO: IMEI packet received {"connection_id":189294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":189294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:13:15] local.INFO: TCP Data received {"connection_id":189294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:15] local.INFO: Processing buffer {"connection_id":189294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:13:15] local.INFO: IMEI packet received {"connection_id":189294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":189294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:13:16] local.INFO: TCP Data received {"connection_id":189294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:16] local.INFO: Processing buffer {"connection_id":189294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:16] local.INFO: Packet analysis {"connection_id":189294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:13:16] local.INFO: Extracted packet for processing {"connection_id":189294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13: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-19 07:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:13:16] 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-19 07:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:13: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-19 07:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":189294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:13:16] local.INFO: GPS data processed {"connection_id":189294,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:13:16] local.INFO: Acknowledgment sent {"connection_id":189294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:13:49] local.INFO: TCP Data received {"connection_id":189294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:49] local.INFO: Processing buffer {"connection_id":189294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:13:49] local.INFO: Packet analysis {"connection_id":189294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:13:49] local.INFO: Extracted packet for processing {"connection_id":189294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:13: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-19 07:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:13: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-19 07:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:13: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:13:49] 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-19 07:13: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-19 07:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:13: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-19 07:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":189294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:13:49] local.INFO: GPS data processed {"connection_id":189294,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:13:49] local.INFO: Acknowledgment sent {"connection_id":189294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:14:15] local.INFO: TCP Data received {"connection_id":187947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:15] local.INFO: Processing buffer {"connection_id":187947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:15] local.INFO: IMEI packet received {"connection_id":187947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":187947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:14:20] local.INFO: TCP Data received {"connection_id":187947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:20] local.INFO: Processing buffer {"connection_id":187947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:14:20] local.INFO: IMEI packet received {"connection_id":187947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":187947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:14:21] local.INFO: TCP Data received {"connection_id":187947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:21] local.INFO: Processing buffer {"connection_id":187947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:21] local.INFO: Packet analysis {"connection_id":187947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:14:21] local.INFO: Extracted packet for processing {"connection_id":187947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:14:21] 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-19 07:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:14:21] 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-19 07:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":187947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:14:21] local.INFO: GPS data processed {"connection_id":187947,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:14:21] local.INFO: Acknowledgment sent {"connection_id":187947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:14:25] local.INFO: TCP Data received {"connection_id":187947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:25] local.INFO: Processing buffer {"connection_id":187947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7510f50012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:14:25] local.INFO: Packet analysis {"connection_id":187947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:14:25] local.INFO: Extracted packet for processing {"connection_id":187947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b751"} 
[2026-09-19 07:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184099072001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789781938000,"timestamp_ms":1789781938000,"timestamp_seconds":1789781938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7510f50"} 
[2026-09-19 07:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:14:25] 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-19 07:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:14:25] 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-19 07:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184099072001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184099072001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184099072001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":187947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:14:25] local.INFO: GPS data processed {"connection_id":187947,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:14:25] local.INFO: Acknowledgment sent {"connection_id":187947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:15:10] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:10] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:10] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:15:15] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:15] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:15:15] local.INFO: IMEI packet received {"connection_id":186544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":186544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:15:16] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:16] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:16] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:15:16] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15: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-19 07:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:15: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-19 07:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:15:16] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:15:16] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:15:48] local.INFO: TCP Data received {"connection_id":186544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:48] local.INFO: Processing buffer {"connection_id":186544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:15:48] local.INFO: Packet analysis {"connection_id":186544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:15:48] local.INFO: Extracted packet for processing {"connection_id":186544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:15: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-19 07:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:15: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-19 07:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:15: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-19 07:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":186544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:15:48] local.INFO: GPS data processed {"connection_id":186544,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:15:48] local.INFO: Acknowledgment sent {"connection_id":186544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:16:10] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:10] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:10] local.INFO: IMEI packet received {"connection_id":187948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":187948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:16:15] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:15] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:16:15] local.INFO: IMEI packet received {"connection_id":187948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":187948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:16:16] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:16] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:16] local.INFO: Packet analysis {"connection_id":187948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:16:16] local.INFO: Extracted packet for processing {"connection_id":187948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:16: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-19 07:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:16: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-19 07:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":187948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:16:16] local.INFO: GPS data processed {"connection_id":187948,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:16:16] local.INFO: Acknowledgment sent {"connection_id":187948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:16:48] local.INFO: TCP Data received {"connection_id":187948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:48] local.INFO: Processing buffer {"connection_id":187948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:16:48] local.INFO: Packet analysis {"connection_id":187948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:16:48] local.INFO: Extracted packet for processing {"connection_id":187948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07: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-19 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:16: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-19 07: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-19 07: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-19 07:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:16: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-19 07:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":187948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:16:48] local.INFO: GPS data processed {"connection_id":187948,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:16:48] local.INFO: Acknowledgment sent {"connection_id":187948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:17:08] local.INFO: TCP Data received {"connection_id":186691,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:17:08] local.INFO: Processing buffer {"connection_id":186691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:17:08] local.INFO: IMEI packet received {"connection_id":186691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":186691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:17:09] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: IMEI packet received {"connection_id":187949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":187949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:17:09] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:09] local.INFO: IMEI packet received {"connection_id":187949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":187949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:17:10] local.INFO: TCP Data received {"connection_id":189295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:10] local.INFO: Processing buffer {"connection_id":189295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:10] local.INFO: IMEI packet received {"connection_id":189295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":189295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:17:13] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:13] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:17:13] local.INFO: IMEI packet received {"connection_id":187949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":187949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:17:14] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7574140012d82b44005d160680003011726..."} 
[2026-09-19 07:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7574140012d82b44005d160680003011726..."} 
[2026-09-19 07:17:14] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7574140012d82b44005d160680003011726..."} 
[2026-09-19 07:17:14] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b757"} 
[2026-09-19 07:17:14] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b757"} 
[2026-09-19 07:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763540544,"raw_latitude":97607784,"longitude_deg":76.3540544,"latitude_deg":9.7607784,"altitude":3,"angle":279,"satellites":38,"speed":42,"hex_longitude":"2d82b440","hex_latitude":"05d16068","is_valid_coordinates":true} 
[2026-09-19 07:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184278016001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134909793260273664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019021178775691264,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789782344000,"timestamp_ms":1789782344000,"timestamp_seconds":1789782344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7574140"} 
[2026-09-19 07:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 07:17:14] 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-19 07:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184278016001,"66":13765,"68":206,"85":15104,"24":42,"16":134909793260273664,"45":-9019021178775691264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-19 07:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184278016001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:17:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-19 07:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134909793260273664,"km_value":134909793260273.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019021178775691264,"description":"Unknown IO ID 45"} 
[2026-09-19 07:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184278016001,"power":13765,"unknown_68":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9019021178775691264}} 
[2026-09-19 07:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:17:14] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:17:14] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:17:15] local.INFO: TCP Data received {"connection_id":189295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:15] local.INFO: Processing buffer {"connection_id":189295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:17:15] local.INFO: IMEI packet received {"connection_id":189295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":189295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:17:16] local.INFO: TCP Data received {"connection_id":189295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:16] local.INFO: Processing buffer {"connection_id":189295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:16] local.INFO: Packet analysis {"connection_id":189295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:17:16] local.INFO: Extracted packet for processing {"connection_id":189295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17: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-19 07:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:17: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-19 07:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":189295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:17:16] local.INFO: GPS data processed {"connection_id":189295,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:17:16] local.INFO: Acknowledgment sent {"connection_id":189295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:17:19] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7575c98012d829bc005d161d00003010c27..."} 
[2026-09-19 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7575c98012d829bc005d161d00003010c27..."} 
[2026-09-19 07:17:19] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7575c98012d829bc005d161d00003010c27..."} 
[2026-09-19 07:17:19] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b757"} 
[2026-09-19 07:17:19] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b757"} 
[2026-09-19 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763534272,"raw_latitude":97608144,"longitude_deg":76.3534272,"latitude_deg":9.7608144,"altitude":3,"angle":268,"satellites":39,"speed":22,"hex_longitude":"2d829bc0","hex_latitude":"05d161d0","is_valid_coordinates":true} 
[2026-09-19 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184280064001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134910093907984384,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028520959239231488,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789782351000,"timestamp_ms":1789782351000,"timestamp_seconds":1789782351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7575c98"} 
[2026-09-19 07:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:17:19] 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-19 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-19 07:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184280064001,"66":13439,"68":206,"85":15104,"24":22,"16":134910093907984384,"45":-9028520959239231488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-19 07:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184280064001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:17:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-19 07:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134910093907984384,"km_value":134910093907984.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028520959239231488,"description":"Unknown IO ID 45"} 
[2026-09-19 07:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184280064001,"power":13439,"unknown_68":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9028520959239231488}} 
[2026-09-19 07:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:17:19] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:17:19] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:17:47] local.INFO: TCP Data received {"connection_id":189295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:47] local.INFO: Processing buffer {"connection_id":189295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:17:47] local.INFO: Packet analysis {"connection_id":189295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:17:47] local.INFO: Extracted packet for processing {"connection_id":189295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17: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-19 07:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:17:47] 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-19 07:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":189295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:17:47] local.INFO: GPS data processed {"connection_id":189295,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:17:47] local.INFO: Acknowledgment sent {"connection_id":189295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:17:50] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b758c7e0012d8295c005d1fdb0000501652a..."} 
[2026-09-19 07:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b758c7e0012d8295c005d1fdb0000501652a..."} 
[2026-09-19 07:17:50] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b758c7e0012d8295c005d1fdb0000501652a..."} 
[2026-09-19 07:17:50] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b758"} 
[2026-09-19 07:17:50] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b758"} 
[2026-09-19 07:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97648048,"longitude_deg":76.3532736,"latitude_deg":9.7648048,"altitude":5,"angle":357,"satellites":42,"speed":29,"hex_longitude":"2d8295c0","hex_latitude":"05d1fdb0","is_valid_coordinates":true} 
[2026-09-19 07:17: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-19 07:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184301312001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134912099657711616,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471044235264,"note":"Value kept but may cause issues"} 
[2026-09-19 07:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789782444000,"timestamp_ms":1789782444000,"timestamp_seconds":1789782444,"priority":1,"record_length":96,"hex_timestamp":"000001a0b758c7e0"} 
[2026-09-19 07: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-19 07:17: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-19 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 07:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184301312001,"66":13472,"63":206,"85":15104,"24":29,"16":134912099657711616,"45":-9036824471044235264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-19 07:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184301312001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:17:50] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 07:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134912099657711616,"km_value":134912099657711.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471044235264,"description":"Unknown IO ID 45"} 
[2026-09-19 07:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184301312001,"power":13472,"unknown_63":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9036824471044235264}} 
[2026-09-19 07:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:17:50] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:17:50] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:18:10] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:10] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:10] local.INFO: IMEI packet received {"connection_id":186692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:18:15] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:15] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:18:15] local.INFO: IMEI packet received {"connection_id":186692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:18:16] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:16] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:16] local.INFO: Packet analysis {"connection_id":186692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:18:16] local.INFO: Extracted packet for processing {"connection_id":186692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18: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-19 07:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07: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-19 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:18:16] 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-19 07:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:18:16] local.INFO: GPS data processed {"connection_id":186692,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:18:16] local.INFO: Acknowledgment sent {"connection_id":186692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:18:21] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b758f6c0012d82950005d222b0000700002a..."} 
[2026-09-19 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b758f6c0012d82950005d222b0000700002a..."} 
[2026-09-19 07:18:21] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b758f6c0012d82950005d222b0000700002a..."} 
[2026-09-19 07:18:21] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b758"} 
[2026-09-19 07:18:21] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b758"} 
[2026-09-19 07:18:21] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97657520,"longitude_deg":76.3532544,"latitude_deg":9.765752,"altitude":7,"angle":0,"satellites":42,"speed":31,"hex_longitude":"2d829500","hex_latitude":"05d222b0","is_valid_coordinates":true} 
[2026-09-19 07:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184305664001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134912559219212288,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946018598912,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789782456000,"timestamp_ms":1789782456000,"timestamp_seconds":1789782456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b758f6c0"} 
[2026-09-19 07:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:18:21] 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-19 07:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:18:21] 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-19 07:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184305664001,"66":13515,"63":206,"85":15104,"24":31,"16":134912559219212288,"45":-9037105946018598912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-19 07:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184305664001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:18:21] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 07:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134912559219212288,"km_value":134912559219212.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946018598912,"description":"Unknown IO ID 45"} 
[2026-09-19 07:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184305664001,"power":13515,"unknown_63":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9037105946018598912}} 
[2026-09-19 07:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:18:21] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:18:21] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:18:47] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:47] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:18:47] local.INFO: Packet analysis {"connection_id":186692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:18:47] local.INFO: Extracted packet for processing {"connection_id":186692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18: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-19 07:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07: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-19 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:18: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-19 07: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-19 07: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-19 07:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:18: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-19 07:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:18:47] local.INFO: GPS data processed {"connection_id":186692,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:18:47] local.INFO: Acknowledgment sent {"connection_id":186692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:18:52] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75925a0012d8296c005d24638000800022a..."} 
[2026-09-19 07:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75925a0012d8296c005d24638000800022a..."} 
[2026-09-19 07:18:52] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75925a0012d8296c005d24638000800022a..."} 
[2026-09-19 07:18:52] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b759"} 
[2026-09-19 07:18:52] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b759"} 
[2026-09-19 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97666616,"longitude_deg":76.3532992,"latitude_deg":9.7666616,"altitude":8,"angle":2,"satellites":42,"speed":28,"hex_longitude":"2d8296c0","hex_latitude":"05d24638","is_valid_coordinates":true} 
[2026-09-19 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184308736001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134913001600843776,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052248707072,"note":"Value kept but may cause issues"} 
[2026-09-19 07:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789782468000,"timestamp_ms":1789782468000,"timestamp_seconds":1789782468,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75925a0"} 
[2026-09-19 07:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:18:52] 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-19 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 07:18:52] 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-19 07:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184308736001,"66":13526,"63":206,"85":15104,"24":28,"16":134913001600843776,"45":-9037317052248707072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-19 07:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184308736001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:18:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 07:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134913001600843776,"km_value":134913001600843.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052248707072,"description":"Unknown IO ID 45"} 
[2026-09-19 07:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184308736001,"power":13526,"unknown_63":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9037317052248707072}} 
[2026-09-19 07:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:18:52] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:18:52] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:19:10] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:10] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:10] local.INFO: IMEI packet received {"connection_id":187950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":187950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:19:15] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:15] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:19:15] local.INFO: IMEI packet received {"connection_id":187950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":187950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:19:16] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:16] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b755a718012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:16] local.INFO: Packet analysis {"connection_id":187950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:19:16] local.INFO: Extracted packet for processing {"connection_id":187950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b755"} 
[2026-09-19 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184176128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19: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-19 07:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782239000,"timestamp_ms":1789782239000,"timestamp_seconds":1789782239,"priority":1,"record_length":96,"hex_timestamp":"000001a0b755a718"} 
[2026-09-19 07: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-19 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:19: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-19 07:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184176128001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184176128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184176128001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":187950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:19:16] local.INFO: GPS data processed {"connection_id":187950,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:19:16] local.INFO: Acknowledgment sent {"connection_id":187950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:19:22] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7593d10012d82968005d25710000601602a..."} 
[2026-09-19 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7593d10012d82968005d25710000601602a..."} 
[2026-09-19 07:19:22] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7593d10012d82968005d25710000601602a..."} 
[2026-09-19 07:19:22] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b759"} 
[2026-09-19 07:19:22] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b759"} 
[2026-09-19 07:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97670928,"longitude_deg":76.3532928,"latitude_deg":9.7670928,"altitude":6,"angle":352,"satellites":42,"speed":28,"hex_longitude":"2d829680","hex_latitude":"05d25710","is_valid_coordinates":true} 
[2026-09-19 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184311808001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134913207759273984,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471037134848,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789782474000,"timestamp_ms":1789782474000,"timestamp_seconds":1789782474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7593d10"} 
[2026-09-19 07:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:19:22] 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-19 07:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 07:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184311808001,"66":13559,"63":206,"85":15104,"24":28,"16":134913207759273984,"45":-9036824471037134848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-19 07:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184311808001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:19:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 07:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134913207759273984,"km_value":134913207759273.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471037134848,"description":"Unknown IO ID 45"} 
[2026-09-19 07:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184311808001,"power":13559,"unknown_63":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9036824471037134848}} 
[2026-09-19 07:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:19:22] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:19:22] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:19:47] local.INFO: TCP Data received {"connection_id":187950,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:47] local.INFO: Processing buffer {"connection_id":187950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:19:47] local.INFO: Packet analysis {"connection_id":187950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:19:47] local.INFO: Extracted packet for processing {"connection_id":187950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19: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-19 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:19: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-19 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:19:47] 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-19 07:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:19: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-19 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:19:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":187950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:19:47] local.INFO: GPS data processed {"connection_id":187950,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:19:47] local.INFO: Acknowledgment sent {"connection_id":187950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:19:54] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ac3b0012d827ec005d34b48000501132a..."} 
[2026-09-19 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ac3b0012d827ec005d34b48000501132a..."} 
[2026-09-19 07:19:54] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ac3b0012d827ec005d34b48000501132a..."} 
[2026-09-19 07:19:54] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:19:54] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763526848,"raw_latitude":97733448,"longitude_deg":76.3526848,"latitude_deg":9.7733448,"altitude":5,"angle":275,"satellites":42,"speed":11,"hex_longitude":"2d827ec0","hex_latitude":"05d34b48","is_valid_coordinates":true} 
[2026-09-19 07:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184338688001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134916282955857920,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043228026740205568,"note":"Value kept but may cause issues"} 
[2026-09-19 07:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789782574000,"timestamp_ms":1789782574000,"timestamp_seconds":1789782574,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ac3b0"} 
[2026-09-19 07:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:19:54] 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-19 07:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-19 07:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184338688001,"66":13493,"68":206,"85":15104,"24":11,"16":134916282955857920,"45":-9043228026740205568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-19 07:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184338688001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:19:54] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-19 07:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134916282955857920,"km_value":134916282955857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043228026740205568,"description":"Unknown IO ID 45"} 
[2026-09-19 07:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184338688001,"power":13493,"unknown_68":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9043228026740205568}} 
[2026-09-19 07:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:19:54] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:19:54] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:20:10] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:10] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:10] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:20:15] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:15] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:20:15] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:20:16] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:16] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:16] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:16] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:20:16] 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-19 07:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:20: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-19 07:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:20:16] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:20:16] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:20:26] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ac798012d827d8005d34b38000501062a..."} 
[2026-09-19 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ac798012d827d8005d34b38000501062a..."} 
[2026-09-19 07:20:26] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ac798012d827d8005d34b38000501062a..."} 
[2026-09-19 07:20:26] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:26] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763526528,"raw_latitude":97733432,"longitude_deg":76.3526528,"latitude_deg":9.7733432,"altitude":5,"angle":262,"satellites":42,"speed":13,"hex_longitude":"2d827d80","hex_latitude":"05d34b38","is_valid_coordinates":true} 
[2026-09-19 07:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184338944001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134916300135727104,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870461081600,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789782575000,"timestamp_ms":1789782575000,"timestamp_seconds":1789782575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ac798"} 
[2026-09-19 07:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:20:26] 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-19 07:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 07:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184338944001,"66":13493,"68":206,"85":15104,"24":13,"16":134916300135727104,"45":-9043579870461081600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-19 07:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184338944001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:20:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-19 07:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134916300135727104,"km_value":134916300135727.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870461081600,"description":"Unknown IO ID 45"} 
[2026-09-19 07:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184338944001,"power":13493,"unknown_68":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9043579870461081600}} 
[2026-09-19 07:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:20:26] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:20:26] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:20:48] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:48] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:20:48] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:48] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20: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-19 07:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07: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-19 07:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:20: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-19 07:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:20: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-19 07:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:20:48] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:20:48] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:20:57] local.INFO: TCP Data received {"connection_id":187949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75be8a8012d81b24005d382f80006013d27..."} 
[2026-09-19 07:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75be8a8012d81b24005d382f80006013d27..."} 
[2026-09-19 07:20:57] local.INFO: Processing buffer {"connection_id":187949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75be8a8012d81b24005d382f80006013d27..."} 
[2026-09-19 07:20:57] local.INFO: Packet analysis {"connection_id":187949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75b"} 
[2026-09-19 07:20:57] local.INFO: Extracted packet for processing {"connection_id":187949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75b"} 
[2026-09-19 07:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763474496,"raw_latitude":97747704,"longitude_deg":76.3474496,"latitude_deg":9.7747704,"altitude":6,"angle":317,"satellites":39,"speed":26,"hex_longitude":"2d81b240","hex_latitude":"05d382f8","is_valid_coordinates":true} 
[2026-09-19 07:20: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-19 07:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184357120001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134919422576951296,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098537859660449792,"note":"Value kept but may cause issues"} 
[2026-09-19 07:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789782649000,"timestamp_ms":1789782649000,"timestamp_seconds":1789782649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75be8a8"} 
[2026-09-19 07:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 07:20:57] 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-19 07:20: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-19 07:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184357120001,"66":13526,"221":206,"85":15104,"24":26,"16":134919422576951296,"45":-9098537859660449792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-19 07:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184357120001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:20:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-19 07:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134919422576951296,"km_value":134919422576951.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098537859660449792,"description":"Unknown IO ID 45"} 
[2026-09-19 07:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184357120001,"power":13526,"unknown_221":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9098537859660449792}} 
[2026-09-19 07:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":187949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:20:57] local.INFO: GPS data processed {"connection_id":187949,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:20:57] local.INFO: Acknowledgment sent {"connection_id":187949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:21:10] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:10] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:10] local.INFO: IMEI packet received {"connection_id":187951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":187951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:21:15] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:15] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:21:15] local.INFO: IMEI packet received {"connection_id":187951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":187951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:21:16] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:16] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:16] local.INFO: Packet analysis {"connection_id":187951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:21:16] local.INFO: Extracted packet for processing {"connection_id":187951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 07:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 07:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 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-19 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-19 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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:21:16] 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-19 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-19 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-19 07:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 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-19 07:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":187951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:21:16] local.INFO: GPS data processed {"connection_id":187951,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:21:16] local.INFO: Acknowledgment sent {"connection_id":187951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:21:36] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:36] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:36] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:21:37] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:37] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:37] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:21:38] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:38] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:38] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:21:43] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:43] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:21:43] local.INFO: IMEI packet received {"connection_id":186546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":186546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:21:44] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75bec90012d81b10005d385800006014d27..."} 
[2026-09-19 07:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75bec90012d81b10005d385800006014d27..."} 
[2026-09-19 07:21:44] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75bec90012d81b10005d385800006014d27..."} 
[2026-09-19 07:21:44] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75b"} 
[2026-09-19 07:21:44] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75b"} 
[2026-09-19 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763474176,"raw_latitude":97748352,"longitude_deg":76.3474176,"latitude_deg":9.7748352,"altitude":6,"angle":333,"satellites":39,"speed":28,"hex_longitude":"2d81b100","hex_latitude":"05d38580","is_valid_coordinates":true} 
[2026-09-19 07:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184358144001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134919456936689664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503194761216,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789782650000,"timestamp_ms":1789782650000,"timestamp_seconds":1789782650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75bec90"} 
[2026-09-19 07:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 07:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184358144001,"66":13493,"221":206,"85":15104,"24":28,"16":134919456936689664,"45":-9101141503194761216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-19 07:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184358144001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:21:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-19 07:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134919456936689664,"km_value":134919456936689.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503194761216,"description":"Unknown IO ID 45"} 
[2026-09-19 07:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184358144001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9101141503194761216}} 
[2026-09-19 07:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:21:44] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:21:44] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:21:48] local.INFO: TCP Data received {"connection_id":187951,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:48] local.INFO: Processing buffer {"connection_id":187951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:21:48] local.INFO: Packet analysis {"connection_id":187951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:21:48] local.INFO: Extracted packet for processing {"connection_id":187951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:21: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-19 07:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:21: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-19 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:21: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-19 07:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:21: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-19 07:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":187951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:21:48] local.INFO: GPS data processed {"connection_id":187951,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:21:48] local.INFO: Acknowledgment sent {"connection_id":187951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:22:10] local.INFO: TCP Data received {"connection_id":186694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:10] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:10] local.INFO: IMEI packet received {"connection_id":186694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":186694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:22:15] local.INFO: TCP Data received {"connection_id":186694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:15] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:22:15] local.INFO: IMEI packet received {"connection_id":186694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:22:16] local.INFO: TCP Data received {"connection_id":186694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:16] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:16] local.INFO: Packet analysis {"connection_id":186694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:22:16] local.INFO: Extracted packet for processing {"connection_id":186694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22: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-19 07:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:22: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-19 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:22:16] 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-19 07:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:22: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-19 07:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:22:16] local.INFO: GPS data processed {"connection_id":186694,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:22:16] local.INFO: Acknowledgment sent {"connection_id":186694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:22:16] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75d2510012d819bc005d4b3680002001729..."} 
[2026-09-19 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75d2510012d819bc005d4b3680002001729..."} 
[2026-09-19 07:22:16] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75d2510012d819bc005d4b3680002001729..."} 
[2026-09-19 07:22:16] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:22:16] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763468736,"raw_latitude":97825640,"longitude_deg":76.3468736,"latitude_deg":9.782564,"altitude":2,"angle":23,"satellites":41,"speed":31,"hex_longitude":"2d819bc0","hex_latitude":"05d4b368","is_valid_coordinates":true} 
[2026-09-19 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184378624001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134923279457583104,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107756165127700480,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782730000,"timestamp_ms":1789782730000,"timestamp_seconds":1789782730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75d2510"} 
[2026-09-19 07:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:22:16] 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-19 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 07:22:16] 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-19 07:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184378624001,"66":13254,"166":206,"85":15104,"24":31,"16":134923279457583104,"45":-9107756165127700480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-19 07:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184378624001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134923279457583104,"km_value":134923279457583.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107756165127700480,"description":"Unknown IO ID 45"} 
[2026-09-19 07:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184378624001,"power":13254,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9107756165127700480}} 
[2026-09-19 07:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:22:16] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:22:16] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:22:43] local.INFO: TCP Data received {"connection_id":186545,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:22:43] local.INFO: Processing buffer {"connection_id":186545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:22:43] local.INFO: IMEI packet received {"connection_id":186545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":186545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:22:48] local.INFO: TCP Data received {"connection_id":186694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:48] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:22:48] local.INFO: Packet analysis {"connection_id":186694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:22:48] local.INFO: Extracted packet for processing {"connection_id":186694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07: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-19 07:22: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-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:22: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-19 07: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-19 07: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-19 07:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:22:48] local.INFO: GPS data processed {"connection_id":186694,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:22:48] local.INFO: Acknowledgment sent {"connection_id":186694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:22:48] local.INFO: TCP Data received {"connection_id":186546,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75d2ce0012d819f4005d4b7800001002c29..."} 
[2026-09-19 07:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75d2ce0012d819f4005d4b7800001002c29..."} 
[2026-09-19 07:22:48] local.INFO: Processing buffer {"connection_id":186546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75d2ce0012d819f4005d4b7800001002c29..."} 
[2026-09-19 07:22:48] local.INFO: Packet analysis {"connection_id":186546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:22:48] local.INFO: Extracted packet for processing {"connection_id":186546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763469632,"raw_latitude":97826688,"longitude_deg":76.3469632,"latitude_deg":9.7826688,"altitude":1,"angle":44,"satellites":41,"speed":25,"hex_longitude":"2d819f40","hex_latitude":"05d4b780","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184378880001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134923348177059840,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107474690150799360,"note":"Value kept but may cause issues"} 
[2026-09-19 07:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782732000,"timestamp_ms":1789782732000,"timestamp_seconds":1789782732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75d2ce0"} 
[2026-09-19 07: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-19 07:22:48] 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-19 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 07:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184378880001,"66":13243,"166":206,"85":15104,"24":25,"16":134923348177059840,"45":-9107474690150799360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-19 07:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184378880001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134923348177059840,"km_value":134923348177059.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107474690150799360,"description":"Unknown IO ID 45"} 
[2026-09-19 07:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184378880001,"power":13243,"unknown_166":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9107474690150799360}} 
[2026-09-19 07:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":186546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:22:48] local.INFO: GPS data processed {"connection_id":186546,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:22:48] local.INFO: Acknowledgment sent {"connection_id":186546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:23:10] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:10] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:10] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:23:15] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:15] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:23:15] local.INFO: IMEI packet received {"connection_id":186547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:23:16] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:16] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:16] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:23:16] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23: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-19 07:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:23: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-19 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:23:16] 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-19 07:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:23: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-19 07:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:23:16] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:23:16] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:23:40] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:40] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:40] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:23:42] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:42] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:42] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:23:43] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:43] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:23:43] local.INFO: IMEI packet received {"connection_id":186548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":186548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:23:45] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75df418012d81bc8005d557900002000829..."} 
[2026-09-19 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75df418012d81bc8005d557900002000829..."} 
[2026-09-19 07:23:45] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75df418012d81bc8005d557900002000829..."} 
[2026-09-19 07:23:45] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:23:45] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763477120,"raw_latitude":97867664,"longitude_deg":76.347712,"latitude_deg":9.7867664,"altitude":2,"angle":8,"satellites":41,"speed":41,"hex_longitude":"2d81bc80","hex_latitude":"05d55790","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184390144001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134925723293974528,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503166101504,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789782783000,"timestamp_ms":1789782783000,"timestamp_seconds":1789782783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75df418"} 
[2026-09-19 07: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-19 07: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-19 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 07:23:45] 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-19 07: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-19 07: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-19 07:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184390144001,"66":13852,"166":206,"85":15104,"24":41,"16":134925723293974528,"45":-9101141503166101504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-19 07:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184390144001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:23:45] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-19 07:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134925723293974528,"km_value":134925723293974.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503166101504,"description":"Unknown IO ID 45"} 
[2026-09-19 07:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184390144001,"power":13852,"unknown_166":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9101141503166101504}} 
[2026-09-19 07:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:23:45] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:23:45] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:23:47] local.INFO: TCP Data received {"connection_id":186547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:47] local.INFO: Processing buffer {"connection_id":186547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:23:47] local.INFO: Packet analysis {"connection_id":186547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:23:47] local.INFO: Extracted packet for processing {"connection_id":186547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23: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-19 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07: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-19 07:23: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-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:23:47] 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-19 07: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-19 07: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-19 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:23: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-19 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:23:47] local.INFO: GPS data processed {"connection_id":186547,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:23:47] local.INFO: Acknowledgment sent {"connection_id":186547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:23:49] local.INFO: TCP Data received {"connection_id":186548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75dffd0012d81bcc005d563b80002016529..."} 
[2026-09-19 07:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75dffd0012d81bcc005d563b80002016529..."} 
[2026-09-19 07:23:49] local.INFO: Processing buffer {"connection_id":186548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75dffd0012d81bcc005d563b80002016529..."} 
[2026-09-19 07:23:49] local.INFO: Packet analysis {"connection_id":186548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:23:49] local.INFO: Extracted packet for processing {"connection_id":186548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75d"} 
[2026-09-19 07:23:49] local.INFO: GPS Element Parsed {"raw_longitude":763477184,"raw_latitude":97870776,"longitude_deg":76.3477184,"latitude_deg":9.7870776,"altitude":2,"angle":357,"satellites":41,"speed":42,"hex_longitude":"2d81bcc0","hex_latitude":"05d563b8","is_valid_coordinates":true} 
[2026-09-19 07:23: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-19 07:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184392448001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134925873617829888,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098256384652767232,"note":"Value kept but may cause issues"} 
[2026-09-19 07:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789782786000,"timestamp_ms":1789782786000,"timestamp_seconds":1789782786,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75dffd0"} 
[2026-09-19 07:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:23:49] 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-19 07:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-19 07:23:49] 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-19 07:23: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-19 07:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184392448001,"66":13678,"166":206,"85":15104,"24":42,"16":134925873617829888,"45":-9098256384652767232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-19 07:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184392448001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:23:49] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-19 07:23:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134925873617829888,"km_value":134925873617829.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098256384652767232,"description":"Unknown IO ID 45"} 
[2026-09-19 07:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184392448001,"power":13678,"unknown_166":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9098256384652767232}} 
[2026-09-19 07:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":186548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:23:49] local.INFO: GPS data processed {"connection_id":186548,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:23:49] local.INFO: Acknowledgment sent {"connection_id":186548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:24:10] local.INFO: TCP Data received {"connection_id":189296,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:10] local.INFO: Processing buffer {"connection_id":189296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:10] local.INFO: IMEI packet received {"connection_id":189296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":189296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:24:15] local.INFO: TCP Data received {"connection_id":189296,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:15] local.INFO: Processing buffer {"connection_id":189296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:24:15] local.INFO: IMEI packet received {"connection_id":189296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":189296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:24:16] local.INFO: TCP Data received {"connection_id":189296,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:16] local.INFO: Processing buffer {"connection_id":189296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75a3ee0012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:16] local.INFO: Packet analysis {"connection_id":189296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:24:16] local.INFO: Extracted packet for processing {"connection_id":189296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75a"} 
[2026-09-19 07:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184253184001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24: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-19 07:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782540000,"timestamp_ms":1789782540000,"timestamp_seconds":1789782540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75a3ee0"} 
[2026-09-19 07:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:24: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-19 07:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:24:16] 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-19 07:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:24:16] 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-19 07:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184253184001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184253184001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184253184001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":189296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:24:16] local.INFO: GPS data processed {"connection_id":189296,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:24:16] local.INFO: Acknowledgment sent {"connection_id":189296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:24:39] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:24:39] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:24:39] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:24:47] local.INFO: TCP Data received {"connection_id":189296,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:47] local.INFO: Processing buffer {"connection_id":189296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:24:47] local.INFO: Packet analysis {"connection_id":189296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:47] local.INFO: Extracted packet for processing {"connection_id":189296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24: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-19 07:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07: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-19 07:24: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-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:24:47] 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-19 07: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-19 07: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-19 07:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:24: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-19 07:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":189296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:24:47] local.INFO: GPS data processed {"connection_id":189296,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:24:47] local.INFO: Acknowledgment sent {"connection_id":189296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:24:53] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 07:24:53] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 07:24:53] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:24:53] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ef5e8012d820e0005d5be400000006f28..."} 
[2026-09-19 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ef5e8012d820e0005d5be400000006f28..."} 
[2026-09-19 07:24:53] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0b7..."} 
[2026-09-19 07:24:53] local.INFO: IMEI packet received {"connection_id":186549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":186549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:24:54] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75efdb8012d8212c005d5bd080000006328..."} 
[2026-09-19 07:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75efdb8012d8212c005d5bd080000006328..."} 
[2026-09-19 07:24:54] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b75ef5e8012d820e0005d5be400000006f28..."} 
[2026-09-19 07:24:54] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:54] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763497984,"raw_latitude":97893952,"longitude_deg":76.3497984,"latitude_deg":9.7893952,"altitude":0,"angle":111,"satellites":40,"speed":23,"hex_longitude":"2d820e00","hex_latitude":"05d5be40","is_valid_coordinates":true} 
[2026-09-19 07:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184408832001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134928317454221312,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076371705206628352,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789782849000,"timestamp_ms":1789782849000,"timestamp_seconds":1789782849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ef5e8"} 
[2026-09-19 07:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636315,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3076433864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181054469,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2352013701487263744,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3488088064,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775013,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-09-19 07:24:54] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4026609025,"corrected_to":0} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2147866064,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629273882054229,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3587014656,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-5044025166888697856,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,165,85,24,241,157,16,92,160,226,45,192,198,40,10,66,214,128,204,210,1,240,227,183,213,4,113,205,20,202,254,176,239,52,2,223,5,39,129,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0},{"io_id":202,"original":4026609025,"validated":0}]} 
[2026-09-19 07:24:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":143108311875584,"timestamp_seconds":143108311875.584,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184408832001,"66":13646,"165":206,"85":15104,"24":23,"16":134928317454221312,"45":-9076371705206628352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184408832001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134928317454221312,"km_value":134928317454221.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076371705206628352,"description":"Unknown IO ID 45"} 
[2026-09-19 07:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184408832001,"power":13646,"unknown_165":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9076371705206628352}} 
[2026-09-19 07:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:24:54] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:24:54] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:24:54] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:54] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763499200,"raw_latitude":97893640,"longitude_deg":76.34992,"latitude_deg":9.789364,"altitude":0,"angle":99,"satellites":40,"speed":25,"hex_longitude":"2d8212c0","hex_latitude":"05d5bd08","is_valid_coordinates":true} 
[2026-09-19 07:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184409344001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134928377583763456,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075316174044119040,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789782851000,"timestamp_ms":1789782851000,"timestamp_seconds":1789782851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75efdb8"} 
[2026-09-19 07:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-19 07:24:54] 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-19 07:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184409344001,"66":13559,"165":206,"85":15104,"24":25,"16":134928377583763456,"45":-9075316174044119040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-19 07:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184409344001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134928377583763456,"km_value":134928377583763.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075316174044119040,"description":"Unknown IO ID 45"} 
[2026-09-19 07:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184409344001,"power":13559,"unknown_165":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9075316174044119040}} 
[2026-09-19 07:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:24:54] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:24:54] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:24:55] local.INFO: TCP Data received {"connection_id":186549,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75f0d58012d821c0005d5bce00000005228..."} 
[2026-09-19 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75f0d58012d821c0005d5bce00000005228..."} 
[2026-09-19 07:24:55] local.INFO: Processing buffer {"connection_id":186549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75f0d58012d821c0005d5bce00000005228..."} 
[2026-09-19 07:24:55] local.INFO: Packet analysis {"connection_id":186549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75f"} 
[2026-09-19 07:24:55] local.INFO: Extracted packet for processing {"connection_id":186549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75f"} 
[2026-09-19 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763501568,"raw_latitude":97893600,"longitude_deg":76.3501568,"latitude_deg":9.78936,"altitude":0,"angle":82,"satellites":40,"speed":20,"hex_longitude":"2d821c00","hex_latitude":"05d5bce0","is_valid_coordinates":true} 
[2026-09-19 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184409856001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134928489252913152,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073979167904823296,"note":"Value kept but may cause issues"} 
[2026-09-19 07:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789782855000,"timestamp_ms":1789782855000,"timestamp_seconds":1789782855,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75f0d58"} 
[2026-09-19 07:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:24:55] 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-19 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 07:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184409856001,"66":13515,"165":206,"85":15104,"24":20,"16":134928489252913152,"45":-9073979167904823296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-19 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184409856001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:24:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-19 07:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134928489252913152,"km_value":134928489252913.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073979167904823296,"description":"Unknown IO ID 45"} 
[2026-09-19 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184409856001,"power":13515,"unknown_165":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9073979167904823296}} 
[2026-09-19 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":186549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:24:55] local.INFO: GPS data processed {"connection_id":186549,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:24:55] local.INFO: Acknowledgment sent {"connection_id":186549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:25:10] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:10] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:10] local.INFO: IMEI packet received {"connection_id":187952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":187952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:25:15] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:15] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:25:15] local.INFO: IMEI packet received {"connection_id":187952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":187952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:25:16] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:16] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:16] local.INFO: Packet analysis {"connection_id":187952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:25:16] local.INFO: Extracted packet for processing {"connection_id":187952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:25: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-19 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:25:16] 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-19 07:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:25:16] 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-19 07:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":187952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:25:16] local.INFO: GPS data processed {"connection_id":187952,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:25:16] local.INFO: Acknowledgment sent {"connection_id":187952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:25:34] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:34] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:34] local.INFO: IMEI packet received {"connection_id":187953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":187953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:25:38] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:38] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:25:38] local.INFO: IMEI packet received {"connection_id":187953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":187953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:25:39] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76016f8012d82a38005d5fbb80000000c28..."} 
[2026-09-19 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76016f8012d82a38005d5fbb80000000c28..."} 
[2026-09-19 07:25:39] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76016f8012d82a38005d5fbb80000000c28..."} 
[2026-09-19 07:25:39] local.INFO: Packet analysis {"connection_id":187953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:25:39] local.INFO: Extracted packet for processing {"connection_id":187953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909688,"longitude_deg":76.3536256,"latitude_deg":9.7909688,"altitude":0,"angle":12,"satellites":40,"speed":5,"hex_longitude":"2d82a380","hex_latitude":"05d5fbb8","is_valid_coordinates":true} 
[2026-09-19 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184428032001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134930387628457984,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021886464,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789782923000,"timestamp_ms":1789782923000,"timestamp_seconds":1789782923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76016f8"} 
[2026-09-19 07:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:25:39] 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-19 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184428032001,"66":13374,"157":206,"85":15104,"24":5,"16":134930387628457984,"45":-9033235665021886464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-19 07:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184428032001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:25:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-19 07:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134930387628457984,"km_value":134930387628457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021886464,"description":"Unknown IO ID 45"} 
[2026-09-19 07:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184428032001,"power":13374,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9033235665021886464}} 
[2026-09-19 07:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":187953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:25:39] local.INFO: GPS data processed {"connection_id":187953,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:25:39] local.INFO: Acknowledgment sent {"connection_id":187953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:25:49] local.INFO: TCP Data received {"connection_id":187952,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:49] local.INFO: Processing buffer {"connection_id":187952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:25:49] local.INFO: Packet analysis {"connection_id":187952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:25:49] local.INFO: Extracted packet for processing {"connection_id":187952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:25: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-19 07:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:25: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-19 07:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:25: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-19 07:25: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:25:49] 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-19 07:25: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-19 07:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:25:49] 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-19 07:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":187952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:25:49] local.INFO: GPS data processed {"connection_id":187952,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:25:49] local.INFO: Acknowledgment sent {"connection_id":187952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:26:10] local.INFO: TCP Data received {"connection_id":187953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7601ae0012d82a38005d5fc780000016028..."} 
[2026-09-19 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7601ae0012d82a38005d5fc780000016028..."} 
[2026-09-19 07:26:10] local.INFO: Processing buffer {"connection_id":187953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7601ae0012d82a38005d5fc780000016028..."} 
[2026-09-19 07:26:10] local.INFO: Packet analysis {"connection_id":187953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:26:10] local.INFO: Extracted packet for processing {"connection_id":187953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909880,"longitude_deg":76.3536256,"latitude_deg":9.790988,"altitude":0,"angle":352,"satellites":40,"speed":9,"hex_longitude":"2d82a380","hex_latitude":"05d5fc78","is_valid_coordinates":true} 
[2026-09-19 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184428288001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134930396218392576,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021847552,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789782924000,"timestamp_ms":1789782924000,"timestamp_seconds":1789782924,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7601ae0"} 
[2026-09-19 07:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:26:10] 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-19 07:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184428288001,"66":13656,"157":206,"85":15104,"24":9,"16":134930396218392576,"45":-9033235665021847552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-19 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184428288001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134930396218392576,"km_value":134930396218392.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021847552,"description":"Unknown IO ID 45"} 
[2026-09-19 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184428288001,"power":13656,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9033235665021847552}} 
[2026-09-19 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":187953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:26:10] local.INFO: GPS data processed {"connection_id":187953,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:26:10] local.INFO: Acknowledgment sent {"connection_id":187953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:26:10] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:10] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:10] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:26:15] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:15] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:26:15] local.INFO: IMEI packet received {"connection_id":186550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:26:16] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:16] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:16] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:26:16] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26: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-19 07:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07: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-19 07:26: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-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:26:16] 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-19 07: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-19 07: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-19 07:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:26: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-19 07:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:26:16] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:26:16] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:26:35] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:35] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:35] local.INFO: IMEI packet received {"connection_id":186696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":186696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:26:38] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:38] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:38] local.INFO: IMEI packet received {"connection_id":186696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":186696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:26:43] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:43] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:26:43] local.INFO: IMEI packet received {"connection_id":186696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":186696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:26:44] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b760c6c0012d82c4c005d65d680000001226..."} 
[2026-09-19 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b760c6c0012d82c4c005d65d680000001226..."} 
[2026-09-19 07:26:44] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b760c6c0012d82c4c005d65d680000001226..."} 
[2026-09-19 07:26:44] local.INFO: Packet analysis {"connection_id":186696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:26:44] local.INFO: Extracted packet for processing {"connection_id":186696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763544768,"raw_latitude":97934696,"longitude_deg":76.3544768,"latitude_deg":9.7934696,"altitude":0,"angle":18,"satellites":38,"speed":43,"hex_longitude":"2d82c4c0","hex_latitude":"05d65d68","is_valid_coordinates":true} 
[2026-09-19 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184437248001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134931783492829184,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026902478041860096,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789782968000,"timestamp_ms":1789782968000,"timestamp_seconds":1789782968,"priority":1,"record_length":96,"hex_timestamp":"000001a0b760c6c0"} 
[2026-09-19 07:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:26:44] 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-19 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-19 07:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184437248001,"66":13472,"157":206,"85":15104,"24":43,"16":134931783492829184,"45":-9026902478041860096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-19 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184437248001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:26:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-19 07:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134931783492829184,"km_value":134931783492829.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026902478041860096,"description":"Unknown IO ID 45"} 
[2026-09-19 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184437248001,"power":13472,"unknown_157":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9026902478041860096}} 
[2026-09-19 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":186696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:26:44] local.INFO: GPS data processed {"connection_id":186696,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:26:44] local.INFO: Acknowledgment sent {"connection_id":186696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:26:48] local.INFO: TCP Data received {"connection_id":186550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:48] local.INFO: Processing buffer {"connection_id":186550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:26:48] local.INFO: Packet analysis {"connection_id":186550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:26:48] local.INFO: Extracted packet for processing {"connection_id":186550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:26: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-19 07:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:26: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-19 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:26: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-19 07:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:26: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-19 07:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":186550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:26:48] local.INFO: GPS data processed {"connection_id":186550,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:26:48] local.INFO: Acknowledgment sent {"connection_id":186550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:27:10] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:10] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:10] local.INFO: IMEI packet received {"connection_id":187954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":187954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:27:15] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b760e9e8012d82ce4005d67ab00000000326..."} 
[2026-09-19 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b760e9e8012d82ce4005d67ab00000000326..."} 
[2026-09-19 07:27:15] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b760e9e8012d82ce4005d67ab00000000326..."} 
[2026-09-19 07:27:15] local.INFO: Packet analysis {"connection_id":186696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:27:15] local.INFO: Extracted packet for processing {"connection_id":186696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b760"} 
[2026-09-19 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763547200,"raw_latitude":97942192,"longitude_deg":76.35472,"latitude_deg":9.7942192,"altitude":0,"angle":3,"satellites":38,"speed":25,"hex_longitude":"2d82ce40","hex_latitude":"05d67ab0","is_valid_coordinates":true} 
[2026-09-19 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184439808001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134932165744918528,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023876622039816192,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789782977000,"timestamp_ms":1789782977000,"timestamp_seconds":1789782977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b760e9e8"} 
[2026-09-19 07:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:27:15] 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-19 07:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184439808001,"66":12689,"157":206,"85":15104,"24":25,"16":134932165744918528,"45":-9023876622039816192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-19 07:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184439808001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:27:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-19 07:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134932165744918528,"km_value":134932165744918.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023876622039816192,"description":"Unknown IO ID 45"} 
[2026-09-19 07:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184439808001,"power":12689,"unknown_157":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9023876622039816192}} 
[2026-09-19 07:27:15] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:15] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:27:15] local.INFO: IMEI packet received {"connection_id":187954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":187954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":186696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:27:15] local.INFO: GPS data processed {"connection_id":186696,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:27:15] local.INFO: Acknowledgment sent {"connection_id":186696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:27:16] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:16] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:16] local.INFO: Packet analysis {"connection_id":187954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:27:16] local.INFO: Extracted packet for processing {"connection_id":187954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27: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-19 07:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07: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-19 07:27: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-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:27:16] 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-19 07: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-19 07: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-19 07:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:27:16] 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-19 07:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":187954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:27:16] local.INFO: GPS data processed {"connection_id":187954,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:27:16] local.INFO: Acknowledgment sent {"connection_id":187954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:27:33] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:33] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:33] local.INFO: IMEI packet received {"connection_id":187955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":187955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:27:39] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:39] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:27:39] local.INFO: IMEI packet received {"connection_id":187955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":187955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:27:39] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7610158012d82cf8005d685280000015726..."} 
[2026-09-19 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7610158012d82cf8005d685280000015726..."} 
[2026-09-19 07:27:39] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7610158012d82cf8005d685280000015726..."} 
[2026-09-19 07:27:39] local.INFO: Packet analysis {"connection_id":187955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b761"} 
[2026-09-19 07:27:39] local.INFO: Extracted packet for processing {"connection_id":187955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b761"} 
[2026-09-19 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763547520,"raw_latitude":97944872,"longitude_deg":76.354752,"latitude_deg":9.7944872,"altitude":0,"angle":343,"satellites":38,"speed":8,"hex_longitude":"2d82cf80","hex_latitude":"05d68528","is_valid_coordinates":true} 
[2026-09-19 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-19 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184442112001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134932298888904704,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021202609759145984,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789782983000,"timestamp_ms":1789782983000,"timestamp_seconds":1789782983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7610158"} 
[2026-09-19 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-19 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 07:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184442112001,"66":13450,"157":206,"85":15104,"24":8,"16":134932298888904704,"45":-9021202609759145984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-19 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184442112001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:27:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-19 07:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134932298888904704,"km_value":134932298888904.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021202609759145984,"description":"Unknown IO ID 45"} 
[2026-09-19 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184442112001,"power":13450,"unknown_157":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9021202609759145984}} 
[2026-09-19 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":187955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:27:39] local.INFO: GPS data processed {"connection_id":187955,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:27:39] local.INFO: Acknowledgment sent {"connection_id":187955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:27:47] local.INFO: TCP Data received {"connection_id":187954,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:47] local.INFO: Processing buffer {"connection_id":187954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:27:47] local.INFO: Packet analysis {"connection_id":187954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:27:47] local.INFO: Extracted packet for processing {"connection_id":187954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:27: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-19 07:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:27: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-19 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:27:47] 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-19 07:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:27:47] 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-19 07:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":187954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:27:47] local.INFO: GPS data processed {"connection_id":187954,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:27:47] local.INFO: Acknowledgment sent {"connection_id":187954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:28:10] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:10] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:10] local.INFO: IMEI packet received {"connection_id":187956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":187956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:28:10] local.INFO: TCP Data received {"connection_id":187955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7624590012d82af4005d727600006015e28..."} 
[2026-09-19 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7624590012d82af4005d727600006015e28..."} 
[2026-09-19 07:28:10] local.INFO: Processing buffer {"connection_id":187955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7624590012d82af4005d727600006015e28..."} 
[2026-09-19 07:28:10] local.INFO: Packet analysis {"connection_id":187955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:28:10] local.INFO: Extracted packet for processing {"connection_id":187955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763539264,"raw_latitude":97986400,"longitude_deg":76.3539264,"latitude_deg":9.79864,"altitude":6,"angle":350,"satellites":40,"speed":43,"hex_longitude":"2d82af40","hex_latitude":"05d72760","is_valid_coordinates":true} 
[2026-09-19 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184462592001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134934454962487296,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028169115423838208,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783066000,"timestamp_ms":1789783066000,"timestamp_seconds":1789783066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7624590"} 
[2026-09-19 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184462592001,"66":13678,"156":206,"85":15104,"24":43,"16":134934454962487296,"45":-9028169115423838208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-19 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184462592001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:28:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-19 07:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134934454962487296,"km_value":134934454962487.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028169115423838208,"description":"Unknown IO ID 45"} 
[2026-09-19 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184462592001,"power":13678,"unknown_156":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9028169115423838208}} 
[2026-09-19 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":187955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:28:10] local.INFO: GPS data processed {"connection_id":187955,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:28:10] local.INFO: Acknowledgment sent {"connection_id":187955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:28:15] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:15] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:28:15] local.INFO: IMEI packet received {"connection_id":187956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":187956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:28:16] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:16] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:16] local.INFO: Packet analysis {"connection_id":187956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:28:16] local.INFO: Extracted packet for processing {"connection_id":187956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28: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-19 07:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:28: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-19 07:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:28:16] 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-19 07:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:28: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-19 07:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":187956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:28:16] local.INFO: GPS data processed {"connection_id":187956,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:28:16] local.INFO: Acknowledgment sent {"connection_id":187956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:28:18] local.INFO: TCP Data received {"connection_id":186695,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:28:18] local.INFO: Processing buffer {"connection_id":186695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:28:18] local.INFO: IMEI packet received {"connection_id":186695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":186695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:28:33] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:34] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:34] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:28:38] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:38] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:28:38] local.INFO: IMEI packet received {"connection_id":186551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":186551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:28:38] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76268b8012d82aa4005d74ba00006016029..."} 
[2026-09-19 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76268b8012d82aa4005d74ba00006016029..."} 
[2026-09-19 07:28:38] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76268b8012d82aa4005d74ba00006016029..."} 
[2026-09-19 07:28:38] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:28:38] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763537984,"raw_latitude":97995680,"longitude_deg":76.3537984,"latitude_deg":9.799568,"altitude":6,"angle":352,"satellites":41,"speed":42,"hex_longitude":"2d82aa40","hex_latitude":"05d74ba0","is_valid_coordinates":true} 
[2026-09-19 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-19 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184464896001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134934910229020672,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029928334025859072,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789783075000,"timestamp_ms":1789783075000,"timestamp_seconds":1789783075,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76268b8"} 
[2026-09-19 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-19 07:28: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-19 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:28:38] 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-19 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-19 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-19 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184464896001,"66":13406,"156":206,"85":15104,"24":42,"16":134934910229020672,"45":-9029928334025859072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-19 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184464896001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134934910229020672,"km_value":134934910229020.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029928334025859072,"description":"Unknown IO ID 45"} 
[2026-09-19 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184464896001,"power":13406,"unknown_156":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9029928334025859072}} 
[2026-09-19 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:28:38] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:28:38] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:28:48] local.INFO: TCP Data received {"connection_id":187956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:48] local.INFO: Processing buffer {"connection_id":187956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:28:48] local.INFO: Packet analysis {"connection_id":187956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:28:48] local.INFO: Extracted packet for processing {"connection_id":187956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07: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-19 07:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07: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-19 07:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":187956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:28:48] local.INFO: GPS data processed {"connection_id":187956,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:28:48] local.INFO: Acknowledgment sent {"connection_id":187956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:29:09] local.INFO: TCP Data received {"connection_id":186551,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7628be0012d82a70005d76f980007016426..."} 
[2026-09-19 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7628be0012d82a70005d76f980007016426..."} 
[2026-09-19 07:29:09] local.INFO: Processing buffer {"connection_id":186551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7628be0012d82a70005d76f980007016426..."} 
[2026-09-19 07:29:09] local.INFO: Packet analysis {"connection_id":186551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:29:09] local.INFO: Extracted packet for processing {"connection_id":186551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763537152,"raw_latitude":98004888,"longitude_deg":76.3537152,"latitude_deg":9.8004888,"altitude":7,"angle":356,"satellites":38,"speed":41,"hex_longitude":"2d82a700","hex_latitude":"05d76f98","is_valid_coordinates":true} 
[2026-09-19 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-19 07:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184467200001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134935356905619456,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031335708907036672,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789783084000,"timestamp_ms":1789783084000,"timestamp_seconds":1789783084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7628be0"} 
[2026-09-19 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-19 07:29: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-19 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184467200001,"66":13830,"156":206,"85":15104,"24":41,"16":134935356905619456,"45":-9031335708907036672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-19 07:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184467200001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134935356905619456,"km_value":134935356905619.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031335708907036672,"description":"Unknown IO ID 45"} 
[2026-09-19 07:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184467200001,"power":13830,"unknown_156":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9031335708907036672}} 
[2026-09-19 07:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":186551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:29:09] local.INFO: GPS data processed {"connection_id":186551,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:29:09] local.INFO: Acknowledgment sent {"connection_id":186551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:29:10] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:10] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:10] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:29:15] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:15] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:29:15] local.INFO: IMEI packet received {"connection_id":186552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:29:16] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:16] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b75ed6a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:16] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:29:16] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b75e"} 
[2026-09-19 07:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184330240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29: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-19 07:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789782841000,"timestamp_ms":1789782841000,"timestamp_seconds":1789782841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b75ed6a8"} 
[2026-09-19 07:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:29:16] 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-19 07:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:29:16] 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-19 07:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184330240001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184330240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184330240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:29:16] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:29:16] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:29:33] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:33] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:33] local.INFO: IMEI packet received {"connection_id":186697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":186697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:29:38] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:38] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:29:38] local.INFO: IMEI packet received {"connection_id":186697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":186697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:29:38] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b762af08012d82a40005d796980006016529..."} 
[2026-09-19 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b762af08012d82a40005d796980006016529..."} 
[2026-09-19 07:29:38] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b762af08012d82a40005d796980006016529..."} 
[2026-09-19 07:29:38] local.INFO: Packet analysis {"connection_id":186697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:29:38] local.INFO: Extracted packet for processing {"connection_id":186697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763536384,"raw_latitude":98014872,"longitude_deg":76.3536384,"latitude_deg":9.8014872,"altitude":6,"angle":357,"satellites":41,"speed":46,"hex_longitude":"2d82a400","hex_latitude":"05d79698","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184469504001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134935842236923904,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032250502578989056,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789783093000,"timestamp_ms":1789783093000,"timestamp_seconds":1789783093,"priority":1,"record_length":96,"hex_timestamp":"000001a0b762af08"} 
[2026-09-19 07: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-19 07:29: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-19 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626871240704,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5188152274197086230,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193178629,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3720871938,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3601319936,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.WARNING: Large IO value detected {"io_id":165,"raw_value":7494321294377223638,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,85,24,241,157,16,98,160,104,45,64,75,6,41,10,66,69,39,40,34,128,1,240,110,227,97,183,214,4,113,205,26,220,186,168,239,53,2,223,5,28,165],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-09-19 07:29:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504794747616428032,"timestamp_seconds":504794747616428.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07: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-19 07:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184469504001,"66":13820,"156":206,"85":15104,"24":46,"16":134935842236923904,"45":-9032250502578989056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-19 07:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184469504001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134935842236923904,"km_value":134935842236923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032250502578989056,"description":"Unknown IO ID 45"} 
[2026-09-19 07:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184469504001,"power":13820,"unknown_156":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9032250502578989056}} 
[2026-09-19 07:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":186697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:29:38] local.INFO: GPS data processed {"connection_id":186697,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:29:38] local.INFO: Acknowledgment sent {"connection_id":186697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:29:47] local.INFO: TCP Data received {"connection_id":186552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:47] local.INFO: Processing buffer {"connection_id":186552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:29:47] local.INFO: Packet analysis {"connection_id":186552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:29:47] local.INFO: Extracted packet for processing {"connection_id":186552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:29:47] 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-19 07:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":186552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:29:47] local.INFO: GPS data processed {"connection_id":186552,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:29:47] local.INFO: Acknowledgment sent {"connection_id":186552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:30:09] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b762ce48012d82a18005d7bcb00006016429..."} 
[2026-09-19 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b762ce48012d82a18005d7bcb00006016429..."} 
[2026-09-19 07:30:10] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b762ce48012d82a18005d7bcb00006016429..."} 
[2026-09-19 07:30:10] local.INFO: Packet analysis {"connection_id":186697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:30:10] local.INFO: Extracted packet for processing {"connection_id":186697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b762"} 
[2026-09-19 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763535744,"raw_latitude":98024624,"longitude_deg":76.3535744,"latitude_deg":9.8024624,"altitude":6,"angle":356,"satellites":41,"speed":50,"hex_longitude":"2d82a180","hex_latitude":"05d7bcb0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184471808001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134936314683326464,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033094927506565120,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783101000,"timestamp_ms":1789783101000,"timestamp_seconds":1789783101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b762ce48"} 
[2026-09-19 07: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-19 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 07:30:10] 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-19 07: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-19 07: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-19 07:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184471808001,"66":13917,"155":206,"85":15104,"24":50,"16":134936314683326464,"45":-9033094927506565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-19 07:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184471808001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:30:10] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-19 07:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134936314683326464,"km_value":134936314683326.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033094927506565120,"description":"Unknown IO ID 45"} 
[2026-09-19 07:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184471808001,"power":13917,"unknown_155":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9033094927506565120}} 
[2026-09-19 07:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":186697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:30:10] local.INFO: GPS data processed {"connection_id":186697,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:30:10] local.INFO: Acknowledgment sent {"connection_id":186697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:30:15] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:15] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:15] local.INFO: IMEI packet received {"connection_id":187957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":187957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:30:20] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:20] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:30:20] local.INFO: IMEI packet received {"connection_id":187957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":187957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:30:21] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:21] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:21] local.INFO: Packet analysis {"connection_id":187957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:30:21] local.INFO: Extracted packet for processing {"connection_id":187957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:30:21] 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-19 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":187957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:30:21] local.INFO: GPS data processed {"connection_id":187957,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:30:21] local.INFO: Acknowledgment sent {"connection_id":187957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:30:33] local.INFO: TCP Data received {"connection_id":189298,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:33] local.INFO: Processing buffer {"connection_id":189298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:33] local.INFO: IMEI packet received {"connection_id":189298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":189298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:30:38] local.INFO: TCP Data received {"connection_id":189298,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:38] local.INFO: Processing buffer {"connection_id":189298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:30:38] local.INFO: IMEI packet received {"connection_id":189298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":189298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:30:39] local.INFO: TCP Data received {"connection_id":189298,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76431c0012d82800005d901a00006016029..."} 
[2026-09-19 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76431c0012d82800005d901a00006016029..."} 
[2026-09-19 07:30:39] local.INFO: Processing buffer {"connection_id":189298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76431c0012d82800005d901a00006016029..."} 
[2026-09-19 07:30:39] local.INFO: Packet analysis {"connection_id":189298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:30:39] local.INFO: Extracted packet for processing {"connection_id":189298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763527168,"raw_latitude":98107808,"longitude_deg":76.3527168,"latitude_deg":9.8107808,"altitude":6,"angle":352,"satellites":41,"speed":23,"hex_longitude":"2d828000","hex_latitude":"05d901a0","is_valid_coordinates":true} 
[2026-09-19 07:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184494848001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134940412082126848,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601716635648,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783192000,"timestamp_ms":1789783192000,"timestamp_seconds":1789783192,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76431c0"} 
[2026-09-19 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184494848001,"66":12917,"47":206,"85":15104,"24":23,"16":134940412082126848,"45":-9042383601716635648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-19 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184494848001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134940412082126848,"km_value":134940412082126.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601716635648,"description":"Unknown IO ID 45"} 
[2026-09-19 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184494848001,"power":12917,"unknown_47":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9042383601716635648}} 
[2026-09-19 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":189298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:30:39] local.INFO: GPS data processed {"connection_id":189298,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:30:39] local.INFO: Acknowledgment sent {"connection_id":189298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:30:52] local.INFO: TCP Data received {"connection_id":187957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:52] local.INFO: Processing buffer {"connection_id":187957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:30:52] local.INFO: Packet analysis {"connection_id":187957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:30:52] local.INFO: Extracted packet for processing {"connection_id":187957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:30: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-19 07:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 07:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:30:52] 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-19 07:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":187957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:30:52] local.INFO: GPS data processed {"connection_id":187957,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:30:52] local.INFO: Acknowledgment sent {"connection_id":187957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:31:10] local.INFO: TCP Data received {"connection_id":189298,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7647fe0012d827c4005d918580006015a29..."} 
[2026-09-19 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7647fe0012d827c4005d918580006015a29..."} 
[2026-09-19 07:31:10] local.INFO: Processing buffer {"connection_id":189298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7647fe0012d827c4005d918580006015a29..."} 
[2026-09-19 07:31:10] local.INFO: Packet analysis {"connection_id":189298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:10] local.INFO: Extracted packet for processing {"connection_id":189298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763526208,"raw_latitude":98113624,"longitude_deg":76.3526208,"latitude_deg":9.8113624,"altitude":6,"angle":346,"satellites":41,"speed":31,"hex_longitude":"2d827c40","hex_latitude":"05d91858","is_valid_coordinates":true} 
[2026-09-19 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184497152001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134940699844935680,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043228026644357120,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783212000,"timestamp_ms":1789783212000,"timestamp_seconds":1789783212,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7647fe0"} 
[2026-09-19 07:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:31: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-19 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-19 07:31:10] 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-19 07:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184497152001,"66":13461,"49":206,"85":15104,"24":31,"16":134940699844935680,"45":-9043228026644357120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-19 07:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184497152001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:31:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-19 07:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134940699844935680,"km_value":134940699844935.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043228026644357120,"description":"Unknown IO ID 45"} 
[2026-09-19 07:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184497152001,"power":13461,"unknown_49":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9043228026644357120}} 
[2026-09-19 07:31:10] local.INFO: TCP Data received {"connection_id":187958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":189298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:31:10] local.INFO: Processing buffer {"connection_id":187958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:10] local.INFO: GPS data processed {"connection_id":189298,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:31:10] local.INFO: IMEI packet received {"connection_id":187958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:31:10] local.INFO: Acknowledgment sent {"connection_id":189298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":187958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:31:15] local.INFO: TCP Data received {"connection_id":187958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:15] local.INFO: Processing buffer {"connection_id":187958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:31:15] local.INFO: IMEI packet received {"connection_id":187958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":187958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:31:16] local.INFO: TCP Data received {"connection_id":187958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:16] local.INFO: Processing buffer {"connection_id":187958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:16] local.INFO: Packet analysis {"connection_id":187958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:31:16] local.INFO: Extracted packet for processing {"connection_id":187958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31: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-19 07:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:31: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-19 07:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:31: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-19 07:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":187958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:31:16] local.INFO: GPS data processed {"connection_id":187958,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:31:16] local.INFO: Acknowledgment sent {"connection_id":187958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:31:37] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:37] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:37] local.INFO: IMEI packet received {"connection_id":189299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":189299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:31:38] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:38] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:38] local.INFO: IMEI packet received {"connection_id":189299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":189299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:31:43] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:43] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:31:43] local.INFO: IMEI packet received {"connection_id":189299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":189299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:31:44] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b764a308012d8270c005d93a280008015129..."} 
[2026-09-19 07:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b764a308012d8270c005d93a280008015129..."} 
[2026-09-19 07:31:44] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b764a308012d8270c005d93a280008015129..."} 
[2026-09-19 07:31:44] local.INFO: Packet analysis {"connection_id":189299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:44] local.INFO: Extracted packet for processing {"connection_id":189299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763523264,"raw_latitude":98122280,"longitude_deg":76.3523264,"latitude_deg":9.812228,"altitude":8,"angle":337,"satellites":41,"speed":44,"hex_longitude":"2d8270c0","hex_latitude":"05d93a28","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184502272001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134941146521534464,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044283557805533184,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789783221000,"timestamp_ms":1789783221000,"timestamp_seconds":1789783221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b764a308"} 
[2026-09-19 07: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-19 07:31: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-19 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-19 07:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184502272001,"66":13656,"49":206,"85":15104,"24":44,"16":134941146521534464,"45":-9044283557805533184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-19 07:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184502272001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:31:44] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-19 07:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134941146521534464,"km_value":134941146521534.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044283557805533184,"description":"Unknown IO ID 45"} 
[2026-09-19 07:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184502272001,"power":13656,"unknown_49":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9044283557805533184}} 
[2026-09-19 07:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":189299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:31:44] local.INFO: GPS data processed {"connection_id":189299,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:31:44] local.INFO: Acknowledgment sent {"connection_id":189299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:31:46] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b764c630012d82648005d95c480007015629..."} 
[2026-09-19 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b764c630012d82648005d95c480007015629..."} 
[2026-09-19 07:31:46] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b764c630012d82648005d95c480007015629..."} 
[2026-09-19 07:31:46] local.INFO: Packet analysis {"connection_id":189299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:46] local.INFO: Extracted packet for processing {"connection_id":189299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b764"} 
[2026-09-19 07:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763520128,"raw_latitude":98131016,"longitude_deg":76.3520128,"latitude_deg":9.8131016,"altitude":7,"angle":342,"satellites":41,"speed":43,"hex_longitude":"2d826480","hex_latitude":"05d95c48","is_valid_coordinates":true} 
[2026-09-19 07:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134941593198133248,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047520520035489792,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789783230000,"timestamp_ms":1789783230000,"timestamp_seconds":1789783230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b764c630"} 
[2026-09-19 07:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:31: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-19 07:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 07:31:46] 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-19 07:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184504576001,"66":13472,"49":206,"85":15104,"24":43,"16":134941593198133248,"45":-9047520520035489792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-19 07:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:31:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-19 07:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134941593198133248,"km_value":134941593198133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047520520035489792,"description":"Unknown IO ID 45"} 
[2026-09-19 07:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184504576001,"power":13472,"unknown_49":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9047520520035489792}} 
[2026-09-19 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":189299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:31:47] local.INFO: GPS data processed {"connection_id":189299,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:31:47] local.INFO: Acknowledgment sent {"connection_id":189299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:31:47] local.INFO: TCP Data received {"connection_id":187958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:47] local.INFO: Processing buffer {"connection_id":187958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:31:47] local.INFO: Packet analysis {"connection_id":187958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:31:47] local.INFO: Extracted packet for processing {"connection_id":187958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:31: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-19 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07: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-19 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:31:47] 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-19 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":187958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:31:47] local.INFO: GPS data processed {"connection_id":187958,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:31:47] local.INFO: Acknowledgment sent {"connection_id":187958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:32:10] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:10] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:10] local.INFO: IMEI packet received {"connection_id":186698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":186698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:32:15] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:15] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:32:15] local.INFO: IMEI packet received {"connection_id":186698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":186698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:32:16] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:16] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:16] local.INFO: Packet analysis {"connection_id":186698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:32:16] local.INFO: Extracted packet for processing {"connection_id":186698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07: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-19 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:32: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-19 07: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-19 07: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-19 07:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:32: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-19 07:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:32:16] local.INFO: GPS data processed {"connection_id":186698,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:32:16] local.INFO: Acknowledgment sent {"connection_id":186698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:32:17] local.INFO: TCP Data received {"connection_id":189299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7664118012d82190005da8e100007011b26..."} 
[2026-09-19 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7664118012d82190005da8e100007011b26..."} 
[2026-09-19 07:32:17] local.INFO: Processing buffer {"connection_id":189299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7664118012d82190005da8e100007011b26..."} 
[2026-09-19 07:32:17] local.INFO: Packet analysis {"connection_id":189299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:32:17] local.INFO: Extracted packet for processing {"connection_id":189299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763500800,"raw_latitude":98209296,"longitude_deg":76.35008,"latitude_deg":9.8209296,"altitude":7,"angle":283,"satellites":38,"speed":20,"hex_longitude":"2d821900","hex_latitude":"05da8e10","is_valid_coordinates":true} 
[2026-09-19 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184531456001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134945540273078272,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071656999266189312,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789783327000,"timestamp_ms":1789783327000,"timestamp_seconds":1789783327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7664118"} 
[2026-09-19 07:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:32: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-19 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:32:17] 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-19 07:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184531456001,"66":13374,"71":206,"85":15104,"24":20,"16":134945540273078272,"45":-9071656999266189312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-19 07:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184531456001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:32:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 07:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134945540273078272,"km_value":134945540273078.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071656999266189312,"description":"Unknown IO ID 45"} 
[2026-09-19 07:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184531456001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9071656999266189312}} 
[2026-09-19 07:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":189299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:32:18] local.INFO: GPS data processed {"connection_id":189299,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:32:18] local.INFO: Acknowledgment sent {"connection_id":189299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:32:34] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:32:34] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:34] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:32:35] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:35] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:32:35] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:32:38] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76648e8012d82148005da8e400008010a29..."} 
[2026-09-19 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76648e8012d82148005da8e400008010a29..."} 
[2026-09-19 07:32:38] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76648e8012d82148005da8e400008010a29..."} 
[2026-09-19 07:32:38] local.INFO: Packet analysis {"connection_id":186699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:32:38] local.INFO: Extracted packet for processing {"connection_id":186699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763499648,"raw_latitude":98209344,"longitude_deg":76.3499648,"latitude_deg":9.8209344,"altitude":8,"angle":266,"satellites":41,"speed":23,"hex_longitude":"2d821480","hex_latitude":"05da8e40","is_valid_coordinates":true} 
[2026-09-19 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-19 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184531712001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134945596107653120,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072219949219573760,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789783329000,"timestamp_ms":1789783329000,"timestamp_seconds":1789783329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76648e8"} 
[2026-09-19 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-19 07:32: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-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184531712001,"66":13374,"71":206,"85":15104,"24":23,"16":134945596107653120,"45":-9072219949219573760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-19 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184531712001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134945596107653120,"km_value":134945596107653.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072219949219573760,"description":"Unknown IO ID 45"} 
[2026-09-19 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184531712001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9072219949219573760}} 
[2026-09-19 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":186699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:32:38] local.INFO: GPS data processed {"connection_id":186699,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:32:38] local.INFO: Acknowledgment sent {"connection_id":186699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:32:48] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:48] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:32:48] local.INFO: Packet analysis {"connection_id":186698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:32:48] local.INFO: Extracted packet for processing {"connection_id":186698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:32: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-19 07:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:32: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-19 07:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:32: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-19 07:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:32:48] local.INFO: GPS data processed {"connection_id":186698,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:32:48] local.INFO: Acknowledgment sent {"connection_id":186698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:33:09] local.INFO: TCP Data received {"connection_id":186699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76650b8012d820f8005da8cf8000800fd29..."} 
[2026-09-19 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76650b8012d820f8005da8cf8000800fd29..."} 
[2026-09-19 07:33:09] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76650b8012d820f8005da8cf8000800fd29..."} 
[2026-09-19 07:33:09] local.INFO: Packet analysis {"connection_id":186699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:33:09] local.INFO: Extracted packet for processing {"connection_id":186699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b766"} 
[2026-09-19 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763498368,"raw_latitude":98209016,"longitude_deg":76.3498368,"latitude_deg":9.8209016,"altitude":8,"angle":253,"satellites":41,"speed":30,"hex_longitude":"2d820f80","hex_latitude":"05da8cf8","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184532224001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134945660532162560,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073486586614759424,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789783331000,"timestamp_ms":1789783331000,"timestamp_seconds":1789783331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76650b8"} 
[2026-09-19 07: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-19 07:33: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-19 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184532224001,"66":13602,"71":206,"85":15104,"24":30,"16":134945660532162560,"45":-9073486586614759424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-19 07:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184532224001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134945660532162560,"km_value":134945660532162.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073486586614759424,"description":"Unknown IO ID 45"} 
[2026-09-19 07:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184532224001,"power":13602,"unknown_71":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9073486586614759424}} 
[2026-09-19 07:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":186699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:33:09] local.INFO: GPS data processed {"connection_id":186699,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:33:09] local.INFO: Acknowledgment sent {"connection_id":186699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:33:10] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:10] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:10] local.INFO: IMEI packet received {"connection_id":186553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:33:15] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:15] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:33:15] local.INFO: IMEI packet received {"connection_id":186553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:33:16] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:16] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:16] local.INFO: Packet analysis {"connection_id":186553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:33:16] local.INFO: Extracted packet for processing {"connection_id":186553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33: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-19 07:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07: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-19 07:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:33: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-19 07: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-19 07: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-19 07:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:33: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-19 07:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:33:16] local.INFO: GPS data processed {"connection_id":186553,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:33:16] local.INFO: Acknowledgment sent {"connection_id":186553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:33:30] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:30] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:30] local.INFO: IMEI packet received {"connection_id":189300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":189300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:33:33] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:33] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:33] local.INFO: IMEI packet received {"connection_id":189300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":189300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:33:34] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:34] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:34] local.INFO: IMEI packet received {"connection_id":189300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":189300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:33:38] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:38] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:33:38] local.INFO: IMEI packet received {"connection_id":189300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":189300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:33:39] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7672f60012d81578005dab2980004015227..."} 
[2026-09-19 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7672f60012d81578005dab2980004015227..."} 
[2026-09-19 07:33:39] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7672f60012d81578005dab2980004015227..."} 
[2026-09-19 07:33:39] local.INFO: Packet analysis {"connection_id":189300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b767"} 
[2026-09-19 07:33:39] local.INFO: Extracted packet for processing {"connection_id":189300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b767"} 
[2026-09-19 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763451264,"raw_latitude":98218648,"longitude_deg":76.3451264,"latitude_deg":9.8218648,"altitude":4,"angle":338,"satellites":39,"speed":48,"hex_longitude":"2d815780","hex_latitude":"05dab298","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184545024001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134948417901166592,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123448394980915200,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783388000,"timestamp_ms":1789783388000,"timestamp_seconds":1789783388,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7672f60"} 
[2026-09-19 07: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-19 07:33: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-19 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 07:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184545024001,"66":13341,"71":206,"85":15104,"24":48,"16":134948417901166592,"45":-9123448394980915200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-19 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184545024001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:33:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134948417901166592,"km_value":134948417901166.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123448394980915200,"description":"Unknown IO ID 45"} 
[2026-09-19 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184545024001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9123448394980915200}} 
[2026-09-19 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":189300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:33:39] local.INFO: GPS data processed {"connection_id":189300,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:33:39] local.INFO: Acknowledgment sent {"connection_id":189300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:33:48] local.INFO: TCP Data received {"connection_id":186553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:48] local.INFO: Processing buffer {"connection_id":186553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:33:48] local.INFO: Packet analysis {"connection_id":186553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:33:48] local.INFO: Extracted packet for processing {"connection_id":186553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:33: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-19 07:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:33: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-19 07:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:33: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-19 07:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":186553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:33:48] local.INFO: GPS data processed {"connection_id":186553,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:33:48] local.INFO: Acknowledgment sent {"connection_id":186553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:33:53] local.INFO: TCP Data received {"connection_id":189297,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:33:53] local.INFO: Processing buffer {"connection_id":189297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:33:53] local.INFO: IMEI packet received {"connection_id":189297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":189297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:34:10] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:10] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:10] local.INFO: IMEI packet received {"connection_id":187959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":187959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:34:10] local.INFO: TCP Data received {"connection_id":189300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7674ab8012d814c4005dad3f00005015e28..."} 
[2026-09-19 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7674ab8012d814c4005dad3f00005015e28..."} 
[2026-09-19 07:34:10] local.INFO: Processing buffer {"connection_id":189300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7674ab8012d814c4005dad3f00005015e28..."} 
[2026-09-19 07:34:10] local.INFO: Packet analysis {"connection_id":189300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b767"} 
[2026-09-19 07:34:10] local.INFO: Extracted packet for processing {"connection_id":189300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b767"} 
[2026-09-19 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763448384,"raw_latitude":98227184,"longitude_deg":76.3448384,"latitude_deg":9.8227184,"altitude":5,"angle":350,"satellites":40,"speed":51,"hex_longitude":"2d814c40","hex_latitude":"05dad3f0","is_valid_coordinates":true} 
[2026-09-19 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-19 07:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184547328001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134948851692863488,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126685357210691584,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783395000,"timestamp_ms":1789783395000,"timestamp_seconds":1789783395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7674ab8"} 
[2026-09-19 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-19 07:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-19 07:34:10] 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-19 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-19 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-19 07:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184547328001,"66":13319,"71":206,"85":15104,"24":51,"16":134948851692863488,"45":-9126685357210691584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-19 07:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184547328001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:34:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 07:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134948851692863488,"km_value":134948851692863.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126685357210691584,"description":"Unknown IO ID 45"} 
[2026-09-19 07:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184547328001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9126685357210691584}} 
[2026-09-19 07:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":189300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:34:10] local.INFO: GPS data processed {"connection_id":189300,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:34:10] local.INFO: Acknowledgment sent {"connection_id":189300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:34:15] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:15] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:34:15] local.INFO: IMEI packet received {"connection_id":187959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":187959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:34:16] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:16] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7636e70012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:16] local.INFO: Packet analysis {"connection_id":187959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:34:16] local.INFO: Extracted packet for processing {"connection_id":187959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b763"} 
[2026-09-19 07:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184407296001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34: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-19 07:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783142000,"timestamp_ms":1789783142000,"timestamp_seconds":1789783142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7636e70"} 
[2026-09-19 07: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-19 07:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 07:34: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-19 07: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-19 07: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-19 07:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:34:16] 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-19 07:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184407296001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184407296001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184407296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":187959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:34:16] local.INFO: GPS data processed {"connection_id":187959,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:34:16] local.INFO: Acknowledgment sent {"connection_id":187959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:34:33] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:33] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:33] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:34:37] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:37] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:37] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:34:38] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:38] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:34:38] local.INFO: IMEI packet received {"connection_id":186554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":186554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:34:39] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d80e68005dba0a00002014127..."} 
[2026-09-19 07:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d80e68005dba0a00002014127..."} 
[2026-09-19 07:34:39] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d80e68005dba0a00002014127..."} 
[2026-09-19 07:34:39] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:39] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763422336,"raw_latitude":98279584,"longitude_deg":76.3422336,"latitude_deg":9.8279584,"altitude":2,"angle":321,"satellites":39,"speed":50,"hex_longitude":"2d80e680","hex_latitude":"05dba0a0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184560640001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134951725025984512,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156240229750519808,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:34: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-19 07:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 07:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184560640001,"66":13374,"154":206,"85":15104,"24":50,"16":134951725025984512,"45":-9156240229750519808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-19 07:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184560640001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134951725025984512,"km_value":134951725025984.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156240229750519808,"description":"Unknown IO ID 45"} 
[2026-09-19 07:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184560640001,"power":13374,"unknown_154":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9156240229750519808}} 
[2026-09-19 07:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:34:39] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:34:39] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:34:44] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7682578012d80cf4005dbc0780001014a27..."} 
[2026-09-19 07:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7682578012d80cf4005dbc0780001014a27..."} 
[2026-09-19 07:34:44] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7682578012d80cf4005dbc0780001014a27..."} 
[2026-09-19 07:34:44] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:44] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763416384,"raw_latitude":98287736,"longitude_deg":76.3416384,"latitude_deg":9.8287736,"altitude":1,"angle":330,"satellites":39,"speed":47,"hex_longitude":"2d80cf40","hex_latitude":"05dbc078","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134952210357288960,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158492029563396096,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789783451000,"timestamp_ms":1789783451000,"timestamp_seconds":1789783451,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7682578"} 
[2026-09-19 07: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-19 07:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 07:34:44] 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-19 07: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-19 07: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-19 07:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":12939,"154":206,"85":15104,"24":47,"16":134952210357288960,"45":-9158492029563396096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-19 07:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:34:44] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-19 07:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134952210357288960,"km_value":134952210357288.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158492029563396096,"description":"Unknown IO ID 45"} 
[2026-09-19 07:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":12939,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9158492029563396096}} 
[2026-09-19 07:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:34:44] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:34:44] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:34:47] local.INFO: TCP Data received {"connection_id":187959,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:47] local.INFO: Processing buffer {"connection_id":187959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:34:47] local.INFO: Packet analysis {"connection_id":187959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:47] local.INFO: Extracted packet for processing {"connection_id":187959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:34: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-19 07: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-19 07: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-19 07:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:34:47] 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-19 07:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":187959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:34:47] local.INFO: GPS data processed {"connection_id":187959,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:34:47] local.INFO: Acknowledgment sent {"connection_id":187959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:35:15] local.INFO: TCP Data received {"connection_id":189302,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:15] local.INFO: Processing buffer {"connection_id":189302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:15] local.INFO: IMEI packet received {"connection_id":189302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":189302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:35:16] local.INFO: TCP Data received {"connection_id":186554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76844b8012d80be0005dbe3300003015028..."} 
[2026-09-19 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76844b8012d80be0005dbe3300003015028..."} 
[2026-09-19 07:35:16] local.INFO: Processing buffer {"connection_id":186554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76844b8012d80be0005dbe3300003015028..."} 
[2026-09-19 07:35:16] local.INFO: Packet analysis {"connection_id":186554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:16] local.INFO: Extracted packet for processing {"connection_id":186554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763411968,"raw_latitude":98296624,"longitude_deg":76.3411968,"latitude_deg":9.8296624,"altitude":3,"angle":336,"satellites":40,"speed":51,"hex_longitude":"2d80be00","hex_latitude":"05dbe330","is_valid_coordinates":true} 
[2026-09-19 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184563456001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134952691393626112,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322769831936,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783459000,"timestamp_ms":1789783459000,"timestamp_seconds":1789783459,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76844b8"} 
[2026-09-19 07:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:35: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-19 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 07:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184563456001,"66":13450,"154":206,"85":15104,"24":51,"16":134952691393626112,"45":-9165036322769831936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-19 07:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184563456001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:35:16] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-19 07:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134952691393626112,"km_value":134952691393626.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322769831936,"description":"Unknown IO ID 45"} 
[2026-09-19 07:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184563456001,"power":13450,"unknown_154":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9165036322769831936}} 
[2026-09-19 07:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:35:16] local.INFO: GPS data processed {"connection_id":186554,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:35:16] local.INFO: Acknowledgment sent {"connection_id":186554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:35:20] local.INFO: TCP Data received {"connection_id":189302,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:20] local.INFO: Processing buffer {"connection_id":189302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:35:20] local.INFO: IMEI packet received {"connection_id":189302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":189302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:35:21] local.INFO: TCP Data received {"connection_id":189302,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:21] local.INFO: Processing buffer {"connection_id":189302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:21] local.INFO: Packet analysis {"connection_id":189302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:21] local.INFO: Extracted packet for processing {"connection_id":189302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:35: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-19 07:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:35: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-19 07:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:35:21] 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-19 07:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:35:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":189302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:35:21] local.INFO: GPS data processed {"connection_id":189302,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:35:21] local.INFO: Acknowledgment sent {"connection_id":189302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:35:31] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:31] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:31] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:35:33] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:33] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:33] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:35:38] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:38] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:35:38] local.INFO: IMEI packet received {"connection_id":186555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":186555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:35:39] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7686010012d80b0c005dc03680002015327..."} 
[2026-09-19 07:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7686010012d80b0c005dc03680002015327..."} 
[2026-09-19 07:35:39] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7686010012d80b0c005dc03680002015327..."} 
[2026-09-19 07:35:39] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:39] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763408576,"raw_latitude":98304872,"longitude_deg":76.3408576,"latitude_deg":9.8304872,"altitude":2,"angle":339,"satellites":39,"speed":50,"hex_longitude":"2d80b0c0","hex_latitude":"05dc0368","is_valid_coordinates":true} 
[2026-09-19 07:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184565504001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134953120890355712,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169891766115815424,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783466000,"timestamp_ms":1789783466000,"timestamp_seconds":1789783466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7686010"} 
[2026-09-19 07:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:35: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-19 07:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 07:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184565504001,"66":13646,"154":206,"85":15104,"24":50,"16":134953120890355712,"45":-9169891766115815424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-19 07:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184565504001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:35:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-19 07:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134953120890355712,"km_value":134953120890355.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169891766115815424,"description":"Unknown IO ID 45"} 
[2026-09-19 07:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184565504001,"power":13646,"unknown_154":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9169891766115815424}} 
[2026-09-19 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:35:39] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:35:39] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:35:52] local.INFO: TCP Data received {"connection_id":189302,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:52] local.INFO: Processing buffer {"connection_id":189302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:35:52] local.INFO: Packet analysis {"connection_id":189302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:52] local.INFO: Extracted packet for processing {"connection_id":189302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:35: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-19 07:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 07:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:35: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-19 07:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:35:52] 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-19 07:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":189302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:35:52] local.INFO: GPS data processed {"connection_id":189302,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:35:52] local.INFO: Acknowledgment sent {"connection_id":189302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:36:10] local.INFO: TCP Data received {"connection_id":187960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:10] local.INFO: Processing buffer {"connection_id":187960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:10] local.INFO: IMEI packet received {"connection_id":187960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":187960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:36:11] local.INFO: TCP Data received {"connection_id":186555,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7699c78012d80174005dc9798000500ff29..."} 
[2026-09-19 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7699c78012d80174005dc9798000500ff29..."} 
[2026-09-19 07:36:11] local.INFO: Processing buffer {"connection_id":186555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7699c78012d80174005dc9798000500ff29..."} 
[2026-09-19 07:36:11] local.INFO: Packet analysis {"connection_id":186555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b769"} 
[2026-09-19 07:36:11] local.INFO: Extracted packet for processing {"connection_id":186555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b769"} 
[2026-09-19 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763369280,"raw_latitude":98342808,"longitude_deg":76.336928,"latitude_deg":9.8342808,"altitude":5,"angle":255,"satellites":41,"speed":53,"hex_longitude":"2d801740","hex_latitude":"05dc9798","is_valid_coordinates":true} 
[2026-09-19 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184585984001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134956376475566080,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205709456889851904,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789783547000,"timestamp_ms":1789783547000,"timestamp_seconds":1789783547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7699c78"} 
[2026-09-19 07:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:36: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-19 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636341,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3077127864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154463237,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2684431744,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6856448996349575178,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2772959238,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145796603,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221609634,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":7944356187808464901,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847264011039147,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,251,85,24,241,157,16,117,160,90,45,167,6,39,10,66,86,192,82,1,240,227,183,220,4,113,205,19,108,38,239,52,2,223,5,11,128,51,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-19 07:36:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571820286148608,"timestamp_seconds":360571820286148.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184585984001,"66":13406,"251":206,"85":15104,"24":53,"16":134956376475566080,"45":-9205709456889851904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-19 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184585984001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134956376475566080,"km_value":134956376475566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205709456889851904,"description":"Unknown IO ID 45"} 
[2026-09-19 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184585984001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9205709456889851904}} 
[2026-09-19 07:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":186555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:36:11] local.INFO: GPS data processed {"connection_id":186555,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:36:11] local.INFO: Acknowledgment sent {"connection_id":186555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:36:15] local.INFO: TCP Data received {"connection_id":187960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:15] local.INFO: Processing buffer {"connection_id":187960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:36:15] local.INFO: IMEI packet received {"connection_id":187960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":187960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:36:16] local.INFO: TCP Data received {"connection_id":187960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:16] local.INFO: Processing buffer {"connection_id":187960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:16] local.INFO: Packet analysis {"connection_id":187960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:36:16] local.INFO: Extracted packet for processing {"connection_id":187960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36: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-19 07:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:36:16] 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-19 07:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":187960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:36:16] local.INFO: GPS data processed {"connection_id":187960,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:36:16] local.INFO: Acknowledgment sent {"connection_id":187960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:36:47] local.INFO: TCP Data received {"connection_id":187960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:47] local.INFO: Processing buffer {"connection_id":187960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:36:47] local.INFO: Packet analysis {"connection_id":187960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:36:47] local.INFO: Extracted packet for processing {"connection_id":187960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:36: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-19 07:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:36: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-19 07: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-19 07: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-19 07:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:36:47] 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-19 07:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":187960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:36:47] local.INFO: GPS data processed {"connection_id":187960,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:36:47] local.INFO: Acknowledgment sent {"connection_id":187960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:37:06] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:06] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:06] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:37:08] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:08] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:08] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:37:10] local.INFO: TCP Data received {"connection_id":187961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:10] local.INFO: Processing buffer {"connection_id":187961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:10] local.INFO: IMEI packet received {"connection_id":187961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":187961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:37:15] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:15] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:15] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:37:15] local.INFO: TCP Data received {"connection_id":187961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:15] local.INFO: Processing buffer {"connection_id":187961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:37:15] local.INFO: IMEI packet received {"connection_id":187961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":187961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:37:16] local.INFO: TCP Data received {"connection_id":187961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:16] local.INFO: Processing buffer {"connection_id":187961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:16] local.INFO: Packet analysis {"connection_id":187961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:37:16] local.INFO: Extracted packet for processing {"connection_id":187961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37: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-19 07:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:37: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-19 07:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":187961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:37:16] local.INFO: GPS data processed {"connection_id":187961,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:37:16] local.INFO: Acknowledgment sent {"connection_id":187961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:37:17] local.INFO: TCP Data received {"connection_id":186700,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76a4c40012d7f7f8005dcc9c00009013a28..."} 
[2026-09-19 07:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76a4c40012d7f7f8005dcc9c00009013a28..."} 
[2026-09-19 07:37:17] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76a4c40012d7f7f8005dcc9c00009013a28..."} 
[2026-09-19 07:37:17] local.INFO: Packet analysis {"connection_id":186700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:17] local.INFO: Extracted packet for processing {"connection_id":186700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763330432,"raw_latitude":98355648,"longitude_deg":76.3330432,"latitude_deg":9.8355648,"altitude":9,"angle":314,"satellites":40,"speed":42,"hex_longitude":"2d7f7f80","hex_latitude":"05dcc9c0","is_valid_coordinates":true} 
[2026-09-19 07:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184599040001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134958914801238016,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188891377386362880,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789783592000,"timestamp_ms":1789783592000,"timestamp_seconds":1789783592,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76a4c40"} 
[2026-09-19 07: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-19 07:37: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-19 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 07:37:17] 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-19 07: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-19 07: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-19 07:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184599040001,"66":13330,"251":206,"85":15104,"24":42,"16":134958914801238016,"45":9188891377386362880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-19 07:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184599040001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:37:17] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-19 07:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134958914801238016,"km_value":134958914801238.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188891377386362880,"description":"Unknown IO ID 45"} 
[2026-09-19 07:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184599040001,"power":13330,"unknown_251":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9188891377386362880}} 
[2026-09-19 07:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":186700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:37:17] local.INFO: GPS data processed {"connection_id":186700,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:37:17] local.INFO: Acknowledgment sent {"connection_id":186700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:37:43] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:43] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:43] local.INFO: IMEI packet received {"connection_id":186701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":186701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:37:48] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:48] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:37:48] local.INFO: IMEI packet received {"connection_id":186701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":186701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:37:49] local.INFO: TCP Data received {"connection_id":187961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:49] local.INFO: Processing buffer {"connection_id":187961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:37:49] local.INFO: Packet analysis {"connection_id":187961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:37:49] local.INFO: Extracted packet for processing {"connection_id":187961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37: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-19 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:37: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-19 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":187961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:37:49] local.INFO: GPS data processed {"connection_id":187961,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:37:49] local.INFO: Acknowledgment sent {"connection_id":187961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:37:49] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76a5410012d7f7a4005dccf980008014525..."} 
[2026-09-19 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76a5410012d7f7a4005dccf980008014525..."} 
[2026-09-19 07:37:49] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76a5410012d7f7a4005dccf980008014525..."} 
[2026-09-19 07:37:49] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:49] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763329088,"raw_latitude":98357144,"longitude_deg":76.3329088,"latitude_deg":9.8357144,"altitude":8,"angle":325,"satellites":37,"speed":36,"hex_longitude":"2d7f7a40","hex_latitude":"05dccf98","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184599552001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134959009290518528,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187202527526502400,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789783594000,"timestamp_ms":1789783594000,"timestamp_seconds":1789783594,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76a5410"} 
[2026-09-19 07: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-19 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3077176864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278525970824068432,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":220,"raw_value":9058990680538883328,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699298304,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57887066717836603,"corrected_to":0} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-416581670605225979,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-360061104732235776,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,85,24,241,157,16,120,160,68,45,128,195,9,39,10,66,171,38,13,192,1,240,227,119,183,220,4,113,205,32,5,155,216,239,53,2,223,7,247,105,33,167],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0},{"io_id":247,"original":57887066717836603,"validated":0}]} 
[2026-09-19 07:37:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648863764793917440,"timestamp_seconds":648863764793917.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07: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-19 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184599552001,"66":13091,"251":206,"85":15104,"24":36,"16":134959009290518528,"45":9187202527526502400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-19 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184599552001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134959009290518528,"km_value":134959009290518.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187202527526502400,"description":"Unknown IO ID 45"} 
[2026-09-19 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184599552001,"power":13091,"unknown_251":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9187202527526502400}} 
[2026-09-19 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:37:49] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:37:49] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:37:50] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76a5be0012d7f774005dcd6380007015625..."} 
[2026-09-19 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76a5be0012d7f774005dcd6380007015625..."} 
[2026-09-19 07:37:50] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76a5be0012d7f774005dcd6380007015625..."} 
[2026-09-19 07:37:50] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:50] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76a"} 
[2026-09-19 07:37:50] local.INFO: GPS Element Parsed {"raw_longitude":763328320,"raw_latitude":98358840,"longitude_deg":76.332832,"latitude_deg":9.835884,"altitude":7,"angle":342,"satellites":37,"speed":37,"hex_longitude":"2d7f7740","hex_latitude":"05dcd638","is_valid_coordinates":true} 
[2026-09-19 07:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184600064001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134959099484831744,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185724783899154432,"note":"Value kept but may cause issues"} 
[2026-09-19 07:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789783596000,"timestamp_ms":1789783596000,"timestamp_seconds":1789783596,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76a5be0"} 
[2026-09-19 07:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 07:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184600064001,"66":13559,"251":206,"85":15104,"24":37,"16":134959099484831744,"45":9185724783899154432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-19 07:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184600064001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:37:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-19 07:37:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134959099484831744,"km_value":134959099484831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185724783899154432,"description":"Unknown IO ID 45"} 
[2026-09-19 07:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184600064001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9185724783899154432}} 
[2026-09-19 07:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:37:50] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:37:50] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:38:10] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:10] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:10] local.INFO: IMEI packet received {"connection_id":186556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":186556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:38:15] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:15] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:38:15] local.INFO: IMEI packet received {"connection_id":186556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":186556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:38:16] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:16] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:16] local.INFO: Packet analysis {"connection_id":186556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:38:16] local.INFO: Extracted packet for processing {"connection_id":186556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38: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-19 07:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:38: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-19 07:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":186556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:38:16] local.INFO: GPS data processed {"connection_id":186556,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:38:16] local.INFO: Acknowledgment sent {"connection_id":186556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:38:33] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:33] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:33] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:38:37] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:37] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:38:37] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:38:38] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76b9078012d7f178005ddeac00004015028..."} 
[2026-09-19 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76b9078012d7f178005ddeac00004015028..."} 
[2026-09-19 07:38:38] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76b9078012d7f178005ddeac00004015028..."} 
[2026-09-19 07:38:38] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:38:38] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763303808,"raw_latitude":98429632,"longitude_deg":76.3303808,"latitude_deg":9.8429632,"altitude":4,"angle":336,"satellites":40,"speed":38,"hex_longitude":"2d7f1780","hex_latitude":"05ddeac0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184619008001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134962810336575488,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162080885872486400,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789783675000,"timestamp_ms":1789783675000,"timestamp_seconds":1789783675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76b9078"} 
[2026-09-19 07: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-19 07:38: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-19 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 07:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184619008001,"66":13493,"113":206,"85":15104,"24":38,"16":134962810336575488,"45":9162080885872486400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-19 07:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184619008001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:38:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-19 07:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134962810336575488,"km_value":134962810336575.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162080885872486400,"description":"Unknown IO ID 45"} 
[2026-09-19 07:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184619008001,"power":13493,"unknown_113":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9162080885872486400}} 
[2026-09-19 07:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:38:38] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:38:38] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:38:47] local.INFO: TCP Data received {"connection_id":186556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:47] local.INFO: Processing buffer {"connection_id":186556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:38:47] local.INFO: Packet analysis {"connection_id":186556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:38:47] local.INFO: Extracted packet for processing {"connection_id":186556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:38: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-19 07: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-19 07: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-19 07:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:38: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-19 07:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":186556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:38:47] local.INFO: GPS data processed {"connection_id":186556,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:38:47] local.INFO: Acknowledgment sent {"connection_id":186556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:10] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:10] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:10] local.INFO: IMEI packet received {"connection_id":187962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":187962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:39:10] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76bde98012d7f0f4005ddfec00004014c27..."} 
[2026-09-19 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76bde98012d7f0f4005ddfec00004014c27..."} 
[2026-09-19 07:39:10] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76bde98012d7f0f4005ddfec00004014c27..."} 
[2026-09-19 07:39:10] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:39:10] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763301696,"raw_latitude":98434752,"longitude_deg":76.3301696,"latitude_deg":9.8434752,"altitude":4,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d7f0f40","hex_latitude":"05ddfec0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184620800001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134963080919515136,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157929129967534080,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783695000,"timestamp_ms":1789783695000,"timestamp_seconds":1789783695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76bde98"} 
[2026-09-19 07: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-19 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 07:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184620800001,"66":12287,"113":206,"85":15104,"24":0,"16":134963080919515136,"45":9157929129967534080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-19 07:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184620800001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-19 07:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134963080919515136,"km_value":134963080919515.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157929129967534080,"description":"Unknown IO ID 45"} 
[2026-09-19 07:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184620800001,"power":12287,"unknown_113":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9157929129967534080}} 
[2026-09-19 07:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:11] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:11] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:15] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:15] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:39:15] local.INFO: IMEI packet received {"connection_id":187962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":187962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:39:16] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:39:16] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7680638012d34c14006aa41400008010e2a..."} 
[2026-09-19 07:39:16] local.INFO: Packet analysis {"connection_id":187962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:39:16] local.INFO: Extracted packet for processing {"connection_id":187962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b768"} 
[2026-09-19 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39: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-19 07:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783443000,"timestamp_ms":1789783443000,"timestamp_seconds":1789783443,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7680638"} 
[2026-09-19 07: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-19 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:39:16] 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-19 07:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184484352001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184484352001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":187962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:16] local.INFO: GPS data processed {"connection_id":187962,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:16] local.INFO: Acknowledgment sent {"connection_id":187962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:28] local.INFO: TCP Data received {"connection_id":189301,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:28] local.INFO: Processing buffer {"connection_id":189301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:28] local.INFO: IMEI packet received {"connection_id":189301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":189301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:39:30] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:30] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:30] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:39:33] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:33] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:33] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:39:38] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:39] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:39:39] local.INFO: IMEI packet received {"connection_id":187963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":187963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:39:41] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76bf9f0012d7f0ec005de01180005015727..."} 
[2026-09-19 07:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76bf9f0012d7f0ec005de01180005015727..."} 
[2026-09-19 07:39:41] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76bf9f0012d7f0ec005de01180005015727..."} 
[2026-09-19 07:39:41] local.INFO: Packet analysis {"connection_id":187963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:39:41] local.INFO: Extracted packet for processing {"connection_id":187963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76b"} 
[2026-09-19 07:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763301568,"raw_latitude":98435352,"longitude_deg":76.3301568,"latitude_deg":9.8435352,"altitude":5,"angle":343,"satellites":39,"speed":11,"hex_longitude":"2d7f0ec0","hex_latitude":"05de0118","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184625920001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134963115279253504,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155606961410981888,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789783702000,"timestamp_ms":1789783702000,"timestamp_seconds":1789783702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76bf9f0"} 
[2026-09-19 07: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-19 07:39: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-19 07: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 07:39: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-19 07: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-19 07: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-19 07:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184625920001,"66":13472,"113":206,"85":15104,"24":11,"16":134963115279253504,"45":9155606961410981888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-19 07:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184625920001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-19 07:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134963115279253504,"km_value":134963115279253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155606961410981888,"description":"Unknown IO ID 45"} 
[2026-09-19 07:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184625920001,"power":13472,"unknown_113":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9155606961410981888}} 
[2026-09-19 07:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":187963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:41] local.INFO: GPS data processed {"connection_id":187963,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:41] local.INFO: Acknowledgment sent {"connection_id":187963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:43] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c30a0012d7f00c005de23c80007015828..."} 
[2026-09-19 07:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c30a0012d7f00c005de23c80007015828..."} 
[2026-09-19 07:39:43] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c30a0012d7f00c005de23c80007015828..."} 
[2026-09-19 07:39:43] local.INFO: Packet analysis {"connection_id":187963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:39:43] local.INFO: Extracted packet for processing {"connection_id":187963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763297984,"raw_latitude":98444232,"longitude_deg":76.3297984,"latitude_deg":9.8444232,"altitude":7,"angle":344,"satellites":40,"speed":41,"hex_longitude":"2d7f00c0","hex_latitude":"05de23c8","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184627712001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134963579135721472,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155466223922780160,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789783716000,"timestamp_ms":1789783716000,"timestamp_seconds":1789783716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c30a0"} 
[2026-09-19 07: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-19 07:39: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-19 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:39:43] 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-19 07: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-19 07: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-19 07:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184627712001,"66":12798,"101":206,"85":15104,"24":41,"16":134963579135721472,"45":9155466223922780160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-19 07:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184627712001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 07:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134963579135721472,"km_value":134963579135721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155466223922780160,"description":"Unknown IO ID 45"} 
[2026-09-19 07:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184627712001,"power":12798,"unknown_101":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9155466223922780160}} 
[2026-09-19 07:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":187963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:43] local.INFO: GPS data processed {"connection_id":187963,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:43] local.INFO: Acknowledgment sent {"connection_id":187963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:47] local.INFO: TCP Data received {"connection_id":187962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:39:47] local.INFO: Processing buffer {"connection_id":187962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:39:47] local.INFO: Packet analysis {"connection_id":187962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:39:47] local.INFO: Extracted packet for processing {"connection_id":187962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39: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-19 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:39:47] 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-19 07: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-19 07: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-19 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:39: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-19 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":187962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:47] local.INFO: GPS data processed {"connection_id":187962,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:47] local.INFO: Acknowledgment sent {"connection_id":187962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:39:52] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:52] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:52] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:39:58] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:58] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:39:58] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:39:59] local.INFO: TCP Data received {"connection_id":186703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7362c80012cc4ec0007513688000800000c..."} 
[2026-09-19 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7362c80012cc4ec0007513688000800000c..."} 
[2026-09-19 07:39:59] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7362c80012cc4ec0007513688000800000c..."} 
[2026-09-19 07:39:59] local.INFO: Packet analysis {"connection_id":186703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b736"} 
[2026-09-19 07:39:59] local.INFO: Extracted packet for processing {"connection_id":186703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b736"} 
[2026-09-19 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":751102976,"raw_latitude":122762888,"longitude_deg":75.1102976,"latitude_deg":12.2762888,"altitude":8,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2cc4ec00","hex_latitude":"07513688","is_valid_coordinates":true} 
[2026-09-19 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458183648000001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4257027516344662016,"note":"Value kept but may cause issues"} 
[2026-09-19 07:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789780176000,"timestamp_ms":1789780176000,"timestamp_seconds":1789780176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7362c80"} 
[2026-09-19 07:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:39:59] 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-19 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 07:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 07:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 07:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 07:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 07:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458183648000001,"66":25495,"183":206,"85":37632,"24":0,"16":0,"44":-4257027516344662016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-19 07:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 07:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 07:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458183648000001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:39:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-19 07:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-19 07:39:59] local.INFO: Odometer value is zero {"io_id":16,"note":"May indicate new vehicle or odometer reset"} 
[2026-09-19 07:39:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4257027516344662016,"description":"Unknown IO ID 44"} 
[2026-09-19 07:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458183648000001,"power":25495,"unknown_183":206,"unknown_85":37632,"ignition":0,"odometer":0,"unknown_44":-4257027516344662016}} 
[2026-09-19 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":186703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:39:59] local.INFO: GPS data processed {"connection_id":186703,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:39:59] local.INFO: Acknowledgment sent {"connection_id":186703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:40:14] local.INFO: TCP Data received {"connection_id":187963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76d5980012d7e94c005df3f180008015027..."} 
[2026-09-19 07:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76d5980012d7e94c005df3f180008015027..."} 
[2026-09-19 07:40:14] local.INFO: Processing buffer {"connection_id":187963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76d5980012d7e94c005df3f180008015027..."} 
[2026-09-19 07:40:14] local.INFO: Packet analysis {"connection_id":187963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:14] local.INFO: Extracted packet for processing {"connection_id":187963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":98516760,"longitude_deg":76.3270336,"latitude_deg":9.851676,"altitude":8,"angle":336,"satellites":39,"speed":40,"hex_longitude":"2d7e94c0","hex_latitude":"05df3f18","is_valid_coordinates":true} 
[2026-09-19 07:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184648704001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134967397361647616,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613898586112,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789783792000,"timestamp_ms":1789783792000,"timestamp_seconds":1789783792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76d5980"} 
[2026-09-19 07:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 07:40:14] 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-19 07:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184648704001,"66":13798,"205":206,"85":15104,"24":40,"16":134967397361647616,"45":9125770613898586112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-19 07:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184648704001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134967397361647616,"km_value":134967397361647.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613898586112,"description":"Unknown IO ID 45"} 
[2026-09-19 07:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184648704001,"power":13798,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9125770613898586112}} 
[2026-09-19 07:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":187963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:40:14] local.INFO: GPS data processed {"connection_id":187963,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:40:14] local.INFO: Acknowledgment sent {"connection_id":187963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:40:15] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:15] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:15] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:40:20] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:20] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:40:20] local.INFO: IMEI packet received {"connection_id":186557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":186557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:40:21] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:21] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:21] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:40:21] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:40:21] 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-19 07: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-19 07: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-19 07:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:40:21] 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-19 07:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:40:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:40:21] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:40:21] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:40:33] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:33] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:33] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:40:36] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:36] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:36] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:40:38] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:38] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:40:38] local.INFO: IMEI packet received {"connection_id":186558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":186558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:40:39] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76d7ca8012d7e880005df62a00008015626..."} 
[2026-09-19 07:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76d7ca8012d7e880005df62a00008015626..."} 
[2026-09-19 07:40:39] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76d7ca8012d7e880005df62a00008015626..."} 
[2026-09-19 07:40:39] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:39] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":98525856,"longitude_deg":76.3267072,"latitude_deg":9.8525856,"altitude":8,"angle":342,"satellites":38,"speed":48,"hex_longitude":"2d7e8800","hex_latitude":"05df62a0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184650752001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134967865513082880,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126276784920576,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783801000,"timestamp_ms":1789783801000,"timestamp_seconds":1789783801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76d7ca8"} 
[2026-09-19 07: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-19 07:40: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-19 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 07:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184650752001,"66":13722,"205":206,"85":15104,"24":48,"16":134967865513082880,"45":9121126276784920576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-19 07:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184650752001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134967865513082880,"km_value":134967865513082.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126276784920576,"description":"Unknown IO ID 45"} 
[2026-09-19 07:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184650752001,"power":13722,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9121126276784920576}} 
[2026-09-19 07:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:40:39] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:40:39] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:40:43] local.INFO: TCP Data received {"connection_id":189303,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:40:43] local.INFO: Processing buffer {"connection_id":189303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:40:43] local.INFO: IMEI packet received {"connection_id":189303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":189303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:40:44] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76d9fd0012d7e7d0005df83d00007015226..."} 
[2026-09-19 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76d9fd0012d7e7d0005df83d00007015226..."} 
[2026-09-19 07:40:44] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76d9fd0012d7e7d0005df83d00007015226..."} 
[2026-09-19 07:40:44] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:44] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763264256,"raw_latitude":98534352,"longitude_deg":76.3264256,"latitude_deg":9.8534352,"altitude":7,"angle":338,"satellites":38,"speed":42,"hex_longitude":"2d7e7d00","hex_latitude":"05df83d0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184653056001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134968299304779776,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117537470834188288,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789783810000,"timestamp_ms":1789783810000,"timestamp_seconds":1789783810,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76d9fd0"} 
[2026-09-19 07: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-19 07:40: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-19 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 07:40:44] 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-19 07: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-19 07: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-19 07:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184653056001,"66":13678,"207":206,"85":15104,"24":42,"16":134968299304779776,"45":9117537470834188288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184653056001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:40:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134968299304779776,"km_value":134968299304779.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117537470834188288,"description":"Unknown IO ID 45"} 
[2026-09-19 07:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184653056001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9117537470834188288}} 
[2026-09-19 07:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:40:44] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:40:44] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:40:52] local.INFO: TCP Data received {"connection_id":186557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:52] local.INFO: Processing buffer {"connection_id":186557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:40:52] local.INFO: Packet analysis {"connection_id":186557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:40:52] local.INFO: Extracted packet for processing {"connection_id":186557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:40: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-19 07:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 07:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:40:52] 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-19 07:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:40:52] 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-19 07:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":186557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:40:53] local.INFO: GPS data processed {"connection_id":186557,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:40:53] local.INFO: Acknowledgment sent {"connection_id":186557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:41:10] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:10] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:10] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:41:15] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:15] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:41:15] local.INFO: IMEI packet received {"connection_id":186559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:41:15] local.INFO: TCP Data received {"connection_id":186558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76dbf10012d7e710005dfa6a80006015623..."} 
[2026-09-19 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76dbf10012d7e710005dfa6a80006015623..."} 
[2026-09-19 07:41:15] local.INFO: Processing buffer {"connection_id":186558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76dbf10012d7e710005dfa6a80006015623..."} 
[2026-09-19 07:41:15] local.INFO: Packet analysis {"connection_id":186558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:41:15] local.INFO: Extracted packet for processing {"connection_id":186558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76d"} 
[2026-09-19 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763261184,"raw_latitude":98543272,"longitude_deg":76.3261184,"latitude_deg":9.8543272,"altitude":6,"angle":342,"satellites":35,"speed":48,"hex_longitude":"2d7e7100","hex_latitude":"05dfa6a8","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184655360001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134968754571313152,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114441246092546048,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789783818000,"timestamp_ms":1789783818000,"timestamp_seconds":1789783818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76dbf10"} 
[2026-09-19 07: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-19 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:41:15] 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-19 07: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-19 07: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-19 07:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184655360001,"66":13646,"207":206,"85":15104,"24":48,"16":134968754571313152,"45":9114441246092546048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184655360001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:41:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134968754571313152,"km_value":134968754571313.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114441246092546048,"description":"Unknown IO ID 45"} 
[2026-09-19 07:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184655360001,"power":13646,"unknown_207":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9114441246092546048}} 
[2026-09-19 07:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":186558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:41:15] local.INFO: GPS data processed {"connection_id":186558,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:41:15] local.INFO: Acknowledgment sent {"connection_id":186558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:41:16] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:16] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:16] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:41:16] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:41:16] 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-19 07: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-19 07: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-19 07:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:41:16] 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-19 07:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:41:16] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:41:16] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:41:32] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:32] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:32] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:41:33] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:33] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:33] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:41:34] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:34] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:34] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:41:39] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:39] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:41:39] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:41:39] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76ed468012d7e134005e0c2280003014026..."} 
[2026-09-19 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76ed468012d7e134005e0c2280003014026..."} 
[2026-09-19 07:41:39] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76ed468012d7e134005e0c2280003014026..."} 
[2026-09-19 07:41:39] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:41:39] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98615848,"longitude_deg":76.3237184,"latitude_deg":9.8615848,"altitude":3,"angle":320,"satellites":38,"speed":22,"hex_longitude":"2d7e1340","hex_latitude":"05e0c228","is_valid_coordinates":true} 
[2026-09-19 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-19 07:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184674048001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134972568502272000,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088686285743792128,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783889000,"timestamp_ms":1789783889000,"timestamp_seconds":1789783889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76ed468"} 
[2026-09-19 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-19 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-19 07:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184674048001,"66":13678,"104":206,"85":15104,"24":22,"16":134972568502272000,"45":9088686285743792128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-19 07:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184674048001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:41:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-19 07:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134972568502272000,"km_value":134972568502272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088686285743792128,"description":"Unknown IO ID 45"} 
[2026-09-19 07:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184674048001,"power":13678,"unknown_104":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9088686285743792128}} 
[2026-09-19 07:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:41:39] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:41:39] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:41:47] local.INFO: TCP Data received {"connection_id":186559,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:47] local.INFO: Processing buffer {"connection_id":186559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:41:47] local.INFO: Packet analysis {"connection_id":186559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:41:47] local.INFO: Extracted packet for processing {"connection_id":186559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:41: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-19 07:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:41:47] 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-19 07: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-19 07: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-19 07:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:41: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-19 07:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":186559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:41:47] local.INFO: GPS data processed {"connection_id":186559,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:41:47] local.INFO: Acknowledgment sent {"connection_id":186559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:42:10] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:10] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:10] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:42:10] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76edc38012d7e10c005e0c6180003015426..."} 
[2026-09-19 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76edc38012d7e10c005e0c6180003015426..."} 
[2026-09-19 07:42:10] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76edc38012d7e10c005e0c6180003015426..."} 
[2026-09-19 07:42:10] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:42:10] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":98616856,"longitude_deg":76.3236544,"latitude_deg":9.8616856,"altitude":3,"angle":340,"satellites":38,"speed":24,"hex_longitude":"2d7e10c0","hex_latitude":"05e0c618","is_valid_coordinates":true} 
[2026-09-19 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-19 07:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184675584001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134972624336846848,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267326257152,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789783891000,"timestamp_ms":1789783891000,"timestamp_seconds":1789783891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76edc38"} 
[2026-09-19 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-19 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184675584001,"66":13526,"104":206,"85":15104,"24":24,"16":134972624336846848,"45":9084675267326257152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-19 07:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184675584001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:42:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-19 07:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134972624336846848,"km_value":134972624336846.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267326257152,"description":"Unknown IO ID 45"} 
[2026-09-19 07:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184675584001,"power":13526,"unknown_104":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9084675267326257152}} 
[2026-09-19 07:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:42:10] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:42:10] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:42:15] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:15] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:42:15] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:42:16] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:16] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:16] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:42:16] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42: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-19 07:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:42:16] 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-19 07:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:42:16] 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-19 07:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:42:16] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:42:16] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:42:34] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:34] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:34] local.INFO: IMEI packet received {"connection_id":187964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":187964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:42:38] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:38] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:42:38] local.INFO: IMEI packet received {"connection_id":187964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":187964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:42:39] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76ee408012d7e0fc005e0cb380003016727..."} 
[2026-09-19 07:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76ee408012d7e0fc005e0cb380003016727..."} 
[2026-09-19 07:42:39] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76ee408012d7e0fc005e0cb380003016727..."} 
[2026-09-19 07:42:39] local.INFO: Packet analysis {"connection_id":187964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:42:39] local.INFO: Extracted packet for processing {"connection_id":187964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76e"} 
[2026-09-19 07:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":98618168,"longitude_deg":76.3236288,"latitude_deg":9.8618168,"altitude":3,"angle":359,"satellites":39,"speed":28,"hex_longitude":"2d7e0fc0","hex_latitude":"05e0cb38","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184676096001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134972688761356288,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579884738560,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789783893000,"timestamp_ms":1789783893000,"timestamp_seconds":1789783893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76ee408"} 
[2026-09-19 07: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-19 07:42: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-19 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 07:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184676096001,"66":13526,"104":206,"85":15104,"24":28,"16":134972688761356288,"45":9083971579884738560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-19 07:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184676096001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134972688761356288,"km_value":134972688761356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579884738560,"description":"Unknown IO ID 45"} 
[2026-09-19 07:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184676096001,"power":13526,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9083971579884738560}} 
[2026-09-19 07:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":187964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:42:39] local.INFO: GPS data processed {"connection_id":187964,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:42:39] local.INFO: Acknowledgment sent {"connection_id":187964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:42:48] local.INFO: TCP Data received {"connection_id":186705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:48] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:42:48] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:42:48] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:42: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-19 07:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:42: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-19 07:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:42: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-19 07:42: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-19 07:42: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-19 07:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:42: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-19 07:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:42:48] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:42:48] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:43:10] local.INFO: TCP Data received {"connection_id":187965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:10] local.INFO: Processing buffer {"connection_id":187965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:10] local.INFO: IMEI packet received {"connection_id":187965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":187965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:43:13] local.INFO: TCP Data received {"connection_id":187964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7703010012d7e20c005e1b5d00002002023..."} 
[2026-09-19 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7703010012d7e20c005e1b5d00002002023..."} 
[2026-09-19 07:43:13] local.INFO: Processing buffer {"connection_id":187964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7703010012d7e20c005e1b5d00002002023..."} 
[2026-09-19 07:43:13] local.INFO: Packet analysis {"connection_id":187964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b770"} 
[2026-09-19 07:43:13] local.INFO: Extracted packet for processing {"connection_id":187964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b770"} 
[2026-09-19 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763240640,"raw_latitude":98678224,"longitude_deg":76.324064,"latitude_deg":9.8678224,"altitude":2,"angle":32,"satellites":35,"speed":45,"hex_longitude":"2d7e20c0","hex_latitude":"05e1b5d0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184697856001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134975669468659712,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087349279620468736,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789783978000,"timestamp_ms":1789783978000,"timestamp_seconds":1789783978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7703010"} 
[2026-09-19 07: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-19 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 07:43:13] 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-19 07: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-19 07: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-19 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184697856001,"66":13646,"105":206,"85":15104,"24":45,"16":134975669468659712,"45":9087349279620468736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-19 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184697856001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:43:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 07:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134975669468659712,"km_value":134975669468659.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087349279620468736,"description":"Unknown IO ID 45"} 
[2026-09-19 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184697856001,"power":13646,"unknown_105":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9087349279620468736}} 
[2026-09-19 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":187964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:43:13] local.INFO: GPS data processed {"connection_id":187964,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:43:13] local.INFO: Acknowledgment sent {"connection_id":187964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:43:15] local.INFO: TCP Data received {"connection_id":187965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:15] local.INFO: Processing buffer {"connection_id":187965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:43:15] local.INFO: IMEI packet received {"connection_id":187965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":187965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:43:16] local.INFO: TCP Data received {"connection_id":187965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:16] local.INFO: Processing buffer {"connection_id":187965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:16] local.INFO: Packet analysis {"connection_id":187965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:43:16] local.INFO: Extracted packet for processing {"connection_id":187965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43: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-19 07:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:43:16] 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-19 07: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-19 07: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-19 07:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:43:16] 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-19 07:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":187965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:43:16] local.INFO: GPS data processed {"connection_id":187965,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:43:16] local.INFO: Acknowledgment sent {"connection_id":187965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:43:33] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:33] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:33] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:43:38] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:38] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:43:38] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:43:40] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7703bc8012d7e280005e1c1900002001524..."} 
[2026-09-19 07:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7703bc8012d7e280005e1c1900002001524..."} 
[2026-09-19 07:43:40] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7703bc8012d7e280005e1c1900002001524..."} 
[2026-09-19 07:43:40] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b770"} 
[2026-09-19 07:43:40] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b770"} 
[2026-09-19 07:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763242496,"raw_latitude":98681232,"longitude_deg":76.3242496,"latitude_deg":9.8681232,"altitude":2,"angle":21,"satellites":36,"speed":46,"hex_longitude":"2d7e2800","hex_latitude":"05e1c190","is_valid_coordinates":true} 
[2026-09-19 07:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184698368001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134975841267351552,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088475179527819264,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789783981000,"timestamp_ms":1789783981000,"timestamp_seconds":1789783981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7703bc8"} 
[2026-09-19 07:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-19 07:43:40] 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-19 07:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184698368001,"66":13830,"105":206,"85":15104,"24":46,"16":134975841267351552,"45":9088475179527819264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-19 07:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184698368001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:43:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 07:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134975841267351552,"km_value":134975841267351.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088475179527819264,"description":"Unknown IO ID 45"} 
[2026-09-19 07:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184698368001,"power":13830,"unknown_105":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9088475179527819264}} 
[2026-09-19 07:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:43:40] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:43:40] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:43:48] local.INFO: TCP Data received {"connection_id":187965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:48] local.INFO: Processing buffer {"connection_id":187965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:43:48] local.INFO: Packet analysis {"connection_id":187965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:43:48] local.INFO: Extracted packet for processing {"connection_id":187965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07: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-19 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:43: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-19 07: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-19 07: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-19 07:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":187965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:43:48] local.INFO: GPS data processed {"connection_id":187965,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:43:48] local.INFO: Acknowledgment sent {"connection_id":187965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:44:09] local.INFO: TCP Data received {"connection_id":189304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:09] local.INFO: Processing buffer {"connection_id":189304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:09] local.INFO: IMEI packet received {"connection_id":189304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:44:11] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7711a70012d7dc6c005e1fc980003010328..."} 
[2026-09-19 07:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7711a70012d7dc6c005e1fc980003010328..."} 
[2026-09-19 07:44:11] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7711a70012d7dc6c005e1fc980003010328..."} 
[2026-09-19 07:44:11] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:11] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763217600,"raw_latitude":98696344,"longitude_deg":76.32176,"latitude_deg":9.8696344,"altitude":3,"angle":259,"satellites":40,"speed":50,"hex_longitude":"2d7dc6c0","hex_latitude":"05e1fc98","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184711936001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134978066060410880,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071868155907373056,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789784038000,"timestamp_ms":1789784038000,"timestamp_seconds":1789784038,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7711a70"} 
[2026-09-19 07: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-19 07:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 07:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184711936001,"66":13678,"198":206,"85":15104,"24":50,"16":134978066060410880,"45":9071868155907373056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184711936001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134978066060410880,"km_value":134978066060410.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071868155907373056,"description":"Unknown IO ID 45"} 
[2026-09-19 07:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184711936001,"power":13678,"unknown_198":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9071868155907373056}} 
[2026-09-19 07:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:44:11] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:44:11] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:44:15] local.INFO: TCP Data received {"connection_id":189304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:15] local.INFO: Processing buffer {"connection_id":189304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:44:15] local.INFO: IMEI packet received {"connection_id":189304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":189304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:44:17] local.INFO: TCP Data received {"connection_id":189304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:44:17] local.INFO: Processing buffer {"connection_id":189304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b76c9e00012d34c14006aa41400008010e27..."} 
[2026-09-19 07:44:17] local.INFO: Packet analysis {"connection_id":189304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:44:17] local.INFO: Extracted packet for processing {"connection_id":189304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b76c"} 
[2026-09-19 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184561408001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44: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-19 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789783744000,"timestamp_ms":1789783744000,"timestamp_seconds":1789783744,"priority":1,"record_length":96,"hex_timestamp":"000001a0b76c9e00"} 
[2026-09-19 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:44:17] 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-19 07:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:44:17] 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-19 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184561408001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184561408001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184561408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":189304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:44:17] local.INFO: GPS data processed {"connection_id":189304,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:44:17] local.INFO: Acknowledgment sent {"connection_id":189304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:44:33] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:33] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:33] local.INFO: IMEI packet received {"connection_id":187966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":187966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:44:35] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:35] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:35] local.INFO: IMEI packet received {"connection_id":187966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":187966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:44:39] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:39] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:44:39] local.INFO: IMEI packet received {"connection_id":187966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":187966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:44:39] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7712240012d7dbd0005e1fc480004011327..."} 
[2026-09-19 07:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7712240012d7dbd0005e1fc480004011327..."} 
[2026-09-19 07:44:39] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7712240012d7dbd0005e1fc480004011327..."} 
[2026-09-19 07:44:39] local.INFO: Packet analysis {"connection_id":187966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:39] local.INFO: Extracted packet for processing {"connection_id":187966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763215104,"raw_latitude":98696264,"longitude_deg":76.3215104,"latitude_deg":9.8696264,"altitude":4,"angle":275,"satellites":39,"speed":49,"hex_longitude":"2d7dbd00","hex_latitude":"05e1fc48","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184713728001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134978186319495168,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063142431628498944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784040000,"timestamp_ms":1789784040000,"timestamp_seconds":1789784040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7712240"} 
[2026-09-19 07: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-19 07:44: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-19 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:44:39] 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-19 07: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-19 07: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-19 07:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":187966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":187966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":187966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184713728001,"66":13678,"198":206,"85":15104,"24":49,"16":134978186319495168,"45":9063142431628498944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184713728001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:44:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134978186319495168,"km_value":134978186319495.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063142431628498944,"description":"Unknown IO ID 45"} 
[2026-09-19 07:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184713728001,"power":13678,"unknown_198":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9063142431628498944}} 
[2026-09-19 07:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":187966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:44:39] local.INFO: GPS data processed {"connection_id":187966,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:44:39] local.INFO: Acknowledgment sent {"connection_id":187966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:44:50] local.INFO: TCP Data received {"connection_id":189304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:44:50] local.INFO: Processing buffer {"connection_id":189304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:44:50] local.INFO: Packet analysis {"connection_id":189304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:50] local.INFO: Extracted packet for processing {"connection_id":189304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:44: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-19 07:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07: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-19 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:44:50] 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-19 07:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":189304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:44:50] local.INFO: GPS data processed {"connection_id":189304,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:44:50] local.INFO: Acknowledgment sent {"connection_id":189304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:11] local.INFO: TCP Data received {"connection_id":187966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7714568012d7d990005e200080007010e28..."} 
[2026-09-19 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7714568012d7d990005e200080007010e28..."} 
[2026-09-19 07:45:11] local.INFO: Processing buffer {"connection_id":187966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7714568012d7d990005e200080007010e28..."} 
[2026-09-19 07:45:11] local.INFO: Packet analysis {"connection_id":187966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:11] local.INFO: Extracted packet for processing {"connection_id":187966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763205888,"raw_latitude":98697224,"longitude_deg":76.3205888,"latitude_deg":9.8697224,"altitude":7,"angle":270,"satellites":40,"speed":19,"hex_longitude":"2d7d9900","hex_latitude":"05e20008","is_valid_coordinates":true} 
[2026-09-19 07:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184714240001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134978632996093952,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060398050605549568,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789784049000,"timestamp_ms":1789784049000,"timestamp_seconds":1789784049,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7714568"} 
[2026-09-19 07:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:45: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-19 07:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184714240001,"66":13537,"198":206,"85":15104,"24":19,"16":134978632996093952,"45":9060398050605549568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184714240001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134978632996093952,"km_value":134978632996093.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060398050605549568,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184714240001,"power":13537,"unknown_198":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9060398050605549568}} 
[2026-09-19 07:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":187966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:11] local.INFO: GPS data processed {"connection_id":187966,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:11] local.INFO: Acknowledgment sent {"connection_id":187966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:15] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:15] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:15] local.INFO: IMEI packet received {"connection_id":186560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:45:20] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:20] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:45:20] local.INFO: IMEI packet received {"connection_id":186560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":186560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:45:21] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:21] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:21] local.INFO: Packet analysis {"connection_id":186560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:21] local.INFO: Extracted packet for processing {"connection_id":186560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:45:21] 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-19 07:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":186560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:21] local.INFO: GPS data processed {"connection_id":186560,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:21] local.INFO: Acknowledgment sent {"connection_id":186560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:39] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: IMEI packet received {"connection_id":189305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":189305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:45:39] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:39] local.INFO: IMEI packet received {"connection_id":189305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":189305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:45:43] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:43] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:45:43] local.INFO: IMEI packet received {"connection_id":189305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":189305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:45:44] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7717c18012d7d75c005e202900008011228..."} 
[2026-09-19 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7717c18012d7d75c005e202900008011228..."} 
[2026-09-19 07:45:44] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7717c18012d7d75c005e202900008011228..."} 
[2026-09-19 07:45:44] local.INFO: Packet analysis {"connection_id":189305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:44] local.INFO: Extracted packet for processing {"connection_id":189305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763196864,"raw_latitude":98697872,"longitude_deg":76.3196864,"latitude_deg":9.8697872,"altitude":8,"angle":274,"satellites":40,"speed":33,"hex_longitude":"2d7d75c0","hex_latitude":"05e20290","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184716544001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134979062492823552,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050264951444211712,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789784063000,"timestamp_ms":1789784063000,"timestamp_seconds":1789784063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7717c18"} 
[2026-09-19 07: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-19 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:44] 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-19 07: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-19 07: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-19 07:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184716544001,"66":13243,"198":206,"85":15104,"24":33,"16":134979062492823552,"45":9050264951444211712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184716544001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134979062492823552,"km_value":134979062492823.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050264951444211712,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184716544001,"power":13243,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9050264951444211712}} 
[2026-09-19 07:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":189305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:44] local.INFO: GPS data processed {"connection_id":189305,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:44] local.INFO: Acknowledgment sent {"connection_id":189305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:45] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b771a710012d7d524005e20578000a011328..."} 
[2026-09-19 07:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b771a710012d7d524005e20578000a011328..."} 
[2026-09-19 07:45:45] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b771a710012d7d524005e20578000a011328..."} 
[2026-09-19 07:45:45] local.INFO: Packet analysis {"connection_id":189305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:45] local.INFO: Extracted packet for processing {"connection_id":189305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763187776,"raw_latitude":98698616,"longitude_deg":76.3187776,"latitude_deg":9.8698616,"altitude":10,"angle":275,"satellites":40,"speed":31,"hex_longitude":"2d7d5240","hex_latitude":"05e20578","is_valid_coordinates":true} 
[2026-09-19 07:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184720128001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134979496284520448,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040342958515326976,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789784074000,"timestamp_ms":1789784074000,"timestamp_seconds":1789784074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b771a710"} 
[2026-09-19 07:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:45] 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-19 07:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184720128001,"66":13472,"198":206,"85":15104,"24":31,"16":134979496284520448,"45":9040342958515326976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184720128001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:45:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134979496284520448,"km_value":134979496284520.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040342958515326976,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184720128001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9040342958515326976}} 
[2026-09-19 07:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":189305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:45] local.INFO: GPS data processed {"connection_id":189305,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:45] local.INFO: Acknowledgment sent {"connection_id":189305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:48] local.INFO: TCP Data received {"connection_id":189305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b771d208012d7d2dc005e20888000a011228..."} 
[2026-09-19 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b771d208012d7d2dc005e20888000a011228..."} 
[2026-09-19 07:45:48] local.INFO: Processing buffer {"connection_id":189305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b771d208012d7d2dc005e20888000a011228..."} 
[2026-09-19 07:45:48] local.INFO: Packet analysis {"connection_id":189305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:48] local.INFO: Extracted packet for processing {"connection_id":189305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:48] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":98699400,"longitude_deg":76.3178432,"latitude_deg":9.86994,"altitude":10,"angle":274,"satellites":40,"speed":34,"hex_longitude":"2d7d2dc0","hex_latitude":"05e20888","is_valid_coordinates":true} 
[2026-09-19 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184722944001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134979947256086528,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030350596842289152,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784085000,"timestamp_ms":1789784085000,"timestamp_seconds":1789784085,"priority":1,"record_length":96,"hex_timestamp":"000001a0b771d208"} 
[2026-09-19 07:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:45: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-19 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184722944001,"66":13656,"198":206,"85":15104,"24":34,"16":134979947256086528,"45":9030350596842289152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 07:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184722944001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:48] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 07:45:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134979947256086528,"km_value":134979947256086.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030350596842289152,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184722944001,"power":13656,"unknown_198":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9030350596842289152}} 
[2026-09-19 07:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":189305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:48] local.INFO: GPS data processed {"connection_id":189305,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:48] local.INFO: Acknowledgment sent {"connection_id":189305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:45:52] local.INFO: TCP Data received {"connection_id":186560,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:52] local.INFO: Processing buffer {"connection_id":186560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:45:52] local.INFO: Packet analysis {"connection_id":186560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:52] local.INFO: Extracted packet for processing {"connection_id":186560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:45: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-19 07:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:45: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-19 07:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:45:52] 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-19 07:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":186560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:45:52] local.INFO: GPS data processed {"connection_id":186560,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:45:52] local.INFO: Acknowledgment sent {"connection_id":186560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:46:10] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:10] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:10] local.INFO: IMEI packet received {"connection_id":186561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":186561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:46:15] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:15] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:46:15] local.INFO: IMEI packet received {"connection_id":186561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:46:16] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:16] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:16] local.INFO: Packet analysis {"connection_id":186561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:46:16] local.INFO: Extracted packet for processing {"connection_id":186561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46: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-19 07:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:46: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-19 07:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:46: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-19 07:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:46:16] local.INFO: GPS data processed {"connection_id":186561,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:46:16] local.INFO: Acknowledgment sent {"connection_id":186561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:46:22] local.INFO: TCP Data received {"connection_id":186562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:46:22] local.INFO: Processing buffer {"connection_id":186562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:46:22] local.INFO: IMEI packet received {"connection_id":186562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":186562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:46:30] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:30] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:30] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:46:33] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:33] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:33] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:46:39] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:39] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:46:39] local.INFO: IMEI packet received {"connection_id":186563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":186563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:46:39] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77321f8012d7c380005e1de20000600f524..."} 
[2026-09-19 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77321f8012d7c380005e1de20000600f524..."} 
[2026-09-19 07:46:39] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77321f8012d7c380005e1de20000600f524..."} 
[2026-09-19 07:46:39] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:46:39] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":98688544,"longitude_deg":76.311552,"latitude_deg":9.8688544,"altitude":6,"angle":245,"satellites":36,"speed":21,"hex_longitude":"2d7c3800","hex_latitude":"05e1de20","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184747520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134983318805413888,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951396865872437248,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784171000,"timestamp_ms":1789784171000,"timestamp_seconds":1789784171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77321f8"} 
[2026-09-19 07: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-19 07:46: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-19 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:46:39] 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-19 07: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-19 07: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-19 07:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184747520001,"66":13678,"43":206,"85":15104,"24":21,"16":134983318805413888,"45":8951396865872437248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 07:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184747520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:46:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 07:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134983318805413888,"km_value":134983318805413.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951396865872437248,"description":"Unknown IO ID 45"} 
[2026-09-19 07:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184747520001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8951396865872437248}} 
[2026-09-19 07:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:46:39] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:46:39] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:46:47] local.INFO: TCP Data received {"connection_id":186561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:47] local.INFO: Processing buffer {"connection_id":186561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:46:47] local.INFO: Packet analysis {"connection_id":186561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:46:47] local.INFO: Extracted packet for processing {"connection_id":186561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:46: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-19 07:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07: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-19 07:46: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-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:46: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-19 07: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-19 07: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-19 07:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:46:47] 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-19 07:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:46:47] local.INFO: GPS data processed {"connection_id":186561,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:46:47] local.INFO: Acknowledgment sent {"connection_id":186561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:47:10] local.INFO: TCP Data received {"connection_id":189306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:10] local.INFO: Processing buffer {"connection_id":189306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:10] local.INFO: IMEI packet received {"connection_id":189306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":189306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:47:11] local.INFO: TCP Data received {"connection_id":186563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77325e0012d7c360005e1dd800006010124..."} 
[2026-09-19 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77325e0012d7c360005e1dd800006010124..."} 
[2026-09-19 07:47:11] local.INFO: Processing buffer {"connection_id":186563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77325e0012d7c360005e1dd800006010124..."} 
[2026-09-19 07:47:11] local.INFO: Packet analysis {"connection_id":186563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:47:11] local.INFO: Extracted packet for processing {"connection_id":186563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":98688384,"longitude_deg":76.3115008,"latitude_deg":9.8688384,"altitude":6,"angle":257,"satellites":36,"speed":22,"hex_longitude":"2d7c3600","hex_latitude":"05e1dd80","is_valid_coordinates":true} 
[2026-09-19 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184747776001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134983344575217664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950904284663128064,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789784172000,"timestamp_ms":1789784172000,"timestamp_seconds":1789784172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77325e0"} 
[2026-09-19 07:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:47: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-19 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 07:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184747776001,"66":13613,"43":206,"85":15104,"24":22,"16":134983344575217664,"45":8950904284663128064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 07:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184747776001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134983344575217664,"km_value":134983344575217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950904284663128064,"description":"Unknown IO ID 45"} 
[2026-09-19 07:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184747776001,"power":13613,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8950904284663128064}} 
[2026-09-19 07:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":186563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:47:11] local.INFO: GPS data processed {"connection_id":186563,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:47:11] local.INFO: Acknowledgment sent {"connection_id":186563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:47:15] local.INFO: TCP Data received {"connection_id":189306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:15] local.INFO: Processing buffer {"connection_id":189306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:47:15] local.INFO: IMEI packet received {"connection_id":189306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":189306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:47:16] local.INFO: TCP Data received {"connection_id":189306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:16] local.INFO: Processing buffer {"connection_id":189306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:16] local.INFO: Packet analysis {"connection_id":189306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:47:16] local.INFO: Extracted packet for processing {"connection_id":189306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47: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-19 07:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:47: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-19 07:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:47: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-19 07:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":189306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:47:16] local.INFO: GPS data processed {"connection_id":189306,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:47:16] local.INFO: Acknowledgment sent {"connection_id":189306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:47:33] local.INFO: TCP Data received {"connection_id":186707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:34] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:34] local.INFO: IMEI packet received {"connection_id":186707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":186707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:47:39] local.INFO: TCP Data received {"connection_id":186707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:39] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:47:39] local.INFO: IMEI packet received {"connection_id":186707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":186707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:47:39] local.INFO: TCP Data received {"connection_id":186707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7732db0012d7c318005e1dd300006010e24..."} 
[2026-09-19 07:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7732db0012d7c318005e1dd300006010e24..."} 
[2026-09-19 07:47:39] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7732db0012d7c318005e1dd300006010e24..."} 
[2026-09-19 07:47:39] local.INFO: Packet analysis {"connection_id":186707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:47:39] local.INFO: Extracted packet for processing {"connection_id":186707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b773"} 
[2026-09-19 07:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98688304,"longitude_deg":76.3113856,"latitude_deg":9.8688304,"altitude":6,"angle":270,"satellites":36,"speed":23,"hex_longitude":"2d7c3180","hex_latitude":"05e1dd30","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184748032001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134983400409792512,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334709665792,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784174000,"timestamp_ms":1789784174000,"timestamp_seconds":1789784174,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7732db0"} 
[2026-09-19 07: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-19 07:47: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-19 07: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-19 07:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184748032001,"66":13602,"43":206,"85":15104,"24":23,"16":134983400409792512,"45":8950341334709665792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 07:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184748032001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:47:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 07:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134983400409792512,"km_value":134983400409792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334709665792,"description":"Unknown IO ID 45"} 
[2026-09-19 07:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184748032001,"power":13602,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8950341334709665792}} 
[2026-09-19 07:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":186707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:47:39] local.INFO: GPS data processed {"connection_id":186707,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:47:39] local.INFO: Acknowledgment sent {"connection_id":186707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:47:47] local.INFO: TCP Data received {"connection_id":189306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:47] local.INFO: Processing buffer {"connection_id":189306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:47:47] local.INFO: Packet analysis {"connection_id":189306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:47:47] local.INFO: Extracted packet for processing {"connection_id":189306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:47: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-19 07:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:47: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-19 07:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:47: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-19 07:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:47:47] 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-19 07:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":189306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:47:47] local.INFO: GPS data processed {"connection_id":189306,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:47:47] local.INFO: Acknowledgment sent {"connection_id":189306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:48:10] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:10] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:10] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:48:10] local.INFO: TCP Data received {"connection_id":186707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b774b068012d7b7c4005e1b5580006010725..."} 
[2026-09-19 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b774b068012d7b7c4005e1b5580006010725..."} 
[2026-09-19 07:48:10] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b774b068012d7b7c4005e1b5580006010725..."} 
[2026-09-19 07:48:10] local.INFO: Packet analysis {"connection_id":186707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:10] local.INFO: Extracted packet for processing {"connection_id":186707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":98678104,"longitude_deg":76.3067456,"latitude_deg":9.8678104,"altitude":6,"angle":263,"satellites":37,"speed":26,"hex_longitude":"2d7b7c40","hex_latitude":"05e1b558","is_valid_coordinates":true} 
[2026-09-19 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-19 07:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184772096001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901927638713124864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134985779821674496,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789784273000,"timestamp_ms":1789784273000,"timestamp_seconds":1789784273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b774b068"} 
[2026-09-19 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-19 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3077822864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789305856,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13454891,"corrected_to":0} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-2510756757881673984,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2412642304,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-3332662429391224827,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,144,160,113,64,187,5,37,10,66,35,192,189,6,39,43,1,240,203,227,183,225,4,205,25,207,38,239,53,2,223,8,115],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13454891,"validated":0},{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-19 07:48:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432618393435963392,"timestamp_seconds":432618393435963.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 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-19 07:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184772096001,"66":13472,"45":8901927638713124864,"85":15104,"24":26,"16":134985779821674496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184772096001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901927638713124864,"description":"Unknown IO ID 45"} 
[2026-09-19 07:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134985779821674496,"km_value":134985779821674.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:48:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184772096001,"power":13472,"unknown_45":8901927638713124864,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-09-19 07:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":186707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:48:10] local.INFO: GPS data processed {"connection_id":186707,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:48:10] local.INFO: Acknowledgment sent {"connection_id":186707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:48:15] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:15] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:48:15] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:48:16] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:16] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:16] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:48:16] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48: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-19 07:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07: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-19 07:48: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-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:48: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-19 07:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:48:16] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:48:16] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:48:33] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:33] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:33] local.INFO: IMEI packet received {"connection_id":189307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":189307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:48:36] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:36] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:36] local.INFO: IMEI packet received {"connection_id":189307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":189307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:48:38] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:38] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:48:38] local.INFO: IMEI packet received {"connection_id":189307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":189307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:48:39] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b774df48012d7b594005e1b2c80008010a24..."} 
[2026-09-19 07:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b774df48012d7b594005e1b2c80008010a24..."} 
[2026-09-19 07:48:39] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b774df48012d7b594005e1b2c80008010a24..."} 
[2026-09-19 07:48:39] local.INFO: Packet analysis {"connection_id":189307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:39] local.INFO: Extracted packet for processing {"connection_id":189307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98677448,"longitude_deg":76.3058496,"latitude_deg":9.8677448,"altitude":8,"angle":266,"satellites":36,"speed":30,"hex_longitude":"2d7b5940","hex_latitude":"05e1b2c8","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184773888001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357783029760,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134986213613371392,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784285000,"timestamp_ms":1789784285000,"timestamp_seconds":1789784285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b774df48"} 
[2026-09-19 07: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-19 07:48: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-19 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 07:48:39] 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-19 07: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-19 07: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-19 07:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184773888001,"66":13461,"45":8898057357783029760,"85":15104,"24":30,"16":134986213613371392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184773888001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357783029760,"description":"Unknown IO ID 45"} 
[2026-09-19 07:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134986213613371392,"km_value":134986213613371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:48:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184773888001,"power":13461,"unknown_45":8898057357783029760,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-09-19 07:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":189307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:48:39] local.INFO: GPS data processed {"connection_id":189307,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:48:39] local.INFO: Acknowledgment sent {"connection_id":189307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:48:44] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b774eb00012d7b504005e1b128000900fb25..."} 
[2026-09-19 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b774eb00012d7b504005e1b128000900fb25..."} 
[2026-09-19 07:48:44] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b774eb00012d7b504005e1b128000900fb25..."} 
[2026-09-19 07:48:44] local.INFO: Packet analysis {"connection_id":189307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:44] local.INFO: Extracted packet for processing {"connection_id":189307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b774"} 
[2026-09-19 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98677032,"longitude_deg":76.3056192,"latitude_deg":9.8677032,"altitude":9,"angle":251,"satellites":37,"speed":31,"hex_longitude":"2d7b5040","hex_latitude":"05e1b128","is_valid_coordinates":true} 
[2026-09-19 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-19 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184776960001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733597988864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134986325282521088,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789784288000,"timestamp_ms":1789784288000,"timestamp_seconds":1789784288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b774eb00"} 
[2026-09-19 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-19 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-19 07:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184776960001,"66":13037,"45":8888205733597988864,"85":15104,"24":31,"16":134986325282521088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184776960001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733597988864,"description":"Unknown IO ID 45"} 
[2026-09-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134986325282521088,"km_value":134986325282521.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184776960001,"power":13037,"unknown_45":8888205733597988864,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-09-19 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":189307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:48:44] local.INFO: GPS data processed {"connection_id":189307,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:48:44] local.INFO: Acknowledgment sent {"connection_id":189307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:48:47] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:47] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:48:47] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:48:47] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:48: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-19 07:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:48: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-19 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:48: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-19 07:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:48: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-19 07:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:48:47] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:48:47] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:49:10] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:10] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:10] local.INFO: IMEI packet received {"connection_id":187967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":187967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:49:15] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:15] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:49:15] local.INFO: IMEI packet received {"connection_id":187967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":187967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:49:15] local.INFO: TCP Data received {"connection_id":189307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7750e28012d7b424005e1ac70000800e527..."} 
[2026-09-19 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7750e28012d7b424005e1ac70000800e527..."} 
[2026-09-19 07:49:15] local.INFO: Processing buffer {"connection_id":189307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7750e28012d7b424005e1ac70000800e527..."} 
[2026-09-19 07:49:15] local.INFO: Packet analysis {"connection_id":189307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:15] local.INFO: Extracted packet for processing {"connection_id":189307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98675824,"longitude_deg":76.3052608,"latitude_deg":9.8675824,"altitude":8,"angle":229,"satellites":39,"speed":11,"hex_longitude":"2d7b4240","hex_latitude":"05e1ac70","is_valid_coordinates":true} 
[2026-09-19 07:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184777728001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458807486464,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134986505671147520,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789784297000,"timestamp_ms":1789784297000,"timestamp_seconds":1789784297,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7750e28"} 
[2026-09-19 07:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07: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-19 07:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-19 07:49:15] 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-19 07:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184777728001,"66":13135,"45":8885672458807486464,"85":15104,"24":11,"16":134986505671147520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184777728001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458807486464,"description":"Unknown IO ID 45"} 
[2026-09-19 07:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134986505671147520,"km_value":134986505671147.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:49:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184777728001,"power":13135,"unknown_45":8885672458807486464,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-09-19 07:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":189307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:49:15] local.INFO: GPS data processed {"connection_id":189307,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:49:15] local.INFO: Acknowledgment sent {"connection_id":189307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:49:16] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:49:16] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77135c8012d34c14006aa41400008010e29..."} 
[2026-09-19 07:49:16] local.INFO: Packet analysis {"connection_id":187967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:49:16] local.INFO: Extracted packet for processing {"connection_id":187967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b771"} 
[2026-09-19 07:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184638464001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49: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-19 07:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784045000,"timestamp_ms":1789784045000,"timestamp_seconds":1789784045,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77135c8"} 
[2026-09-19 07:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:49: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-19 07:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:49: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-19 07:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184638464001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184638464001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184638464001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":187967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:49:16] local.INFO: GPS data processed {"connection_id":187967,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:49:16] local.INFO: Acknowledgment sent {"connection_id":187967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:49:33] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:33] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:33] local.INFO: IMEI packet received {"connection_id":186709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":186709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:49:38] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:38] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:49:38] local.INFO: IMEI packet received {"connection_id":186709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":186709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:49:38] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775fc70012d7b4c4005e15de8000900dc24..."} 
[2026-09-19 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775fc70012d7b4c4005e15de8000900dc24..."} 
[2026-09-19 07:49:38] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775fc70012d7b4c4005e15de8000900dc24..."} 
[2026-09-19 07:49:38] local.INFO: Packet analysis {"connection_id":186709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:38] local.INFO: Extracted packet for processing {"connection_id":186709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":98655720,"longitude_deg":76.3055168,"latitude_deg":9.865572,"altitude":9,"angle":220,"satellites":36,"speed":11,"hex_longitude":"2d7b4c40","hex_latitude":"05e15de8","is_valid_coordinates":true} 
[2026-09-19 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-19 07:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184795392001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884757665127792640,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134987527873363968,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789784358000,"timestamp_ms":1789784358000,"timestamp_seconds":1789784358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775fc70"} 
[2026-09-19 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-19 07:49: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-19 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 07:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184795392001,"66":13091,"45":8884757665127792640,"85":15104,"24":11,"16":134987527873363968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184795392001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884757665127792640,"description":"Unknown IO ID 45"} 
[2026-09-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134987527873363968,"km_value":134987527873363.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:49:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184795392001,"power":13091,"unknown_45":8884757665127792640,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-09-19 07:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":186709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:49:38] local.INFO: GPS data processed {"connection_id":186709,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:49:38] local.INFO: Acknowledgment sent {"connection_id":186709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:49:48] local.INFO: TCP Data received {"connection_id":187967,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:49:48] local.INFO: Processing buffer {"connection_id":187967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:49:48] local.INFO: Packet analysis {"connection_id":187967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:48] local.INFO: Extracted packet for processing {"connection_id":187967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:49: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-19 07: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-19 07: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-19 07:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:49: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-19 07:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":187967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:49:48] local.INFO: GPS data processed {"connection_id":187967,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:49:48] local.INFO: Acknowledgment sent {"connection_id":187967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:50:09] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7760058012d7b4b8005e15d48000900f224..."} 
[2026-09-19 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7760058012d7b4b8005e15d48000900f224..."} 
[2026-09-19 07:50:09] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7760058012d7b4b8005e15d48000900f224..."} 
[2026-09-19 07:50:09] local.INFO: Packet analysis {"connection_id":186709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:50:09] local.INFO: Extracted packet for processing {"connection_id":186709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98655560,"longitude_deg":76.3054976,"latitude_deg":9.865556,"altitude":9,"angle":242,"satellites":36,"speed":9,"hex_longitude":"2d7b4b80","hex_latitude":"05e15d48","is_valid_coordinates":true} 
[2026-09-19 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-19 07:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184795648001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546558895187968,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134987540758265856,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789784359000,"timestamp_ms":1789784359000,"timestamp_seconds":1789784359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7760058"} 
[2026-09-19 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-19 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 07:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 07:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184795648001,"66":13602,"45":8884546558895187968,"85":15104,"24":9,"16":134987540758265856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184795648001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546558895187968,"description":"Unknown IO ID 45"} 
[2026-09-19 07:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134987540758265856,"km_value":134987540758265.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:50:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184795648001,"power":13602,"unknown_45":8884546558895187968,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-09-19 07:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":186709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:50:09] local.INFO: GPS data processed {"connection_id":186709,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:50:09] local.INFO: Acknowledgment sent {"connection_id":186709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:50:15] local.INFO: TCP Data received {"connection_id":189308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:15] local.INFO: Processing buffer {"connection_id":189308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:15] local.INFO: IMEI packet received {"connection_id":189308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":189308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:50:20] local.INFO: TCP Data received {"connection_id":189308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:20] local.INFO: Processing buffer {"connection_id":189308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:50:20] local.INFO: IMEI packet received {"connection_id":189308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":189308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:50:21] local.INFO: TCP Data received {"connection_id":189308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:21] local.INFO: Processing buffer {"connection_id":189308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:21] local.INFO: Packet analysis {"connection_id":189308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:50:21] local.INFO: Extracted packet for processing {"connection_id":189308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:50:21] 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-19 07:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:50:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":189308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:50:21] local.INFO: GPS data processed {"connection_id":189308,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:50:21] local.INFO: Acknowledgment sent {"connection_id":189308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:50:33] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:33] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:33] local.INFO: IMEI packet received {"connection_id":186710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":186710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:50:34] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:34] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:34] local.INFO: IMEI packet received {"connection_id":186710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":186710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:50:38] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:38] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:50:38] local.INFO: IMEI packet received {"connection_id":186710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":186710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:50:39] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7760440012d7b4a8005e15d000009010424..."} 
[2026-09-19 07:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7760440012d7b4a8005e15d000009010424..."} 
[2026-09-19 07:50:39] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7760440012d7b4a8005e15d000009010424..."} 
[2026-09-19 07:50:39] local.INFO: Packet analysis {"connection_id":186710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:50:39] local.INFO: Extracted packet for processing {"connection_id":186710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":98655488,"longitude_deg":76.305472,"latitude_deg":9.8655488,"altitude":9,"angle":260,"satellites":36,"speed":7,"hex_longitude":"2d7b4a80","hex_latitude":"05e15d00","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184795904001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452662614016,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134987553643167744,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784360000,"timestamp_ms":1789784360000,"timestamp_seconds":1789784360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7760440"} 
[2026-09-19 07: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-19 07:50: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-19 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-19 07:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184795904001,"66":13602,"45":8884335452662614016,"85":15104,"24":7,"16":134987553643167744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184795904001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452662614016,"description":"Unknown IO ID 45"} 
[2026-09-19 07:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134987553643167744,"km_value":134987553643167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:50:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184795904001,"power":13602,"unknown_45":8884335452662614016,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-09-19 07:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":186710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:50:39] local.INFO: GPS data processed {"connection_id":186710,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:50:39] local.INFO: Acknowledgment sent {"connection_id":186710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:50:52] local.INFO: TCP Data received {"connection_id":189308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:52] local.INFO: Processing buffer {"connection_id":189308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:50:52] local.INFO: Packet analysis {"connection_id":189308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:50:52] local.INFO: Extracted packet for processing {"connection_id":189308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:50: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-19 07:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:50: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-19 07:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 07:50: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-19 07:50: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-19 07:50: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-19 07:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:50:52] 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-19 07:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":189308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:50:52] local.INFO: GPS data processed {"connection_id":189308,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:50:52] local.INFO: Acknowledgment sent {"connection_id":189308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:10] local.INFO: TCP Data received {"connection_id":187968,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:10] local.INFO: Processing buffer {"connection_id":187968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:10] local.INFO: IMEI packet received {"connection_id":187968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":187968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:51:10] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7760828012d7b490005e15cf80009012523..."} 
[2026-09-19 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7760828012d7b490005e15cf80009012523..."} 
[2026-09-19 07:51:10] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7760828012d7b490005e15cf80009012523..."} 
[2026-09-19 07:51:10] local.INFO: Packet analysis {"connection_id":186710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:51:10] local.INFO: Extracted packet for processing {"connection_id":186710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b776"} 
[2026-09-19 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":98655480,"longitude_deg":76.3054336,"latitude_deg":9.865548,"altitude":9,"angle":293,"satellites":35,"speed":8,"hex_longitude":"2d7b4900","hex_latitude":"05e15cf8","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184796160001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977685884928,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134987570823036928,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789784361000,"timestamp_ms":1789784361000,"timestamp_seconds":1789784361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7760828"} 
[2026-09-19 07: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-19 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-19 07:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184796160001,"66":13602,"45":8884053977685884928,"85":15104,"24":8,"16":134987570823036928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184796160001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977685884928,"description":"Unknown IO ID 45"} 
[2026-09-19 07:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134987570823036928,"km_value":134987570823036.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184796160001,"power":13602,"unknown_45":8884053977685884928,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-09-19 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":186710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:51:10] local.INFO: GPS data processed {"connection_id":186710,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:51:10] local.INFO: Acknowledgment sent {"connection_id":186710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:15] local.INFO: TCP Data received {"connection_id":187968,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:15] local.INFO: Processing buffer {"connection_id":187968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:51:15] local.INFO: IMEI packet received {"connection_id":187968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":187968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:51:16] local.INFO: TCP Data received {"connection_id":187968,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:16] local.INFO: Processing buffer {"connection_id":187968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:16] local.INFO: Packet analysis {"connection_id":187968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:51:16] local.INFO: Extracted packet for processing {"connection_id":187968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51: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-19 07:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:51: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-19 07:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":187968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:51:16] local.INFO: GPS data processed {"connection_id":187968,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:51:16] local.INFO: Acknowledgment sent {"connection_id":187968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:38] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: IMEI packet received {"connection_id":186711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":186711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:51:38] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:38] local.INFO: IMEI packet received {"connection_id":186711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":186711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:51:43] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:43] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:51:43] local.INFO: IMEI packet received {"connection_id":186711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":186711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:51:44] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b777b1f0012d7b20c005e285280000015e1c..."} 
[2026-09-19 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b777b1f0012d7b20c005e285280000015e1c..."} 
[2026-09-19 07:51:44] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b777b1f0012d7b20c005e285280000015e1c..."} 
[2026-09-19 07:51:44] local.INFO: Packet analysis {"connection_id":186711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:51:44] local.INFO: Extracted packet for processing {"connection_id":186711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":98731304,"longitude_deg":76.3044032,"latitude_deg":9.8731304,"altitude":0,"angle":350,"satellites":28,"speed":36,"hex_longitude":"2d7b20c0","hex_latitude":"05e28528","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184821760001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141052880896,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134991298854649856,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 07:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789784470000,"timestamp_ms":1789784470000,"timestamp_seconds":1789784470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b777b1f0"} 
[2026-09-19 07: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-19 07:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3077980864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221610921,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2472542208,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":225,"raw_value":7045881651404023296,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783694336,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.WARNING: Large IO value detected {"io_id":118,"raw_value":1713620953067798533,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,149,160,88,192,58,31,10,66,33,64,21,26,148,223,1,240,7,227,183,225,4,113,205,39,133,248,29,239,53,2,5,118],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-19 07:51:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":391554990800896,"timestamp_seconds":391554990800.896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07: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-19 07:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184821760001,"66":13406,"45":8873780141052880896,"85":15104,"24":36,"16":134991298854649856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 07:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184821760001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141052880896,"description":"Unknown IO ID 45"} 
[2026-09-19 07:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134991298854649856,"km_value":134991298854649.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:51:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458184821760001,"power":13406,"unknown_45":8873780141052880896,"unknown_85":15104,"ignition":36,"odometer":null}} 
[2026-09-19 07:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":186711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:51:44] local.INFO: GPS data processed {"connection_id":186711,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:51:44] local.INFO: Acknowledgment sent {"connection_id":186711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:48] local.INFO: TCP Data received {"connection_id":187968,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:48] local.INFO: Processing buffer {"connection_id":187968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:51:48] local.INFO: Packet analysis {"connection_id":187968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:51:48] local.INFO: Extracted packet for processing {"connection_id":187968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07: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-19 07: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-19 07: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-19 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:51: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-19 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":187968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:51:48] local.INFO: GPS data processed {"connection_id":187968,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:51:48] local.INFO: Acknowledgment sent {"connection_id":187968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:49] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b777d900012d7b1b8005e2aae80000015f1f..."} 
[2026-09-19 07:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b777d900012d7b1b8005e2aae80000015f1f..."} 
[2026-09-19 07:51:49] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b777d900012d7b1b8005e2aae80000015f1f..."} 
[2026-09-19 07:51:49] local.INFO: Packet analysis {"connection_id":186711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:51:49] local.INFO: Extracted packet for processing {"connection_id":186711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763042688,"raw_latitude":98740968,"longitude_deg":76.3042688,"latitude_deg":9.8740968,"altitude":0,"angle":351,"satellites":31,"speed":43,"hex_longitude":"2d7b1b80","hex_latitude":"05e2aae8","is_valid_coordinates":true} 
[2026-09-19 07:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184824320001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134991771301052416,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302397427623936,"note":"Value kept but may cause issues"} 
[2026-09-19 07:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789784480000,"timestamp_ms":1789784480000,"timestamp_seconds":1789784480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b777d900"} 
[2026-09-19 07:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184824320001,"66":13406,"207":206,"85":15104,"24":43,"16":134991771301052416,"45":8872302397427623936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184824320001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:51:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134991771301052416,"km_value":134991771301052.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302397427623936,"description":"Unknown IO ID 45"} 
[2026-09-19 07:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184824320001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8872302397427623936}} 
[2026-09-19 07:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":186711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:51:49] local.INFO: GPS data processed {"connection_id":186711,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:51:49] local.INFO: Acknowledgment sent {"connection_id":186711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:51:58] local.INFO: TCP Data received {"connection_id":186564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:51:58] local.INFO: Processing buffer {"connection_id":186564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:51:58] local.INFO: IMEI packet received {"connection_id":186564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":186564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:52:09] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:09] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:09] local.INFO: IMEI packet received {"connection_id":186565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:52:15] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:15] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:52:15] local.INFO: IMEI packet received {"connection_id":186565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:52:16] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:16] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:16] local.INFO: Packet analysis {"connection_id":186565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:52:16] local.INFO: Extracted packet for processing {"connection_id":186565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52: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-19 07:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:52:16] 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-19 07:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":186565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:52:16] local.INFO: GPS data processed {"connection_id":186565,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:52:16] local.INFO: Acknowledgment sent {"connection_id":186565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:52:29] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:29] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:29] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:52:33] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:33] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:33] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:52:39] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:39] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:52:39] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:52:40] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b777f840012d7b160005e2d0e0000001601a..."} 
[2026-09-19 07:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b777f840012d7b160005e2d0e0000001601a..."} 
[2026-09-19 07:52:40] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b777f840012d7b160005e2d0e0000001601a..."} 
[2026-09-19 07:52:40] local.INFO: Packet analysis {"connection_id":186712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:52:40] local.INFO: Extracted packet for processing {"connection_id":186712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b777"} 
[2026-09-19 07:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98750688,"longitude_deg":76.304128,"latitude_deg":9.8750688,"altitude":0,"angle":352,"satellites":26,"speed":51,"hex_longitude":"2d7b1600","hex_latitude":"05e2d0e0","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184826880001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134992248042422272,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870824653802366976,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789784488000,"timestamp_ms":1789784488000,"timestamp_seconds":1789784488,"priority":1,"record_length":96,"hex_timestamp":"000001a0b777f840"} 
[2026-09-19 07: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-19 07:52: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-19 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 07:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07: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-19 07: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-19 07:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184826880001,"66":13493,"207":206,"85":15104,"24":51,"16":134992248042422272,"45":8870824653802366976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184826880001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:52:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134992248042422272,"km_value":134992248042422.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870824653802366976,"description":"Unknown IO ID 45"} 
[2026-09-19 07:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184826880001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8870824653802366976}} 
[2026-09-19 07:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":186712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:52:40] local.INFO: GPS data processed {"connection_id":186712,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:52:40] local.INFO: Acknowledgment sent {"connection_id":186712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:52:47] local.INFO: TCP Data received {"connection_id":186565,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:47] local.INFO: Processing buffer {"connection_id":186565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:52:47] local.INFO: Packet analysis {"connection_id":186565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:52:47] local.INFO: Extracted packet for processing {"connection_id":186565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:52: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-19 07:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:52: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-19 07: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-19 07: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-19 07:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:52:47] 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-19 07:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:52:47] local.INFO: GPS data processed {"connection_id":186565,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:52:47] local.INFO: Acknowledgment sent {"connection_id":186565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:53:10] local.INFO: TCP Data received {"connection_id":186713,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:10] local.INFO: Processing buffer {"connection_id":186713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:10] local.INFO: IMEI packet received {"connection_id":186713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:53:12] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7781780012d7b114005e2f5300000016019..."} 
[2026-09-19 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7781780012d7b114005e2f5300000016019..."} 
[2026-09-19 07:53:12] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7781780012d7b114005e2f5300000016019..."} 
[2026-09-19 07:53:12] local.INFO: Packet analysis {"connection_id":186712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:12] local.INFO: Extracted packet for processing {"connection_id":186712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98759984,"longitude_deg":76.3040064,"latitude_deg":9.8759984,"altitude":0,"angle":352,"satellites":25,"speed":36,"hex_longitude":"2d7b1140","hex_latitude":"05e2f530","is_valid_coordinates":true} 
[2026-09-19 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184828928001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134992699013988352,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541432946688,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789784496000,"timestamp_ms":1789784496000,"timestamp_seconds":1789784496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7781780"} 
[2026-09-19 07:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 07:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184828928001,"66":13200,"207":206,"85":15104,"24":36,"16":134992699013988352,"45":8869276541432946688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184828928001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:53:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134992699013988352,"km_value":134992699013988.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541432946688,"description":"Unknown IO ID 45"} 
[2026-09-19 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184828928001,"power":13200,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8869276541432946688}} 
[2026-09-19 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":186712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:53:12] local.INFO: GPS data processed {"connection_id":186712,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:53:12] local.INFO: Acknowledgment sent {"connection_id":186712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:53:15] local.INFO: TCP Data received {"connection_id":186713,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:15] local.INFO: Processing buffer {"connection_id":186713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:53:15] local.INFO: IMEI packet received {"connection_id":186713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":186713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:53:16] local.INFO: TCP Data received {"connection_id":186713,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:16] local.INFO: Processing buffer {"connection_id":186713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:16] local.INFO: Packet analysis {"connection_id":186713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:53:16] local.INFO: Extracted packet for processing {"connection_id":186713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53: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-19 07:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07: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-19 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07: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-19 07: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-19 07:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:53: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-19 07:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:53:16] local.INFO: GPS data processed {"connection_id":186713,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:53:16] local.INFO: Acknowledgment sent {"connection_id":186713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:53:34] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:34] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:34] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:53:35] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:35] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:35] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:53:39] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:39] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:53:39] local.INFO: IMEI packet received {"connection_id":186566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":186566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:53:40] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77865a0012d7b0d8005e30d380000016215..."} 
[2026-09-19 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77865a0012d7b0d8005e30d380000016215..."} 
[2026-09-19 07:53:40] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77865a0012d7b0d8005e30d380000016215..."} 
[2026-09-19 07:53:40] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:40] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98766136,"longitude_deg":76.3039104,"latitude_deg":9.8766136,"altitude":0,"angle":354,"satellites":21,"speed":0,"hex_longitude":"2d7b0d80","hex_latitude":"05e30d38","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184830976001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134993008251633664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535295950848,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789784516000,"timestamp_ms":1789784516000,"timestamp_seconds":1789784516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77865a0"} 
[2026-09-19 07: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-19 07:53: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-19 07:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-19 07:53:40] 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-19 07: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-19 07: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-19 07:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184830976001,"66":13243,"207":206,"85":15104,"24":0,"16":134993008251633664,"45":8867939535295950848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-19 07:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184830976001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:53:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 07:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134993008251633664,"km_value":134993008251633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535295950848,"description":"Unknown IO ID 45"} 
[2026-09-19 07:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184830976001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867939535295950848}} 
[2026-09-19 07:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:53:40] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:53:40] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:53:44] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7787540012d7b0d8005e30eb00000000415..."} 
[2026-09-19 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7787540012d7b0d8005e30eb00000000415..."} 
[2026-09-19 07:53:44] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7787540012d7b0d8005e30eb00000000415..."} 
[2026-09-19 07:53:44] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:44] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98766512,"longitude_deg":76.3039104,"latitude_deg":9.8766512,"altitude":0,"angle":4,"satellites":21,"speed":8,"hex_longitude":"2d7b0d80","hex_latitude":"05e30eb0","is_valid_coordinates":true} 
[2026-09-19 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184836096001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134993029726470144,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004134860800,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789784520000,"timestamp_ms":1789784520000,"timestamp_seconds":1789784520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7787540"} 
[2026-09-19 07:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 07:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 07:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184836096001,"66":13319,"208":206,"85":15104,"24":8,"16":134993029726470144,"45":8866884004134860800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 07:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184836096001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:53:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 07:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134993029726470144,"km_value":134993029726470.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004134860800,"description":"Unknown IO ID 45"} 
[2026-09-19 07:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184836096001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866884004134860800}} 
[2026-09-19 07:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:53:44] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:53:44] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:53:47] local.INFO: TCP Data received {"connection_id":186713,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:47] local.INFO: Processing buffer {"connection_id":186713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:53:47] local.INFO: Packet analysis {"connection_id":186713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:53:47] local.INFO: Extracted packet for processing {"connection_id":186713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:53: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-19 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:53:47] local.INFO: GPS data processed {"connection_id":186713,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:53:47] local.INFO: Acknowledgment sent {"connection_id":186713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:54:10] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:10] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:10] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:54:15] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:15] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:54:15] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:54:16] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:54:16] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b775cd90012d34c14006aa41400008010e27..."} 
[2026-09-19 07:54:16] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:54:16] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b775"} 
[2026-09-19 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184715520001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54: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-19 07:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784346000,"timestamp_ms":1789784346000,"timestamp_seconds":1789784346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b775cd90"} 
[2026-09-19 07:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 07:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 07:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:54: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-19 07:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184715520001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184715520001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184715520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:54:16] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:54:16] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:54:22] local.INFO: TCP Data received {"connection_id":186566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7787d10012d7b0d4005e310480000015f16..."} 
[2026-09-19 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7787d10012d7b0d4005e310480000015f16..."} 
[2026-09-19 07:54:22] local.INFO: Processing buffer {"connection_id":186566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7787d10012d7b0d4005e310480000015f16..."} 
[2026-09-19 07:54:22] local.INFO: Packet analysis {"connection_id":186566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:54:22] local.INFO: Extracted packet for processing {"connection_id":186566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b778"} 
[2026-09-19 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98766920,"longitude_deg":76.303904,"latitude_deg":9.876692,"altitude":0,"angle":351,"satellites":22,"speed":8,"hex_longitude":"2d7b0d40","hex_latitude":"05e31048","is_valid_coordinates":true} 
[2026-09-19 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184837120001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134993051201306624,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004134957056,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789784522000,"timestamp_ms":1789784522000,"timestamp_seconds":1789784522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7787d10"} 
[2026-09-19 07:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3078064864,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4204110252173434624,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":177,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221611141,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2514419712,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3797903360,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.WARNING: Large IO value detected {"io_id":119,"raw_value":6347824969630269445,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,208,85,24,241,157,16,151,160,101,45,128,13,21,10,66,207,23,64,245,25,248,1,240,181,227,150,183,226,4,113,205,43,177,32,40,28,239,52,2,223,5,35,7,119],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-19 07:54:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4488241348608,"timestamp_seconds":4488241348.608,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 07:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 07:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 07:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 07:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 07:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184837120001,"66":13363,"208":206,"85":15104,"24":8,"16":134993051201306624,"45":8866884004134957056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 07:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 07:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 07:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184837120001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:54:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 07:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 07:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134993051201306624,"km_value":134993051201306.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004134957056,"description":"Unknown IO ID 45"} 
[2026-09-19 07:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184837120001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866884004134957056}} 
[2026-09-19 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":186566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:54:22] local.INFO: GPS data processed {"connection_id":186566,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:54:22] local.INFO: Acknowledgment sent {"connection_id":186566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:54:48] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:54:48] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:54:48] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:54:48] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07: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-19 07:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07: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-19 07:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:54: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-19 07: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-19 07: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-19 07:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:54:48] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:54:48] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:55:15] local.INFO: TCP Data received {"connection_id":189310,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:15] local.INFO: Processing buffer {"connection_id":189310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:15] local.INFO: IMEI packet received {"connection_id":189310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":189310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:55:20] local.INFO: TCP Data received {"connection_id":189310,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:20] local.INFO: Processing buffer {"connection_id":189310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:55:20] local.INFO: IMEI packet received {"connection_id":189310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":189310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:55:21] local.INFO: TCP Data received {"connection_id":189310,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:21] local.INFO: Processing buffer {"connection_id":189310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:21] local.INFO: Packet analysis {"connection_id":189310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:55:21] local.INFO: Extracted packet for processing {"connection_id":189310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 07:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:55:21] 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-19 07:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:55:21] 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-19 07:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":189310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:55:21] local.INFO: GPS data processed {"connection_id":189310,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:55:21] local.INFO: Acknowledgment sent {"connection_id":189310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:55:47] local.INFO: TCP Data received {"connection_id":187969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:47] local.INFO: Processing buffer {"connection_id":187969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:47] local.INFO: IMEI packet received {"connection_id":187969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 07:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":187969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:55:48] local.INFO: TCP Data received {"connection_id":187969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:48] local.INFO: Processing buffer {"connection_id":187969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:48] local.INFO: IMEI packet received {"connection_id":187969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":187969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:55:49] local.INFO: TCP Data received {"connection_id":187969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: Processing buffer {"connection_id":187969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: IMEI packet received {"connection_id":187969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":187969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:55:49] local.INFO: TCP Data received {"connection_id":187969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: Processing buffer {"connection_id":187969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 07:55:49] local.INFO: IMEI packet received {"connection_id":187969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 07:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":187969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:55:53] local.INFO: TCP Data received {"connection_id":189310,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:53] local.INFO: Processing buffer {"connection_id":189310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:55:53] local.INFO: Packet analysis {"connection_id":189310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:55:53] local.INFO: Extracted packet for processing {"connection_id":189310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:55: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-19 07:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:55:53] 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-19 07:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:55:53] 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-19 07:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":189310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:55:53] local.INFO: GPS data processed {"connection_id":189310,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:55:53] local.INFO: Acknowledgment sent {"connection_id":189310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:56:10] local.INFO: TCP Data received {"connection_id":189311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:10] local.INFO: Processing buffer {"connection_id":189311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:10] local.INFO: IMEI packet received {"connection_id":189311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":189311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:56:15] local.INFO: TCP Data received {"connection_id":189311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:15] local.INFO: Processing buffer {"connection_id":189311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:56:15] local.INFO: IMEI packet received {"connection_id":189311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":189311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:56:16] local.INFO: TCP Data received {"connection_id":189311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:16] local.INFO: Processing buffer {"connection_id":189311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:16] local.INFO: Packet analysis {"connection_id":189311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:56:16] local.INFO: Extracted packet for processing {"connection_id":189311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56: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-19 07:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07: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-19 07:56: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-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:56:16] 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-19 07: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-19 07: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-19 07:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:56:16] 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-19 07:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":189311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:56:16] local.INFO: GPS data processed {"connection_id":189311,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:56:16] local.INFO: Acknowledgment sent {"connection_id":189311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:56:48] local.INFO: TCP Data received {"connection_id":189311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:48] local.INFO: Processing buffer {"connection_id":189311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:56:48] local.INFO: Packet analysis {"connection_id":189311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:56:48] local.INFO: Extracted packet for processing {"connection_id":189311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:56: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-19 07:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:56: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-19 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:56: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-19 07:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:56: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-19 07:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":189311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:56:48] local.INFO: GPS data processed {"connection_id":189311,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:56:48] local.INFO: Acknowledgment sent {"connection_id":189311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:57:10] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:10] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:10] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:57:15] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:15] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:57:15] local.INFO: IMEI packet received {"connection_id":186568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:57:16] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:16] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:16] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:57:16] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57: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-19 07:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:57: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-19 07:57:16] local.INFO: IO Element 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-19 07:57:16] 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-19 07:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:57:16] 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-19 07:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:57:16] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:57:16] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:57:18] local.INFO: TCP Data received {"connection_id":189309,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:57:18] local.INFO: Processing buffer {"connection_id":189309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 07:57:18] local.INFO: IMEI packet received {"connection_id":189309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 07:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":189309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:57:47] local.INFO: TCP Data received {"connection_id":186568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:47] local.INFO: Processing buffer {"connection_id":186568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:57:47] local.INFO: Packet analysis {"connection_id":186568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:57:47] local.INFO: Extracted packet for processing {"connection_id":186568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:57: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-19 07:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:57: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-19 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:57:47] 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-19 07:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:57: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-19 07:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":186568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:57:47] local.INFO: GPS data processed {"connection_id":186568,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:57:47] local.INFO: Acknowledgment sent {"connection_id":186568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:58:10] local.INFO: TCP Data received {"connection_id":189313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:10] local.INFO: Processing buffer {"connection_id":189313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:10] local.INFO: IMEI packet received {"connection_id":189313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":189313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:58:15] local.INFO: TCP Data received {"connection_id":189313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:15] local.INFO: Processing buffer {"connection_id":189313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:58:15] local.INFO: IMEI packet received {"connection_id":189313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":189313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:58:16] local.INFO: TCP Data received {"connection_id":189313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:16] local.INFO: Processing buffer {"connection_id":189313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:16] local.INFO: Packet analysis {"connection_id":189313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:58:16] local.INFO: Extracted packet for processing {"connection_id":189313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 07:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58: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-19 07:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 07:58: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-19 07:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:58:16] 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-19 07:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 07:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 07:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:58:16] 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-19 07:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":189313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:58:16] local.INFO: GPS data processed {"connection_id":189313,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:58:16] local.INFO: Acknowledgment sent {"connection_id":189313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:58:47] local.INFO: TCP Data received {"connection_id":189313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:47] local.INFO: Processing buffer {"connection_id":189313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:58:47] local.INFO: Packet analysis {"connection_id":189313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:58:47] local.INFO: Extracted packet for processing {"connection_id":189313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:58: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-19 07:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07: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-19 07:58: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-19 07: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:58:47] 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-19 07: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-19 07: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-19 07:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:58: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-19 07:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":189313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:58:47] local.INFO: GPS data processed {"connection_id":189313,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:58:47] local.INFO: Acknowledgment sent {"connection_id":189313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:59:10] local.INFO: TCP Data received {"connection_id":189314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:10] local.INFO: Processing buffer {"connection_id":189314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:10] local.INFO: IMEI packet received {"connection_id":189314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 07:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":189314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 07:59:15] local.INFO: TCP Data received {"connection_id":189314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:15] local.INFO: Processing buffer {"connection_id":189314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 07:59:15] local.INFO: IMEI packet received {"connection_id":189314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 07:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":189314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 07:59:16] local.INFO: TCP Data received {"connection_id":189314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:16] local.INFO: Processing buffer {"connection_id":189314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77a6558012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:16] local.INFO: Packet analysis {"connection_id":189314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:59:16] local.INFO: Extracted packet for processing {"connection_id":189314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77a"} 
[2026-09-19 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184792576001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59: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-19 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784647000,"timestamp_ms":1789784647000,"timestamp_seconds":1789784647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77a6558"} 
[2026-09-19 07: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-19 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 07:59:16] 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-19 07: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-19 07: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-19 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:59:16] 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-19 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184792576001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 07:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184792576001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 07:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184792576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":189314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:59:16] local.INFO: GPS data processed {"connection_id":189314,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:59:16] local.INFO: Acknowledgment sent {"connection_id":189314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 07:59:47] local.INFO: TCP Data received {"connection_id":189314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:47] local.INFO: Processing buffer {"connection_id":189314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 07:59:47] local.INFO: Packet analysis {"connection_id":189314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 07:59:47] local.INFO: Extracted packet for processing {"connection_id":189314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 07: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-19 07:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 07:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 07:59: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-19 07:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 07: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-19 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 07:59: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-19 07: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-19 07: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-19 07:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 07:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 07:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 07: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-19 07:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 07:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 07:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 07:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 07:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 07:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 07:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 07:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 07:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 07:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 07:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":189314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 07:59:47] local.INFO: GPS data processed {"connection_id":189314,"processed":1,"errors":0,"total":1} 
[2026-09-19 07:59:47] local.INFO: Acknowledgment sent {"connection_id":189314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:00:15] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:15] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:15] local.INFO: IMEI packet received {"connection_id":186715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":186715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:00:20] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:20] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:00:20] local.INFO: IMEI packet received {"connection_id":186715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":186715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:00:21] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:21] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:21] local.INFO: Packet analysis {"connection_id":186715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:00:21] local.INFO: Extracted packet for processing {"connection_id":186715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00:21] 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-19 08:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:00:21] 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-19 08:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":186715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:00:21] local.INFO: GPS data processed {"connection_id":186715,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:00:21] local.INFO: Acknowledgment sent {"connection_id":186715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:00:52] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:52] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:00:52] local.INFO: Packet analysis {"connection_id":186715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:00:52] local.INFO: Extracted packet for processing {"connection_id":186715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:00: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-19 08:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:00:52] 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-19 08:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:00:52] local.INFO: GPS data processed {"connection_id":186715,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:00:52] local.INFO: Acknowledgment sent {"connection_id":186715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:01:10] local.INFO: TCP Data received {"connection_id":189315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:10] local.INFO: Processing buffer {"connection_id":189315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:10] local.INFO: IMEI packet received {"connection_id":189315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":189315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:01:15] local.INFO: TCP Data received {"connection_id":189315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:15] local.INFO: Processing buffer {"connection_id":189315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:01:15] local.INFO: IMEI packet received {"connection_id":189315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":189315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:01:16] local.INFO: TCP Data received {"connection_id":189315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:16] local.INFO: Processing buffer {"connection_id":189315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:16] local.INFO: Packet analysis {"connection_id":189315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:01:16] local.INFO: Extracted packet for processing {"connection_id":189315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01:16] 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-19 08:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:01:16] 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-19 08:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":189315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:01:16] local.INFO: GPS data processed {"connection_id":189315,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:01:16] local.INFO: Acknowledgment sent {"connection_id":189315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:01:48] local.INFO: TCP Data received {"connection_id":189315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:48] local.INFO: Processing buffer {"connection_id":189315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:01:48] local.INFO: Packet analysis {"connection_id":189315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:01:48] local.INFO: Extracted packet for processing {"connection_id":189315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:01: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-19 08:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08: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-19 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:01: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-19 08: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-19 08: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-19 08:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:01: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-19 08:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":189315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:01:48] local.INFO: GPS data processed {"connection_id":189315,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:01:48] local.INFO: Acknowledgment sent {"connection_id":189315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:02:10] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:10] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:10] local.INFO: IMEI packet received {"connection_id":186570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:02:15] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:15] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:02:15] local.INFO: IMEI packet received {"connection_id":186570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:02:16] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:16] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:16] local.INFO: Packet analysis {"connection_id":186570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:16] local.INFO: Extracted packet for processing {"connection_id":186570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:16] 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-19 08:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08: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-19 08:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:02:16] 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-19 08:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":186570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:02:16] local.INFO: GPS data processed {"connection_id":186570,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:02:16] local.INFO: Acknowledgment sent {"connection_id":186570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:02:33] local.INFO: TCP Data received {"connection_id":189316,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:33] local.INFO: Processing buffer {"connection_id":189316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:33] local.INFO: IMEI packet received {"connection_id":189316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":189316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:02:38] local.INFO: TCP Data received {"connection_id":189316,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:38] local.INFO: Processing buffer {"connection_id":189316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:02:38] local.INFO: IMEI packet received {"connection_id":189316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":189316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:02:39] local.INFO: TCP Data received {"connection_id":189316,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77e9f60012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77e9f60012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:02:39] local.INFO: Processing buffer {"connection_id":189316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77e9f60012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:02:39] local.INFO: Packet analysis {"connection_id":189316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:39] local.INFO: Extracted packet for processing {"connection_id":189316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855056,"longitude_deg":76.2977472,"latitude_deg":9.8855056,"altitude":5,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184935168001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134999184414605312,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903514533888,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789784924000,"timestamp_ms":1789784924000,"timestamp_seconds":1789784924,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77e9f60"} 
[2026-09-19 08: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-19 08:02: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-19 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 08:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184935168001,"66":13037,"208":206,"85":15104,"24":0,"16":134999184414605312,"45":8799118903514533888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184935168001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134999184414605312,"km_value":134999184414605.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903514533888,"description":"Unknown IO ID 45"} 
[2026-09-19 08:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184935168001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799118903514533888}} 
[2026-09-19 08:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":189316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:02:39] local.INFO: GPS data processed {"connection_id":189316,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:02:39] local.INFO: Acknowledgment sent {"connection_id":189316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:02:48] local.INFO: TCP Data received {"connection_id":186570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:48] local.INFO: Processing buffer {"connection_id":186570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:02:48] local.INFO: Packet analysis {"connection_id":186570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:48] local.INFO: Extracted packet for processing {"connection_id":186570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:02: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-19 08:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:02: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-19 08:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:02: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-19 08:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":186570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:02:48] local.INFO: GPS data processed {"connection_id":186570,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:02:48] local.INFO: Acknowledgment sent {"connection_id":186570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:02:52] local.INFO: TCP Data received {"connection_id":186569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:02:52] local.INFO: Processing buffer {"connection_id":186569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:02:52] local.INFO: IMEI packet received {"connection_id":186569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":186569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:03:10] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:10] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:10] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:03:11] local.INFO: TCP Data received {"connection_id":189316,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77eab18012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77eab18012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:03:11] local.INFO: Processing buffer {"connection_id":189316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77eab18012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:03:11] local.INFO: Packet analysis {"connection_id":189316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:11] local.INFO: Extracted packet for processing {"connection_id":189316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855056,"longitude_deg":76.2977472,"latitude_deg":9.8855056,"altitude":5,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-09-19 08:03: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-19 08:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184940544001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134999184414605312,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903514533888,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789784927000,"timestamp_ms":1789784927000,"timestamp_seconds":1789784927,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77eab18"} 
[2026-09-19 08:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:03: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-19 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-19 08:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184940544001,"66":13015,"208":206,"85":15104,"24":0,"16":134999184414605312,"45":8799118903514533888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184940544001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:03:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134999184414605312,"km_value":134999184414605.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903514533888,"description":"Unknown IO ID 45"} 
[2026-09-19 08:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184940544001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799118903514533888}} 
[2026-09-19 08:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":189316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:03:11] local.INFO: GPS data processed {"connection_id":189316,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:03:11] local.INFO: Acknowledgment sent {"connection_id":189316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:03:15] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:15] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:03:15] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:03:16] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:16] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:16] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:16] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:16] 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-19 08:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:03:16] 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-19 08:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:03:16] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:03:16] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:03:48] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:48] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:03:48] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:48] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:03: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-19 08:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 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-19 08:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:03: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-19 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-19 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-19 08:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:03: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-19 08:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:03:48] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:03:48] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:04:10] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:10] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:10] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:04:15] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:15] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:04:15] local.INFO: IMEI packet received {"connection_id":186571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":186571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:04:16] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:16] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:16] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:04:16] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04:16] 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-19 08:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:04:16] 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-19 08:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:04:16] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:04:16] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:04:48] local.INFO: TCP Data received {"connection_id":186571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:48] local.INFO: Processing buffer {"connection_id":186571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77efd20012d34c14006aa41400008010e28..."} 
[2026-09-19 08:04:48] local.INFO: Packet analysis {"connection_id":186571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:04:48] local.INFO: Extracted packet for processing {"connection_id":186571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184869632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:04: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-19 08:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789784948000,"timestamp_ms":1789784948000,"timestamp_seconds":1789784948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77efd20"} 
[2026-09-19 08: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-19 08:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:04: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-19 08: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-19 08: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-19 08:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:04: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-19 08:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184869632001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184869632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184869632001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":186571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:04:48] local.INFO: GPS data processed {"connection_id":186571,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:04:48] local.INFO: Acknowledgment sent {"connection_id":186571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:05:15] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:15] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:15] local.INFO: IMEI packet received {"connection_id":187971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":187971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:05:20] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:20] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:05:20] local.INFO: IMEI packet received {"connection_id":187971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":187971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:05:21] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:21] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:21] local.INFO: Packet analysis {"connection_id":187971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:05:21] local.INFO: Extracted packet for processing {"connection_id":187971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:21] 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-19 08:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:05:21] 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-19 08:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":187971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:05:21] local.INFO: GPS data processed {"connection_id":187971,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:05:21] local.INFO: Acknowledgment sent {"connection_id":187971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:05:38] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:38] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:38] local.INFO: IMEI packet received {"connection_id":187972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":187972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:05:43] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:43] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:05:43] local.INFO: IMEI packet received {"connection_id":187972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":187972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:05:45] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:45] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:45] local.INFO: Packet analysis {"connection_id":187972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:05:45] local.INFO: Extracted packet for processing {"connection_id":187972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:05:45] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855056,"longitude_deg":76.2977472,"latitude_deg":9.8855056,"altitude":5,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-09-19 08:05:45] 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-19 08:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184941312001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134999184414605312,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903514533888,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789784928000,"timestamp_ms":1789784928000,"timestamp_seconds":1789784928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77eaf00"} 
[2026-09-19 08:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:05: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-19 08:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 08:05:45] 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-19 08:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184941312001,"66":13015,"208":206,"85":15104,"24":0,"16":134999184414605312,"45":8799118903514533888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184941312001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:05:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134999184414605312,"km_value":134999184414605.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903514533888,"description":"Unknown IO ID 45"} 
[2026-09-19 08:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184941312001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799118903514533888}} 
[2026-09-19 08:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":187972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:05:45] local.INFO: GPS data processed {"connection_id":187972,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:05:45] local.INFO: Acknowledgment sent {"connection_id":187972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:05:49] local.INFO: TCP Data received {"connection_id":187972,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:49] local.INFO: Processing buffer {"connection_id":187972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b77eaf00012d7a1cc005e46890000500ed28..."} 
[2026-09-19 08:05:49] local.INFO: Packet analysis {"connection_id":187972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:05:49] local.INFO: Extracted packet for processing {"connection_id":187972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b77e"} 
[2026-09-19 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855056,"longitude_deg":76.2977472,"latitude_deg":9.8855056,"altitude":5,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-09-19 08:05:49] 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-19 08:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184941568001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134999184414605312,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903514533888,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789784928000,"timestamp_ms":1789784928000,"timestamp_seconds":1789784928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b77eaf00"} 
[2026-09-19 08:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:05: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-19 08:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 08:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184941568001,"66":13015,"208":206,"85":15104,"24":0,"16":134999184414605312,"45":8799118903514533888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184941568001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:05:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134999184414605312,"km_value":134999184414605.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903514533888,"description":"Unknown IO ID 45"} 
[2026-09-19 08:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184941568001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799118903514533888}} 
[2026-09-19 08:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":187972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:05:49] local.INFO: GPS data processed {"connection_id":187972,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:05:49] local.INFO: Acknowledgment sent {"connection_id":187972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:05:52] local.INFO: TCP Data received {"connection_id":187971,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:52] local.INFO: Processing buffer {"connection_id":187971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:05:52] local.INFO: Packet analysis {"connection_id":187971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:05:52] local.INFO: Extracted packet for processing {"connection_id":187971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:05: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-19 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:05: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-19 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:05:52] 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-19 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":187971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:05:52] local.INFO: GPS data processed {"connection_id":187971,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:05:52] local.INFO: Acknowledgment sent {"connection_id":187971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:06:12] local.INFO: TCP Data received {"connection_id":189317,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:12] local.INFO: Processing buffer {"connection_id":189317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:12] local.INFO: IMEI packet received {"connection_id":189317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":189317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:06:15] local.INFO: TCP Data received {"connection_id":189317,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:15] local.INFO: Processing buffer {"connection_id":189317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:06:15] local.INFO: IMEI packet received {"connection_id":189317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":189317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:06:16] local.INFO: TCP Data received {"connection_id":189317,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:16] local.INFO: Processing buffer {"connection_id":189317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:16] local.INFO: Packet analysis {"connection_id":189317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:06:16] local.INFO: Extracted packet for processing {"connection_id":189317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06:16] 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-19 08:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08: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-19 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:06:16] 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-19 08:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":189317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:06:16] local.INFO: GPS data processed {"connection_id":189317,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:06:16] local.INFO: Acknowledgment sent {"connection_id":189317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:06:47] local.INFO: TCP Data received {"connection_id":189317,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:47] local.INFO: Processing buffer {"connection_id":189317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:06:47] local.INFO: Packet analysis {"connection_id":189317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:06:47] local.INFO: Extracted packet for processing {"connection_id":189317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:06: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-19 08:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08: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-19 08: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-19 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:06: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-19 08: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-19 08: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-19 08:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:06: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-19 08:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":189317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:06:47] local.INFO: GPS data processed {"connection_id":189317,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:06:47] local.INFO: Acknowledgment sent {"connection_id":189317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:07:10] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:10] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:10] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:07:15] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:15] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:07:15] local.INFO: IMEI packet received {"connection_id":187973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":187973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:07:16] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:16] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:16] local.INFO: Packet analysis {"connection_id":187973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:07:16] local.INFO: Extracted packet for processing {"connection_id":187973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07:16] 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-19 08:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:07: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-19 08:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":187973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:07:16] local.INFO: GPS data processed {"connection_id":187973,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:07:16] local.INFO: Acknowledgment sent {"connection_id":187973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:07:48] local.INFO: TCP Data received {"connection_id":187973,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:48] local.INFO: Processing buffer {"connection_id":187973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:07:48] local.INFO: Packet analysis {"connection_id":187973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:07:48] local.INFO: Extracted packet for processing {"connection_id":187973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:07: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-19 08:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08: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-19 08:07: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-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:07: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-19 08: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-19 08: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-19 08:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:07: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-19 08:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":187973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:07:48] local.INFO: GPS data processed {"connection_id":187973,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:07:48] local.INFO: Acknowledgment sent {"connection_id":187973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:08:10] local.INFO: TCP Data received {"connection_id":189318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:10] local.INFO: Processing buffer {"connection_id":189318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:10] local.INFO: IMEI packet received {"connection_id":189318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":189318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:08:15] local.INFO: TCP Data received {"connection_id":189318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:15] local.INFO: Processing buffer {"connection_id":189318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:08:15] local.INFO: IMEI packet received {"connection_id":189318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":189318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:08:16] local.INFO: TCP Data received {"connection_id":189318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:16] local.INFO: Processing buffer {"connection_id":189318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:16] local.INFO: Packet analysis {"connection_id":189318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:08:16] local.INFO: Extracted packet for processing {"connection_id":189318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08:16] 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-19 08:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:08: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-19 08:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:08:16] 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-19 08:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":189318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:08:16] local.INFO: GPS data processed {"connection_id":189318,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:08:16] local.INFO: Acknowledgment sent {"connection_id":189318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:08:28] local.INFO: TCP Data received {"connection_id":187970,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:08:28] local.INFO: Processing buffer {"connection_id":187970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:08:28] local.INFO: IMEI packet received {"connection_id":187970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":187970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:08:47] local.INFO: TCP Data received {"connection_id":189318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:47] local.INFO: Processing buffer {"connection_id":189318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:08:47] local.INFO: Packet analysis {"connection_id":189318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:08:47] local.INFO: Extracted packet for processing {"connection_id":189318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:08: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-19 08:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08: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-19 08:08: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-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:08: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-19 08: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-19 08: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-19 08:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:08:47] 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-19 08:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":189318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:08:47] local.INFO: GPS data processed {"connection_id":189318,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:08:47] local.INFO: Acknowledgment sent {"connection_id":189318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:09:09] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:09] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:09] local.INFO: IMEI packet received {"connection_id":187974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":187974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:09:15] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:15] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:09:15] local.INFO: IMEI packet received {"connection_id":187974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":187974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:09:16] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:16] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:16] local.INFO: Packet analysis {"connection_id":187974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:09:16] local.INFO: Extracted packet for processing {"connection_id":187974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09:16] 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-19 08:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08: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-19 08:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:09: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-19 08:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":187974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:09:16] local.INFO: GPS data processed {"connection_id":187974,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:09:16] local.INFO: Acknowledgment sent {"connection_id":187974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:09:47] local.INFO: TCP Data received {"connection_id":187974,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:47] local.INFO: Processing buffer {"connection_id":187974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78394e8012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:09:47] local.INFO: Packet analysis {"connection_id":187974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:09:47] local.INFO: Extracted packet for processing {"connection_id":187974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b783"} 
[2026-09-19 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458184946688001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:09: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-19 08:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785249000,"timestamp_ms":1789785249000,"timestamp_seconds":1789785249,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78394e8"} 
[2026-09-19 08:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:09: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-19 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:09: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-19 08:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:09: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-19 08:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458184946688001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458184946688001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458184946688001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":187974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:09:47] local.INFO: GPS data processed {"connection_id":187974,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:09:47] local.INFO: Acknowledgment sent {"connection_id":187974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:10:15] local.INFO: TCP Data received {"connection_id":189319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:15] local.INFO: Processing buffer {"connection_id":189319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:15] local.INFO: IMEI packet received {"connection_id":189319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":189319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:10:20] local.INFO: TCP Data received {"connection_id":189319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:20] local.INFO: Processing buffer {"connection_id":189319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:10:20] local.INFO: IMEI packet received {"connection_id":189319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":189319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:10:21] local.INFO: TCP Data received {"connection_id":189319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:21] local.INFO: Processing buffer {"connection_id":189319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:21] local.INFO: Packet analysis {"connection_id":189319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:10:21] local.INFO: Extracted packet for processing {"connection_id":189319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10:21] 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-19 08:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:10:21] 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-19 08:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:10:21] 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-19 08:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":189319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:10:21] local.INFO: GPS data processed {"connection_id":189319,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:10:21] local.INFO: Acknowledgment sent {"connection_id":189319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:10:52] local.INFO: TCP Data received {"connection_id":189319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:52] local.INFO: Processing buffer {"connection_id":189319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:10:52] local.INFO: Packet analysis {"connection_id":189319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:10:52] local.INFO: Extracted packet for processing {"connection_id":189319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:10: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-19 08:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:10:52] 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-19 08:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:10: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-19 08:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":189319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:10:52] local.INFO: GPS data processed {"connection_id":189319,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:10:52] local.INFO: Acknowledgment sent {"connection_id":189319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:11:10] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:10] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:10] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:11:15] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:15] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:11:15] local.INFO: IMEI packet received {"connection_id":187976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":187976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:11:16] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:16] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:16] local.INFO: Packet analysis {"connection_id":187976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:11:16] local.INFO: Extracted packet for processing {"connection_id":187976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11:16] 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-19 08:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:11:16] 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-19 08:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:11: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-19 08:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":187976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:11:16] local.INFO: GPS data processed {"connection_id":187976,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:11:16] local.INFO: Acknowledgment sent {"connection_id":187976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:11:48] local.INFO: TCP Data received {"connection_id":187976,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:48] local.INFO: Processing buffer {"connection_id":187976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:11:48] local.INFO: Packet analysis {"connection_id":187976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:11:48] local.INFO: Extracted packet for processing {"connection_id":187976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:11: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-19 08:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:11: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-19 08:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:11: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-19 08:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":187976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:11:48] local.INFO: GPS data processed {"connection_id":187976,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:11:48] local.INFO: Acknowledgment sent {"connection_id":187976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:12:10] local.INFO: TCP Data received {"connection_id":189320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:10] local.INFO: Processing buffer {"connection_id":189320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:10] local.INFO: IMEI packet received {"connection_id":189320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":189320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:12:15] local.INFO: TCP Data received {"connection_id":189320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:15] local.INFO: Processing buffer {"connection_id":189320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:12:15] local.INFO: IMEI packet received {"connection_id":189320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":189320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:12:16] local.INFO: TCP Data received {"connection_id":189320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:16] local.INFO: Processing buffer {"connection_id":189320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:16] local.INFO: Packet analysis {"connection_id":189320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:12:16] local.INFO: Extracted packet for processing {"connection_id":189320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12:16] 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-19 08:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08: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-19 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:12:16] 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-19 08: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-19 08: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-19 08:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:12: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-19 08:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":189320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:12:16] local.INFO: GPS data processed {"connection_id":189320,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:12:16] local.INFO: Acknowledgment sent {"connection_id":189320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:12:47] local.INFO: TCP Data received {"connection_id":189320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:47] local.INFO: Processing buffer {"connection_id":189320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:12:47] local.INFO: Packet analysis {"connection_id":189320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:12:47] local.INFO: Extracted packet for processing {"connection_id":189320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:12: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-19 08:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08: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-19 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:12:47] 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-19 08: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-19 08: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-19 08:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:12: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-19 08:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":189320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:12:47] local.INFO: GPS data processed {"connection_id":189320,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:12:47] local.INFO: Acknowledgment sent {"connection_id":189320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:13:10] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:10] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:10] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:13:15] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:15] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:13:15] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:13:16] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:16] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:16] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:13:16] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13:16] 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-19 08:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:13:16] 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-19 08:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:13: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-19 08:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:13:16] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:13:16] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:13:47] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:47] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:13:47] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:13:47] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:13: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-19 08:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:13:47] 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-19 08:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:13: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-19 08:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:13:47] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:13:47] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:14:03] local.INFO: TCP Data received {"connection_id":187975,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:14:03] local.INFO: Processing buffer {"connection_id":187975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:14:03] local.INFO: IMEI packet received {"connection_id":187975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":187975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:14:15] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:15] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:15] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:14:20] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:20] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:14:20] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:14:21] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:21] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:21] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:14:21] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:21] 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-19 08:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:14:21] 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-19 08:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:14:21] 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-19 08:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:14:21] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:14:21] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:14:25] local.INFO: TCP Data received {"connection_id":186718,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:25] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7882cb0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:14:25] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:14:25] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b788"} 
[2026-09-19 08:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185023744001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:14:25] 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-19 08:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789785550000,"timestamp_ms":1789785550000,"timestamp_seconds":1789785550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7882cb0"} 
[2026-09-19 08:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:14:25] 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-19 08:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:14:25] 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-19 08:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185023744001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185023744001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185023744001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:14:25] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:14:25] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:15:10] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:10] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:10] local.INFO: IMEI packet received {"connection_id":187977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":187977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:15:15] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:15] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:15:15] local.INFO: IMEI packet received {"connection_id":187977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":187977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:15:16] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:16] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:16] local.INFO: Packet analysis {"connection_id":187977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:15:16] local.INFO: Extracted packet for processing {"connection_id":187977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15:16] 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-19 08:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:15: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-19 08:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":187977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:15:16] local.INFO: GPS data processed {"connection_id":187977,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:15:16] local.INFO: Acknowledgment sent {"connection_id":187977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:15:48] local.INFO: TCP Data received {"connection_id":187977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:48] local.INFO: Processing buffer {"connection_id":187977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:15:48] local.INFO: Packet analysis {"connection_id":187977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:15:48] local.INFO: Extracted packet for processing {"connection_id":187977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:15: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-19 08:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:15: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-19 08:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:15: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-19 08:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":187977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:15:48] local.INFO: GPS data processed {"connection_id":187977,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:15:48] local.INFO: Acknowledgment sent {"connection_id":187977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:16:10] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:10] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:10] local.INFO: IMEI packet received {"connection_id":187978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":187978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:16:15] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:15] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:16:15] local.INFO: IMEI packet received {"connection_id":187978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":187978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:16:16] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:16] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:16] local.INFO: Packet analysis {"connection_id":187978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:16:16] local.INFO: Extracted packet for processing {"connection_id":187978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16:16] 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-19 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:16:16] 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-19 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":187978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:16:16] local.INFO: GPS data processed {"connection_id":187978,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:16:16] local.INFO: Acknowledgment sent {"connection_id":187978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:16:47] local.INFO: TCP Data received {"connection_id":187978,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:47] local.INFO: Processing buffer {"connection_id":187978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:16:47] local.INFO: Packet analysis {"connection_id":187978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:16:47] local.INFO: Extracted packet for processing {"connection_id":187978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:16: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-19 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 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-19 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:16: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-19 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-19 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-19 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:16:47] 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-19 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":187978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:16:47] local.INFO: GPS data processed {"connection_id":187978,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:16:47] local.INFO: Acknowledgment sent {"connection_id":187978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:17:09] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:09] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:09] local.INFO: IMEI packet received {"connection_id":187979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":187979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:17:15] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:15] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:17:15] local.INFO: IMEI packet received {"connection_id":187979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":187979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:17:16] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:16] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:16] local.INFO: Packet analysis {"connection_id":187979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:17:16] local.INFO: Extracted packet for processing {"connection_id":187979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17:16] 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-19 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:17:16] 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-19 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":187979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:17:16] local.INFO: GPS data processed {"connection_id":187979,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:17:16] local.INFO: Acknowledgment sent {"connection_id":187979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:17:47] local.INFO: TCP Data received {"connection_id":187979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:47] local.INFO: Processing buffer {"connection_id":187979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:17:47] local.INFO: Packet analysis {"connection_id":187979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:17:47] local.INFO: Extracted packet for processing {"connection_id":187979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:17: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-19 08:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:17: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-19 08:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:17: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-19 08:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":187979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:17:47] local.INFO: GPS data processed {"connection_id":187979,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:17:47] local.INFO: Acknowledgment sent {"connection_id":187979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:18:10] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:10] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:10] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:18:15] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:15] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:18:15] local.INFO: IMEI packet received {"connection_id":186573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:18:16] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:16] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:16] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:18:16] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18:16] 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-19 08:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08: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-19 08:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:18: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-19 08:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:18:16] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:18:16] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:18:47] local.INFO: TCP Data received {"connection_id":186573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:47] local.INFO: Processing buffer {"connection_id":186573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:18:47] local.INFO: Packet analysis {"connection_id":186573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:18:47] local.INFO: Extracted packet for processing {"connection_id":186573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:18: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-19 08:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08: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-19 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:18: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-19 08: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-19 08: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-19 08:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:18: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-19 08:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:18:47] local.INFO: GPS data processed {"connection_id":186573,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:18:47] local.INFO: Acknowledgment sent {"connection_id":186573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:19:09] local.INFO: TCP Data received {"connection_id":189321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:09] local.INFO: Processing buffer {"connection_id":189321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:09] local.INFO: IMEI packet received {"connection_id":189321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":189321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:19:15] local.INFO: TCP Data received {"connection_id":189321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:15] local.INFO: Processing buffer {"connection_id":189321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:19:15] local.INFO: IMEI packet received {"connection_id":189321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":189321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:19:16] local.INFO: TCP Data received {"connection_id":189321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:16] local.INFO: Processing buffer {"connection_id":189321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:16] local.INFO: Packet analysis {"connection_id":189321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:19:16] local.INFO: Extracted packet for processing {"connection_id":189321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19:16] 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-19 08:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08: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-19 08:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:19: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-19 08:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":189321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:19:16] local.INFO: GPS data processed {"connection_id":189321,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:19:16] local.INFO: Acknowledgment sent {"connection_id":189321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:19:47] local.INFO: TCP Data received {"connection_id":189321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:47] local.INFO: Processing buffer {"connection_id":189321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b78cc478012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:19:47] local.INFO: Packet analysis {"connection_id":189321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:19:47] local.INFO: Extracted packet for processing {"connection_id":189321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b78c"} 
[2026-09-19 08:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185100800001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:19: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-19 08:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789785851000,"timestamp_ms":1789785851000,"timestamp_seconds":1789785851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b78cc478"} 
[2026-09-19 08:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:19: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-19 08:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:19:47] 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-19 08:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185100800001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185100800001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185100800001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":189321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:19:47] local.INFO: GPS data processed {"connection_id":189321,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:19:47] local.INFO: Acknowledgment sent {"connection_id":189321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:19:53] local.INFO: TCP Data received {"connection_id":187980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:19:53] local.INFO: Processing buffer {"connection_id":187980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:19:53] local.INFO: IMEI packet received {"connection_id":187980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":187980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:19:59] local.INFO: TCP Data received {"connection_id":186719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:19:59] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:19:59] local.INFO: IMEI packet received {"connection_id":186719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":186719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:20:03] local.INFO: TCP Data received {"connection_id":186719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:03] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:03] local.INFO: IMEI packet received {"connection_id":186719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":186719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:20:06] local.INFO: TCP Data received {"connection_id":186719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7903360012d7a1a4005e466d80005010a2c..."} 
[2026-09-19 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7903360012d7a1a4005e466d80005010a2c..."} 
[2026-09-19 08:20:06] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7903360012d7a1a4005e466d80005010a2c..."} 
[2026-09-19 08:20:06] local.INFO: Packet analysis {"connection_id":186719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b790"} 
[2026-09-19 08:20:06] local.INFO: Extracted packet for processing {"connection_id":186719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b790"} 
[2026-09-19 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854616,"longitude_deg":76.2976832,"latitude_deg":9.8854616,"altitude":5,"angle":266,"satellites":44,"speed":6,"hex_longitude":"2d7a1a40","hex_latitude":"05e466d8","is_valid_coordinates":true} 
[2026-09-19 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185235200001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":134999218774343680,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584816832512,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:06] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-19 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789786076000,"timestamp_ms":1789786076000,"timestamp_seconds":1789786076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7903360"} 
[2026-09-19 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185235200001,"66":13450,"24":6,"16":134999218774343680,"45":8798485584816832512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-19 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185235200001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":134999218774343680,"km_value":134999218774343.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584816832512,"description":"Unknown IO ID 45"} 
[2026-09-19 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458185235200001,"power":13450,"ignition":6,"odometer":null,"unknown_45":8798485584816832512}} 
[2026-09-19 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":186719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:20:06] local.INFO: GPS data processed {"connection_id":186719,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:20:06] local.INFO: Acknowledgment sent {"connection_id":186719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:20:15] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:15] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:15] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:20:20] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:20] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:20:20] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:20:21] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:21] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:21] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:20:21] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:21] 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-19 08:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:20:21] 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-19 08:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:20:21] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:20:21] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:20:34] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:34] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:34] local.INFO: IMEI packet received {"connection_id":186721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":186721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:20:36] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:36] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:20:36] local.INFO: IMEI packet received {"connection_id":186721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":186721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:20:52] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:52] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:20:52] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:20:52] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08: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-19 08:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08: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-19 08: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-19 08: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-19 08: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-19 08: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-19 08:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:20:52] 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-19 08:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:20:52] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:20:52] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:21:11] local.INFO: TCP Data received {"connection_id":189322,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:11] local.INFO: Processing buffer {"connection_id":189322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:11] local.INFO: IMEI packet received {"connection_id":189322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":189322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:21:16] local.INFO: TCP Data received {"connection_id":189322,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:16] local.INFO: Processing buffer {"connection_id":189322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:21:16] local.INFO: IMEI packet received {"connection_id":189322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":189322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:21:17] local.INFO: TCP Data received {"connection_id":189322,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:17] local.INFO: Processing buffer {"connection_id":189322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:17] local.INFO: Packet analysis {"connection_id":189322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:17] local.INFO: Extracted packet for processing {"connection_id":189322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:17] 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-19 08:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:21: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-19 08:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:17] 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-19 08:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":189322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:21:17] local.INFO: GPS data processed {"connection_id":189322,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:21:17] local.INFO: Acknowledgment sent {"connection_id":189322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:21:20] local.INFO: TCP Data received {"connection_id":189322,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:20] local.INFO: Processing buffer {"connection_id":189322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:20] local.INFO: Packet analysis {"connection_id":189322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:20] local.INFO: Extracted packet for processing {"connection_id":189322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:20] 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-19 08:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08: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-19 08: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-19 08:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:20] 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-19 08:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":189322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:21:20] local.INFO: GPS data processed {"connection_id":189322,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:21:20] local.INFO: Acknowledgment sent {"connection_id":189322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:21:51] local.INFO: TCP Data received {"connection_id":189322,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:51] local.INFO: Processing buffer {"connection_id":189322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:21:51] local.INFO: Packet analysis {"connection_id":189322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:51] local.INFO: Extracted packet for processing {"connection_id":189322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:21:51] 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-19 08:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08: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-19 08: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-19 08:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:21:51] 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-19 08:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":189322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:21:51] local.INFO: GPS data processed {"connection_id":189322,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:21:51] local.INFO: Acknowledgment sent {"connection_id":189322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:22:09] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:09] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:09] local.INFO: IMEI packet received {"connection_id":187981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":187981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:22:15] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:15] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:22:15] local.INFO: IMEI packet received {"connection_id":187981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":187981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:22:16] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:16] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:16] local.INFO: Packet analysis {"connection_id":187981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:22:16] local.INFO: Extracted packet for processing {"connection_id":187981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22:16] 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-19 08:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:22: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-19 08:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:22: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-19 08:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":187981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:22:16] local.INFO: GPS data processed {"connection_id":187981,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:22:16] local.INFO: Acknowledgment sent {"connection_id":187981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:22:48] local.INFO: TCP Data received {"connection_id":187981,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:48] local.INFO: Processing buffer {"connection_id":187981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:22:48] local.INFO: Packet analysis {"connection_id":187981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:22:48] local.INFO: Extracted packet for processing {"connection_id":187981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:22: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-19 08:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08:22: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-19 08: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:22: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-19 08: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-19 08: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-19 08:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:22: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-19 08:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":187981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:22:48] local.INFO: GPS data processed {"connection_id":187981,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:22:48] local.INFO: Acknowledgment sent {"connection_id":187981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:23:09] local.INFO: TCP Data received {"connection_id":189323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:09] local.INFO: Processing buffer {"connection_id":189323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:09] local.INFO: IMEI packet received {"connection_id":189323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":189323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:23:15] local.INFO: TCP Data received {"connection_id":189323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:15] local.INFO: Processing buffer {"connection_id":189323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:23:15] local.INFO: IMEI packet received {"connection_id":189323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":189323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:23:16] local.INFO: TCP Data received {"connection_id":189323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:16] local.INFO: Processing buffer {"connection_id":189323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:16] local.INFO: Packet analysis {"connection_id":189323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:23:16] local.INFO: Extracted packet for processing {"connection_id":189323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:23:16] 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-19 08:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:23: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-19 08:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:23: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-19 08:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":189323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:23:16] local.INFO: GPS data processed {"connection_id":189323,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:23:16] local.INFO: Acknowledgment sent {"connection_id":189323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:23:48] local.INFO: TCP Data received {"connection_id":189323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:48] local.INFO: Processing buffer {"connection_id":189323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:23:48] local.INFO: Packet analysis {"connection_id":189323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:23:48] local.INFO: Extracted packet for processing {"connection_id":189323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08: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-19 08:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08:23: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-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:23: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-19 08: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-19 08: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-19 08:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:23: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-19 08:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":189323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:23:48] local.INFO: GPS data processed {"connection_id":189323,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:23:48] local.INFO: Acknowledgment sent {"connection_id":189323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:24:09] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:09] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:09] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:24:15] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:15] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:24:15] local.INFO: IMEI packet received {"connection_id":186574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":186574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:24:16] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:16] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:16] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:24:16] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:16] 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-19 08:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:24: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-19 08:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 08:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:24: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-19 08:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:24:16] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:24:16] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:24:25] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:25] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:25] local.INFO: IMEI packet received {"connection_id":186575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":186575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:24:26] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:26] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:26] local.INFO: IMEI packet received {"connection_id":186575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":186575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:24:30] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:30] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:24:30] local.INFO: IMEI packet received {"connection_id":186575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":186575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:24:33] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7961f00012d7af4c005e38bb0000500a42a..."} 
[2026-09-19 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7961f00012d7af4c005e38bb0000500a42a..."} 
[2026-09-19 08:24:33] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7961f00012d7af4c005e38bb0000500a42a..."} 
[2026-09-19 08:24:33] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:24:33] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763032768,"raw_latitude":98798512,"longitude_deg":76.3032768,"latitude_deg":9.8798512,"altitude":5,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d7af4c0","hex_latitude":"05e38bb0","is_valid_coordinates":true} 
[2026-09-19 08:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185329664001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135003737079939072,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859636023492907008,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789786464000,"timestamp_ms":1789786464000,"timestamp_seconds":1789786464,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7961f00"} 
[2026-09-19 08:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":57983845203968000,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080049864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2513750017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3355508736,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308288,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2703687680,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:33] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,208,85,24,241,16,161,160,204,45,192,140,9,41,10,66,201,128,141,177,1,240,198,183,4,113,205,212,239,2,52,223],"length":486,"final_offset":616,"validated_count":32,"validation_warnings":[]} 
[2026-09-19 08:24:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576631352699584512,"timestamp_seconds":576631352699584.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185329664001,"66":13243,"208":206,"85":15104,"24":0,"16":135003737079939072,"45":8859636023492907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185329664001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:24:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135003737079939072,"km_value":135003737079939.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859636023492907008,"description":"Unknown IO ID 45"} 
[2026-09-19 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185329664001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859636023492907008}} 
[2026-09-19 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:24:33] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:24:33] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:24:48] local.INFO: TCP Data received {"connection_id":186574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:48] local.INFO: Processing buffer {"connection_id":186574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7915c40012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:24:48] local.INFO: Packet analysis {"connection_id":186574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:24:48] local.INFO: Extracted packet for processing {"connection_id":186574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b791"} 
[2026-09-19 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185177856001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:24: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-19 08:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786152000,"timestamp_ms":1789786152000,"timestamp_seconds":1789786152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7915c40"} 
[2026-09-19 08: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-19 08:24: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-19 08: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-19 08: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-19 08: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-19 08: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-19 08:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:24: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-19 08:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185177856001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185177856001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185177856001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:24:48] local.INFO: GPS data processed {"connection_id":186574,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:24:48] local.INFO: Acknowledgment sent {"connection_id":186574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:25:05] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7967108012d7af54005e38c10000500a428..."} 
[2026-09-19 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7967108012d7af54005e38c10000500a428..."} 
[2026-09-19 08:25:05] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7967108012d7af54005e38c10000500a428..."} 
[2026-09-19 08:25:05] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:25:05] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763032896,"raw_latitude":98798608,"longitude_deg":76.3032896,"latitude_deg":9.8798608,"altitude":5,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d7af540","hex_latitude":"05e38c10","is_valid_coordinates":true} 
[2026-09-19 08:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185334784001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135003749964840960,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859917498469560320,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789786485000,"timestamp_ms":1789786485000,"timestamp_seconds":1789786485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7967108"} 
[2026-09-19 08:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:25:05] 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-19 08:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 08:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185334784001,"66":12341,"208":206,"85":15104,"24":0,"16":135003749964840960,"45":8859917498469560320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185334784001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:25:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135003749964840960,"km_value":135003749964840.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859917498469560320,"description":"Unknown IO ID 45"} 
[2026-09-19 08:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185334784001,"power":12341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859917498469560320}} 
[2026-09-19 08:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:25:05] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:25:05] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:25:10] local.INFO: TCP Data received {"connection_id":189325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:10] local.INFO: Processing buffer {"connection_id":189325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:10] local.INFO: IMEI packet received {"connection_id":189325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":189325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:25:15] local.INFO: TCP Data received {"connection_id":189325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:15] local.INFO: Processing buffer {"connection_id":189325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:25:15] local.INFO: IMEI packet received {"connection_id":189325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":189325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:25:16] local.INFO: TCP Data received {"connection_id":189325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:16] local.INFO: Processing buffer {"connection_id":189325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:16] local.INFO: Packet analysis {"connection_id":189325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:25:16] local.INFO: Extracted packet for processing {"connection_id":189325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:16] 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-19 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:25: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-19 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:25: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-19 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":189325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:25:16] local.INFO: GPS data processed {"connection_id":189325,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:25:16] local.INFO: Acknowledgment sent {"connection_id":189325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:25:23] local.INFO: TCP Data received {"connection_id":189324,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:25:23] local.INFO: Processing buffer {"connection_id":189324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:25:23] local.INFO: IMEI packet received {"connection_id":189324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":189324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:25:37] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b796c310012d7af54005e38c70000400a42c..."} 
[2026-09-19 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b796c310012d7af54005e38c70000400a42c..."} 
[2026-09-19 08:25:37] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b796c310012d7af54005e38c70000400a42c..."} 
[2026-09-19 08:25:37] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:25:37] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b796"} 
[2026-09-19 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763032896,"raw_latitude":98798704,"longitude_deg":76.3032896,"latitude_deg":9.8798704,"altitude":4,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d7af540","hex_latitude":"05e38c70","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185340160001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135003754259808256,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860058235957940224,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789786506000,"timestamp_ms":1789786506000,"timestamp_seconds":1789786506,"priority":1,"record_length":96,"hex_timestamp":"000001a0b796c310"} 
[2026-09-19 08: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-19 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 08:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185340160001,"66":13189,"208":206,"85":15104,"24":0,"16":135003754259808256,"45":8860058235957940224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185340160001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:25:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135003754259808256,"km_value":135003754259808.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860058235957940224,"description":"Unknown IO ID 45"} 
[2026-09-19 08:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185340160001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8860058235957940224}} 
[2026-09-19 08:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:25:37] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:25:37] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:25:47] local.INFO: TCP Data received {"connection_id":189325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:47] local.INFO: Processing buffer {"connection_id":189325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:25:47] local.INFO: Packet analysis {"connection_id":189325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:25:47] local.INFO: Extracted packet for processing {"connection_id":189325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:25: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-19 08:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:25: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-19 08:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:25: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-19 08:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:25:47] 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-19 08:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":189325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:25:47] local.INFO: GPS data processed {"connection_id":189325,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:25:47] local.INFO: Acknowledgment sent {"connection_id":189325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:26:08] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7971518012d7af4c005e38c40000400a42c..."} 
[2026-09-19 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7971518012d7af4c005e38c40000400a42c..."} 
[2026-09-19 08:26:08] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7971518012d7af4c005e38c40000400a42c..."} 
[2026-09-19 08:26:08] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:26:08] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763032768,"raw_latitude":98798656,"longitude_deg":76.3032768,"latitude_deg":9.8798656,"altitude":4,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d7af4c0","hex_latitude":"05e38c40","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135003762849742848,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860058235957964800,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789786527000,"timestamp_ms":1789786527000,"timestamp_seconds":1789786527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7971518"} 
[2026-09-19 08: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-19 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185345536001,"66":12809,"208":206,"85":15104,"24":0,"16":135003762849742848,"45":8860058235957964800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:26:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135003762849742848,"km_value":135003762849742.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860058235957964800,"description":"Unknown IO ID 45"} 
[2026-09-19 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185345536001,"power":12809,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8860058235957964800}} 
[2026-09-19 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:26:08] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:26:08] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:26:10] local.INFO: TCP Data received {"connection_id":189326,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:10] local.INFO: Processing buffer {"connection_id":189326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:10] local.INFO: IMEI packet received {"connection_id":189326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":189326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:26:15] local.INFO: TCP Data received {"connection_id":189326,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:15] local.INFO: Processing buffer {"connection_id":189326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:26:15] local.INFO: IMEI packet received {"connection_id":189326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":189326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:26:16] local.INFO: TCP Data received {"connection_id":189326,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:16] local.INFO: Processing buffer {"connection_id":189326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:16] local.INFO: Packet analysis {"connection_id":189326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:26:16] local.INFO: Extracted packet for processing {"connection_id":189326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:16] 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-19 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 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-19 08:26: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:26: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-19 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":189326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:26:16] local.INFO: GPS data processed {"connection_id":189326,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:26:16] local.INFO: Acknowledgment sent {"connection_id":189326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:26:39] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7976720012d7af58005e38a88000300a82d..."} 
[2026-09-19 08:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7976720012d7af58005e38a88000300a82d..."} 
[2026-09-19 08:26:39] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7976720012d7af58005e38a88000300a82d..."} 
[2026-09-19 08:26:39] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:26:39] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98798216,"longitude_deg":76.303296,"latitude_deg":9.8798216,"altitude":3,"angle":168,"satellites":45,"speed":6,"hex_longitude":"2d7af580","hex_latitude":"05e38a88","is_valid_coordinates":true} 
[2026-09-19 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-19 08:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185350912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135003788619546624,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859917498469597184,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789786548000,"timestamp_ms":1789786548000,"timestamp_seconds":1789786548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7976720"} 
[2026-09-19 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-19 08:26:39] 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-19 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":75866470089728,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080046864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2049885498259755744,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2358247432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-7660165564262059136,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-19 08:26:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4160826746,"corrected_to":0} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221611404,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858255269835179,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2703753216,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,161,160,195,45,64,140,4,44,10,66,113,5,40,31,192,1,240,187,227,183,205,3,204,243,41,239,51,2,223,9,59,39],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":204,"original":4160826746,"validated":0}]} 
[2026-09-19 08:26:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288410885037228032,"timestamp_seconds":288410885037228.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 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-19 08:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185350912001,"66":13580,"208":206,"85":15104,"24":6,"16":135003788619546624,"45":8859917498469597184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185350912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:26:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135003788619546624,"km_value":135003788619546.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859917498469597184,"description":"Unknown IO ID 45"} 
[2026-09-19 08:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185350912001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8859917498469597184}} 
[2026-09-19 08:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:26:39] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:26:39] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:26:47] local.INFO: TCP Data received {"connection_id":189326,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:47] local.INFO: Processing buffer {"connection_id":189326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:26:47] local.INFO: Packet analysis {"connection_id":189326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:26:47] local.INFO: Extracted packet for processing {"connection_id":189326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:26: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-19 08:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 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-19 08:26: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:26: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-19 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-19 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-19 08:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:26:47] 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-19 08:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":189326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:26:47] local.INFO: GPS data processed {"connection_id":189326,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:26:47] local.INFO: Acknowledgment sent {"connection_id":189326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:27:10] local.INFO: TCP Data received {"connection_id":189327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:10] local.INFO: Processing buffer {"connection_id":189327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:10] local.INFO: IMEI packet received {"connection_id":189327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":189327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:27:10] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b797b928012d7afc8005e36f38000200a22d..."} 
[2026-09-19 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b797b928012d7afc8005e36f38000200a22d..."} 
[2026-09-19 08:27:10] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b797b928012d7afc8005e36f38000200a22d..."} 
[2026-09-19 08:27:10] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:27:10] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763034752,"raw_latitude":98791224,"longitude_deg":76.3034752,"latitude_deg":9.8791224,"altitude":2,"angle":162,"satellites":45,"speed":21,"hex_longitude":"2d7afc80","hex_latitude":"05e36f38","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185356288001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135004140806864896,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860128604702017536,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789786569000,"timestamp_ms":1789786569000,"timestamp_seconds":1789786569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b797b928"} 
[2026-09-19 08: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-19 08:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080047864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454281168,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2332539151536095232,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2343567365,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2518614017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221611404,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858255269835179,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2703818752,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3817664512,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-900713450590175223,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,161,160,21,45,192,140,4,44,10,66,195,64,113,1,240,53,227,183,205,243,144,41,239,51,2,223,5,9,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-19 08:27:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216357693341171712,"timestamp_seconds":216357693341171.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08: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-19 08:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185356288001,"66":13580,"208":206,"85":15104,"24":21,"16":135004140806864896,"45":8860128604702017536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185356288001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:27:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135004140806864896,"km_value":135004140806864.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860128604702017536,"description":"Unknown IO ID 45"} 
[2026-09-19 08:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185356288001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8860128604702017536}} 
[2026-09-19 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:27:11] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:27:11] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:27:15] local.INFO: TCP Data received {"connection_id":189327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:15] local.INFO: Processing buffer {"connection_id":189327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:27:15] local.INFO: IMEI packet received {"connection_id":189327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":189327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:27:17] local.INFO: TCP Data received {"connection_id":189327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:17] local.INFO: Processing buffer {"connection_id":189327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:17] local.INFO: Packet analysis {"connection_id":189327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:27:17] local.INFO: Extracted packet for processing {"connection_id":189327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:17] 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-19 08:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08: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-19 08:27: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-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08: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-19 08: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-19 08:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:27:17] 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-19 08:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":189327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:27:17] local.INFO: GPS data processed {"connection_id":189327,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:27:17] local.INFO: Acknowledgment sent {"connection_id":189327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:27:43] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b797f7a8012d7b094005e34f18000300a12a..."} 
[2026-09-19 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b797f7a8012d7b094005e34f18000300a12a..."} 
[2026-09-19 08:27:43] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b797f7a8012d7b094005e34f18000300a12a..."} 
[2026-09-19 08:27:43] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:27:43] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b797"} 
[2026-09-19 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98783000,"longitude_deg":76.3038016,"latitude_deg":9.8783,"altitude":3,"angle":161,"satellites":42,"speed":4,"hex_longitude":"2d7b0940","hex_latitude":"05e34f18","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185361664001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135004570303594496,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862098929537202176,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789786585000,"timestamp_ms":1789786585000,"timestamp_seconds":1789786585,"priority":1,"record_length":96,"hex_timestamp":"000001a0b797f7a8"} 
[2026-09-19 08: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-19 08:27: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-19 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080048864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454281168,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2332538052024467456,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2349858821,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2523990017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3221611403,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398593509084757,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2704211968,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3817639936,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-882699052084363255,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,161,160,103,45,128,138,3,10,66,21,192,140,4,44,195,64,1,240,133,227,183,113,205,31,244,176,42,239,51,2,223,5,8,122,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-19 08:27:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144293502234460160,"timestamp_seconds":144293502234460.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08: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-19 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185361664001,"66":13319,"208":206,"85":15104,"24":4,"16":135004570303594496,"45":8862098929537202176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185361664001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:27:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135004570303594496,"km_value":135004570303594.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862098929537202176,"description":"Unknown IO ID 45"} 
[2026-09-19 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185361664001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8862098929537202176}} 
[2026-09-19 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:27:43] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:27:43] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:27:48] local.INFO: TCP Data received {"connection_id":189327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:48] local.INFO: Processing buffer {"connection_id":189327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:27:48] local.INFO: Packet analysis {"connection_id":189327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:27:48] local.INFO: Extracted packet for processing {"connection_id":189327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:27: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-19 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:27: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-19 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:27: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-19 08:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:27: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-19 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":189327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:27:48] local.INFO: GPS data processed {"connection_id":189327,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:27:48] local.INFO: Acknowledgment sent {"connection_id":189327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:28:09] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:09] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:09] local.INFO: IMEI packet received {"connection_id":186576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:28:14] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79849b0012d7b098005e34df8000300a129..."} 
[2026-09-19 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79849b0012d7b098005e34df8000300a129..."} 
[2026-09-19 08:28:14] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79849b0012d7b098005e34df8000300a129..."} 
[2026-09-19 08:28:14] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:28:14] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782712,"longitude_deg":76.303808,"latitude_deg":9.8782712,"altitude":3,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2d7b0980","hex_latitude":"05e34df8","is_valid_coordinates":true} 
[2026-09-19 08:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185365760001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135004587483463680,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735488157696,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789786606000,"timestamp_ms":1789786606000,"timestamp_seconds":1789786606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79849b0"} 
[2026-09-19 08:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080068864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-8318148477383399168,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2529366017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2704408576,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-3395712824189403131,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,161,160,185,45,128,111,2,10,66,103,138,3,21,192,1,240,9,227,183,4,113,205,245,40,239,48,223,5,187,149],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-19 08:28:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216349983874744320,"timestamp_seconds":216349983874744.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185365760001,"66":13243,"208":206,"85":15104,"24":0,"16":135004587483463680,"45":8865687735488157696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185365760001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:28:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135004587483463680,"km_value":135004587483463.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735488157696,"description":"Unknown IO ID 45"} 
[2026-09-19 08:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185365760001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865687735488157696}} 
[2026-09-19 08:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:28:14] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:28:14] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:28:15] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:15] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:28:15] local.INFO: IMEI packet received {"connection_id":186576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:28:16] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:16] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:16] local.INFO: Packet analysis {"connection_id":186576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:28:16] local.INFO: Extracted packet for processing {"connection_id":186576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:16] 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-19 08:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:28: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-19 08:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:28: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-19 08:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:28:16] local.INFO: GPS data processed {"connection_id":186576,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:28:16] local.INFO: Acknowledgment sent {"connection_id":186576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:28:46] local.INFO: TCP Data received {"connection_id":186575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7988c18012d7b0ac005e34b40000300ad29..."} 
[2026-09-19 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7988c18012d7b0ac005e34b40000300ad29..."} 
[2026-09-19 08:28:46] local.INFO: Processing buffer {"connection_id":186575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7988c18012d7b0ac005e34b40000300ad29..."} 
[2026-09-19 08:28:46] local.INFO: Packet analysis {"connection_id":186575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:28:46] local.INFO: Extracted packet for processing {"connection_id":186575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98782016,"longitude_deg":76.30384,"latitude_deg":9.8782016,"altitude":3,"angle":173,"satellites":41,"speed":8,"hex_longitude":"2d7b0ac0","hex_latitude":"05e34b40","is_valid_coordinates":true} 
[2026-09-19 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185371136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135004626138169344,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232261632,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789786623000,"timestamp_ms":1789786623000,"timestamp_seconds":1789786623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7988c18"} 
[2026-09-19 08:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:28: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-19 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 08:28:46] 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-19 08:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185371136001,"66":13537,"208":206,"85":15104,"24":8,"16":135004626138169344,"45":8865758104232261632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185371136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:28:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135004626138169344,"km_value":135004626138169.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232261632,"description":"Unknown IO ID 45"} 
[2026-09-19 08:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185371136001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865758104232261632}} 
[2026-09-19 08:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":186575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:28:46] local.INFO: GPS data processed {"connection_id":186575,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:28:46] local.INFO: Acknowledgment sent {"connection_id":186575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:28:48] local.INFO: TCP Data received {"connection_id":186576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:48] local.INFO: Processing buffer {"connection_id":186576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:28:48] local.INFO: Packet analysis {"connection_id":186576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:28:48] local.INFO: Extracted packet for processing {"connection_id":186576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08: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-19 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08: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-19 08: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-19 08: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:28: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-19 08: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-19 08: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-19 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08: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-19 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":186576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:28:48] local.INFO: GPS data processed {"connection_id":186576,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:28:48] local.INFO: Acknowledgment sent {"connection_id":186576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:29:05] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:05] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:05] local.INFO: IMEI packet received {"connection_id":187982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":187982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:29:07] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:07] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:07] local.INFO: IMEI packet received {"connection_id":187982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":187982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:29:11] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:11] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:29:11] local.INFO: IMEI packet received {"connection_id":187982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":187982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:29:13] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b798bee0012d7b0d4005e33520000200b92b..."} 
[2026-09-19 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b798bee0012d7b0d4005e33520000200b92b..."} 
[2026-09-19 08:29:13] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b798bee0012d7b0d4005e33520000200b92b..."} 
[2026-09-19 08:29:13] local.INFO: Packet analysis {"connection_id":187982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:29:13] local.INFO: Extracted packet for processing {"connection_id":187982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b798"} 
[2026-09-19 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98776352,"longitude_deg":76.303904,"latitude_deg":9.8776352,"altitude":2,"angle":185,"satellites":43,"speed":22,"hex_longitude":"2d7b0d40","hex_latitude":"05e33520","is_valid_coordinates":true} 
[2026-09-19 08:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185375488001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135004905311043584,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947952971776,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789786636000,"timestamp_ms":1789786636000,"timestamp_seconds":1789786636,"priority":1,"record_length":96,"hex_timestamp":"000001a0b798bee0"} 
[2026-09-19 08:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-19 08:29:13] 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-19 08:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":187982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185375488001,"66":13222,"208":206,"85":15104,"24":22,"16":135004905311043584,"45":8866109947952971776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-19 08:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185375488001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:29:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-19 08:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135004905311043584,"km_value":135004905311043.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947952971776,"description":"Unknown IO ID 45"} 
[2026-09-19 08:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185375488001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866109947952971776}} 
[2026-09-19 08:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":187982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:29:13] local.INFO: GPS data processed {"connection_id":187982,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:29:13] local.INFO: Acknowledgment sent {"connection_id":187982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:29:15] local.INFO: TCP Data received {"connection_id":189328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:15] local.INFO: Processing buffer {"connection_id":189328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:15] local.INFO: IMEI packet received {"connection_id":189328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":189328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:29:20] local.INFO: TCP Data received {"connection_id":189328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:20] local.INFO: Processing buffer {"connection_id":189328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:29:20] local.INFO: IMEI packet received {"connection_id":189328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":189328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:29:21] local.INFO: TCP Data received {"connection_id":189328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:21] local.INFO: Processing buffer {"connection_id":189328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:21] local.INFO: Packet analysis {"connection_id":189328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:29:21] local.INFO: Extracted packet for processing {"connection_id":189328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:21] 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-19 08:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:29:21] 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-19 08:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":189328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:29:21] local.INFO: GPS data processed {"connection_id":189328,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:29:21] local.INFO: Acknowledgment sent {"connection_id":189328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:29:25] local.INFO: TCP Data received {"connection_id":189328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:25] local.INFO: Processing buffer {"connection_id":189328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b795f408012d34c14006aa41400008010e2a..."} 
[2026-09-19 08:29:25] local.INFO: Packet analysis {"connection_id":189328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:29:25] local.INFO: Extracted packet for processing {"connection_id":189328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b795"} 
[2026-09-19 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185254912001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:25] 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-19 08:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789786453000,"timestamp_ms":1789786453000,"timestamp_seconds":1789786453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b795f408"} 
[2026-09-19 08:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:29:25] 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-19 08:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185254912001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185254912001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185254912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":189328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:29:25] local.INFO: GPS data processed {"connection_id":189328,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:29:25] local.INFO: Acknowledgment sent {"connection_id":189328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:29:44] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79abe98012d7b488005e1af18000200532a..."} 
[2026-09-19 08:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79abe98012d7b488005e1af18000200532a..."} 
[2026-09-19 08:29:44] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79abe98012d7b488005e1af18000200532a..."} 
[2026-09-19 08:29:44] local.INFO: Packet analysis {"connection_id":187982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:29:44] local.INFO: Extracted packet for processing {"connection_id":187982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98676504,"longitude_deg":76.3054208,"latitude_deg":9.8676504,"altitude":2,"angle":83,"satellites":42,"speed":10,"hex_longitude":"2d7b4880","hex_latitude":"05e1af18","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185411840001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340296056832,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135009874588205056,"note":"Value kept but may cause issues"} 
[2026-09-19 08:29:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789786767000,"timestamp_ms":1789786767000,"timestamp_seconds":1789786767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79abe98"} 
[2026-09-19 08: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-19 08:29: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-19 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-19 08:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":187982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185411840001,"66":13276,"45":8882787340296056832,"85":15104,"24":10,"16":135009874588205056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185411840001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340296056832,"description":"Unknown IO ID 45"} 
[2026-09-19 08:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135009874588205056,"km_value":135009874588205.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:29:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185411840001,"power":13276,"unknown_45":8882787340296056832,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-19 08:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":187982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:29:44] local.INFO: GPS data processed {"connection_id":187982,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:29:44] local.INFO: Acknowledgment sent {"connection_id":187982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:30:10] local.INFO: TCP Data received {"connection_id":189329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:10] local.INFO: Processing buffer {"connection_id":189329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:10] local.INFO: IMEI packet received {"connection_id":189329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":189329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:30:15] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79ac668012d7b4b4005e1afe8000200462b..."} 
[2026-09-19 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79ac668012d7b4b4005e1afe8000200462b..."} 
[2026-09-19 08:30:15] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79ac668012d7b4b4005e1afe8000200462b..."} 
[2026-09-19 08:30:15] local.INFO: Packet analysis {"connection_id":187982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:15] local.INFO: Extracted packet for processing {"connection_id":187982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763054912,"raw_latitude":98676712,"longitude_deg":76.3054912,"latitude_deg":9.8676712,"altitude":2,"angle":70,"satellites":43,"speed":16,"hex_longitude":"2d7b4b40","hex_latitude":"05e1afe8","is_valid_coordinates":true} 
[2026-09-19 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185412352001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027737843712,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135009908947943424,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789786769000,"timestamp_ms":1789786769000,"timestamp_seconds":1789786769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79ac668"} 
[2026-09-19 08:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:30: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-19 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-19 08:30:15] 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-19 08:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185412352001,"66":13319,"45":8883491027737843712,"85":15104,"24":16,"16":135009908947943424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185412352001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027737843712,"description":"Unknown IO ID 45"} 
[2026-09-19 08:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135009908947943424,"km_value":135009908947943.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185412352001,"power":13319,"unknown_45":8883491027737843712,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-09-19 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":187982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:30:15] local.INFO: GPS data processed {"connection_id":187982,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:30:15] local.INFO: Acknowledgment sent {"connection_id":187982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:30:15] local.INFO: TCP Data received {"connection_id":189329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:15] local.INFO: Processing buffer {"connection_id":189329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:30:15] local.INFO: IMEI packet received {"connection_id":189329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":189329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:30:16] local.INFO: TCP Data received {"connection_id":189329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:16] local.INFO: Processing buffer {"connection_id":189329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:16] local.INFO: Packet analysis {"connection_id":189329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:16] local.INFO: Extracted packet for processing {"connection_id":189329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:16] 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-19 08:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:30: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-19 08:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:30: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-19 08:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":189329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:30:16] local.INFO: GPS data processed {"connection_id":189329,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:30:16] local.INFO: Acknowledgment sent {"connection_id":189329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:30:46] local.INFO: TCP Data received {"connection_id":187982,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79ae1c0012d7b558005e1b318000000552b..."} 
[2026-09-19 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79ae1c0012d7b558005e1b318000000552b..."} 
[2026-09-19 08:30:46] local.INFO: Processing buffer {"connection_id":187982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79ae1c0012d7b558005e1b318000000552b..."} 
[2026-09-19 08:30:46] local.INFO: Packet analysis {"connection_id":187982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:46] local.INFO: Extracted packet for processing {"connection_id":187982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763057536,"raw_latitude":98677528,"longitude_deg":76.3057536,"latitude_deg":9.8677528,"altitude":0,"angle":85,"satellites":43,"speed":15,"hex_longitude":"2d7b5580","hex_latitude":"05e1b318","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185412864001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265083923851264,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135010046386896896,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789786776000,"timestamp_ms":1789786776000,"timestamp_seconds":1789786776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79ae1c0"} 
[2026-09-19 08: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-19 08:30: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-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080340864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2593366017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2967470081,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2791964672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790245888,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2474729290092478469,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1152921521798130176,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,166,160,190,128,175,2,42,10,66,182,174,39,151,64,1,240,187,227,183,225,4,113,205,104,62,168,41,239,52,207,223,5,47,144,154,226],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-19 08:30:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144192338574442496,"timestamp_seconds":144192338574442.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08: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-19 08:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185412864001,"66":13559,"45":8884265083923851264,"85":15104,"24":15,"16":135010046386896896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185412864001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265083923851264,"description":"Unknown IO ID 45"} 
[2026-09-19 08:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135010046386896896,"km_value":135010046386896.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:30:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185412864001,"power":13559,"unknown_45":8884265083923851264,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-09-19 08:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":187982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:30:46] local.INFO: GPS data processed {"connection_id":187982,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:30:46] local.INFO: Acknowledgment sent {"connection_id":187982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:30:47] local.INFO: TCP Data received {"connection_id":189329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:47] local.INFO: Processing buffer {"connection_id":189329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:30:47] local.INFO: Packet analysis {"connection_id":189329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:47] local.INFO: Extracted packet for processing {"connection_id":189329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:30: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-19 08:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08: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-19 08:30: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-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:30: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-19 08: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-19 08: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-19 08:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:30: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-19 08:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":189329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:30:47] local.INFO: GPS data processed {"connection_id":189329,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:30:47] local.INFO: Acknowledgment sent {"connection_id":189329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:30:58] local.INFO: TCP Data received {"connection_id":186722,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:30:58] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:30:58] local.INFO: IMEI packet received {"connection_id":186722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":186722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:31:05] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:31:05] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:05] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:31:10] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:10] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:31:10] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:31:10] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:10] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:10] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:31:10] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79b2810012d7b7a8005e1b658000100512e..."} 
[2026-09-19 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79b2810012d7b7a8005e1b658000100512e..."} 
[2026-09-19 08:31:10] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79b2810012d7b7a8005e1b658000100512e..."} 
[2026-09-19 08:31:10] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79b"} 
[2026-09-19 08:31:10] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79b"} 
[2026-09-19 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":98678360,"longitude_deg":76.3067008,"latitude_deg":9.867836,"altitude":1,"angle":81,"satellites":46,"speed":23,"hex_longitude":"2d7b7a80","hex_latitude":"05e1b658","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185414656001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887150202435344384,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135010497358462976,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789786794000,"timestamp_ms":1789786794000,"timestamp_seconds":1789786794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79b2810"} 
[2026-09-19 08: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-19 08:31: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-19 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 08:31:10] 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-19 08: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-19 08: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-19 08:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185414656001,"66":13319,"45":8887150202435344384,"85":15104,"24":23,"16":135010497358462976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185414656001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887150202435344384,"description":"Unknown IO ID 45"} 
[2026-09-19 08:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135010497358462976,"km_value":135010497358462.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:31:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185414656001,"power":13319,"unknown_45":8887150202435344384,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-09-19 08:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:31:10] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:31:10] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:31:15] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:15] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:31:15] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:31:16] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:16] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:16] local.INFO: Packet analysis {"connection_id":186724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:31:16] local.INFO: Extracted packet for processing {"connection_id":186724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:16] 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-19 08:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:31: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-19 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:31: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-19 08:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:31:16] local.INFO: GPS data processed {"connection_id":186724,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:31:16] local.INFO: Acknowledgment sent {"connection_id":186724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:31:42] local.INFO: TCP Data received {"connection_id":186723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79cba68012d7c348005e1ded00001004f2c..."} 
[2026-09-19 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79cba68012d7c348005e1ded00001004f2c..."} 
[2026-09-19 08:31:42] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79cba68012d7c348005e1ded00001004f2c..."} 
[2026-09-19 08:31:42] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79c"} 
[2026-09-19 08:31:42] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79c"} 
[2026-09-19 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98688720,"longitude_deg":76.3114624,"latitude_deg":9.868872,"altitude":1,"angle":79,"satellites":44,"speed":18,"hex_longitude":"2d7c3480","hex_latitude":"05e1ded0","is_valid_coordinates":true} 
[2026-09-19 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-19 08:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185442816001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945485891361546240,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135012928309952512,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789786897000,"timestamp_ms":1789786897000,"timestamp_seconds":1789786897,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79cba68"} 
[2026-09-19 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-19 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 08:31:42] 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-19 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-19 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-19 08:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185442816001,"66":13200,"45":8945485891361546240,"85":15104,"24":18,"16":135012928309952512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185442816001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945485891361546240,"description":"Unknown IO ID 45"} 
[2026-09-19 08:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135012928309952512,"km_value":135012928309952.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:31:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185442816001,"power":13200,"unknown_45":8945485891361546240,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-09-19 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:31:42] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:31:42] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:31:48] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:48] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:31:48] local.INFO: Packet analysis {"connection_id":186724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:31:48] local.INFO: Extracted packet for processing {"connection_id":186724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:31: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-19 08:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:31: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-19 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:31: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-19 08:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:31: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-19 08:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:31:48] local.INFO: GPS data processed {"connection_id":186724,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:31:48] local.INFO: Acknowledgment sent {"connection_id":186724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:32:06] local.INFO: TCP Data received {"connection_id":189330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:06] local.INFO: Processing buffer {"connection_id":189330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:06] local.INFO: IMEI packet received {"connection_id":189330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":189330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:32:07] local.INFO: TCP Data received {"connection_id":189330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:07] local.INFO: Processing buffer {"connection_id":189330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:07] local.INFO: IMEI packet received {"connection_id":189330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":189330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:32:10] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:10] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:10] local.INFO: IMEI packet received {"connection_id":187983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":187983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:32:10] local.INFO: TCP Data received {"connection_id":189330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: Processing buffer {"connection_id":189330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: IMEI packet received {"connection_id":189330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":189330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:32:10] local.INFO: TCP Data received {"connection_id":189330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: Processing buffer {"connection_id":189330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:32:10] local.INFO: IMEI packet received {"connection_id":189330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":189330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:32:15] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:15] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:32:15] local.INFO: IMEI packet received {"connection_id":187983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":187983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:32:18] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:18] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:18] local.INFO: Packet analysis {"connection_id":187983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:32:18] local.INFO: Extracted packet for processing {"connection_id":187983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:18] 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-19 08:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:32:18] 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-19 08:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":187983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:32:18] local.INFO: GPS data processed {"connection_id":187983,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:32:18] local.INFO: Acknowledgment sent {"connection_id":187983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:32:50] local.INFO: TCP Data received {"connection_id":187983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:50] local.INFO: Processing buffer {"connection_id":187983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:32:50] local.INFO: Packet analysis {"connection_id":187983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:32:50] local.INFO: Extracted packet for processing {"connection_id":187983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:32:50] 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-19 08:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:32:50] 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-19 08:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":187983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:32:50] local.INFO: GPS data processed {"connection_id":187983,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:32:50] local.INFO: Acknowledgment sent {"connection_id":187983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:33:10] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:10] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:10] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:33:15] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:15] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:33:15] local.INFO: IMEI packet received {"connection_id":186577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:33:16] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:16] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:16] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:33:16] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33:16] 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-19 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 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-19 08:33: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 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-19 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:33: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-19 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:33:16] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:33:16] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:33:48] local.INFO: TCP Data received {"connection_id":186577,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:48] local.INFO: Processing buffer {"connection_id":186577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:33:48] local.INFO: Packet analysis {"connection_id":186577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:33:48] local.INFO: Extracted packet for processing {"connection_id":186577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:33: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-19 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:33: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-19 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:33: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-19 08:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:33: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-19 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":186577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:33:48] local.INFO: GPS data processed {"connection_id":186577,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:33:48] local.INFO: Acknowledgment sent {"connection_id":186577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:34:15] local.INFO: TCP Data received {"connection_id":186726,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:15] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:15] local.INFO: IMEI packet received {"connection_id":186726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:34:20] local.INFO: TCP Data received {"connection_id":186726,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:20] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:34:20] local.INFO: IMEI packet received {"connection_id":186726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":186726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:34:21] local.INFO: TCP Data received {"connection_id":186726,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:21] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:21] local.INFO: Packet analysis {"connection_id":186726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:34:21] local.INFO: Extracted packet for processing {"connection_id":186726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:21] 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-19 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:34:21] 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-19 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":186726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:34:21] local.INFO: GPS data processed {"connection_id":186726,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:34:21] local.INFO: Acknowledgment sent {"connection_id":186726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:34:27] local.INFO: TCP Data received {"connection_id":186726,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:27] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79a8bd0012d34c14006aa41400008010e29..."} 
[2026-09-19 08:34:27] local.INFO: Packet analysis {"connection_id":186726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:34:27] local.INFO: Extracted packet for processing {"connection_id":186726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79a"} 
[2026-09-19 08:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185331968001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:34:27] 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-19 08:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789786754000,"timestamp_ms":1789786754000,"timestamp_seconds":1789786754,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79a8bd0"} 
[2026-09-19 08: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-19 08:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08: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-19 08: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-19 08:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:34:27] 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-19 08:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185331968001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185331968001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:34:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185331968001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":186726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:34:27] local.INFO: GPS data processed {"connection_id":186726,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:34:27] local.INFO: Acknowledgment sent {"connection_id":186726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:35:10] local.INFO: TCP Data received {"connection_id":189332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:10] local.INFO: Processing buffer {"connection_id":189332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:10] local.INFO: IMEI packet received {"connection_id":189332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":189332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:35:15] local.INFO: TCP Data received {"connection_id":189332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:15] local.INFO: Processing buffer {"connection_id":189332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:35:15] local.INFO: IMEI packet received {"connection_id":189332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":189332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:35:16] local.INFO: TCP Data received {"connection_id":189332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:16] local.INFO: Processing buffer {"connection_id":189332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:16] local.INFO: Packet analysis {"connection_id":189332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:35:16] local.INFO: Extracted packet for processing {"connection_id":189332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35:16] 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-19 08:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 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-19 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:35:16] 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-19 08:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":189332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:35:16] local.INFO: GPS data processed {"connection_id":189332,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:35:16] local.INFO: Acknowledgment sent {"connection_id":189332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:35:47] local.INFO: TCP Data received {"connection_id":189332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:47] local.INFO: Processing buffer {"connection_id":189332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:35:47] local.INFO: Packet analysis {"connection_id":189332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:35:47] local.INFO: Extracted packet for processing {"connection_id":189332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:35: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-19 08:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08: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-19 08:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:35: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-19 08: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-19 08: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-19 08:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:35: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-19 08:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":189332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:35:47] local.INFO: GPS data processed {"connection_id":189332,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:35:47] local.INFO: Acknowledgment sent {"connection_id":189332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:36:09] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:09] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:09] local.INFO: IMEI packet received {"connection_id":186727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":186727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:36:15] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:15] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:36:15] local.INFO: IMEI packet received {"connection_id":186727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:36:16] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:16] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:16] local.INFO: Packet analysis {"connection_id":186727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:36:16] local.INFO: Extracted packet for processing {"connection_id":186727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36:16] 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-19 08:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:36:16] 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-19 08:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:36:16] local.INFO: GPS data processed {"connection_id":186727,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:36:16] local.INFO: Acknowledgment sent {"connection_id":186727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:36:33] local.INFO: TCP Data received {"connection_id":187984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:36:33] local.INFO: Processing buffer {"connection_id":187984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:36:33] local.INFO: IMEI packet received {"connection_id":187984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":187984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:36:48] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:48] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:36:48] local.INFO: Packet analysis {"connection_id":186727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:36:48] local.INFO: Extracted packet for processing {"connection_id":186727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:36: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-19 08:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08: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-19 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:36: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-19 08: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-19 08: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-19 08:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:36: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-19 08:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:36:48] local.INFO: GPS data processed {"connection_id":186727,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:36:48] local.INFO: Acknowledgment sent {"connection_id":186727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:37:09] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:09] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:09] local.INFO: IMEI packet received {"connection_id":186580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:37:15] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:15] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:37:15] local.INFO: IMEI packet received {"connection_id":186580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:37:15] local.INFO: TCP Data received {"connection_id":186728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:37:15] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:37:15] local.INFO: IMEI packet received {"connection_id":186728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:37:16] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:16] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:16] local.INFO: Packet analysis {"connection_id":186580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:37:16] local.INFO: Extracted packet for processing {"connection_id":186580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] 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-19 08:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:37:16] 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-19 08:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:37:16] local.INFO: GPS data processed {"connection_id":186580,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:37:16] local.INFO: Acknowledgment sent {"connection_id":186580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:37:16] local.INFO: TCP Data received {"connection_id":186728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a0aa38012d7dac8005e23660000300a92c..."} 
[2026-09-19 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a0aa38012d7dac8005e23660000300a92c..."} 
[2026-09-19 08:37:16] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a0aa38012d7dac8005e23660000300a92c..."} 
[2026-09-19 08:37:16] local.INFO: Packet analysis {"connection_id":186728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a0"} 
[2026-09-19 08:37:16] local.INFO: Extracted packet for processing {"connection_id":186728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a0"} 
[2026-09-19 08:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763210880,"raw_latitude":98711136,"longitude_deg":76.321088,"latitude_deg":9.8711136,"altitude":3,"angle":169,"satellites":44,"speed":5,"hex_longitude":"2d7dac80","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-09-19 08:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185511168001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135020225459388416,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055683344749524992,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787155000,"timestamp_ms":1789787155000,"timestamp_seconds":1789787155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a0aa38"} 
[2026-09-19 08:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:37: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-19 08:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-19 08:37:16] 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-19 08:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185511168001,"66":13091,"43":206,"85":15104,"24":5,"16":135020225459388416,"45":9055683344749524992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185511168001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135020225459388416,"km_value":135020225459388.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055683344749524992,"description":"Unknown IO ID 45"} 
[2026-09-19 08:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185511168001,"power":13091,"unknown_43":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9055683344749524992}} 
[2026-09-19 08:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:37:16] local.INFO: GPS data processed {"connection_id":186728,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:37:16] local.INFO: Acknowledgment sent {"connection_id":186728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:37:47] local.INFO: TCP Data received {"connection_id":186580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:47] local.INFO: Processing buffer {"connection_id":186580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:37:47] local.INFO: Packet analysis {"connection_id":186580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:37:47] local.INFO: Extracted packet for processing {"connection_id":186580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37: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-19 08:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08: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-19 08:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:37: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-19 08: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-19 08: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-19 08:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:37: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-19 08:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":186580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:37:47] local.INFO: GPS data processed {"connection_id":186580,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:37:47] local.INFO: Acknowledgment sent {"connection_id":186580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:37:47] local.INFO: TCP Data received {"connection_id":186728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a21198012d7de14005e22250000400712a..."} 
[2026-09-19 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a21198012d7de14005e22250000400712a..."} 
[2026-09-19 08:37:47] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a21198012d7de14005e22250000400712a..."} 
[2026-09-19 08:37:47] local.INFO: Packet analysis {"connection_id":186728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:37:47] local.INFO: Extracted packet for processing {"connection_id":186728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763224384,"raw_latitude":98706000,"longitude_deg":76.3224384,"latitude_deg":9.8706,"altitude":4,"angle":113,"satellites":42,"speed":27,"hex_longitude":"2d7de140","hex_latitude":"05e22250","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185534464001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135020968488730624,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068842299909627904,"note":"Value kept but may cause issues"} 
[2026-09-19 08:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787247000,"timestamp_ms":1789787247000,"timestamp_seconds":1789787247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a21198"} 
[2026-09-19 08: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-19 08:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 08:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185534464001,"66":13613,"43":206,"85":15104,"24":27,"16":135020968488730624,"45":9068842299909627904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185534464001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135020968488730624,"km_value":135020968488730.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068842299909627904,"description":"Unknown IO ID 45"} 
[2026-09-19 08:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185534464001,"power":13613,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9068842299909627904}} 
[2026-09-19 08:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":186728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:37:47] local.INFO: GPS data processed {"connection_id":186728,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:37:47] local.INFO: Acknowledgment sent {"connection_id":186728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:38:05] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:05] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:05] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:38:06] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:06] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:06] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:38:08] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:08] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:08] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:38:09] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:09] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:09] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:38:10] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:10] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:38:10] local.INFO: IMEI packet received {"connection_id":187985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":187985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:38:10] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a22138012d7dec8005e21f400004006627..."} 
[2026-09-19 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a22138012d7dec8005e21f400004006627..."} 
[2026-09-19 08:38:10] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a22138012d7dec8005e21f400004006627..."} 
[2026-09-19 08:38:10] local.INFO: Packet analysis {"connection_id":187985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:38:10] local.INFO: Extracted packet for processing {"connection_id":187985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763227264,"raw_latitude":98705216,"longitude_deg":76.3227264,"latitude_deg":9.8705216,"altitude":4,"angle":102,"satellites":39,"speed":28,"hex_longitude":"2d7dec80","hex_latitude":"05e21f40","is_valid_coordinates":true} 
[2026-09-19 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185535232001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135021110222651392,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070601518513803264,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789787251000,"timestamp_ms":1789787251000,"timestamp_seconds":1789787251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a22138"} 
[2026-09-19 08:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:38: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-19 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-19 08:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185535232001,"66":13559,"198":206,"85":15104,"24":28,"16":135021110222651392,"45":9070601518513803264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185535232001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:38:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135021110222651392,"km_value":135021110222651.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070601518513803264,"description":"Unknown IO ID 45"} 
[2026-09-19 08:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185535232001,"power":13559,"unknown_198":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9070601518513803264}} 
[2026-09-19 08:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":187985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:38:10] local.INFO: GPS data processed {"connection_id":187985,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:38:10] local.INFO: Acknowledgment sent {"connection_id":187985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:38:15] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:15] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:38:15] local.INFO: IMEI packet received {"connection_id":187986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":187986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:38:16] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:16] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:16] local.INFO: Packet analysis {"connection_id":187986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:38:16] local.INFO: Extracted packet for processing {"connection_id":187986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:16] 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-19 08:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:38:16] 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-19 08:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":187986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:38:16] local.INFO: GPS data processed {"connection_id":187986,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:38:16] local.INFO: Acknowledgment sent {"connection_id":187986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:38:41] local.INFO: TCP Data received {"connection_id":187985,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a23c90012d7dfe0005e21b300003007a26..."} 
[2026-09-19 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a23c90012d7dfe0005e21b300003007a26..."} 
[2026-09-19 08:38:41] local.INFO: Processing buffer {"connection_id":187985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a23c90012d7dfe0005e21b300003007a26..."} 
[2026-09-19 08:38:41] local.INFO: Packet analysis {"connection_id":187985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:38:41] local.INFO: Extracted packet for processing {"connection_id":187985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763231744,"raw_latitude":98704176,"longitude_deg":76.3231744,"latitude_deg":9.8704176,"altitude":3,"angle":122,"satellites":38,"speed":17,"hex_longitude":"2d7dfe00","hex_latitude":"05e21b30","is_valid_coordinates":true} 
[2026-09-19 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185536256001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135021329265983488,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073768112001597440,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789787258000,"timestamp_ms":1789787258000,"timestamp_seconds":1789787258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a23c90"} 
[2026-09-19 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 08:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":187985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":187985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":187985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185536256001,"66":13319,"198":206,"85":15104,"24":17,"16":135021329265983488,"45":9073768112001597440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185536256001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:38:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135021329265983488,"km_value":135021329265983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073768112001597440,"description":"Unknown IO ID 45"} 
[2026-09-19 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185536256001,"power":13319,"unknown_198":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9073768112001597440}} 
[2026-09-19 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":187985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:38:41] local.INFO: GPS data processed {"connection_id":187985,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:38:41] local.INFO: Acknowledgment sent {"connection_id":187985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:38:51] local.INFO: TCP Data received {"connection_id":187986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:51] local.INFO: Processing buffer {"connection_id":187986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:38:51] local.INFO: Packet analysis {"connection_id":187986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:38:51] local.INFO: Extracted packet for processing {"connection_id":187986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:38:51] 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-19 08:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08: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-19 08:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:38:51] 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-19 08:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":187986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:38:51] local.INFO: GPS data processed {"connection_id":187986,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:38:51] local.INFO: Acknowledgment sent {"connection_id":187986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:39:10] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:10] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:10] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:39:12] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:12] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:39:12] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:39:13] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a27728012d7e010005e218800003009629..."} 
[2026-09-19 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a27728012d7e010005e218800003009629..."} 
[2026-09-19 08:39:13] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a27728012d7e010005e218800003009629..."} 
[2026-09-19 08:39:13] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:13] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":98703488,"longitude_deg":76.3232512,"latitude_deg":9.8703488,"altitude":3,"angle":150,"satellites":41,"speed":2,"hex_longitude":"2d7e0100","hex_latitude":"05e21880","is_valid_coordinates":true} 
[2026-09-19 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185538048001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135021380805591040,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078693924093767680,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789787273000,"timestamp_ms":1789787273000,"timestamp_seconds":1789787273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a27728"} 
[2026-09-19 08:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3080842864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3794704384,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2717782017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3463268122043952384,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-19 08:39:13] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1073819005,"corrected_to":0} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2964127744,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-5206159874346041339,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:13] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,198,85,24,241,157,16,177,160,33,45,128,31,4,39,10,66,176,17,64,34,42,43,5,1,240,56,227,183,226,113,205,21,246,213,44,239,51,2,223,3,18,214,161],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0},{"io_id":246,"original":1073819005,"validated":0}]} 
[2026-09-19 08:39:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216307085742243840,"timestamp_seconds":216307085742243.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185538048001,"66":13428,"198":206,"85":15104,"24":2,"16":135021380805591040,"45":9078693924093767680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185538048001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:39:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135021380805591040,"km_value":135021380805591.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078693924093767680,"description":"Unknown IO ID 45"} 
[2026-09-19 08:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185538048001,"power":13428,"unknown_198":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9078693924093767680}} 
[2026-09-19 08:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:39:13] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:39:13] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:39:15] local.INFO: TCP Data received {"connection_id":187987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:15] local.INFO: Processing buffer {"connection_id":187987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:15] local.INFO: IMEI packet received {"connection_id":187987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":187987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:39:15] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a27ef8012d7e014005e217d0000300a229..."} 
[2026-09-19 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a27ef8012d7e014005e217d0000300a229..."} 
[2026-09-19 08:39:15] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a27ef8012d7e014005e217d0000300a229..."} 
[2026-09-19 08:39:15] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:15] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":98703312,"longitude_deg":76.3232576,"latitude_deg":9.8703312,"altitude":3,"angle":162,"satellites":41,"speed":3,"hex_longitude":"2d7e0140","hex_latitude":"05e217d0","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185541888001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135021393690492928,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538349023723520,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789787275000,"timestamp_ms":1789787275000,"timestamp_seconds":1789787275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a27ef8"} 
[2026-09-19 08: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-19 08:39: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-19 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-19 08:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185541888001,"66":13472,"198":206,"85":15104,"24":3,"16":135021393690492928,"45":9079538349023723520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185541888001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:39:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135021393690492928,"km_value":135021393690492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538349023723520,"description":"Unknown IO ID 45"} 
[2026-09-19 08:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185541888001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079538349023723520}} 
[2026-09-19 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:39:15] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:39:15] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:39:20] local.INFO: TCP Data received {"connection_id":187987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:20] local.INFO: Processing buffer {"connection_id":187987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:39:20] local.INFO: IMEI packet received {"connection_id":187987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":187987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:39:21] local.INFO: TCP Data received {"connection_id":187987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:21] local.INFO: Processing buffer {"connection_id":187987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:21] local.INFO: Packet analysis {"connection_id":187987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:39:21] local.INFO: Extracted packet for processing {"connection_id":187987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:21] 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-19 08:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:39:21] 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-19 08:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":187987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:39:21] local.INFO: GPS data processed {"connection_id":187987,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:39:21] local.INFO: Acknowledgment sent {"connection_id":187987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:39:25] local.INFO: TCP Data received {"connection_id":187987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:25] local.INFO: Processing buffer {"connection_id":187987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b79f2398012d34c14006aa41400008010e28..."} 
[2026-09-19 08:39:25] local.INFO: Packet analysis {"connection_id":187987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:39:25] local.INFO: Extracted packet for processing {"connection_id":187987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b79f"} 
[2026-09-19 08:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:39: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-19 08:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185409024001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:25] 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-19 08:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789787055000,"timestamp_ms":1789787055000,"timestamp_seconds":1789787055,"priority":1,"record_length":96,"hex_timestamp":"000001a0b79f2398"} 
[2026-09-19 08:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:39: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-19 08:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:39:25] 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-19 08:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185409024001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185409024001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185409024001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":187987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:39:25] local.INFO: GPS data processed {"connection_id":187987,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:39:25] local.INFO: Acknowledgment sent {"connection_id":187987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:39:47] local.INFO: TCP Data received {"connection_id":186729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a29a50012d7e014005e21668000300c72a..."} 
[2026-09-19 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a29a50012d7e014005e21668000300c72a..."} 
[2026-09-19 08:39:47] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a29a50012d7e014005e21668000300c72a..."} 
[2026-09-19 08:39:47] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:47] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a2"} 
[2026-09-19 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":98702952,"longitude_deg":76.3232576,"latitude_deg":9.8702952,"altitude":3,"angle":199,"satellites":42,"speed":4,"hex_longitude":"2d7e0140","hex_latitude":"05e21668","is_valid_coordinates":true} 
[2026-09-19 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185542400001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135021410870362112,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079608717767856128,"note":"Value kept but may cause issues"} 
[2026-09-19 08:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787282000,"timestamp_ms":1789787282000,"timestamp_seconds":1789787282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a29a50"} 
[2026-09-19 08:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:39: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-19 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 08:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185542400001,"66":13319,"198":206,"85":15104,"24":4,"16":135021410870362112,"45":9079608717767856128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185542400001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:39:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135021410870362112,"km_value":135021410870362.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079608717767856128,"description":"Unknown IO ID 45"} 
[2026-09-19 08:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185542400001,"power":13319,"unknown_198":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9079608717767856128}} 
[2026-09-19 08:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:39:47] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:39:47] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:40:05] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:05] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:05] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:40:08] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:08] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:40:08] local.INFO: IMEI packet received {"connection_id":186581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":186581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:40:09] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a40598012d7d530005e205d0000d01122f..."} 
[2026-09-19 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a40598012d7d530005e205d0000d01122f..."} 
[2026-09-19 08:40:09] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a40598012d7d530005e205d0000d01122f..."} 
[2026-09-19 08:40:09] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:40:09] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":98698704,"longitude_deg":76.3187968,"latitude_deg":9.8698704,"altitude":13,"angle":274,"satellites":47,"speed":33,"hex_longitude":"2d7d5300","hex_latitude":"05e205d0","is_valid_coordinates":true} 
[2026-09-19 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-19 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185565184001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135023627073486848,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040835539724587008,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789787375000,"timestamp_ms":1789787375000,"timestamp_seconds":1789787375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a40598"} 
[2026-09-19 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-19 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 08:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185565184001,"66":13472,"198":206,"85":15104,"24":33,"16":135023627073486848,"45":9040835539724587008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-19 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185565184001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135023627073486848,"km_value":135023627073486.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040835539724587008,"description":"Unknown IO ID 45"} 
[2026-09-19 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185565184001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9040835539724587008}} 
[2026-09-19 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:40:09] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:40:09] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:40:12] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:12] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:12] local.INFO: IMEI packet received {"connection_id":187988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":187988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:40:14] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:14] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:40:14] local.INFO: IMEI packet received {"connection_id":187988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":187988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:40:15] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:15] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:15] local.INFO: Packet analysis {"connection_id":187988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:15] local.INFO: Extracted packet for processing {"connection_id":187988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40: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-19 08:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08: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-19 08:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:40: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-19 08: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-19 08: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-19 08:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40: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-19 08:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":187988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:40:15] local.INFO: GPS data processed {"connection_id":187988,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:40:15] local.INFO: Acknowledgment sent {"connection_id":187988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:40:20] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:20] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:20] local.INFO: Packet analysis {"connection_id":187988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:20] local.INFO: Extracted packet for processing {"connection_id":187988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:20] 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-19 08:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08: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-19 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40:20] 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-19 08:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":187988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:40:20] local.INFO: GPS data processed {"connection_id":187988,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:40:20] local.INFO: Acknowledgment sent {"connection_id":187988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:40:40] local.INFO: TCP Data received {"connection_id":186581,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a43090012d7d2e4005e20898000c01122e..."} 
[2026-09-19 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a43090012d7d2e4005e20898000c01122e..."} 
[2026-09-19 08:40:40] local.INFO: Processing buffer {"connection_id":186581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a43090012d7d2e4005e20898000c01122e..."} 
[2026-09-19 08:40:40] local.INFO: Packet analysis {"connection_id":186581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:40:40] local.INFO: Extracted packet for processing {"connection_id":186581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":98699416,"longitude_deg":76.317856,"latitude_deg":9.8699416,"altitude":12,"angle":274,"satellites":46,"speed":33,"hex_longitude":"2d7d2e40","hex_latitude":"05e20898","is_valid_coordinates":true} 
[2026-09-19 08:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185568000001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135024078045052928,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561703074844672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789787386000,"timestamp_ms":1789787386000,"timestamp_seconds":1789787386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a43090"} 
[2026-09-19 08:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-19 08:40:40] 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-19 08:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185568000001,"66":13515,"43":206,"85":15104,"24":33,"16":135024078045052928,"45":9030561703074844672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185568000001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:40:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135024078045052928,"km_value":135024078045052.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561703074844672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185568000001,"power":13515,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9030561703074844672}} 
[2026-09-19 08:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":186581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:40:40] local.INFO: GPS data processed {"connection_id":186581,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:40:40] local.INFO: Acknowledgment sent {"connection_id":186581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:40:52] local.INFO: TCP Data received {"connection_id":187988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:52] local.INFO: Processing buffer {"connection_id":187988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:40:52] local.INFO: Packet analysis {"connection_id":187988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:52] local.INFO: Extracted packet for processing {"connection_id":187988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:40: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-19 08:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:40: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-19 08:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":187988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:40:52] local.INFO: GPS data processed {"connection_id":187988,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:40:52] local.INFO: Acknowledgment sent {"connection_id":187988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:41:03] local.INFO: TCP Data received {"connection_id":189334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:03] local.INFO: Processing buffer {"connection_id":189334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:03] local.INFO: IMEI packet received {"connection_id":189334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":189334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:41:05] local.INFO: TCP Data received {"connection_id":189334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:05] local.INFO: Processing buffer {"connection_id":189334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:05] local.INFO: IMEI packet received {"connection_id":189334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":189334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:41:09] local.INFO: TCP Data received {"connection_id":189334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:09] local.INFO: Processing buffer {"connection_id":189334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:41:09] local.INFO: IMEI packet received {"connection_id":189334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":189334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:41:09] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:09] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:09] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:41:10] local.INFO: TCP Data received {"connection_id":189334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a45b88012d7d0a0005e20b88000b01132e..."} 
[2026-09-19 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a45b88012d7d0a0005e20b88000b01132e..."} 
[2026-09-19 08:41:10] local.INFO: Processing buffer {"connection_id":189334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a45b88012d7d0a0005e20b88000b01132e..."} 
[2026-09-19 08:41:10] local.INFO: Packet analysis {"connection_id":189334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:41:10] local.INFO: Extracted packet for processing {"connection_id":189334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a4"} 
[2026-09-19 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":98700168,"longitude_deg":76.316928,"latitude_deg":9.8700168,"altitude":11,"angle":275,"satellites":46,"speed":31,"hex_longitude":"2d7d0a00","hex_latitude":"05e20b88","is_valid_coordinates":true} 
[2026-09-19 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-19 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185570816001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135024520426684416,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497680910336,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789787397000,"timestamp_ms":1789787397000,"timestamp_seconds":1789787397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a45b88"} 
[2026-09-19 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-19 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 08:41:10] 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-19 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-19 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-19 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185570816001,"66":13222,"43":206,"85":15104,"24":31,"16":135024520426684416,"45":9020217497680910336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185570816001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:41:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135024520426684416,"km_value":135024520426684.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497680910336,"description":"Unknown IO ID 45"} 
[2026-09-19 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185570816001,"power":13222,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9020217497680910336}} 
[2026-09-19 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":189334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:41:10] local.INFO: GPS data processed {"connection_id":189334,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:41:10] local.INFO: Acknowledgment sent {"connection_id":189334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:41:15] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:15] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:41:15] local.INFO: IMEI packet received {"connection_id":186582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":186582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:41:16] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:16] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:16] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:41:16] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:16] 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-19 08:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08: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-19 08:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:41:16] 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-19 08:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:41:16] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:41:16] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:41:41] local.INFO: TCP Data received {"connection_id":189334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a5af60012d7c31c005e1dd78000601082c..."} 
[2026-09-19 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a5af60012d7c31c005e1dd78000601082c..."} 
[2026-09-19 08:41:41] local.INFO: Processing buffer {"connection_id":189334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a5af60012d7c31c005e1dd78000601082c..."} 
[2026-09-19 08:41:41] local.INFO: Packet analysis {"connection_id":189334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:41:41] local.INFO: Extracted packet for processing {"connection_id":189334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98688376,"longitude_deg":76.311392,"latitude_deg":9.8688376,"altitude":6,"angle":264,"satellites":44,"speed":27,"hex_longitude":"2d7c31c0","hex_latitude":"05e1dd78","is_valid_coordinates":true} 
[2026-09-19 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-19 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185595392001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135027509723922432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950622809686454272,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789787484000,"timestamp_ms":1789787484000,"timestamp_seconds":1789787484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a5af60"} 
[2026-09-19 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-19 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 08:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 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-19 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185595392001,"66":13450,"43":206,"85":15104,"24":27,"16":135027509723922432,"45":8950622809686454272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185595392001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135027509723922432,"km_value":135027509723922.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950622809686454272,"description":"Unknown IO ID 45"} 
[2026-09-19 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185595392001,"power":13450,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8950622809686454272}} 
[2026-09-19 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":189334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:41:41] local.INFO: GPS data processed {"connection_id":189334,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:41:41] local.INFO: Acknowledgment sent {"connection_id":189334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:41:47] local.INFO: TCP Data received {"connection_id":186582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:47] local.INFO: Processing buffer {"connection_id":186582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:41:47] local.INFO: Packet analysis {"connection_id":186582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:41:47] local.INFO: Extracted packet for processing {"connection_id":186582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:41: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-19 08:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08: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-19 08:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:41: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-19 08: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-19 08: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-19 08:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:41: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-19 08:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":186582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:41:47] local.INFO: GPS data processed {"connection_id":186582,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:41:47] local.INFO: Acknowledgment sent {"connection_id":186582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:42:05] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:42:05] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:05] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:42:09] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:09] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:09] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:42:10] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:10] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:42:10] local.INFO: IMEI packet received {"connection_id":186583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:42:11] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a5bb18012d7c294005e1ddf0000501132c..."} 
[2026-09-19 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a5bb18012d7c294005e1ddf0000501132c..."} 
[2026-09-19 08:42:11] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a5bb18012d7c294005e1ddf0000501132c..."} 
[2026-09-19 08:42:11] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:42:11] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98688496,"longitude_deg":76.3111744,"latitude_deg":9.8688496,"altitude":5,"angle":275,"satellites":44,"speed":27,"hex_longitude":"2d7c2940","hex_latitude":"05e1ddf0","is_valid_coordinates":true} 
[2026-09-19 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-19 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185595904001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135027617098104832,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145066058643456,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789787487000,"timestamp_ms":1789787487000,"timestamp_seconds":1789787487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a5bb18"} 
[2026-09-19 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-19 08:42: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-19 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-19 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185595904001,"66":13559,"43":206,"85":15104,"24":27,"16":135027617098104832,"45":8949145066058643456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185595904001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135027617098104832,"km_value":135027617098104.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145066058643456,"description":"Unknown IO ID 45"} 
[2026-09-19 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185595904001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8949145066058643456}} 
[2026-09-19 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:42:11] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:42:11] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:42:15] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:15] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:42:15] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:42:16] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:16] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:16] local.INFO: Packet analysis {"connection_id":186730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:42:16] local.INFO: Extracted packet for processing {"connection_id":186730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:16] 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-19 08:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:42:16] 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-19 08:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":186730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:42:16] local.INFO: GPS data processed {"connection_id":186730,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:42:16] local.INFO: Acknowledgment sent {"connection_id":186730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:42:42] local.INFO: TCP Data received {"connection_id":186583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a5cea0012d7c1c4005e1ddf0000501072a..."} 
[2026-09-19 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a5cea0012d7c1c4005e1ddf0000501072a..."} 
[2026-09-19 08:42:42] local.INFO: Processing buffer {"connection_id":186583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a5cea0012d7c1c4005e1ddf0000501072a..."} 
[2026-09-19 08:42:42] local.INFO: Packet analysis {"connection_id":186583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:42:42] local.INFO: Extracted packet for processing {"connection_id":186583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a5"} 
[2026-09-19 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763108416,"raw_latitude":98688496,"longitude_deg":76.3108416,"latitude_deg":9.8688496,"altitude":5,"angle":263,"satellites":42,"speed":24,"hex_longitude":"2d7c1c40","hex_latitude":"05e1ddf0","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185596672001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135027776011894784,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752528756633600,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787492000,"timestamp_ms":1789787492000,"timestamp_seconds":1789787492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a5cea0"} 
[2026-09-19 08: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-19 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 08:42:42] 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-19 08: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-19 08: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-19 08:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185596672001,"66":13559,"43":206,"85":15104,"24":24,"16":135027776011894784,"45":8946752528756633600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185596672001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135027776011894784,"km_value":135027776011894.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752528756633600,"description":"Unknown IO ID 45"} 
[2026-09-19 08:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185596672001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8946752528756633600}} 
[2026-09-19 08:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":186583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:42:42] local.INFO: GPS data processed {"connection_id":186583,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:42:42] local.INFO: Acknowledgment sent {"connection_id":186583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:42:48] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:48] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:42:48] local.INFO: Packet analysis {"connection_id":186730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:42:48] local.INFO: Extracted packet for processing {"connection_id":186730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:42: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-19 08:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:42: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-19 08:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:42: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-19 08:42: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-19 08:42: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-19 08:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:42: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-19 08:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:42:48] local.INFO: GPS data processed {"connection_id":186730,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:42:48] local.INFO: Acknowledgment sent {"connection_id":186730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:43:05] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:05] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:05] local.INFO: IMEI packet received {"connection_id":186584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":186584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:43:10] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:10] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:43:10] local.INFO: IMEI packet received {"connection_id":186584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":186584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:43:11] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a60938012d7bf88005e1d8980005010c2c..."} 
[2026-09-19 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a60938012d7bf88005e1d8980005010c2c..."} 
[2026-09-19 08:43:11] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a60938012d7bf88005e1d8980005010c2c..."} 
[2026-09-19 08:43:11] local.INFO: Packet analysis {"connection_id":186584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a6"} 
[2026-09-19 08:43:11] local.INFO: Extracted packet for processing {"connection_id":186584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a6"} 
[2026-09-19 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763099264,"raw_latitude":98687128,"longitude_deg":76.3099264,"latitude_deg":9.8687128,"altitude":5,"angle":268,"satellites":44,"speed":23,"hex_longitude":"2d7bf880","hex_latitude":"05e1d898","is_valid_coordinates":true} 
[2026-09-19 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185597952001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135028218393526272,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943093354059395072,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789787507000,"timestamp_ms":1789787507000,"timestamp_seconds":1789787507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a60938"} 
[2026-09-19 08:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:43: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-19 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-19 08:43:11] 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-19 08:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185597952001,"66":13406,"43":206,"85":15104,"24":23,"16":135028218393526272,"45":8943093354059395072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-19 08:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185597952001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:43:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 08:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135028218393526272,"km_value":135028218393526.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943093354059395072,"description":"Unknown IO ID 45"} 
[2026-09-19 08:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185597952001,"power":13406,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8943093354059395072}} 
[2026-09-19 08:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":186584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:43:11] local.INFO: GPS data processed {"connection_id":186584,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:43:11] local.INFO: Acknowledgment sent {"connection_id":186584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:43:15] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:15] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:15] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:43:20] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:20] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:43:20] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:43:23] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:23] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:23] local.INFO: Packet analysis {"connection_id":186731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:43:23] local.INFO: Extracted packet for processing {"connection_id":186731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:23] 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-19 08:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:43:23] 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-19 08:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":186731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:43:23] local.INFO: GPS data processed {"connection_id":186731,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:43:23] local.INFO: Acknowledgment sent {"connection_id":186731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:43:25] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:25] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:43:25] local.INFO: Packet analysis {"connection_id":186731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:43:25] local.INFO: Extracted packet for processing {"connection_id":186731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:25] 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-19 08:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:43:25] 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-19 08:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:43:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":186731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:43:25] local.INFO: GPS data processed {"connection_id":186731,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:43:25] local.INFO: Acknowledgment sent {"connection_id":186731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:43:42] local.INFO: TCP Data received {"connection_id":186584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a78808012d7b414005e1aa30000600c92b..."} 
[2026-09-19 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a78808012d7b414005e1aa30000600c92b..."} 
[2026-09-19 08:43:42] local.INFO: Processing buffer {"connection_id":186584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a78808012d7b414005e1aa30000600c92b..."} 
[2026-09-19 08:43:42] local.INFO: Packet analysis {"connection_id":186584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:43:42] local.INFO: Extracted packet for processing {"connection_id":186584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98675248,"longitude_deg":76.3052352,"latitude_deg":9.8675248,"altitude":6,"angle":201,"satellites":43,"speed":9,"hex_longitude":"2d7b4140","hex_latitude":"05e1aa30","is_valid_coordinates":true} 
[2026-09-19 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185626368001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809133178880,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135030636460113920,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787605000,"timestamp_ms":1789787605000,"timestamp_seconds":1789787605,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a78808"} 
[2026-09-19 08:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3081168864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2801238017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4634203990777385984,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3101229056,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787063296,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-5116087881832988667,"note":"Value kept but may cause issues"} 
[2026-09-19 08:43:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,85,24,241,157,16,185,160,120,192,172,6,43,10,66,81,64,177,7,44,34,1,240,187,227,183,225,4,113,205,29,231,134,41,239,52,2,223,5,30,166],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-19 08:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432589840493051904,"timestamp_seconds":432589840493051.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185626368001,"66":13319,"45":8881731809133178880,"85":15104,"24":9,"16":135030636460113920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185626368001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809133178880,"description":"Unknown IO ID 45"} 
[2026-09-19 08:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135030636460113920,"km_value":135030636460113.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185626368001,"power":13319,"unknown_45":8881731809133178880,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-09-19 08:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":186584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:43:42] local.INFO: GPS data processed {"connection_id":186584,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:43:42] local.INFO: Acknowledgment sent {"connection_id":186584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:43:57] local.INFO: TCP Data received {"connection_id":187989,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:43:57] local.INFO: Processing buffer {"connection_id":187989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:43:57] local.INFO: IMEI packet received {"connection_id":187989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":187989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:44:05] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:05] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:05] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:44:06] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:06] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:06] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:44:07] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:44:07] local.INFO: TCP Data received {"connection_id":187990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: Processing buffer {"connection_id":187990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:44:07] local.INFO: IMEI packet received {"connection_id":187990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":187990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:44:10] local.INFO: TCP Data received {"connection_id":189335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:10] local.INFO: Processing buffer {"connection_id":189335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:10] local.INFO: IMEI packet received {"connection_id":189335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":189335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:44:15] local.INFO: TCP Data received {"connection_id":189335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:15] local.INFO: Processing buffer {"connection_id":189335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:44:15] local.INFO: IMEI packet received {"connection_id":189335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":189335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:44:16] local.INFO: TCP Data received {"connection_id":189335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:16] local.INFO: Processing buffer {"connection_id":189335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:16] local.INFO: Packet analysis {"connection_id":189335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:44:16] local.INFO: Extracted packet for processing {"connection_id":189335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44:16] 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-19 08:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 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-19 08:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:44:16] 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-19 08:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":189335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:44:16] local.INFO: GPS data processed {"connection_id":189335,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:44:16] local.INFO: Acknowledgment sent {"connection_id":189335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:44:48] local.INFO: TCP Data received {"connection_id":189335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:48] local.INFO: Processing buffer {"connection_id":189335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a3bb60012d34c14006aa41400008010e29..."} 
[2026-09-19 08:44:48] local.INFO: Packet analysis {"connection_id":189335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:44:48] local.INFO: Extracted packet for processing {"connection_id":189335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a3"} 
[2026-09-19 08:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185486080001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:44: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-19 08:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787356000,"timestamp_ms":1789787356000,"timestamp_seconds":1789787356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a3bb60"} 
[2026-09-19 08: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-19 08:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08: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-19 08: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-19 08: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-19 08:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:44: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-19 08:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185486080001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185486080001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185486080001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":189335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:44:48] local.INFO: GPS data processed {"connection_id":189335,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:44:48] local.INFO: Acknowledgment sent {"connection_id":189335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:45:10] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:10] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:10] local.INFO: IMEI packet received {"connection_id":186585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":186585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:45:15] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:15] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:45:15] local.INFO: IMEI packet received {"connection_id":186585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:45:16] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:16] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:16] local.INFO: Packet analysis {"connection_id":186585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:45:16] local.INFO: Extracted packet for processing {"connection_id":186585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45:16] 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-19 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:45: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-19 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:45:16] local.INFO: GPS data processed {"connection_id":186585,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:45:16] local.INFO: Acknowledgment sent {"connection_id":186585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:45:48] local.INFO: TCP Data received {"connection_id":186585,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:48] local.INFO: Processing buffer {"connection_id":186585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:45:48] local.INFO: Packet analysis {"connection_id":186585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:45:48] local.INFO: Extracted packet for processing {"connection_id":186585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:45: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-19 08:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:45: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-19 08:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:45: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-19 08:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":186585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:45:48] local.INFO: GPS data processed {"connection_id":186585,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:45:48] local.INFO: Acknowledgment sent {"connection_id":186585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:46:09] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:09] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:09] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:46:15] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:15] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:46:15] local.INFO: IMEI packet received {"connection_id":186587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:46:16] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:16] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:16] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:46:16] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46:16] 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-19 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:46: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-19 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:46:16] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:46:16] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:46:47] local.INFO: TCP Data received {"connection_id":186587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:47] local.INFO: Processing buffer {"connection_id":186587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:46:47] local.INFO: Packet analysis {"connection_id":186587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:46:47] local.INFO: Extracted packet for processing {"connection_id":186587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:46: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-19 08:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08: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-19 08:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:46: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-19 08: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-19 08: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-19 08:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:46: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-19 08:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:46:47] local.INFO: GPS data processed {"connection_id":186587,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:46:47] local.INFO: Acknowledgment sent {"connection_id":186587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:47:09] local.INFO: TCP Data received {"connection_id":187992,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:09] local.INFO: Processing buffer {"connection_id":187992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:09] local.INFO: IMEI packet received {"connection_id":187992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":187992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:47:15] local.INFO: TCP Data received {"connection_id":187992,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:15] local.INFO: Processing buffer {"connection_id":187992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:47:15] local.INFO: IMEI packet received {"connection_id":187992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:47:16] local.INFO: TCP Data received {"connection_id":187992,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:16] local.INFO: Processing buffer {"connection_id":187992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:16] local.INFO: Packet analysis {"connection_id":187992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:47:16] local.INFO: Extracted packet for processing {"connection_id":187992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47:16] 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-19 08:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:47:16] 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-19 08:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":187992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:47:16] local.INFO: GPS data processed {"connection_id":187992,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:47:16] local.INFO: Acknowledgment sent {"connection_id":187992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:47:47] local.INFO: TCP Data received {"connection_id":187992,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:47] local.INFO: Processing buffer {"connection_id":187992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:47:47] local.INFO: Packet analysis {"connection_id":187992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:47:47] local.INFO: Extracted packet for processing {"connection_id":187992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:47: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-19 08:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:47: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-19 08:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:47:47] 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-19 08:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":187992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:47:47] local.INFO: GPS data processed {"connection_id":187992,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:47:47] local.INFO: Acknowledgment sent {"connection_id":187992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:48:15] local.INFO: TCP Data received {"connection_id":189337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:15] local.INFO: Processing buffer {"connection_id":189337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:15] local.INFO: IMEI packet received {"connection_id":189337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":189337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:48:20] local.INFO: TCP Data received {"connection_id":189337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:20] local.INFO: Processing buffer {"connection_id":189337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:48:20] local.INFO: IMEI packet received {"connection_id":189337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":189337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:48:21] local.INFO: TCP Data received {"connection_id":189337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:21] local.INFO: Processing buffer {"connection_id":189337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:21] local.INFO: Packet analysis {"connection_id":189337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:48:21] local.INFO: Extracted packet for processing {"connection_id":189337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:21] 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-19 08:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:48:21] 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-19 08:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":189337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:48:21] local.INFO: GPS data processed {"connection_id":189337,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:48:21] local.INFO: Acknowledgment sent {"connection_id":189337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:48:25] local.INFO: TCP Data received {"connection_id":189337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:25] local.INFO: Processing buffer {"connection_id":189337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:48:25] local.INFO: Packet analysis {"connection_id":189337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:48:25] local.INFO: Extracted packet for processing {"connection_id":189337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:48:25] 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-19 08:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:48:25] 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-19 08:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":189337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:48:25] local.INFO: GPS data processed {"connection_id":189337,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:48:25] local.INFO: Acknowledgment sent {"connection_id":189337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:49:10] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:49:10] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:49:10] local.INFO: IMEI packet received {"connection_id":186588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:49:10] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:10] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:10] local.INFO: IMEI packet received {"connection_id":186589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":186589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:49:11] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a78bf0012d7b410005e1a8f8000600bc2b..."} 
[2026-09-19 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a78bf0012d7b410005e1a8f8000600bc2b..."} 
[2026-09-19 08:49:11] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a78bf0012d7b410005e1a8f8000600bc2b..."} 
[2026-09-19 08:49:11] local.INFO: Packet analysis {"connection_id":186588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:49:11] local.INFO: Extracted packet for processing {"connection_id":186588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98674936,"longitude_deg":76.3052288,"latitude_deg":9.8674936,"altitude":6,"angle":188,"satellites":43,"speed":13,"hex_longitude":"2d7b4100","hex_latitude":"05e1a8f8","is_valid_coordinates":true} 
[2026-09-19 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185626880001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334156369920,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135030649345015808,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789787606000,"timestamp_ms":1789787606000,"timestamp_seconds":1789787606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a78bf0"} 
[2026-09-19 08:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3081168864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2804054017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5044031556868888320,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-19 08:49:11] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147560827,"corrected_to":0} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3103391744,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787063296,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-1738388161307459579,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,185,160,128,64,171,6,43,10,66,120,192,172,81,1,240,138,227,183,225,4,113,205,247,123,42,239,52,2,223,5,30,7,166],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0},{"io_id":247,"original":2147560827,"validated":0}]} 
[2026-09-19 08:49:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432566750748934144,"timestamp_seconds":432566750748934.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185626880001,"66":13319,"45":8881450334156369920,"85":15104,"24":13,"16":135030649345015808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185626880001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334156369920,"description":"Unknown IO ID 45"} 
[2026-09-19 08:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135030649345015808,"km_value":135030649345015.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:49:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185626880001,"power":13319,"unknown_45":8881450334156369920,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-09-19 08:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":186588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:49:11] local.INFO: GPS data processed {"connection_id":186588,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:49:11] local.INFO: Acknowledgment sent {"connection_id":186588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:49:15] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:15] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:49:15] local.INFO: IMEI packet received {"connection_id":186589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":186589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:49:16] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:16] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:16] local.INFO: Packet analysis {"connection_id":186589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:16] local.INFO: Extracted packet for processing {"connection_id":186589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:16] 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-19 08:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49: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-19 08:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:49:16] local.INFO: GPS data processed {"connection_id":186589,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:49:16] local.INFO: Acknowledgment sent {"connection_id":186589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:49:17] local.INFO: TCP Data received {"connection_id":187993,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:49:17] local.INFO: Processing buffer {"connection_id":187993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:49:17] local.INFO: IMEI packet received {"connection_id":187993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":187993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:49:22] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:22] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:22] local.INFO: Packet analysis {"connection_id":186589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:22] local.INFO: Extracted packet for processing {"connection_id":186589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:22] 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-19 08:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49:22] 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-19 08:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":186589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:49:22] local.INFO: GPS data processed {"connection_id":186589,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:49:22] local.INFO: Acknowledgment sent {"connection_id":186589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:49:42] local.INFO: TCP Data received {"connection_id":186588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a797a8012d7b410005e1a390000600b02a..."} 
[2026-09-19 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a797a8012d7b410005e1a390000600b02a..."} 
[2026-09-19 08:49:42] local.INFO: Processing buffer {"connection_id":186588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a797a8012d7b410005e1a390000600b02a..."} 
[2026-09-19 08:49:42] local.INFO: Packet analysis {"connection_id":186588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:49:42] local.INFO: Extracted packet for processing {"connection_id":186588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98673552,"longitude_deg":76.3052288,"latitude_deg":9.8673552,"altitude":6,"angle":176,"satellites":42,"speed":21,"hex_longitude":"2d7b4100","hex_latitude":"05e1a390","is_valid_coordinates":true} 
[2026-09-19 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185627136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965412112384,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135030718064492544,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787609000,"timestamp_ms":1789787609000,"timestamp_seconds":1789787609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a797a8"} 
[2026-09-19 08:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3081172864,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5044031556868888320,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2807126017,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3106930688,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786797056,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-1738388161307459579,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,185,160,136,64,170,6,43,10,66,128,171,120,192,1,240,225,227,183,4,113,205,23,34,104,216,44,239,51,2,223,5,29,84,166],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-19 08:49:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432552457098035200,"timestamp_seconds":432552457098035.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 08:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185627136001,"66":13504,"45":8881379965412112384,"85":15104,"24":21,"16":135030718064492544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185627136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965412112384,"description":"Unknown IO ID 45"} 
[2026-09-19 08:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135030718064492544,"km_value":135030718064492.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:49:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185627136001,"power":13504,"unknown_45":8881379965412112384,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-09-19 08:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":186588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:49:42] local.INFO: GPS data processed {"connection_id":186588,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:49:42] local.INFO: Acknowledgment sent {"connection_id":186588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:49:54] local.INFO: TCP Data received {"connection_id":186589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:54] local.INFO: Processing buffer {"connection_id":186589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a85328012d34c14006aa41400008010e29..."} 
[2026-09-19 08:49:54] local.INFO: Packet analysis {"connection_id":186589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:54] local.INFO: Extracted packet for processing {"connection_id":186589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185563136001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:49:54] 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-19 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789787657000,"timestamp_ms":1789787657000,"timestamp_seconds":1789787657,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a85328"} 
[2026-09-19 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 08:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:49:54] 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-19 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185563136001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185563136001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185563136001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":186589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:49:54] local.INFO: GPS data processed {"connection_id":186589,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:49:54] local.INFO: Acknowledgment sent {"connection_id":186589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:50:05] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:05] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:05] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:50:09] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:10] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:10] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:50:10] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:10] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:50:10] local.INFO: IMEI packet received {"connection_id":186590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:50:10] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a7ca70012d7b454005e18008000600af26..."} 
[2026-09-19 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a7ca70012d7b454005e18008000600af26..."} 
[2026-09-19 08:50:10] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a7ca70012d7b454005e18008000600af26..."} 
[2026-09-19 08:50:10] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:50:10] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98664456,"longitude_deg":76.3053376,"latitude_deg":9.8664456,"altitude":6,"angle":175,"satellites":38,"speed":23,"hex_longitude":"2d7b4540","hex_latitude":"05e18008","is_valid_coordinates":true} 
[2026-09-19 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185627904001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965411758080,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031164741091328,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789787622000,"timestamp_ms":1789787622000,"timestamp_seconds":1789787622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a7ca70"} 
[2026-09-19 08:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-19 08:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185627904001,"66":13493,"45":8881379965411758080,"85":15104,"24":23,"16":135031164741091328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185627904001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965411758080,"description":"Unknown IO ID 45"} 
[2026-09-19 08:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031164741091328,"km_value":135031164741091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:50:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185627904001,"power":13493,"unknown_45":8881379965411758080,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-09-19 08:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:50:11] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:50:11] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:50:15] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:15] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:50:15] local.INFO: IMEI packet received {"connection_id":187994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":187994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:50:16] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:16] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:16] local.INFO: Packet analysis {"connection_id":187994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:50:16] local.INFO: Extracted packet for processing {"connection_id":187994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:16] 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-19 08:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 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-19 08:50: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-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:50:16] 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-19 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-19 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-19 08:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:50: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-19 08:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":187994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:50:16] local.INFO: GPS data processed {"connection_id":187994,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:50:16] local.INFO: Acknowledgment sent {"connection_id":187994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:50:42] local.INFO: TCP Data received {"connection_id":186590,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a7f950012d7b4a0005e15d78000700a727..."} 
[2026-09-19 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a7f950012d7b4a0005e15d78000700a727..."} 
[2026-09-19 08:50:42] local.INFO: Processing buffer {"connection_id":186590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a7f950012d7b4a0005e15d78000700a727..."} 
[2026-09-19 08:50:42] local.INFO: Packet analysis {"connection_id":186590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:50:42] local.INFO: Extracted packet for processing {"connection_id":186590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a7"} 
[2026-09-19 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98655608,"longitude_deg":76.3054592,"latitude_deg":9.8655608,"altitude":7,"angle":167,"satellites":39,"speed":23,"hex_longitude":"2d7b4a00","hex_latitude":"05e15d78","is_valid_coordinates":true} 
[2026-09-19 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185631232001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234060449792,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031598532788224,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787634000,"timestamp_ms":1789787634000,"timestamp_seconds":1789787634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a7f950"} 
[2026-09-19 08:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 08:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185631232001,"66":13363,"45":8882576234060449792,"85":15104,"24":23,"16":135031598532788224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185631232001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234060449792,"description":"Unknown IO ID 45"} 
[2026-09-19 08:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031598532788224,"km_value":135031598532788.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:50:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185631232001,"power":13363,"unknown_45":8882576234060449792,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-09-19 08:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":186590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:50:42] local.INFO: GPS data processed {"connection_id":186590,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:50:42] local.INFO: Acknowledgment sent {"connection_id":186590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:50:48] local.INFO: TCP Data received {"connection_id":187994,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:48] local.INFO: Processing buffer {"connection_id":187994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:50:48] local.INFO: Packet analysis {"connection_id":187994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:50:48] local.INFO: Extracted packet for processing {"connection_id":187994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:50: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-19 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08: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-19 08:50: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-19 08: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:50: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-19 08: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-19 08: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-19 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:50: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-19 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":187994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:50:48] local.INFO: GPS data processed {"connection_id":187994,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:50:48] local.INFO: Acknowledgment sent {"connection_id":187994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:51:09] local.INFO: TCP Data received {"connection_id":189338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:09] local.INFO: Processing buffer {"connection_id":189338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:09] local.INFO: IMEI packet received {"connection_id":189338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":189338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:51:10] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:10] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:10] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:51:15] local.INFO: TCP Data received {"connection_id":189338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:15] local.INFO: Processing buffer {"connection_id":189338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:51:15] local.INFO: IMEI packet received {"connection_id":189338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":189338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:51:15] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:15] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:51:15] local.INFO: IMEI packet received {"connection_id":186591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":186591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:51:16] local.INFO: TCP Data received {"connection_id":189338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:16] local.INFO: Processing buffer {"connection_id":189338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:16] local.INFO: Packet analysis {"connection_id":189338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:51:16] local.INFO: Extracted packet for processing {"connection_id":189338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] 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-19 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 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-19 08:51: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-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:51:16] 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-19 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-19 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-19 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:51: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-19 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":189338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:51:16] local.INFO: GPS data processed {"connection_id":189338,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:51:16] local.INFO: Acknowledgment sent {"connection_id":189338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:51:16] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a81c78012d7b4f4005e14df00005009c25..."} 
[2026-09-19 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a81c78012d7b4f4005e14df00005009c25..."} 
[2026-09-19 08:51:16] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a81c78012d7b4f4005e14df00005009c25..."} 
[2026-09-19 08:51:16] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:51:16] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763055936,"raw_latitude":98651632,"longitude_deg":76.3055936,"latitude_deg":9.8651632,"altitude":5,"angle":156,"satellites":37,"speed":6,"hex_longitude":"2d7b4f40","hex_latitude":"05e14df0","is_valid_coordinates":true} 
[2026-09-19 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-19 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185634304001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240197560320,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031800396251136,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787643000,"timestamp_ms":1789787643000,"timestamp_seconds":1789787643,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a81c78"} 
[2026-09-19 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-19 08:51: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-19 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-19 08:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185634304001,"66":13102,"45":8883913240197560320,"85":15104,"24":6,"16":135031800396251136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185634304001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240197560320,"description":"Unknown IO ID 45"} 
[2026-09-19 08:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031800396251136,"km_value":135031800396251.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185634304001,"power":13102,"unknown_45":8883913240197560320,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-09-19 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:51:16] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:51:16] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:51:20] local.INFO: TCP Data received {"connection_id":186591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:51:20] local.INFO: Processing buffer {"connection_id":186591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:51:20] local.INFO: Packet analysis {"connection_id":186591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:51:20] local.INFO: Extracted packet for processing {"connection_id":186591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98651560,"longitude_deg":76.3056128,"latitude_deg":9.865156,"altitude":5,"angle":156,"satellites":37,"speed":0,"hex_longitude":"2d7b5000","hex_latitude":"05e14da8","is_valid_coordinates":true} 
[2026-09-19 08:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185636608001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885390983824273408,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789787645000,"timestamp_ms":1789787645000,"timestamp_seconds":1789787645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a82448"} 
[2026-09-19 08:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 08:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 08:51:20] 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-19 08:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185636608001,"66":12472,"45":8885390983824273408,"85":15104,"24":0,"16":135031804691218432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185636608001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885390983824273408,"description":"Unknown IO ID 45"} 
[2026-09-19 08:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:51:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185636608001,"power":12472,"unknown_45":8885390983824273408,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-19 08:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":186591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:51:21] local.INFO: GPS data processed {"connection_id":186591,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:51:21] local.INFO: Acknowledgment sent {"connection_id":186591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:51:48] local.INFO: TCP Data received {"connection_id":189338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:48] local.INFO: Processing buffer {"connection_id":189338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:51:48] local.INFO: Packet analysis {"connection_id":189338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:51:48] local.INFO: Extracted packet for processing {"connection_id":189338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:51: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-19 08:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 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-19 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-19 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-19 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-19 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-19 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-19 08:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:51: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-19 08:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":189338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:51:48] local.INFO: GPS data processed {"connection_id":189338,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:51:48] local.INFO: Acknowledgment sent {"connection_id":189338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:52:05] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:05] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:05] local.INFO: IMEI packet received {"connection_id":187995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":187995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:52:10] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:10] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:52:10] local.INFO: IMEI packet received {"connection_id":187995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":187995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:52:10] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:52:10] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a82448012d7b500005e14da80005009c25..."} 
[2026-09-19 08:52:10] local.INFO: Packet analysis {"connection_id":187995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:52:10] local.INFO: Extracted packet for processing {"connection_id":187995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98651560,"longitude_deg":76.3056128,"latitude_deg":9.865156,"altitude":5,"angle":156,"satellites":37,"speed":0,"hex_longitude":"2d7b5000","hex_latitude":"05e14da8","is_valid_coordinates":true} 
[2026-09-19 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185637120001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056787968,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789787645000,"timestamp_ms":1789787645000,"timestamp_seconds":1789787645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a82448"} 
[2026-09-19 08:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:52: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-19 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-19 08:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185637120001,"66":12472,"45":8885602090056787968,"85":15104,"24":0,"16":135031804691218432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185637120001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056787968,"description":"Unknown IO ID 45"} 
[2026-09-19 08:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:52:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185637120001,"power":12472,"unknown_45":8885602090056787968,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-19 08:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":187995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:52:10] local.INFO: GPS data processed {"connection_id":187995,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:52:10] local.INFO: Acknowledgment sent {"connection_id":187995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:52:15] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:15] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:15] local.INFO: IMEI packet received {"connection_id":187996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":187996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:52:20] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:20] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:52:20] local.INFO: IMEI packet received {"connection_id":187996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":187996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:52:21] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:21] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:21] local.INFO: Packet analysis {"connection_id":187996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:52:21] local.INFO: Extracted packet for processing {"connection_id":187996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:21] 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-19 08:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:52:21] 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-19 08:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:52:21] 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-19 08:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":187996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:52:21] local.INFO: GPS data processed {"connection_id":187996,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:52:21] local.INFO: Acknowledgment sent {"connection_id":187996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:52:25] local.INFO: TCP Data received {"connection_id":187996,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:25] local.INFO: Processing buffer {"connection_id":187996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:52:25] local.INFO: Packet analysis {"connection_id":187996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:52:25] local.INFO: Extracted packet for processing {"connection_id":187996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:25] 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-19 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:52:25] 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-19 08:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:52:25] 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-19 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":187996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:52:25] local.INFO: GPS data processed {"connection_id":187996,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:52:25] local.INFO: Acknowledgment sent {"connection_id":187996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:52:42] local.INFO: TCP Data received {"connection_id":187995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:52:42] local.INFO: Processing buffer {"connection_id":187995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:52:42] local.INFO: Packet analysis {"connection_id":187995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:52:42] local.INFO: Extracted packet for processing {"connection_id":187995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98651600,"longitude_deg":76.3056128,"latitude_deg":9.86516,"altitude":6,"angle":156,"satellites":37,"speed":0,"hex_longitude":"2d7b5000","hex_latitude":"05e14dd0","is_valid_coordinates":true} 
[2026-09-19 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185637120001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056787968,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:52:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787647000,"timestamp_ms":1789787647000,"timestamp_seconds":1789787647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a82c18"} 
[2026-09-19 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:52: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-19 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-19 08:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":187995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":187995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185637120001,"66":13406,"45":8885602090056787968,"85":15104,"24":0,"16":135031804691218432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185637120001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056787968,"description":"Unknown IO ID 45"} 
[2026-09-19 08:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185637120001,"power":13406,"unknown_45":8885602090056787968,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-19 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":187995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:52:42] local.INFO: GPS data processed {"connection_id":187995,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:52:42] local.INFO: Acknowledgment sent {"connection_id":187995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:53:05] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:05] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:05] local.INFO: IMEI packet received {"connection_id":186592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":186592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:53:10] local.INFO: TCP Data received {"connection_id":189339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:10] local.INFO: Processing buffer {"connection_id":189339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:10] local.INFO: IMEI packet received {"connection_id":189339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":189339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:53:10] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:10] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:53:10] local.INFO: IMEI packet received {"connection_id":186592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:53:11] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:53:11] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7a82c18012d7b500005e14dd00006009c25..."} 
[2026-09-19 08:53:11] local.INFO: Packet analysis {"connection_id":186592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:53:11] local.INFO: Extracted packet for processing {"connection_id":186592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7a8"} 
[2026-09-19 08:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98651600,"longitude_deg":76.3056128,"latitude_deg":9.86516,"altitude":6,"angle":156,"satellites":37,"speed":0,"hex_longitude":"2d7b5000","hex_latitude":"05e14dd0","is_valid_coordinates":true} 
[2026-09-19 08:53: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-19 08:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185637632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056798208,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 08:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789787647000,"timestamp_ms":1789787647000,"timestamp_seconds":1789787647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7a82c18"} 
[2026-09-19 08: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-19 08:53: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-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 08:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185637632001,"66":13406,"45":8885602090056798208,"85":15104,"24":0,"16":135031804691218432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-19 08:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185637632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056798208,"description":"Unknown IO ID 45"} 
[2026-09-19 08:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:53:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458185637632001,"power":13406,"unknown_45":8885602090056798208,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-19 08:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":186592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:53:11] local.INFO: GPS data processed {"connection_id":186592,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:53:11] local.INFO: Acknowledgment sent {"connection_id":186592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:53:15] local.INFO: TCP Data received {"connection_id":189339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:15] local.INFO: Processing buffer {"connection_id":189339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:53:15] local.INFO: IMEI packet received {"connection_id":189339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":189339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:53:16] local.INFO: TCP Data received {"connection_id":189339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:16] local.INFO: Processing buffer {"connection_id":189339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:16] local.INFO: Packet analysis {"connection_id":189339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:16] local.INFO: Extracted packet for processing {"connection_id":189339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:16] 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-19 08:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08: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-19 08:53: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-19 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:53:16] 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-19 08: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-19 08: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-19 08:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:53:16] 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-19 08:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":189339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:53:16] local.INFO: GPS data processed {"connection_id":189339,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:53:16] local.INFO: Acknowledgment sent {"connection_id":189339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:53:42] local.INFO: TCP Data received {"connection_id":186592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:53:42] local.INFO: Processing buffer {"connection_id":186592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:53:42] local.INFO: Packet analysis {"connection_id":186592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:42] local.INFO: Extracted packet for processing {"connection_id":186592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":8,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185637632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056798208,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789787949000,"timestamp_ms":1789787949000,"timestamp_seconds":1789787949,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7acc7c8"} 
[2026-09-19 08: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-19 08:53: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-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 08:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185637632001,"66":2514,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8885602090056798208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185637632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:53:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056798208,"description":"Unknown IO ID 45"} 
[2026-09-19 08:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185637632001,"power":2514,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885602090056798208}} 
[2026-09-19 08:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":186592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:53:42] local.INFO: GPS data processed {"connection_id":186592,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:53:42] local.INFO: Acknowledgment sent {"connection_id":186592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:53:47] local.INFO: TCP Data received {"connection_id":189339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:47] local.INFO: Processing buffer {"connection_id":189339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:53:47] local.INFO: Packet analysis {"connection_id":189339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:47] local.INFO: Extracted packet for processing {"connection_id":189339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:53: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-19 08:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08: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-19 08:53: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-19 08: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:53:47] 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-19 08: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-19 08: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-19 08:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:53:47] 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-19 08:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":189339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:53:47] local.INFO: GPS data processed {"connection_id":189339,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:53:47] local.INFO: Acknowledgment sent {"connection_id":189339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:54:05] local.INFO: TCP Data received {"connection_id":189340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:05] local.INFO: Processing buffer {"connection_id":189340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:05] local.INFO: IMEI packet received {"connection_id":189340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":189340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:54:10] local.INFO: TCP Data received {"connection_id":189340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:10] local.INFO: Processing buffer {"connection_id":189340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:54:10] local.INFO: IMEI packet received {"connection_id":189340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":189340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:54:10] local.INFO: TCP Data received {"connection_id":187997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:10] local.INFO: Processing buffer {"connection_id":187997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:10] local.INFO: IMEI packet received {"connection_id":187997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":187997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:54:10] local.INFO: TCP Data received {"connection_id":189340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:54:10] local.INFO: Processing buffer {"connection_id":189340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7acc7c8012d7b518005e14e200008009c24..."} 
[2026-09-19 08:54:10] local.INFO: Packet analysis {"connection_id":189340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:10] local.INFO: Extracted packet for processing {"connection_id":189340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":8,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 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-19 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185637632001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056798208,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789787949000,"timestamp_ms":1789787949000,"timestamp_seconds":1789787949,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7acc7c8"} 
[2026-09-19 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-19 08:54: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-19 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 08:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185637632001,"66":2514,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8885602090056798208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185637632001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:54:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056798208,"description":"Unknown IO ID 45"} 
[2026-09-19 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185637632001,"power":2514,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885602090056798208}} 
[2026-09-19 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":189340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:54:11] local.INFO: GPS data processed {"connection_id":189340,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:54:11] local.INFO: Acknowledgment sent {"connection_id":189340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:54:15] local.INFO: TCP Data received {"connection_id":187997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:15] local.INFO: Processing buffer {"connection_id":187997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:54:15] local.INFO: IMEI packet received {"connection_id":187997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":187997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:54:16] local.INFO: TCP Data received {"connection_id":187997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:16] local.INFO: Processing buffer {"connection_id":187997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:16] local.INFO: Packet analysis {"connection_id":187997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:16] local.INFO: Extracted packet for processing {"connection_id":187997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:16] 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-19 08:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 08:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:54: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-19 08:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:54:16] 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-19 08:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:54: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-19 08:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":187997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:54:16] local.INFO: GPS data processed {"connection_id":187997,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:54:16] local.INFO: Acknowledgment sent {"connection_id":187997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:54:42] local.INFO: TCP Data received {"connection_id":189340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:54:42] local.INFO: Processing buffer {"connection_id":189340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:54:42] local.INFO: Packet analysis {"connection_id":189340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:54:42] local.INFO: Extracted packet for processing {"connection_id":189340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":12,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 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-19 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185714944001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521884672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789788250000,"timestamp_ms":1789788250000,"timestamp_seconds":1789788250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b15f90"} 
[2026-09-19 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-19 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185714944001,"66":2383,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8886024302521884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185714944001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:54:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521884672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185714944001,"power":2383,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521884672}} 
[2026-09-19 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":189340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:54:42] local.INFO: GPS data processed {"connection_id":189340,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:54:42] local.INFO: Acknowledgment sent {"connection_id":189340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:54:47] local.INFO: TCP Data received {"connection_id":187997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:47] local.INFO: Processing buffer {"connection_id":187997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7aceaf0012d34c14006aa41400008010e28..."} 
[2026-09-19 08:54:47] local.INFO: Packet analysis {"connection_id":187997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:47] local.INFO: Extracted packet for processing {"connection_id":187997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ac"} 
[2026-09-19 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 08:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185640192001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:54: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-19 08:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789787958000,"timestamp_ms":1789787958000,"timestamp_seconds":1789787958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7aceaf0"} 
[2026-09-19 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-19 08: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-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 08:54:47] 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-19 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-19 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-19 08:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:54:47] 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-19 08:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185640192001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185640192001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185640192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":187997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:54:47] local.INFO: GPS data processed {"connection_id":187997,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:54:47] local.INFO: Acknowledgment sent {"connection_id":187997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:54:51] local.INFO: TCP Data received {"connection_id":186593,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:54:51] local.INFO: Processing buffer {"connection_id":186593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 08:54:51] local.INFO: IMEI packet received {"connection_id":186593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 08:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":186593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:55:05] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:05] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:05] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:55:09] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:09] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:09] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:55:10] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:10] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:55:10] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:55:11] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:11] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:11] local.INFO: Packet analysis {"connection_id":186733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:11] local.INFO: Extracted packet for processing {"connection_id":186733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":12,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185714944001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521884672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789788250000,"timestamp_ms":1789788250000,"timestamp_seconds":1789788250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b15f90"} 
[2026-09-19 08: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-19 08:55: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-19 08: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 08:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185714944001,"66":2383,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8886024302521884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185714944001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521884672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185714944001,"power":2383,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521884672}} 
[2026-09-19 08:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":186733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:55:11] local.INFO: GPS data processed {"connection_id":186733,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:55:11] local.INFO: Acknowledgment sent {"connection_id":186733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:55:15] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:15] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:55:15] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:55:15] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:15] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:15] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:15] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55: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-19 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:55: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-19 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:55:15] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:55:15] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:55:43] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:43] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:55:43] local.INFO: Packet analysis {"connection_id":186733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:43] local.INFO: Extracted packet for processing {"connection_id":186733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":12,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 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-19 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185714944001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521884672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789788250000,"timestamp_ms":1789788250000,"timestamp_seconds":1789788250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b15f90"} 
[2026-09-19 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-19 08:55:43] 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-19 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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 08:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185714944001,"66":2383,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8886024302521884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185714944001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521884672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185714944001,"power":2383,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521884672}} 
[2026-09-19 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":186733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:55:43] local.INFO: GPS data processed {"connection_id":186733,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:55:43] local.INFO: Acknowledgment sent {"connection_id":186733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:55:47] local.INFO: TCP Data received {"connection_id":186734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:47] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:55:47] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:47] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:55: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-19 08:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:55: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-19 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:55: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-19 08:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:55:47] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:55:47] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:56:09] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:09] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:09] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:56:10] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:10] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:10] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:56:15] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:15] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:56:15] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:56:15] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:15] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 08:56:15] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:56:16] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:16] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:16] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:16] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":12,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185714944001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521884672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788250000,"timestamp_ms":1789788250000,"timestamp_seconds":1789788250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b15f90"} 
[2026-09-19 08: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-19 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 08:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185714944001,"66":2383,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8886024302521884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185714944001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521884672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185714944001,"power":2383,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521884672}} 
[2026-09-19 08:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:56:16] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:56:16] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:56:16] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:16] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:16] local.INFO: Packet analysis {"connection_id":186736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:16] local.INFO: Extracted packet for processing {"connection_id":186736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:16] 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-19 08:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08: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-19 08:56: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-19 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:56:16] 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-19 08:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:56:16] local.INFO: GPS data processed {"connection_id":186736,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:56:16] local.INFO: Acknowledgment sent {"connection_id":186736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:56:47] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:47] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b15f90012d7b518005e14e20000c009c24..."} 
[2026-09-19 08:56:47] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:47] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98651680,"longitude_deg":76.3056512,"latitude_deg":9.865168,"altitude":12,"angle":156,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e14e20","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185714944001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135031804691218432,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521884672,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 08:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788250000,"timestamp_ms":1789788250000,"timestamp_seconds":1789788250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b15f90"} 
[2026-09-19 08: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-19 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 08:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08: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-19 08: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-19 08:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 08:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 08:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 08:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 08:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185714944001,"66":2383,"216":206,"85":15104,"24":0,"16":135031804691218432,"45":8886024302521884672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-19 08:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 08:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 08:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185714944001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:56:47] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 08:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 08:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135031804691218432,"km_value":135031804691218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521884672,"description":"Unknown IO ID 45"} 
[2026-09-19 08:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185714944001,"power":2383,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521884672}} 
[2026-09-19 08:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:56:47] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:56:47] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:56:48] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:48] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:56:48] local.INFO: Packet analysis {"connection_id":186736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:48] local.INFO: Extracted packet for processing {"connection_id":186736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:56: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-19 08:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:56: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-19 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:56: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-19 08:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:56: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-19 08:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:56:48] local.INFO: GPS data processed {"connection_id":186736,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:56:48] local.INFO: Acknowledgment sent {"connection_id":186736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:57:15] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:15] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:15] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:57:20] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:20] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:57:20] local.INFO: IMEI packet received {"connection_id":186594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":186594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:57:21] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:21] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:21] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:57:21] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:21] 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-19 08:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:57:21] 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-19 08:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:57:21] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:57:21] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:57:25] local.INFO: TCP Data received {"connection_id":186594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:25] local.INFO: Processing buffer {"connection_id":186594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:57:25] local.INFO: Packet analysis {"connection_id":186594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:57:25] local.INFO: Extracted packet for processing {"connection_id":186594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:57:25] 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-19 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 08:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:57:25] 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-19 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":186594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:57:25] local.INFO: GPS data processed {"connection_id":186594,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:57:25] local.INFO: Acknowledgment sent {"connection_id":186594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:58:10] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:10] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:10] local.INFO: IMEI packet received {"connection_id":187998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":187998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:58:15] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:15] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:58:15] local.INFO: IMEI packet received {"connection_id":187998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":187998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:58:16] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:16] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:16] local.INFO: Packet analysis {"connection_id":187998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:58:16] local.INFO: Extracted packet for processing {"connection_id":187998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58:16] 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-19 08:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:58: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-19 08:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:58: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-19 08:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":187998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:58:16] local.INFO: GPS data processed {"connection_id":187998,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:58:16] local.INFO: Acknowledgment sent {"connection_id":187998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:58:47] local.INFO: TCP Data received {"connection_id":187998,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:47] local.INFO: Processing buffer {"connection_id":187998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:58:47] local.INFO: Packet analysis {"connection_id":187998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:58:47] local.INFO: Extracted packet for processing {"connection_id":187998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08: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-19 08:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:58: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-19 08:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08: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-19 08:58: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-19 08: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:58: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-19 08: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-19 08: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-19 08:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:58: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-19 08:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":187998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:58:47] local.INFO: GPS data processed {"connection_id":187998,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:58:47] local.INFO: Acknowledgment sent {"connection_id":187998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:59:10] local.INFO: TCP Data received {"connection_id":189342,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:10] local.INFO: Processing buffer {"connection_id":189342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:10] local.INFO: IMEI packet received {"connection_id":189342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 08:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":189342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 08:59:14] local.INFO: TCP Data received {"connection_id":189342,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:14] local.INFO: Processing buffer {"connection_id":189342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 08:59:14] local.INFO: IMEI packet received {"connection_id":189342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 08:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":189342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 08:59:15] local.INFO: TCP Data received {"connection_id":189342,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:15] local.INFO: Processing buffer {"connection_id":189342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:15] local.INFO: Packet analysis {"connection_id":189342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:15] local.INFO: Extracted packet for processing {"connection_id":189342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59: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-19 08:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:59: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-19 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:59: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-19 08:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59: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-19 08:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":189342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:59:15] local.INFO: GPS data processed {"connection_id":189342,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:59:15] local.INFO: Acknowledgment sent {"connection_id":189342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:59:20] local.INFO: TCP Data received {"connection_id":189342,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:20] local.INFO: Processing buffer {"connection_id":189342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:20] local.INFO: Packet analysis {"connection_id":189342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:20] local.INFO: Extracted packet for processing {"connection_id":189342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:20] 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-19 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59:20] 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-19 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":189342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:59:20] local.INFO: GPS data processed {"connection_id":189342,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:59:20] local.INFO: Acknowledgment sent {"connection_id":189342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 08:59:52] local.INFO: TCP Data received {"connection_id":189342,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:52] local.INFO: Processing buffer {"connection_id":189342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b182b8012d34c14006aa41400008010e29..."} 
[2026-09-19 08:59:52] local.INFO: Packet analysis {"connection_id":189342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:52] local.INFO: Extracted packet for processing {"connection_id":189342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b1"} 
[2026-09-19 08:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 08:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 08:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185717248001,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 08:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 08:59: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-19 08:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789788259000,"timestamp_ms":1789788259000,"timestamp_seconds":1789788259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b182b8"} 
[2026-09-19 08:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 08:59: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-19 08:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 08:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 08:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 08:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 08:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 08:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 08:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 08:59:52] 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-19 08:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 08:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 08:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185717248001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 08:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 08:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 08:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185717248001,"description":"Unknown IO ID 0"} 
[2026-09-19 08:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 08:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 08:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 08:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185717248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 08:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":189342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 08:59:52] local.INFO: GPS data processed {"connection_id":189342,"processed":1,"errors":0,"total":1} 
[2026-09-19 08:59:52] local.INFO: Acknowledgment sent {"connection_id":189342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:00:14] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: IMEI packet received {"connection_id":186595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:00:14] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:00:14] local.INFO: IMEI packet received {"connection_id":186595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:00:15] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:15] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:15] local.INFO: Packet analysis {"connection_id":186595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:15] local.INFO: Extracted packet for processing {"connection_id":186595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00: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-19 09:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:00: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-19 09:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:15] 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-19 09:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":186595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:00:15] local.INFO: GPS data processed {"connection_id":186595,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:00:15] local.INFO: Acknowledgment sent {"connection_id":186595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:00:22] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:22] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:22] local.INFO: Packet analysis {"connection_id":186595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:22] local.INFO: Extracted packet for processing {"connection_id":186595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:22] 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-19 09:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:22] 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-19 09:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":186595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:00:22] local.INFO: GPS data processed {"connection_id":186595,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:00:22] local.INFO: Acknowledgment sent {"connection_id":186595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:00:22] local.INFO: TCP Data received {"connection_id":189341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:00:22] local.INFO: Processing buffer {"connection_id":189341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:00:22] local.INFO: IMEI packet received {"connection_id":189341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":189341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:00:53] local.INFO: TCP Data received {"connection_id":186595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:53] local.INFO: Processing buffer {"connection_id":186595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:00:53] local.INFO: Packet analysis {"connection_id":186595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:53] local.INFO: Extracted packet for processing {"connection_id":186595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:00:53] 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-19 09:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:00:53] 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-19 09:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":186595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:00:53] local.INFO: GPS data processed {"connection_id":186595,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:00:53] local.INFO: Acknowledgment sent {"connection_id":186595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:01:10] local.INFO: TCP Data received {"connection_id":189343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:10] local.INFO: Processing buffer {"connection_id":189343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:10] local.INFO: IMEI packet received {"connection_id":189343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":189343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:01:15] local.INFO: TCP Data received {"connection_id":189343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:15] local.INFO: Processing buffer {"connection_id":189343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:01:15] local.INFO: IMEI packet received {"connection_id":189343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":189343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:01:16] local.INFO: TCP Data received {"connection_id":189343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:16] local.INFO: Processing buffer {"connection_id":189343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:16] local.INFO: Packet analysis {"connection_id":189343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:01:16] local.INFO: Extracted packet for processing {"connection_id":189343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01:16] 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-19 09:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:01:16] 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-19 09:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":189343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:01:16] local.INFO: GPS data processed {"connection_id":189343,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:01:16] local.INFO: Acknowledgment sent {"connection_id":189343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:01:48] local.INFO: TCP Data received {"connection_id":189343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:48] local.INFO: Processing buffer {"connection_id":189343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:01:48] local.INFO: Packet analysis {"connection_id":189343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:01:48] local.INFO: Extracted packet for processing {"connection_id":189343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:01: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-19 09:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09: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-19 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09: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-19 09: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-19 09: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-19 09:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:01: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-19 09:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":189343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:01:48] local.INFO: GPS data processed {"connection_id":189343,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:01:48] local.INFO: Acknowledgment sent {"connection_id":189343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:02:10] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:10] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:10] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:02:15] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:15] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:02:15] local.INFO: IMEI packet received {"connection_id":186737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:02:16] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:16] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:16] local.INFO: Packet analysis {"connection_id":186737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:02:16] local.INFO: Extracted packet for processing {"connection_id":186737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02:16] 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-19 09:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09: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-19 09:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:02: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-19 09:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":186737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:02:16] local.INFO: GPS data processed {"connection_id":186737,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:02:16] local.INFO: Acknowledgment sent {"connection_id":186737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:02:49] local.INFO: TCP Data received {"connection_id":186737,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:49] local.INFO: Processing buffer {"connection_id":186737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:02:49] local.INFO: Packet analysis {"connection_id":186737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:02:49] local.INFO: Extracted packet for processing {"connection_id":186737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:02: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-19 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09: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-19 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09: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-19 09: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-19 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09: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-19 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":186737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:02:49] local.INFO: GPS data processed {"connection_id":186737,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:02:49] local.INFO: Acknowledgment sent {"connection_id":186737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:03:10] local.INFO: TCP Data received {"connection_id":189344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:10] local.INFO: Processing buffer {"connection_id":189344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:10] local.INFO: IMEI packet received {"connection_id":189344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:03:15] local.INFO: TCP Data received {"connection_id":189344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:15] local.INFO: Processing buffer {"connection_id":189344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:03:15] local.INFO: IMEI packet received {"connection_id":189344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:03:16] local.INFO: TCP Data received {"connection_id":189344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:16] local.INFO: Processing buffer {"connection_id":189344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:16] local.INFO: Packet analysis {"connection_id":189344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:03:16] local.INFO: Extracted packet for processing {"connection_id":189344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:16] 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-19 09:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:03:16] 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-19 09:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:03:16] local.INFO: GPS data processed {"connection_id":189344,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:03:16] local.INFO: Acknowledgment sent {"connection_id":189344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:03:50] local.INFO: TCP Data received {"connection_id":189344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:50] local.INFO: Processing buffer {"connection_id":189344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:03:50] local.INFO: Packet analysis {"connection_id":189344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:03:50] local.INFO: Extracted packet for processing {"connection_id":189344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:03:50] 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-19 09:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09: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-19 09:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:03:50] 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-19 09:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":189344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:03:50] local.INFO: GPS data processed {"connection_id":189344,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:03:50] local.INFO: Acknowledgment sent {"connection_id":189344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:04:09] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:09] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:09] local.INFO: IMEI packet received {"connection_id":187999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":187999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:04:15] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:15] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:04:15] local.INFO: IMEI packet received {"connection_id":187999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":187999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:04:16] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:16] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:16] local.INFO: Packet analysis {"connection_id":187999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:04:16] local.INFO: Extracted packet for processing {"connection_id":187999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04:16] 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-19 09:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:04: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-19 09:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":187999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:04:16] local.INFO: GPS data processed {"connection_id":187999,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:04:16] local.INFO: Acknowledgment sent {"connection_id":187999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:04:48] local.INFO: TCP Data received {"connection_id":187999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:48] local.INFO: Processing buffer {"connection_id":187999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7b61a80012d34c14006aa41400008010e28..."} 
[2026-09-19 09:04:48] local.INFO: Packet analysis {"connection_id":187999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:04:48] local.INFO: Extracted packet for processing {"connection_id":187999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7b6"} 
[2026-09-19 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185794304001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:04: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-19 09:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789788560000,"timestamp_ms":1789788560000,"timestamp_seconds":1789788560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7b61a80"} 
[2026-09-19 09: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-19 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:04: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-19 09: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-19 09: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-19 09:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:04: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-19 09:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185794304001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185794304001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185794304001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":187999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:04:48] local.INFO: GPS data processed {"connection_id":187999,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:04:48] local.INFO: Acknowledgment sent {"connection_id":187999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:05:09] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:09] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:09] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:05:14] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:14] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:05:14] local.INFO: IMEI packet received {"connection_id":186597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":186597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:05:16] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:16] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:16] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:05:16] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:16] 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-19 09:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:05: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-19 09:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:05:16] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:05:16] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:05:25] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:25] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:25] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:05:29] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:29] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:05:29] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:05:29] local.INFO: TCP Data received {"connection_id":186738,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bb3718012d7be80005dcb620000000b421..."} 
[2026-09-19 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bb3718012d7be80005dcb620000000b421..."} 
[2026-09-19 09:05:30] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bb3718012d7be80005dcb620000000b421..."} 
[2026-09-19 09:05:30] local.INFO: Packet analysis {"connection_id":186738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:05:30] local.INFO: Extracted packet for processing {"connection_id":186738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":98350624,"longitude_deg":76.309504,"latitude_deg":9.8350624,"altitude":0,"angle":180,"satellites":33,"speed":41,"hex_longitude":"2d7be800","hex_latitude":"05dcb620","is_valid_coordinates":true} 
[2026-09-19 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185954816001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135046656688128000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811465576448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789788895000,"timestamp_ms":1789788895000,"timestamp_seconds":1789788895,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bb3718"} 
[2026-09-19 09:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-19 09:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185954816001,"66":13678,"186":206,"85":15104,"24":41,"16":135046656688128000,"45":8928104811465576448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-19 09:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185954816001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:05:30] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-19 09:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135046656688128000,"km_value":135046656688128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811465576448,"description":"Unknown IO ID 45"} 
[2026-09-19 09:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185954816001,"power":13678,"unknown_186":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8928104811465576448}} 
[2026-09-19 09:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":186738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:05:30] local.INFO: GPS data processed {"connection_id":186738,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:05:30] local.INFO: Acknowledgment sent {"connection_id":186738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:05:47] local.INFO: TCP Data received {"connection_id":186597,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:47] local.INFO: Processing buffer {"connection_id":186597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:05:47] local.INFO: Packet analysis {"connection_id":186597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:05:47] local.INFO: Extracted packet for processing {"connection_id":186597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:05: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-19 09:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09: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-19 09:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:05: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-19 09: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-19 09: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-19 09:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:05: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-19 09:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":186597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:05:47] local.INFO: GPS data processed {"connection_id":186597,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:05:47] local.INFO: Acknowledgment sent {"connection_id":186597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:06:05] local.INFO: TCP Data received {"connection_id":189345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:05] local.INFO: Processing buffer {"connection_id":189345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:05] local.INFO: IMEI packet received {"connection_id":189345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":189345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:06:10] local.INFO: TCP Data received {"connection_id":189346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:10] local.INFO: Processing buffer {"connection_id":189346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:10] local.INFO: IMEI packet received {"connection_id":189346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":189346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:06:10] local.INFO: TCP Data received {"connection_id":189345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:10] local.INFO: Processing buffer {"connection_id":189345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:06:10] local.INFO: IMEI packet received {"connection_id":189345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":189345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:06:11] local.INFO: TCP Data received {"connection_id":189345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bb5658012d7be9c005dc90d0000000b322..."} 
[2026-09-19 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bb5658012d7be9c005dc90d0000000b322..."} 
[2026-09-19 09:06:11] local.INFO: Processing buffer {"connection_id":189345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bb5658012d7be9c005dc90d0000000b322..."} 
[2026-09-19 09:06:11] local.INFO: Packet analysis {"connection_id":189345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:06:11] local.INFO: Extracted packet for processing {"connection_id":189345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":98341072,"longitude_deg":76.3095488,"latitude_deg":9.8341072,"altitude":0,"angle":179,"satellites":34,"speed":51,"hex_longitude":"2d7be9c0","hex_latitude":"05dc90d0","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185957120001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135047120544595968,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286439768064,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789788903000,"timestamp_ms":1789788903000,"timestamp_seconds":1789788903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bb5658"} 
[2026-09-19 09: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-19 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-19 09:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185957120001,"66":13396,"186":206,"85":15104,"24":51,"16":135047120544595968,"45":8928386286439768064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-19 09:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185957120001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:06:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-19 09:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135047120544595968,"km_value":135047120544595.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286439768064,"description":"Unknown IO ID 45"} 
[2026-09-19 09:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185957120001,"power":13396,"unknown_186":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8928386286439768064}} 
[2026-09-19 09:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":189345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:06:11] local.INFO: GPS data processed {"connection_id":189345,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:06:11] local.INFO: Acknowledgment sent {"connection_id":189345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:06:15] local.INFO: TCP Data received {"connection_id":189346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:15] local.INFO: Processing buffer {"connection_id":189346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:06:15] local.INFO: IMEI packet received {"connection_id":189346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":189346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:06:16] local.INFO: TCP Data received {"connection_id":189346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:16] local.INFO: Processing buffer {"connection_id":189346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:16] local.INFO: Packet analysis {"connection_id":189346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:06:16] local.INFO: Extracted packet for processing {"connection_id":189346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:16] 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-19 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 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-19 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 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-19 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-19 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:06: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-19 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":189346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:06:16] local.INFO: GPS data processed {"connection_id":189346,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:06:16] local.INFO: Acknowledgment sent {"connection_id":189346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:06:19] local.INFO: TCP Data received {"connection_id":186598,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:06:19] local.INFO: Processing buffer {"connection_id":186598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:06:19] local.INFO: IMEI packet received {"connection_id":186598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":186598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:06:42] local.INFO: TCP Data received {"connection_id":189345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bb7598012d7be9c005dc6af8000000b223..."} 
[2026-09-19 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bb7598012d7be9c005dc6af8000000b223..."} 
[2026-09-19 09:06:42] local.INFO: Processing buffer {"connection_id":189345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bb7598012d7be9c005dc6af8000000b223..."} 
[2026-09-19 09:06:42] local.INFO: Packet analysis {"connection_id":189345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:06:42] local.INFO: Extracted packet for processing {"connection_id":189345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bb"} 
[2026-09-19 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":98331384,"longitude_deg":76.3095488,"latitude_deg":9.8331384,"altitude":0,"angle":178,"satellites":35,"speed":46,"hex_longitude":"2d7be9c0","hex_latitude":"05dc6af8","is_valid_coordinates":true} 
[2026-09-19 09:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185959168001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135047588696031232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928878867646566400,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789788911000,"timestamp_ms":1789788911000,"timestamp_seconds":1789788911,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bb7598"} 
[2026-09-19 09:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-19 09:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185959168001,"66":13559,"186":206,"85":15104,"24":46,"16":135047588696031232,"45":8928878867646566400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-19 09:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185959168001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:06:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-19 09:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135047588696031232,"km_value":135047588696031.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928878867646566400,"description":"Unknown IO ID 45"} 
[2026-09-19 09:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185959168001,"power":13559,"unknown_186":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8928878867646566400}} 
[2026-09-19 09:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":189345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:06:42] local.INFO: GPS data processed {"connection_id":189345,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:06:42] local.INFO: Acknowledgment sent {"connection_id":189345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:06:47] local.INFO: TCP Data received {"connection_id":189346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:47] local.INFO: Processing buffer {"connection_id":189346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:06:47] local.INFO: Packet analysis {"connection_id":189346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:06:47] local.INFO: Extracted packet for processing {"connection_id":189346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:06: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-19 09:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 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-19 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:06: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-19 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-19 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-19 09:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:06:47] 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-19 09:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":189346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:06:47] local.INFO: GPS data processed {"connection_id":189346,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:06:47] local.INFO: Acknowledgment sent {"connection_id":189346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:07:07] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:07] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:07] local.INFO: IMEI packet received {"connection_id":188000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":188000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:07:10] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:10] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:10] local.INFO: IMEI packet received {"connection_id":188000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":188000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:07:10] local.INFO: TCP Data received {"connection_id":188001,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:10] local.INFO: Processing buffer {"connection_id":188001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:10] local.INFO: IMEI packet received {"connection_id":188001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":188001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:07:15] local.INFO: TCP Data received {"connection_id":188001,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:15] local.INFO: Processing buffer {"connection_id":188001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:07:15] local.INFO: IMEI packet received {"connection_id":188001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":188001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:07:15] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:15] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:07:15] local.INFO: IMEI packet received {"connection_id":188000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":188000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:07:16] local.INFO: TCP Data received {"connection_id":188001,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:16] local.INFO: Processing buffer {"connection_id":188001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:16] local.INFO: Packet analysis {"connection_id":188001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:07:16] local.INFO: Extracted packet for processing {"connection_id":188001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] 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-19 09:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:07: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-19 09:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":188001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:07:16] local.INFO: GPS data processed {"connection_id":188001,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:07:16] local.INFO: Acknowledgment sent {"connection_id":188001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:07:16] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bce4c8012d7c310005dada28000000a627..."} 
[2026-09-19 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bce4c8012d7c310005dada28000000a627..."} 
[2026-09-19 09:07:16] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bce4c8012d7c310005dada28000000a627..."} 
[2026-09-19 09:07:16] local.INFO: Packet analysis {"connection_id":188000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bc"} 
[2026-09-19 09:07:16] local.INFO: Extracted packet for processing {"connection_id":188000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bc"} 
[2026-09-19 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98228776,"longitude_deg":76.3113728,"latitude_deg":9.8228776,"altitude":0,"angle":166,"satellites":39,"speed":35,"hex_longitude":"2d7c3100","hex_latitude":"05dada28","is_valid_coordinates":true} 
[2026-09-19 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185982720001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135052661052407808,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316176121856,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789005000,"timestamp_ms":1789789005000,"timestamp_seconds":1789789005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bce4c8"} 
[2026-09-19 09:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 09:07:16] 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-19 09:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185982720001,"66":13602,"185":206,"85":15104,"24":35,"16":135052661052407808,"45":8946330316176121856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-19 09:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185982720001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135052661052407808,"km_value":135052661052407.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316176121856,"description":"Unknown IO ID 45"} 
[2026-09-19 09:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185982720001,"power":13602,"unknown_185":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8946330316176121856}} 
[2026-09-19 09:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":188000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:07:16] local.INFO: GPS data processed {"connection_id":188000,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:07:16] local.INFO: Acknowledgment sent {"connection_id":188000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:07:20] local.INFO: TCP Data received {"connection_id":188000,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bd0fc0012d7c3c0005dab878000000a324..."} 
[2026-09-19 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bd0fc0012d7c3c0005dab878000000a324..."} 
[2026-09-19 09:07:20] local.INFO: Processing buffer {"connection_id":188000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bd0fc0012d7c3c0005dab878000000a324..."} 
[2026-09-19 09:07:20] local.INFO: Packet analysis {"connection_id":188000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:07:20] local.INFO: Extracted packet for processing {"connection_id":188000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":98220152,"longitude_deg":76.3116544,"latitude_deg":9.8220152,"altitude":0,"angle":163,"satellites":36,"speed":27,"hex_longitude":"2d7c3c00","hex_latitude":"05dab878","is_valid_coordinates":true} 
[2026-09-19 09:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185985280001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053103434039296,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959708452864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789789016000,"timestamp_ms":1789789016000,"timestamp_seconds":1789789016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bd0fc0"} 
[2026-09-19 09:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:07:20] 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-19 09:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-19 09:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185985280001,"66":13526,"187":206,"85":15104,"24":27,"16":135053103434039296,"45":8948933959708452864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185985280001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053103434039296,"km_value":135053103434039.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959708452864,"description":"Unknown IO ID 45"} 
[2026-09-19 09:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185985280001,"power":13526,"unknown_187":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8948933959708452864}} 
[2026-09-19 09:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:07:20] local.INFO: GPS data processed {"connection_id":188000,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:07:20] local.INFO: Acknowledgment sent {"connection_id":188000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:07:47] local.INFO: TCP Data received {"connection_id":188001,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:47] local.INFO: Processing buffer {"connection_id":188001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:07:47] local.INFO: Packet analysis {"connection_id":188001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:07:47] local.INFO: Extracted packet for processing {"connection_id":188001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:07: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-19 09:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:07: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-19 09:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:07: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-19 09:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":188001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:07:47] local.INFO: GPS data processed {"connection_id":188001,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:07:47] local.INFO: Acknowledgment sent {"connection_id":188001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:08:03] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:03] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:03] local.INFO: IMEI packet received {"connection_id":186739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":186739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:08:05] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:05] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:05] local.INFO: IMEI packet received {"connection_id":186739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":186739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:08:09] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:09] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:09] local.INFO: IMEI packet received {"connection_id":186740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":186740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:08:10] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:10] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:08:10] local.INFO: IMEI packet received {"connection_id":186739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":186739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:08:11] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bd32e8012d7c40c005daa8b0000000af24..."} 
[2026-09-19 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bd32e8012d7c40c005daa8b0000000af24..."} 
[2026-09-19 09:08:11] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bd32e8012d7c40c005daa8b0000000af24..."} 
[2026-09-19 09:08:11] local.INFO: Packet analysis {"connection_id":186739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:11] local.INFO: Extracted packet for processing {"connection_id":186739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763117760,"raw_latitude":98216112,"longitude_deg":76.311776,"latitude_deg":9.8216112,"altitude":0,"angle":175,"satellites":36,"speed":11,"hex_longitude":"2d7c40c0","hex_latitude":"05daa8b0","is_valid_coordinates":true} 
[2026-09-19 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185988096001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053305297502208,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184450062336,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789025000,"timestamp_ms":1789789025000,"timestamp_seconds":1789789025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bd32e8"} 
[2026-09-19 09:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:08: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-19 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 09:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185988096001,"66":13406,"187":206,"85":15104,"24":11,"16":135053305297502208,"45":8952030184450062336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185988096001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:08:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053305297502208,"km_value":135053305297502.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184450062336,"description":"Unknown IO ID 45"} 
[2026-09-19 09:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185988096001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8952030184450062336}} 
[2026-09-19 09:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":186739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:08:11] local.INFO: GPS data processed {"connection_id":186739,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:08:11] local.INFO: Acknowledgment sent {"connection_id":186739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:08:15] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:15] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:08:15] local.INFO: IMEI packet received {"connection_id":186740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:08:15] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bd7550012d7c42c005daa0a0000000a22b..."} 
[2026-09-19 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bd7550012d7c42c005daa0a0000000a22b..."} 
[2026-09-19 09:08:15] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bd7550012d7c42c005daa0a0000000a22b..."} 
[2026-09-19 09:08:15] local.INFO: Packet analysis {"connection_id":186739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:15] local.INFO: Extracted packet for processing {"connection_id":186739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98214048,"longitude_deg":76.3118272,"latitude_deg":9.8214048,"altitude":0,"angle":162,"satellites":43,"speed":9,"hex_longitude":"2d7c42c0","hex_latitude":"05daa0a0","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185990400001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053416966651904,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953367190588403712,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789789042000,"timestamp_ms":1789789042000,"timestamp_seconds":1789789042,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bd7550"} 
[2026-09-19 09: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-19 09:08: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-19 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 09:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185990400001,"66":13439,"187":206,"85":15104,"24":9,"16":135053416966651904,"45":8953367190588403712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185990400001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053416966651904,"km_value":135053416966651.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953367190588403712,"description":"Unknown IO ID 45"} 
[2026-09-19 09:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185990400001,"power":13439,"unknown_187":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8953367190588403712}} 
[2026-09-19 09:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":186739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:08:15] local.INFO: GPS data processed {"connection_id":186739,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:08:15] local.INFO: Acknowledgment sent {"connection_id":186739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:08:15] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:15] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:15] local.INFO: Packet analysis {"connection_id":186740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:08:15] local.INFO: Extracted packet for processing {"connection_id":186740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08: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-19 09:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09: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-19 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:08: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-19 09: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-19 09: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-19 09:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:08:15] 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-19 09:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":186740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:08:16] local.INFO: GPS data processed {"connection_id":186740,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:08:16] local.INFO: Acknowledgment sent {"connection_id":186740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:08:46] local.INFO: TCP Data received {"connection_id":186739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bd7d20012d7c438005da9f48000000962c..."} 
[2026-09-19 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bd7d20012d7c438005da9f48000000962c..."} 
[2026-09-19 09:08:46] local.INFO: Processing buffer {"connection_id":186739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bd7d20012d7c438005da9f48000000962c..."} 
[2026-09-19 09:08:46] local.INFO: Packet analysis {"connection_id":186739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:46] local.INFO: Extracted packet for processing {"connection_id":186739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763118464,"raw_latitude":98213704,"longitude_deg":76.3118464,"latitude_deg":9.8213704,"altitude":0,"angle":150,"satellites":44,"speed":4,"hex_longitude":"2d7c4380","hex_latitude":"05da9f48","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185994752001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053438441488384,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140541296640,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789789044000,"timestamp_ms":1789789044000,"timestamp_seconds":1789789044,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bd7d20"} 
[2026-09-19 09: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-19 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-19 09:08:46] 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-19 09: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-19 09: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-19 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185994752001,"66":13091,"187":206,"85":15104,"24":4,"16":135053438441488384,"45":8953930140541296640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185994752001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:08:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053438441488384,"km_value":135053438441488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140541296640,"description":"Unknown IO ID 45"} 
[2026-09-19 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185994752001,"power":13091,"unknown_187":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8953930140541296640}} 
[2026-09-19 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":186739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:08:46] local.INFO: GPS data processed {"connection_id":186739,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:08:46] local.INFO: Acknowledgment sent {"connection_id":186739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:08:47] local.INFO: TCP Data received {"connection_id":186740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:47] local.INFO: Processing buffer {"connection_id":186740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:08:47] local.INFO: Packet analysis {"connection_id":186740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:08:47] local.INFO: Extracted packet for processing {"connection_id":186740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:08: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-19 09:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09: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-19 09:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:08: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-19 09: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-19 09: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-19 09:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:08: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-19 09:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":186740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:08:47] local.INFO: GPS data processed {"connection_id":186740,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:08:47] local.INFO: Acknowledgment sent {"connection_id":186740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:09:04] local.INFO: TCP Data received {"connection_id":189347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:04] local.INFO: Processing buffer {"connection_id":189347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:04] local.INFO: IMEI packet received {"connection_id":189347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":189347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:09:05] local.INFO: TCP Data received {"connection_id":189347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:05] local.INFO: Processing buffer {"connection_id":189347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:05] local.INFO: IMEI packet received {"connection_id":189347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":189347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:09:09] local.INFO: TCP Data received {"connection_id":189347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:09] local.INFO: Processing buffer {"connection_id":189347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:09:09] local.INFO: IMEI packet received {"connection_id":189347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":189347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:09:09] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:09] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:09] local.INFO: IMEI packet received {"connection_id":186600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":186600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:09:10] local.INFO: TCP Data received {"connection_id":189347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bdafe8012d7c440005da9e18000000b02a..."} 
[2026-09-19 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bdafe8012d7c440005da9e18000000b02a..."} 
[2026-09-19 09:09:10] local.INFO: Processing buffer {"connection_id":189347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bdafe8012d7c440005da9e18000000b02a..."} 
[2026-09-19 09:09:10] local.INFO: Packet analysis {"connection_id":189347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:09:10] local.INFO: Extracted packet for processing {"connection_id":189347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98213400,"longitude_deg":76.3118592,"latitude_deg":9.82134,"altitude":0,"angle":176,"satellites":42,"speed":5,"hex_longitude":"2d7c4400","hex_latitude":"05da9e18","is_valid_coordinates":true} 
[2026-09-19 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-19 09:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185995264001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053455621357568,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954141246773741568,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789789057000,"timestamp_ms":1789789057000,"timestamp_seconds":1789789057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bdafe8"} 
[2026-09-19 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-19 09:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 09:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185995264001,"66":13189,"187":206,"85":15104,"24":5,"16":135053455621357568,"45":8954141246773741568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185995264001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053455621357568,"km_value":135053455621357.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954141246773741568,"description":"Unknown IO ID 45"} 
[2026-09-19 09:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185995264001,"power":13189,"unknown_187":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8954141246773741568}} 
[2026-09-19 09:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":189347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:09:10] local.INFO: GPS data processed {"connection_id":189347,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:09:10] local.INFO: Acknowledgment sent {"connection_id":189347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:09:15] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:15] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:09:15] local.INFO: IMEI packet received {"connection_id":186600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:09:16] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:16] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:16] local.INFO: Packet analysis {"connection_id":186600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:09:16] local.INFO: Extracted packet for processing {"connection_id":186600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:16] 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-19 09:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09: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-19 09:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09: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-19 09: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-19 09:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:09: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-19 09:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":186600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:09:16] local.INFO: GPS data processed {"connection_id":186600,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:09:16] local.INFO: Acknowledgment sent {"connection_id":186600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:09:41] local.INFO: TCP Data received {"connection_id":189347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bdb7b8012d7c444005da9c40000000a52a..."} 
[2026-09-19 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bdb7b8012d7c444005da9c40000000a52a..."} 
[2026-09-19 09:09:41] local.INFO: Processing buffer {"connection_id":189347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bdb7b8012d7c444005da9c40000000a52a..."} 
[2026-09-19 09:09:41] local.INFO: Packet analysis {"connection_id":189347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:09:41] local.INFO: Extracted packet for processing {"connection_id":189347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763118656,"raw_latitude":98212928,"longitude_deg":76.3118656,"latitude_deg":9.8212928,"altitude":0,"angle":165,"satellites":42,"speed":10,"hex_longitude":"2d7c4440","hex_latitude":"05da9c40","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185998592001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053477096194048,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984262019072,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789789059000,"timestamp_ms":1789789059000,"timestamp_seconds":1789789059,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bdb7b8"} 
[2026-09-19 09: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-19 09:09:41] 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-19 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185998592001,"66":13243,"187":206,"85":15104,"24":10,"16":135053477096194048,"45":8954281984262019072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185998592001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:09:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053477096194048,"km_value":135053477096194.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984262019072,"description":"Unknown IO ID 45"} 
[2026-09-19 09:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185998592001,"power":13243,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8954281984262019072}} 
[2026-09-19 09:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":189347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:09:41] local.INFO: GPS data processed {"connection_id":189347,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:09:41] local.INFO: Acknowledgment sent {"connection_id":189347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:09:48] local.INFO: TCP Data received {"connection_id":186600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:48] local.INFO: Processing buffer {"connection_id":186600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bab248012d34c14006aa41400008010e29..."} 
[2026-09-19 09:09:48] local.INFO: Packet analysis {"connection_id":186600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:09:48] local.INFO: Extracted packet for processing {"connection_id":186600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ba"} 
[2026-09-19 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185871360001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:09: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-19 09:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789788861000,"timestamp_ms":1789788861000,"timestamp_seconds":1789788861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bab248"} 
[2026-09-19 09: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-19 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09: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-19 09: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-19 09: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-19 09:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:09: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-19 09:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185871360001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185871360001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185871360001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":186600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:09:48] local.INFO: GPS data processed {"connection_id":186600,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:09:48] local.INFO: Acknowledgment sent {"connection_id":186600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:10:05] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:05] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:05] local.INFO: IMEI packet received {"connection_id":188002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":188002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:10:09] local.INFO: TCP Data received {"connection_id":188003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:09] local.INFO: Processing buffer {"connection_id":188003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:09] local.INFO: IMEI packet received {"connection_id":188003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:10:10] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:10] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:10:10] local.INFO: IMEI packet received {"connection_id":188002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":188002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:10:11] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bdbf88012d7c450005da9a880000009428..."} 
[2026-09-19 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bdbf88012d7c450005da9a880000009428..."} 
[2026-09-19 09:10:11] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bdbf88012d7c450005da9a880000009428..."} 
[2026-09-19 09:10:11] local.INFO: Packet analysis {"connection_id":188002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:10:11] local.INFO: Extracted packet for processing {"connection_id":188002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bd"} 
[2026-09-19 09:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763118848,"raw_latitude":98212488,"longitude_deg":76.3118848,"latitude_deg":9.8212488,"altitude":0,"angle":148,"satellites":40,"speed":9,"hex_longitude":"2d7c4500","hex_latitude":"05da9a88","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185999104001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053498571030528,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353006075904,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789061000,"timestamp_ms":1789789061000,"timestamp_seconds":1789789061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bdbf88"} 
[2026-09-19 09: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-19 09:10: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-19 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 09:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185999104001,"66":12809,"187":206,"85":15104,"24":9,"16":135053498571030528,"45":8954352353006075904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185999104001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:10:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053498571030528,"km_value":135053498571030.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353006075904,"description":"Unknown IO ID 45"} 
[2026-09-19 09:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185999104001,"power":12809,"unknown_187":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8954352353006075904}} 
[2026-09-19 09:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":188002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:10:11] local.INFO: GPS data processed {"connection_id":188002,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:10:11] local.INFO: Acknowledgment sent {"connection_id":188002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:10:15] local.INFO: TCP Data received {"connection_id":188003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:15] local.INFO: Processing buffer {"connection_id":188003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:10:15] local.INFO: IMEI packet received {"connection_id":188003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":188003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:10:16] local.INFO: TCP Data received {"connection_id":188003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:16] local.INFO: Processing buffer {"connection_id":188003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:16] local.INFO: Packet analysis {"connection_id":188003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:10:16] local.INFO: Extracted packet for processing {"connection_id":188003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:16] 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-19 09:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:10:16] 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-19 09:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:10: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-19 09:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":188003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:10:16] local.INFO: GPS data processed {"connection_id":188003,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:10:16] local.INFO: Acknowledgment sent {"connection_id":188003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:10:42] local.INFO: TCP Data received {"connection_id":188002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7be0da8012d7c460005da97b80000009621..."} 
[2026-09-19 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7be0da8012d7c460005da97b80000009621..."} 
[2026-09-19 09:10:42] local.INFO: Processing buffer {"connection_id":188002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7be0da8012d7c460005da97b80000009621..."} 
[2026-09-19 09:10:42] local.INFO: Packet analysis {"connection_id":188002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:10:42] local.INFO: Extracted packet for processing {"connection_id":188002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":98211768,"longitude_deg":76.3119104,"latitude_deg":9.8211768,"altitude":0,"angle":150,"satellites":33,"speed":0,"hex_longitude":"2d7c4600","hex_latitude":"05da97b8","is_valid_coordinates":true} 
[2026-09-19 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185999616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053545815670784,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954563459238496256,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789081000,"timestamp_ms":1789789081000,"timestamp_seconds":1789789081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7be0da8"} 
[2026-09-19 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:10: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-19 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2522015791495250944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3082620864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-4835520192505433856,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221609128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2694840320,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192833607315883,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3460562944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2676783048053184985,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,206,160,183,45,64,156,42,10,66,175,158,125,128,1,240,35,227,218,4,113,205,9,50,176,36,239,52,2,223,5,27,59,21],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-19 09:10:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":162899520192512,"timestamp_seconds":162899520192.512,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185999616001,"66":13526,"187":206,"85":15104,"24":0,"16":135053545815670784,"45":8954563459238496256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185999616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:10:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053545815670784,"km_value":135053545815670.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954563459238496256,"description":"Unknown IO ID 45"} 
[2026-09-19 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185999616001,"power":13526,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8954563459238496256}} 
[2026-09-19 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":188002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:10:42] local.INFO: GPS data processed {"connection_id":188002,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:10:42] local.INFO: Acknowledgment sent {"connection_id":188002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:10:47] local.INFO: TCP Data received {"connection_id":188003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:47] local.INFO: Processing buffer {"connection_id":188003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:10:47] local.INFO: Packet analysis {"connection_id":188003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:10:47] local.INFO: Extracted packet for processing {"connection_id":188003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:10: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-19 09:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:10:47] 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-19 09: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-19 09: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-19 09:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:10: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-19 09:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":188003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:10:47] local.INFO: GPS data processed {"connection_id":188003,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:10:47] local.INFO: Acknowledgment sent {"connection_id":188003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:11:05] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:05] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:05] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:11:10] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:10] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:10] local.INFO: IMEI packet received {"connection_id":188004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":188004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:11:10] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:10] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:11:10] local.INFO: IMEI packet received {"connection_id":186601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":186601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:11:11] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7be5fb0012d7c460005da97b80000009623..."} 
[2026-09-19 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7be5fb0012d7c460005da97b80000009623..."} 
[2026-09-19 09:11:11] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7be5fb0012d7c460005da97b80000009623..."} 
[2026-09-19 09:11:11] local.INFO: Packet analysis {"connection_id":186601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:11:11] local.INFO: Extracted packet for processing {"connection_id":186601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":98211768,"longitude_deg":76.3119104,"latitude_deg":9.8211768,"altitude":0,"angle":150,"satellites":35,"speed":0,"hex_longitude":"2d7c4600","hex_latitude":"05da97b8","is_valid_coordinates":true} 
[2026-09-19 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186004736001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053545815670784,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954844934215022592,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789102000,"timestamp_ms":1789789102000,"timestamp_seconds":1789789102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7be5fb0"} 
[2026-09-19 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:11: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-19 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 09:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186004736001,"66":13580,"187":206,"85":15104,"24":0,"16":135053545815670784,"45":8954844934215022592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186004736001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:11:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053545815670784,"km_value":135053545815670.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954844934215022592,"description":"Unknown IO ID 45"} 
[2026-09-19 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186004736001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8954844934215022592}} 
[2026-09-19 09:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":186601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:11:11] local.INFO: GPS data processed {"connection_id":186601,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:11:11] local.INFO: Acknowledgment sent {"connection_id":186601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:11:15] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:15] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:11:15] local.INFO: IMEI packet received {"connection_id":188004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:11:16] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:16] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:16] local.INFO: Packet analysis {"connection_id":188004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:11:16] local.INFO: Extracted packet for processing {"connection_id":188004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:16] 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-19 09:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:11:16] 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-19 09:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:11:16] 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-19 09:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":188004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:11:16] local.INFO: GPS data processed {"connection_id":188004,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:11:16] local.INFO: Acknowledgment sent {"connection_id":188004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:11:42] local.INFO: TCP Data received {"connection_id":186601,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7beb1b8012d7c460005da97b80000009621..."} 
[2026-09-19 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7beb1b8012d7c460005da97b80000009621..."} 
[2026-09-19 09:11:42] local.INFO: Processing buffer {"connection_id":186601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7beb1b8012d7c460005da97b80000009621..."} 
[2026-09-19 09:11:42] local.INFO: Packet analysis {"connection_id":186601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:11:42] local.INFO: Extracted packet for processing {"connection_id":186601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":98211768,"longitude_deg":76.3119104,"latitude_deg":9.8211768,"altitude":0,"angle":150,"satellites":33,"speed":0,"hex_longitude":"2d7c4600","hex_latitude":"05da97b8","is_valid_coordinates":true} 
[2026-09-19 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186010112001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053545815670784,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954844934215022592,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789123000,"timestamp_ms":1789789123000,"timestamp_seconds":1789789123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7beb1b8"} 
[2026-09-19 09:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:11: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-19 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636430,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3082646864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3182422017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2319813403956215808,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2652372992,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541871803,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3667959808,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147867295,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3462594560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4665735650646949888,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639955550883413,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,206,160,13,45,151,33,10,66,191,154,40,183,64,1,240,227,218,4,113,205,5,125,67,72,44,239,51,2,223,9,124,52,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-19 09:11:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":165077068021760,"timestamp_seconds":165077068021.76,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186010112001,"66":13580,"187":206,"85":15104,"24":0,"16":135053545815670784,"45":8954844934215022592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186010112001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:11:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053545815670784,"km_value":135053545815670.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954844934215022592,"description":"Unknown IO ID 45"} 
[2026-09-19 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186010112001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8954844934215022592}} 
[2026-09-19 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":186601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:11:42] local.INFO: GPS data processed {"connection_id":186601,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:11:42] local.INFO: Acknowledgment sent {"connection_id":186601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:11:47] local.INFO: TCP Data received {"connection_id":188004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:47] local.INFO: Processing buffer {"connection_id":188004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:11:47] local.INFO: Packet analysis {"connection_id":188004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:11:47] local.INFO: Extracted packet for processing {"connection_id":188004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:11: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-19 09:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:11:47] 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-19 09: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-19 09: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-19 09:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:11:47] 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-19 09:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":188004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:11:47] local.INFO: GPS data processed {"connection_id":188004,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:11:47] local.INFO: Acknowledgment sent {"connection_id":188004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:11:56] local.INFO: TCP Data received {"connection_id":186599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:11:56] local.INFO: Processing buffer {"connection_id":186599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:11:56] local.INFO: IMEI packet received {"connection_id":186599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":186599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:12:05] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:05] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:05] local.INFO: IMEI packet received {"connection_id":186741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":186741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:12:10] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:10] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:10] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:12:10] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:10] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:12:10] local.INFO: IMEI packet received {"connection_id":186741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":186741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:12:11] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7befbf0012d7c470005da9760000000cd23..."} 
[2026-09-19 09:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7befbf0012d7c470005da9760000000cd23..."} 
[2026-09-19 09:12:11] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7befbf0012d7c470005da9760000000cd23..."} 
[2026-09-19 09:12:11] local.INFO: Packet analysis {"connection_id":186741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:12:11] local.INFO: Extracted packet for processing {"connection_id":186741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7be"} 
[2026-09-19 09:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763119360,"raw_latitude":98211680,"longitude_deg":76.311936,"latitude_deg":9.821168,"altitude":0,"angle":205,"satellites":35,"speed":2,"hex_longitude":"2d7c4700","hex_latitude":"05da9760","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186015488001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053558700572672,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954844934215022592,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789142000,"timestamp_ms":1789789142000,"timestamp_seconds":1789789142,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7befbf0"} 
[2026-09-19 09: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-19 09:12: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-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636430,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3082648864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2319807906398076928,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3182934017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2621440000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633573893252795,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3462856704,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3667871744,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4809850838587539456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540558802505301,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,187,85,24,241,157,16,206,160,95,45,151,35,10,66,13,33,191,1,240,9,227,183,218,4,113,205,175,68,42,239,51,2,223,5,124,52,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-19 09:12:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":165068478087168,"timestamp_seconds":165068478087.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09: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-19 09:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186015488001,"66":13515,"187":206,"85":15104,"24":2,"16":135053558700572672,"45":8954844934215022592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186015488001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:12:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053558700572672,"km_value":135053558700572.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954844934215022592,"description":"Unknown IO ID 45"} 
[2026-09-19 09:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186015488001,"power":13515,"unknown_187":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8954844934215022592}} 
[2026-09-19 09:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":186741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:12:11] local.INFO: GPS data processed {"connection_id":186741,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:12:11] local.INFO: Acknowledgment sent {"connection_id":186741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:12:15] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:15] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:12:15] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:12:16] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:16] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:16] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:16] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:16] 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-19 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:12:16] 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-19 09: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-19 09: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-19 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:12: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-19 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:12:16] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:12:16] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:12:42] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf0f78012d7c470005da9700000000d923..."} 
[2026-09-19 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf0f78012d7c470005da9700000000d923..."} 
[2026-09-19 09:12:42] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf0f78012d7c470005da9700000000d923..."} 
[2026-09-19 09:12:42] local.INFO: Packet analysis {"connection_id":186741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:42] local.INFO: Extracted packet for processing {"connection_id":186741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763119360,"raw_latitude":98211584,"longitude_deg":76.311936,"latitude_deg":9.8211584,"altitude":0,"angle":217,"satellites":35,"speed":2,"hex_longitude":"2d7c4700","hex_latitude":"05da9700","is_valid_coordinates":true} 
[2026-09-19 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186020352001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053562995539968,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955126409191710720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789147000,"timestamp_ms":1789789147000,"timestamp_seconds":1789789147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf0f78"} 
[2026-09-19 09:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-19 09:12:42] 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-19 09:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186020352001,"66":13580,"187":206,"85":15104,"24":2,"16":135053562995539968,"45":8955126409191710720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186020352001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:12:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053562995539968,"km_value":135053562995539.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955126409191710720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186020352001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8955126409191710720}} 
[2026-09-19 09:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":186741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:12:42] local.INFO: GPS data processed {"connection_id":186741,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:12:42] local.INFO: Acknowledgment sent {"connection_id":186741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:12:47] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:47] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:12:47] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:47] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:12: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-19 09:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:12:47] 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-19 09: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-19 09: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-19 09:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:12: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-19 09:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:12:47] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:12:47] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:13:05] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:05] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:05] local.INFO: IMEI packet received {"connection_id":188005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":188005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:13:09] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:09] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:09] local.INFO: IMEI packet received {"connection_id":186602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":186602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:13:10] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:10] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:13:10] local.INFO: IMEI packet received {"connection_id":188005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":188005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:13:11] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf6180012d7c470005da96e0000000d821..."} 
[2026-09-19 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf6180012d7c470005da96e0000000d821..."} 
[2026-09-19 09:13:11] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf6180012d7c470005da96e0000000d821..."} 
[2026-09-19 09:13:11] local.INFO: Packet analysis {"connection_id":188005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:11] local.INFO: Extracted packet for processing {"connection_id":188005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763119360,"raw_latitude":98211552,"longitude_deg":76.311936,"latitude_deg":9.8211552,"altitude":0,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d7c4700","hex_latitude":"05da96e0","is_valid_coordinates":true} 
[2026-09-19 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186021632001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053567290507264,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955126409191686144,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789168000,"timestamp_ms":1789789168000,"timestamp_seconds":1789789168,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf6180"} 
[2026-09-19 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:13: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-19 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636430,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3082663864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2319798010793426944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3188566017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2545418240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728281787,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3463512064,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3667673088,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4899922831092482048,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862857950679478699,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,187,85,24,241,157,16,206,160,251,45,151,35,10,66,177,33,95,1,240,12,227,183,218,4,113,205,191,69,136,40,239,50,2,223,5,124,51,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-19 09:13:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":238744347213824,"timestamp_seconds":238744347213.824,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186021632001,"66":13374,"187":206,"85":15104,"24":0,"16":135053567290507264,"45":8955126409191686144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186021632001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:13:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053567290507264,"km_value":135053567290507.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955126409191686144,"description":"Unknown IO ID 45"} 
[2026-09-19 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186021632001,"power":13374,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8955126409191686144}} 
[2026-09-19 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":188005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:13:11] local.INFO: GPS data processed {"connection_id":188005,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:13:11] local.INFO: Acknowledgment sent {"connection_id":188005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:13:15] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:15] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:13:15] local.INFO: IMEI packet received {"connection_id":186602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":186602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:13:16] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:16] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:16] local.INFO: Packet analysis {"connection_id":186602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:16] local.INFO: Extracted packet for processing {"connection_id":186602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:16] 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-19 09:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:13:16] 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-19 09:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:13:16] 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-19 09:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:13:16] local.INFO: GPS data processed {"connection_id":186602,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:13:16] local.INFO: Acknowledgment sent {"connection_id":186602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:13:42] local.INFO: TCP Data received {"connection_id":188005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c2f390012d7c468005da96f0000000b825..."} 
[2026-09-19 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c2f390012d7c468005da96f0000000b825..."} 
[2026-09-19 09:13:42] local.INFO: Processing buffer {"connection_id":188005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c2f390012d7c468005da96f0000000b825..."} 
[2026-09-19 09:13:42] local.INFO: Packet analysis {"connection_id":188005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c2"} 
[2026-09-19 09:13:42] local.INFO: Extracted packet for processing {"connection_id":188005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c2"} 
[2026-09-19 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763119232,"raw_latitude":98211568,"longitude_deg":76.3119232,"latitude_deg":9.8211568,"altitude":0,"angle":184,"satellites":37,"speed":3,"hex_longitude":"2d7c4680","hex_latitude":"05da96f0","is_valid_coordinates":true} 
[2026-09-19 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186086144001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053571585474560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955126409191677952,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789402000,"timestamp_ms":1789789402000,"timestamp_seconds":1789789402,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c2f390"} 
[2026-09-19 09:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:13: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-19 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 09:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186086144001,"66":13396,"187":206,"85":15104,"24":3,"16":135053571585474560,"45":8955126409191677952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186086144001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:13:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053571585474560,"km_value":135053571585474.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955126409191677952,"description":"Unknown IO ID 45"} 
[2026-09-19 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186086144001,"power":13396,"unknown_187":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8955126409191677952}} 
[2026-09-19 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":188005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:13:42] local.INFO: GPS data processed {"connection_id":188005,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:13:42] local.INFO: Acknowledgment sent {"connection_id":188005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:13:48] local.INFO: TCP Data received {"connection_id":186602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:48] local.INFO: Processing buffer {"connection_id":186602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:13:48] local.INFO: Packet analysis {"connection_id":186602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:48] local.INFO: Extracted packet for processing {"connection_id":186602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:13: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-19 09:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:13: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-19 09: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-19 09: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-19 09:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:13: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-19 09:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":186602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:13:48] local.INFO: GPS data processed {"connection_id":186602,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:13:48] local.INFO: Acknowledgment sent {"connection_id":186602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:14:09] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:09] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:09] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:14:09] local.INFO: TCP Data received {"connection_id":189348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:09] local.INFO: Processing buffer {"connection_id":189348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:09] local.INFO: IMEI packet received {"connection_id":189348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":189348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:14:10] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:10] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:10] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:14:15] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:15] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:14:15] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:14:16] local.INFO: TCP Data received {"connection_id":189348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:16] local.INFO: Processing buffer {"connection_id":189348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:14:16] local.INFO: IMEI packet received {"connection_id":189348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":189348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:14:16] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c2ff48012d7c468005da9428000000a825..."} 
[2026-09-19 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c2ff48012d7c468005da9428000000a825..."} 
[2026-09-19 09:14:16] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c2ff48012d7c468005da9428000000a825..."} 
[2026-09-19 09:14:16] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c2"} 
[2026-09-19 09:14:16] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c2"} 
[2026-09-19 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763119232,"raw_latitude":98210856,"longitude_deg":76.3119232,"latitude_deg":9.8210856,"altitude":0,"angle":168,"satellites":37,"speed":13,"hex_longitude":"2d7c4680","hex_latitude":"05da9428","is_valid_coordinates":true} 
[2026-09-19 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186086912001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135053610240180224,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954985671703326720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789405000,"timestamp_ms":1789789405000,"timestamp_seconds":1789789405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c2ff48"} 
[2026-09-19 09:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:14: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-19 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-19 09:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186086912001,"66":13363,"187":206,"85":15104,"24":13,"16":135053610240180224,"45":8954985671703326720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186086912001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:14:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135053610240180224,"km_value":135053610240180.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954985671703326720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186086912001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8954985671703326720}} 
[2026-09-19 09:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:14:16] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:14:16] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:14:17] local.INFO: TCP Data received {"connection_id":189348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:17] local.INFO: Processing buffer {"connection_id":189348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:17] local.INFO: Packet analysis {"connection_id":189348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:14:17] local.INFO: Extracted packet for processing {"connection_id":189348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:14: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-19 09:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:17] 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-19 09:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:14: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:14:17] 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-19 09:14: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-19 09:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:14:17] 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-19 09:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":189348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:14:17] local.INFO: GPS data processed {"connection_id":189348,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:14:17] local.INFO: Acknowledgment sent {"connection_id":189348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:14:18] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c33210012d7c524005da6f30000000a120..."} 
[2026-09-19 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c33210012d7c524005da6f30000000a120..."} 
[2026-09-19 09:14:18] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c33210012d7c524005da6f30000000a120..."} 
[2026-09-19 09:14:18] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:14:18] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763122240,"raw_latitude":98201392,"longitude_deg":76.312224,"latitude_deg":9.8201392,"altitude":0,"angle":161,"satellites":32,"speed":42,"hex_longitude":"2d7c5240","hex_latitude":"05da6f30","is_valid_coordinates":true} 
[2026-09-19 09:14: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-19 09:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186087680001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135054091276517376,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954985671703144448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789789418000,"timestamp_ms":1789789418000,"timestamp_seconds":1789789418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c33210"} 
[2026-09-19 09:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:14: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-19 09:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-19 09:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:14: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-19 09:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186087680001,"66":13319,"187":206,"85":15104,"24":42,"16":135054091276517376,"45":8954985671703144448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186087680001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:14:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135054091276517376,"km_value":135054091276517.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954985671703144448,"description":"Unknown IO ID 45"} 
[2026-09-19 09:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186087680001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8954985671703144448}} 
[2026-09-19 09:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:14:18] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:14:18] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:14:20] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c35150012d7c604005da4b98000000a11f..."} 
[2026-09-19 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c35150012d7c604005da4b98000000a11f..."} 
[2026-09-19 09:14:20] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c35150012d7c604005da4b98000000a11f..."} 
[2026-09-19 09:14:20] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:14:20] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98192280,"longitude_deg":76.3125824,"latitude_deg":9.819228,"altitude":0,"angle":161,"satellites":31,"speed":54,"hex_longitude":"2d7c6040","hex_latitude":"05da4b98","is_valid_coordinates":true} 
[2026-09-19 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186091008001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135054563722919936,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958293002677071872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789789426000,"timestamp_ms":1789789426000,"timestamp_seconds":1789789426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c35150"} 
[2026-09-19 09:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:14: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-19 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3082940864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3264598017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-7575054573223008000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3355520380,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3464560640,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3667320832,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-6937793931094065147,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,187,85,24,241,157,16,206,160,255,45,128,148,37,10,66,243,150,231,1,240,227,183,218,4,113,205,67,71,224,35,239,52,2,223,5,56,193],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-19 09:14:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177158813777920,"timestamp_seconds":177158813777.92,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186091008001,"66":13222,"187":206,"85":15104,"24":54,"16":135054563722919936,"45":8958293002677071872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186091008001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:14:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135054563722919936,"km_value":135054563722919.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958293002677071872,"description":"Unknown IO ID 45"} 
[2026-09-19 09:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186091008001,"power":13222,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8958293002677071872}} 
[2026-09-19 09:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:14:20] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:14:20] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:14:48] local.INFO: TCP Data received {"connection_id":189348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:48] local.INFO: Processing buffer {"connection_id":189348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7bf4a10012d34c14006aa41400008010e29..."} 
[2026-09-19 09:14:48] local.INFO: Packet analysis {"connection_id":189348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:14:48] local.INFO: Extracted packet for processing {"connection_id":189348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7bf"} 
[2026-09-19 09:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458185948416001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:14: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-19 09:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789789162000,"timestamp_ms":1789789162000,"timestamp_seconds":1789789162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7bf4a10"} 
[2026-09-19 09: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-19 09:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 09:14: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-19 09: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-19 09: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-19 09:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09: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-19 09:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458185948416001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458185948416001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458185948416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":189348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:14:48] local.INFO: GPS data processed {"connection_id":189348,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:14:48] local.INFO: Acknowledgment sent {"connection_id":189348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:15:05] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:05] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:05] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:15:06] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:06] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:06] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:15:10] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:10] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:15:10] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:15:11] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c36ca8012d7c6bc005da26d8000000a41b..."} 
[2026-09-19 09:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c36ca8012d7c6bc005da26d8000000a41b..."} 
[2026-09-19 09:15:11] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c36ca8012d7c6bc005da26d8000000a41b..."} 
[2026-09-19 09:15:11] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:11] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763128768,"raw_latitude":98182872,"longitude_deg":76.3128768,"latitude_deg":9.8182872,"altitude":0,"angle":164,"satellites":27,"speed":54,"hex_longitude":"2d7c6bc0","hex_latitude":"05da26d8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186093056001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135055040464289792,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962233652348688384,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789433000,"timestamp_ms":1789789433000,"timestamp_seconds":1789789433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c36ca8"} 
[2026-09-19 09: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-19 09:15: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-19 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 09:15:11] 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-19 09: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-19 09: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-19 09:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186093056001,"66":13059,"187":206,"85":15104,"24":54,"16":135055040464289792,"45":8962233652348688384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-19 09:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186093056001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:15:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 09:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135055040464289792,"km_value":135055040464289.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962233652348688384,"description":"Unknown IO ID 45"} 
[2026-09-19 09:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186093056001,"power":13059,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8962233652348688384}} 
[2026-09-19 09:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:15:11] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:15:11] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:15:15] local.INFO: TCP Data received {"connection_id":189349,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:15] local.INFO: Processing buffer {"connection_id":189349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:15] local.INFO: IMEI packet received {"connection_id":189349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":189349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:15:20] local.INFO: TCP Data received {"connection_id":189349,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:20] local.INFO: Processing buffer {"connection_id":189349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:15:20] local.INFO: IMEI packet received {"connection_id":189349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":189349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:15:23] local.INFO: TCP Data received {"connection_id":189349,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:23] local.INFO: Processing buffer {"connection_id":189349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:23] local.INFO: Packet analysis {"connection_id":189349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:23] local.INFO: Extracted packet for processing {"connection_id":189349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:15: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-19 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:23] 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-19 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:15: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-19 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:15:23] 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-19 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":189349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:15:23] local.INFO: GPS data processed {"connection_id":189349,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:15:23] local.INFO: Acknowledgment sent {"connection_id":189349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:15:42] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c4d020012d7c9b8005d867f8000300b21d..."} 
[2026-09-19 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c4d020012d7c9b8005d867f8000300b21d..."} 
[2026-09-19 09:15:42] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c4d020012d7c9b8005d867f8000300b21d..."} 
[2026-09-19 09:15:42] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c4"} 
[2026-09-19 09:15:42] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c4"} 
[2026-09-19 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763140992,"raw_latitude":98068472,"longitude_deg":76.3140992,"latitude_deg":9.8068472,"altitude":3,"angle":178,"satellites":29,"speed":56,"hex_longitude":"2d7c9b80","hex_latitude":"05d867f8","is_valid_coordinates":true} 
[2026-09-19 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186116352001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135060628216741888,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978277725992003584,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789524000,"timestamp_ms":1789789524000,"timestamp_seconds":1789789524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c4d020"} 
[2026-09-19 09:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-19 09:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186116352001,"66":13406,"197":206,"85":15104,"24":56,"16":135060628216741888,"45":8978277725992003584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-19 09:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186116352001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:15:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-19 09:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135060628216741888,"km_value":135060628216741.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978277725992003584,"description":"Unknown IO ID 45"} 
[2026-09-19 09:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186116352001,"power":13406,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8978277725992003584}} 
[2026-09-19 09:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:15:42] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:15:42] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:15:55] local.INFO: TCP Data received {"connection_id":189349,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:55] local.INFO: Processing buffer {"connection_id":189349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:15:55] local.INFO: Packet analysis {"connection_id":189349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:55] local.INFO: Extracted packet for processing {"connection_id":189349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:15: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-19 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:15:55] 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-19 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:15: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-19 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:15:55] 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-19 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":189349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:15:55] local.INFO: GPS data processed {"connection_id":189349,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:15:55] local.INFO: Acknowledgment sent {"connection_id":189349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:16:05] local.INFO: TCP Data received {"connection_id":188006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:05] local.INFO: Processing buffer {"connection_id":188006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:05] local.INFO: IMEI packet received {"connection_id":188006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":188006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:16:08] local.INFO: TCP Data received {"connection_id":188006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:08] local.INFO: Processing buffer {"connection_id":188006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:16:08] local.INFO: IMEI packet received {"connection_id":188006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:16:09] local.INFO: TCP Data received {"connection_id":188006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c4eb78012d7c9e0005d84240000200b21b..."} 
[2026-09-19 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c4eb78012d7c9e0005d84240000200b21b..."} 
[2026-09-19 09:16:09] local.INFO: Processing buffer {"connection_id":188006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c4eb78012d7c9e0005d84240000200b21b..."} 
[2026-09-19 09:16:09] local.INFO: Packet analysis {"connection_id":188006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c4"} 
[2026-09-19 09:16:09] local.INFO: Extracted packet for processing {"connection_id":188006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c4"} 
[2026-09-19 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763141632,"raw_latitude":98058816,"longitude_deg":76.3141632,"latitude_deg":9.8058816,"altitude":2,"angle":178,"satellites":27,"speed":51,"hex_longitude":"2d7c9e00","hex_latitude":"05d84240","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186118144001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135061096368177152,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978911044687099904,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789789531000,"timestamp_ms":1789789531000,"timestamp_seconds":1789789531,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c4eb78"} 
[2026-09-19 09: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-19 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-19 09:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186118144001,"66":13428,"197":206,"85":15104,"24":51,"16":135061096368177152,"45":8978911044687099904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-19 09:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186118144001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:16:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-19 09:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135061096368177152,"km_value":135061096368177.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978911044687099904,"description":"Unknown IO ID 45"} 
[2026-09-19 09:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186118144001,"power":13428,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8978911044687099904}} 
[2026-09-19 09:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":188006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:16:09] local.INFO: GPS data processed {"connection_id":188006,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:16:09] local.INFO: Acknowledgment sent {"connection_id":188006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:16:10] local.INFO: TCP Data received {"connection_id":189350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:10] local.INFO: Processing buffer {"connection_id":189350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:10] local.INFO: IMEI packet received {"connection_id":189350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":189350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:16:15] local.INFO: TCP Data received {"connection_id":189350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:15] local.INFO: Processing buffer {"connection_id":189350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:16:15] local.INFO: IMEI packet received {"connection_id":189350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":189350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:16:15] local.INFO: TCP Data received {"connection_id":189350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:15] local.INFO: Processing buffer {"connection_id":189350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:15] local.INFO: Packet analysis {"connection_id":189350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:16:15] local.INFO: Extracted packet for processing {"connection_id":189350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16: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-19 09:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:16: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-19 09:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:16:15] 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-19 09:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":189350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:16:15] local.INFO: GPS data processed {"connection_id":189350,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:16:15] local.INFO: Acknowledgment sent {"connection_id":189350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:16:40] local.INFO: TCP Data received {"connection_id":188006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c506d0012d7c9fc005d81ed8000100b11c..."} 
[2026-09-19 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c506d0012d7c9fc005d81ed8000100b11c..."} 
[2026-09-19 09:16:40] local.INFO: Processing buffer {"connection_id":188006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c506d0012d7c9fc005d81ed8000100b11c..."} 
[2026-09-19 09:16:40] local.INFO: Packet analysis {"connection_id":188006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c5"} 
[2026-09-19 09:16:40] local.INFO: Extracted packet for processing {"connection_id":188006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c5"} 
[2026-09-19 09:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98049752,"longitude_deg":76.314208,"latitude_deg":9.8049752,"altitude":1,"angle":177,"satellites":28,"speed":49,"hex_longitude":"2d7c9fc0","hex_latitude":"05d81ed8","is_valid_coordinates":true} 
[2026-09-19 09:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186119936001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135061534454841344,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732126404608,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789789538000,"timestamp_ms":1789789538000,"timestamp_seconds":1789789538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c506d0"} 
[2026-09-19 09:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-19 09:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186119936001,"66":13396,"197":206,"85":15104,"24":49,"16":135061534454841344,"45":8979614732126404608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-19 09:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186119936001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:16:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-19 09:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135061534454841344,"km_value":135061534454841.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732126404608,"description":"Unknown IO ID 45"} 
[2026-09-19 09:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186119936001,"power":13396,"unknown_197":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8979614732126404608}} 
[2026-09-19 09:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":188006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:16:40] local.INFO: GPS data processed {"connection_id":188006,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:16:40] local.INFO: Acknowledgment sent {"connection_id":188006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:16:47] local.INFO: TCP Data received {"connection_id":189350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:47] local.INFO: Processing buffer {"connection_id":189350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:16:47] local.INFO: Packet analysis {"connection_id":189350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:16:47] local.INFO: Extracted packet for processing {"connection_id":189350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:16: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-19 09:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09: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-19 09:16: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-19 09: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-19 09: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-19 09: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-19 09: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-19 09:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:16: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-19 09:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":189350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:16:47] local.INFO: GPS data processed {"connection_id":189350,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:16:47] local.INFO: Acknowledgment sent {"connection_id":189350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:17:03] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:03] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:03] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:17:04] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:04] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:04] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:17:05] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:05] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:05] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:17:09] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:09] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:09] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:17:10] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:10] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:17:10] local.INFO: IMEI packet received {"connection_id":186603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":186603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:17:11] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c529f8012d7ca18005d7f8d0000000b11d..."} 
[2026-09-19 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c529f8012d7ca18005d7f8d0000000b11d..."} 
[2026-09-19 09:17:11] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c529f8012d7ca18005d7f8d0000000b11d..."} 
[2026-09-19 09:17:11] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c5"} 
[2026-09-19 09:17:11] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c5"} 
[2026-09-19 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763142528,"raw_latitude":98040016,"longitude_deg":76.3142528,"latitude_deg":9.8040016,"altitude":0,"angle":177,"satellites":29,"speed":37,"hex_longitude":"2d7ca180","hex_latitude":"05d7f8d0","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186121728001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135062011196211200,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313333327872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789547000,"timestamp_ms":1789789547000,"timestamp_seconds":1789789547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c529f8"} 
[2026-09-19 09: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-19 09:17: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-19 09: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-19 09:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186121728001,"66":13363,"196":206,"85":15104,"24":37,"16":135062011196211200,"45":8980107313333327872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-19 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186121728001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:17:11] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 09:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135062011196211200,"km_value":135062011196211.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313333327872,"description":"Unknown IO ID 45"} 
[2026-09-19 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186121728001,"power":13363,"unknown_196":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8980107313333327872}} 
[2026-09-19 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:17:11] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:17:11] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:17:15] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:15] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:17:15] local.INFO: IMEI packet received {"connection_id":186604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:17:16] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:16] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:16] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:17:16] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:16] 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-19 09:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:17: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-19 09:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:17: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-19 09:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:17:16] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:17:16] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:17:27] local.INFO: TCP Data received {"connection_id":186743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:17:27] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:17:27] local.INFO: IMEI packet received {"connection_id":186743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":186743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:17:42] local.INFO: TCP Data received {"connection_id":186603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c68988012d7ceb8005d69858000000af1f..."} 
[2026-09-19 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c68988012d7ceb8005d69858000000af1f..."} 
[2026-09-19 09:17:42] local.INFO: Processing buffer {"connection_id":186603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c68988012d7ceb8005d69858000000af1f..."} 
[2026-09-19 09:17:42] local.INFO: Packet analysis {"connection_id":186603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:17:42] local.INFO: Extracted packet for processing {"connection_id":186603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763161472,"raw_latitude":97949784,"longitude_deg":76.3161472,"latitude_deg":9.7949784,"altitude":0,"angle":175,"satellites":31,"speed":24,"hex_longitude":"2d7ceb80","hex_latitude":"05d69858","is_valid_coordinates":true} 
[2026-09-19 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-19 09:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186143232001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135066499437035520,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000092036656539648,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789637000,"timestamp_ms":1789789637000,"timestamp_seconds":1789789637,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c68988"} 
[2026-09-19 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-19 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 09:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186143232001,"66":12765,"30":206,"85":15104,"24":24,"16":135066499437035520,"45":9000092036656539648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-19 09:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186143232001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:17:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-19 09:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135066499437035520,"km_value":135066499437035.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000092036656539648,"description":"Unknown IO ID 45"} 
[2026-09-19 09:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186143232001,"power":12765,"unknown_30":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9000092036656539648}} 
[2026-09-19 09:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":186603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:17:42] local.INFO: GPS data processed {"connection_id":186603,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:17:42] local.INFO: Acknowledgment sent {"connection_id":186603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:17:48] local.INFO: TCP Data received {"connection_id":186604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:48] local.INFO: Processing buffer {"connection_id":186604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:17:48] local.INFO: Packet analysis {"connection_id":186604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:17:48] local.INFO: Extracted packet for processing {"connection_id":186604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:17: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-19 09:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09: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-19 09:17: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-19 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:17: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-19 09: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-19 09: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-19 09:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:17: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-19 09:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":186604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:17:48] local.INFO: GPS data processed {"connection_id":186604,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:17:48] local.INFO: Acknowledgment sent {"connection_id":186604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:18:05] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:05] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:05] local.INFO: IMEI packet received {"connection_id":186605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":186605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:18:10] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:10] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:10] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:18:10] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:10] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:18:10] local.INFO: IMEI packet received {"connection_id":186605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:18:11] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c69158012d7cec8005d69420000000a320..."} 
[2026-09-19 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c69158012d7cec8005d69420000000a320..."} 
[2026-09-19 09:18:11] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c69158012d7cec8005d69420000000a320..."} 
[2026-09-19 09:18:11] local.INFO: Packet analysis {"connection_id":186605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:18:11] local.INFO: Extracted packet for processing {"connection_id":186605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763161728,"raw_latitude":97948704,"longitude_deg":76.3161728,"latitude_deg":9.7948704,"altitude":0,"angle":163,"satellites":32,"speed":19,"hex_longitude":"2d7cec80","hex_latitude":"05d69420","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186147072001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135066550976643072,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001429042793568256,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789639000,"timestamp_ms":1789789639000,"timestamp_seconds":1789789639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c69158"} 
[2026-09-19 09: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-19 09:18: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-19 09:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 09:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186147072001,"66":12765,"30":206,"85":15104,"24":19,"16":135066550976643072,"45":9001429042793568256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-19 09:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186147072001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:18:11] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-19 09:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135066550976643072,"km_value":135066550976643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001429042793568256,"description":"Unknown IO ID 45"} 
[2026-09-19 09:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186147072001,"power":12765,"unknown_30":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9001429042793568256}} 
[2026-09-19 09:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":186605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:18:11] local.INFO: GPS data processed {"connection_id":186605,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:18:11] local.INFO: Acknowledgment sent {"connection_id":186605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:18:15] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:15] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:18:15] local.INFO: IMEI packet received {"connection_id":186606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:18:16] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:16] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:16] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:18:16] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:16] 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-19 09:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09: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-19 09:18: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:18: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-19 09:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:18:16] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:18:16] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:18:42] local.INFO: TCP Data received {"connection_id":186605,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c6c808012d7cf50005d671e0000100a926..."} 
[2026-09-19 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c6c808012d7cf50005d671e0000100a926..."} 
[2026-09-19 09:18:42] local.INFO: Processing buffer {"connection_id":186605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c6c808012d7cf50005d671e0000100a926..."} 
[2026-09-19 09:18:42] local.INFO: Packet analysis {"connection_id":186605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:18:42] local.INFO: Extracted packet for processing {"connection_id":186605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c6"} 
[2026-09-19 09:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":97939936,"longitude_deg":76.3163904,"latitude_deg":9.7939936,"altitude":1,"angle":169,"satellites":38,"speed":28,"hex_longitude":"2d7cf500","hex_latitude":"05d671e0","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186147584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135066993358274560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001710517770002432,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789653000,"timestamp_ms":1789789653000,"timestamp_seconds":1789789653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c6c808"} 
[2026-09-19 09: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-19 09:18: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-19 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 09:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186147584001,"66":13504,"30":206,"85":15104,"24":28,"16":135066993358274560,"45":9001710517770002432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-19 09:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186147584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:18:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-19 09:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135066993358274560,"km_value":135066993358274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001710517770002432,"description":"Unknown IO ID 45"} 
[2026-09-19 09:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186147584001,"power":13504,"unknown_30":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9001710517770002432}} 
[2026-09-19 09:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":186605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:18:43] local.INFO: GPS data processed {"connection_id":186605,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:18:43] local.INFO: Acknowledgment sent {"connection_id":186605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:18:47] local.INFO: TCP Data received {"connection_id":186606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:47] local.INFO: Processing buffer {"connection_id":186606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:18:47] local.INFO: Packet analysis {"connection_id":186606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:18:47] local.INFO: Extracted packet for processing {"connection_id":186606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:18: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-19 09:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09: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-19 09:18: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:18: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-19 09: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-19 09: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-19 09:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:18: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-19 09:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:18:47] local.INFO: GPS data processed {"connection_id":186606,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:18:47] local.INFO: Acknowledgment sent {"connection_id":186606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:19:05] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:05] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:05] local.INFO: IMEI packet received {"connection_id":188008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":188008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:19:08] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:08] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:08] local.INFO: IMEI packet received {"connection_id":188008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:19:10] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:10] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:19:10] local.INFO: IMEI packet received {"connection_id":188008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":188008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:19:11] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c81be0012d7d310005d589d8000300b323..."} 
[2026-09-19 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c81be0012d7d310005d589d8000300b323..."} 
[2026-09-19 09:19:11] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c81be0012d7d310005d589d8000300b323..."} 
[2026-09-19 09:19:11] local.INFO: Packet analysis {"connection_id":188008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:19:11] local.INFO: Extracted packet for processing {"connection_id":188008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":97880536,"longitude_deg":76.3179264,"latitude_deg":9.7880536,"altitude":3,"angle":179,"satellites":35,"speed":39,"hex_longitude":"2d7d3100","hex_latitude":"05d589d8","is_valid_coordinates":true} 
[2026-09-19 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186173440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135069986950479872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553657231360,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789740000,"timestamp_ms":1789789740000,"timestamp_seconds":1789789740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c81be0"} 
[2026-09-19 09:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:19: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-19 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 09:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186173440001,"66":12809,"29":206,"85":15104,"24":39,"16":135069986950479872,"45":9020991553657231360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-19 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186173440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135069986950479872,"km_value":135069986950479.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553657231360,"description":"Unknown IO ID 45"} 
[2026-09-19 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186173440001,"power":12809,"unknown_29":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9020991553657231360}} 
[2026-09-19 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":188008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:19:11] local.INFO: GPS data processed {"connection_id":188008,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:19:11] local.INFO: Acknowledgment sent {"connection_id":188008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:19:15] local.INFO: TCP Data received {"connection_id":189351,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:15] local.INFO: Processing buffer {"connection_id":189351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:15] local.INFO: IMEI packet received {"connection_id":189351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":189351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:19:20] local.INFO: TCP Data received {"connection_id":189351,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:20] local.INFO: Processing buffer {"connection_id":189351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:19:20] local.INFO: IMEI packet received {"connection_id":189351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":189351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:19:21] local.INFO: TCP Data received {"connection_id":189351,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:21] local.INFO: Processing buffer {"connection_id":189351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:21] local.INFO: Packet analysis {"connection_id":189351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:19:21] local.INFO: Extracted packet for processing {"connection_id":189351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:21] 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-19 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:19:21] 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-19 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":189351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:19:21] local.INFO: GPS data processed {"connection_id":189351,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:19:21] local.INFO: Acknowledgment sent {"connection_id":189351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:19:25] local.INFO: TCP Data received {"connection_id":189351,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:25] local.INFO: Processing buffer {"connection_id":189351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c3e1d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:19:25] local.INFO: Packet analysis {"connection_id":189351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:19:25] local.INFO: Extracted packet for processing {"connection_id":189351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c3"} 
[2026-09-19 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186025472001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:25] 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-19 09:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789789463000,"timestamp_ms":1789789463000,"timestamp_seconds":1789789463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c3e1d8"} 
[2026-09-19 09:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:19:25] 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-19 09:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186025472001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186025472001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186025472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":189351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:19:25] local.INFO: GPS data processed {"connection_id":189351,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:19:25] local.INFO: Acknowledgment sent {"connection_id":189351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:19:42] local.INFO: TCP Data received {"connection_id":188008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c83350012d7d2f4005d57970000300c223..."} 
[2026-09-19 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c83350012d7d2f4005d57970000300c223..."} 
[2026-09-19 09:19:42] local.INFO: Processing buffer {"connection_id":188008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c83350012d7d2f4005d57970000300c223..."} 
[2026-09-19 09:19:42] local.INFO: Packet analysis {"connection_id":188008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:19:42] local.INFO: Extracted packet for processing {"connection_id":188008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97876336,"longitude_deg":76.3178816,"latitude_deg":9.7876336,"altitude":3,"angle":194,"satellites":35,"speed":14,"hex_longitude":"2d7d2f40","hex_latitude":"05d57970","is_valid_coordinates":true} 
[2026-09-19 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186173440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135070193108910080,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553657231360,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789746000,"timestamp_ms":1789789746000,"timestamp_seconds":1789789746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c83350"} 
[2026-09-19 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1513209474964259840,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3083312864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-4074658146084385984,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3509059586,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308455,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3700228096,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3018150622068170201,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638331085650185813,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-09-19 09:19:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,29,85,24,241,157,16,221,160,27,45,137,3,35,10,66,248,64,173,1,36,240,181,227,183,213,4,113,205,33,201,38,120,34,239,52,2,223,5,39,50,59],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-09-19 09:19:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216369745021566976,"timestamp_seconds":216369745021566.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186173440001,"66":12602,"29":206,"85":15104,"24":14,"16":135070193108910080,"45":9020991553657231360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-19 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186173440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:19:42] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 09:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135070193108910080,"km_value":135070193108910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553657231360,"description":"Unknown IO ID 45"} 
[2026-09-19 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186173440001,"power":12602,"unknown_29":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9020991553657231360}} 
[2026-09-19 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":188008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:19:42] local.INFO: GPS data processed {"connection_id":188008,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:19:42] local.INFO: Acknowledgment sent {"connection_id":188008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:20:08] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:20:08] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:20:08] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:20:10] local.INFO: TCP Data received {"connection_id":189352,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:10] local.INFO: Processing buffer {"connection_id":189352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:10] local.INFO: IMEI packet received {"connection_id":189352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":189352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:20:10] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 09:20:10] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 09:20:10] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:20:15] local.INFO: TCP Data received {"connection_id":189352,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:15] local.INFO: Processing buffer {"connection_id":189352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:20:15] local.INFO: IMEI packet received {"connection_id":189352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":189352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:20:15] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:20:15] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-19 09:20:15] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:20:15] local.INFO: TCP Data received {"connection_id":189352,"ip":"42.109.136.10","data_length":93,"data_hex":"00000000000000518e01000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189352,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:15] local.INFO: Processing buffer {"connection_id":189352,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:15] local.INFO: Packet analysis {"connection_id":189352,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b7c8"} 
[2026-09-19 09:20:15] local.INFO: Extracted packet for processing {"connection_id":189352,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b7c8"} 
[2026-09-19 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 09:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:20:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189352,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189352,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-19 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189352,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-19 09:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 09:20:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":189352,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 09:20:15] local.ERROR: GPS data processing failed {"connection_id":189352,"error":"No valid data to process"} 
[2026-09-19 09:20:15] local.INFO: Acknowledgment sent {"connection_id":189352,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 09:20:24] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c83b20012d7d2ec005d577b0000300b024..."} 
[2026-09-19 09:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c83b20012d7d2ec005d577b0000300b024..."} 
[2026-09-19 09:20:24] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0b7..."} 
[2026-09-19 09:20:24] local.INFO: IMEI packet received {"connection_id":186607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":186607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:20:26] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c944c0012d7dc80005d57e680005007f23..."} 
[2026-09-19 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c944c0012d7dc80005d57e680005007f23..."} 
[2026-09-19 09:20:26] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b7c83b20012d7d2ec005d577b0000300b024..."} 
[2026-09-19 09:20:26] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:20:26] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":97875888,"longitude_deg":76.3178688,"latitude_deg":9.7875888,"altitude":3,"angle":176,"satellites":36,"speed":7,"hex_longitude":"2d7d2ec0","hex_latitude":"05d577b0","is_valid_coordinates":true} 
[2026-09-19 09:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186174976001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135070214583746560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972446912512,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789789748000,"timestamp_ms":1789789748000,"timestamp_seconds":1789789748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c83b20"} 
[2026-09-19 09:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-19 09:20:26] 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-19 09:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186174976001,"66":13178,"29":206,"85":15104,"24":7,"16":135070214583746560,"45":9020498972446912512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186174976001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135070214583746560,"km_value":135070214583746.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972446912512,"description":"Unknown IO ID 45"} 
[2026-09-19 09:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186174976001,"power":13178,"unknown_29":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9020498972446912512}} 
[2026-09-19 09:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:20:26] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:20:26] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:20:26] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c9"} 
[2026-09-19 09:20:26] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c9"} 
[2026-09-19 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763217920,"raw_latitude":97877608,"longitude_deg":76.321792,"latitude_deg":9.7877608,"altitude":5,"angle":127,"satellites":35,"speed":18,"hex_longitude":"2d7dc800","hex_latitude":"05d57e68","is_valid_coordinates":true} 
[2026-09-19 09:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135072134434127872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063072062674794496,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789789816000,"timestamp_ms":1789789816000,"timestamp_seconds":1789789816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c944c0"} 
[2026-09-19 09:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 09:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186192640001,"66":13243,"253":206,"85":15104,"24":18,"16":135072134434127872,"45":9063072062674794496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-19 09:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135072134434127872,"km_value":135072134434127.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063072062674794496,"description":"Unknown IO ID 45"} 
[2026-09-19 09:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186192640001,"power":13243,"unknown_253":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9063072062674794496}} 
[2026-09-19 09:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:20:26] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:20:26] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:20:27] local.INFO: TCP Data received {"connection_id":186607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c948a8012d7dc90005d57ce80005009123..."} 
[2026-09-19 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c948a8012d7dc90005d57ce80005009123..."} 
[2026-09-19 09:20:27] local.INFO: Processing buffer {"connection_id":186607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c948a8012d7dc90005d57ce80005009123..."} 
[2026-09-19 09:20:27] local.INFO: Packet analysis {"connection_id":186607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c9"} 
[2026-09-19 09:20:27] local.INFO: Extracted packet for processing {"connection_id":186607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c9"} 
[2026-09-19 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763218176,"raw_latitude":97877224,"longitude_deg":76.3218176,"latitude_deg":9.7877224,"altitude":5,"angle":145,"satellites":35,"speed":17,"hex_longitude":"2d7dc900","hex_latitude":"05d57ce8","is_valid_coordinates":true} 
[2026-09-19 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135072155908964352,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063494275139790848,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789789817000,"timestamp_ms":1789789817000,"timestamp_seconds":1789789817,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c948a8"} 
[2026-09-19 09:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 09:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186192896001,"66":13091,"253":206,"85":15104,"24":17,"16":135072155908964352,"45":9063494275139790848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-19 09:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135072155908964352,"km_value":135072155908964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063494275139790848,"description":"Unknown IO ID 45"} 
[2026-09-19 09:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186192896001,"power":13091,"unknown_253":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9063494275139790848}} 
[2026-09-19 09:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":186607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:20:27] local.INFO: GPS data processed {"connection_id":186607,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:20:27] local.INFO: Acknowledgment sent {"connection_id":186607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:20:46] local.INFO: TCP Data received {"connection_id":189352,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:46] local.INFO: Processing buffer {"connection_id":189352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:20:46] local.INFO: Packet analysis {"connection_id":189352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:20:46] local.INFO: Extracted packet for processing {"connection_id":189352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:20:46] 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-19 09:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09: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-19 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:20: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-19 09: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-19 09: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-19 09:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:20: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-19 09:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":189352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:20:46] local.INFO: GPS data processed {"connection_id":189352,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:20:46] local.INFO: Acknowledgment sent {"connection_id":189352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:21:03] local.INFO: TCP Data received {"connection_id":188009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:03] local.INFO: Processing buffer {"connection_id":188009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:03] local.INFO: IMEI packet received {"connection_id":188009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:21:04] local.INFO: TCP Data received {"connection_id":188009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:04] local.INFO: Processing buffer {"connection_id":188009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:04] local.INFO: IMEI packet received {"connection_id":188009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":188009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:05] local.INFO: TCP Data received {"connection_id":188009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: Processing buffer {"connection_id":188009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: IMEI packet received {"connection_id":188009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":188009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:05] local.INFO: TCP Data received {"connection_id":188009,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: Processing buffer {"connection_id":188009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:21:05] local.INFO: IMEI packet received {"connection_id":188009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":188009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:07] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:07] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:07] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:21:08] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:08] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:08] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:09] local.INFO: TCP Data received {"connection_id":186746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:09] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:09] local.INFO: IMEI packet received {"connection_id":186746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":186746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:21:12] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:12] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:21:12] local.INFO: IMEI packet received {"connection_id":186608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":186608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:13] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-19 09:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-19 09:21:13] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-19 09:21:13] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 09:21:13] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 09:21:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:13] 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-19 09:21:13] 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-19 09:21:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 09:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 09:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 09:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 09:21:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 09:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 09:21:13] local.ERROR: GPS data processing failed {"connection_id":186608,"error":"No valid data to process"} 
[2026-09-19 09:21:13] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 09:21:15] local.INFO: TCP Data received {"connection_id":186746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:15] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:21:15] local.INFO: IMEI packet received {"connection_id":186746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":186746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:21:15] local.INFO: TCP Data received {"connection_id":186746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:15] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:15] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:21:15] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21: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-19 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:21: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-19 09:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:21: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-19 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:21:15] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:21:15] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:21:43] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-19 09:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-19 09:21:43] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-19 09:21:43] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-19 09:21:43] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-19 09:21: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-19 09: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-19 09:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 09:21:43] 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-19 09:21:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 09:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 09:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 09:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 09:21:43] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 09:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 09:21:43] local.ERROR: GPS data processing failed {"connection_id":186608,"error":"No valid data to process"} 
[2026-09-19 09:21:43] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 09:21:47] local.INFO: TCP Data received {"connection_id":186746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:47] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:21:47] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:21:47] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:21: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-19 09:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09: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-19 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09: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-19 09: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-19 09: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-19 09:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:21: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-19 09:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:21:47] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:21:47] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:22:09] local.INFO: TCP Data received {"connection_id":189353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:09] local.INFO: Processing buffer {"connection_id":189353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:09] local.INFO: IMEI packet received {"connection_id":189353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":189353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:22:14] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ca8ce0012d1965c0071fef78003500990a..."} 
[2026-09-19 09:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ca8ce0012d1965c0071fef78003500990a..."} 
[2026-09-19 09:22:14] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ca8ce0012d1965c0071fef78003500990a..."} 
[2026-09-19 09:22:14] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:22:14] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533432,"longitude_deg":75.6639168,"latitude_deg":11.9533432,"altitude":53,"angle":153,"satellites":10,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-19 09:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587210004332544,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 09:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789789900000,"timestamp_ms":1789789900000,"timestamp_seconds":1789789900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ca8ce0"} 
[2026-09-19 09:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":177,"raw_value":8358680908399640577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055296,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":591379806537384142,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3556822272,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2977169408,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5348992780550203035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":78,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513393005857472852,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:14] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,101,83,24,241,157,16,177,187,10,66,102,27,1,240,255,4,113,205,186,56,45,239,5,2,76,160,7,78,64,43],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[]} 
[2026-09-19 09:22:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:22:14] 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-19 09:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12341,"101":206,"83":41984,"24":0,"16":21587210004332544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16]} 
[2026-09-19 09:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 09:22:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 09:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587210004332544,"km_value":21587210004332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:22:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 09:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:22:15] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:22:15] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:22:15] local.INFO: TCP Data received {"connection_id":189353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:15] local.INFO: Processing buffer {"connection_id":189353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:22:15] local.INFO: IMEI packet received {"connection_id":189353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":189353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:22:15] local.INFO: TCP Data received {"connection_id":189353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:16] local.INFO: Processing buffer {"connection_id":189353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:16] local.INFO: Packet analysis {"connection_id":189353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:22:16] local.INFO: Extracted packet for processing {"connection_id":189353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:16] 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-19 09:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:22: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-19 09:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":189353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:22:16] local.INFO: GPS data processed {"connection_id":189353,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:22:16] local.INFO: Acknowledgment sent {"connection_id":189353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:22:45] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cadee8012d196680071fef98003e00990c..."} 
[2026-09-19 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cadee8012d196680071fef98003e00990c..."} 
[2026-09-19 09:22:45] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cadee8012d196680071fef98003e00990c..."} 
[2026-09-19 09:22:45] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:22:45] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533464,"longitude_deg":75.663936,"latitude_deg":11.9533464,"altitude":62,"angle":153,"satellites":12,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186214400001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587231479169024,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429066240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789789921000,"timestamp_ms":1789789921000,"timestamp_seconds":1789789921,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cadee8"} 
[2026-09-19 09: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-19 09:22: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-19 09:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:22:45] 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-19 09:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186214400001,"66":12363,"102":206,"83":41984,"24":0,"16":21587231479169024,"45":1830079960429066240},"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-19 09:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186214400001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:22:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587231479169024,"km_value":21587231479169.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429066240,"description":"Unknown IO ID 45"} 
[2026-09-19 09:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186214400001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429066240}} 
[2026-09-19 09:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:22:46] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:22:46] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:22:47] local.INFO: TCP Data received {"connection_id":189353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:47] local.INFO: Processing buffer {"connection_id":189353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:22:47] local.INFO: Packet analysis {"connection_id":189353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:22:47] local.INFO: Extracted packet for processing {"connection_id":189353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:22: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-19 09:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:22: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-19 09:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:22: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-19 09:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":189353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:22:47] local.INFO: GPS data processed {"connection_id":189353,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:22:47] local.INFO: Acknowledgment sent {"connection_id":189353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:23:09] local.INFO: TCP Data received {"connection_id":188011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:09] local.INFO: Processing buffer {"connection_id":188011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:09] local.INFO: IMEI packet received {"connection_id":188011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:23:15] local.INFO: TCP Data received {"connection_id":188011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:15] local.INFO: Processing buffer {"connection_id":188011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:23:15] local.INFO: IMEI packet received {"connection_id":188011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":188011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:23:16] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb30f0012d196880071ff1b8004300990e..."} 
[2026-09-19 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb30f0012d196880071ff1b8004300990e..."} 
[2026-09-19 09:23:16] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb30f0012d196880071ff1b8004300990e..."} 
[2026-09-19 09:23:16] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:23:16] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119534008,"longitude_deg":75.6639872,"latitude_deg":11.9534008,"altitude":67,"angle":153,"satellites":14,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071ff1b8","is_valid_coordinates":true} 
[2026-09-19 09:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186219776001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587274428841984,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661607424,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789942000,"timestamp_ms":1789789942000,"timestamp_seconds":1789789942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb30f0"} 
[2026-09-19 09:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:23:16] 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-19 09:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:23: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-19 09:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:23:16] 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-19 09:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186219776001,"66":12287,"102":206,"83":41984,"24":0,"16":21587274428841984,"45":1830291066661607424},"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-19 09:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186219776001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:23:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587274428841984,"km_value":21587274428841.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661607424,"description":"Unknown IO ID 45"} 
[2026-09-19 09:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186219776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661607424}} 
[2026-09-19 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:23:17] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:23:17] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:23:17] local.INFO: TCP Data received {"connection_id":188011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:17] local.INFO: Processing buffer {"connection_id":188011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:17] local.INFO: Packet analysis {"connection_id":188011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:23:17] local.INFO: Extracted packet for processing {"connection_id":188011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:17] 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-19 09:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09: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-19 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09: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-19 09: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-19 09:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:23:17] 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-19 09:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":188011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:23:17] local.INFO: GPS data processed {"connection_id":188011,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:23:17] local.INFO: Acknowledgment sent {"connection_id":188011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:23:22] local.INFO: TCP Data received {"connection_id":189354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:23:22] local.INFO: Processing buffer {"connection_id":189354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:23:22] local.INFO: IMEI packet received {"connection_id":189354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":189354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:23:48] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb82f8012d196840071ff1f0004200990f..."} 
[2026-09-19 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb82f8012d196840071ff1f0004200990f..."} 
[2026-09-19 09:23:48] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb82f8012d196840071ff1f0004200990f..."} 
[2026-09-19 09:23:48] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:23:48] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119534064,"longitude_deg":75.6639808,"latitude_deg":11.9534064,"altitude":66,"angle":153,"satellites":15,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186225152001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587283018776576,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016615168000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789789963000,"timestamp_ms":1789789963000,"timestamp_seconds":1789789963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb82f8"} 
[2026-09-19 09: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-19 09:23:48] 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-19 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:23:48] 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-19 09: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-19 09: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-19 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:23:48] 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-19 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186225152001,"66":12287,"102":206,"83":41984,"24":0,"16":21587283018776576,"45":1830854016615168000},"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-19 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186225152001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587283018776576,"km_value":21587283018776.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016615168000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186225152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016615168000}} 
[2026-09-19 09:23:48] local.INFO: TCP Data received {"connection_id":188011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:48] local.INFO: Processing buffer {"connection_id":188011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:23:48] local.INFO: Packet analysis {"connection_id":188011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:23:48] local.INFO: Extracted packet for processing {"connection_id":188011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09: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-19 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09: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-19 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:23: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-19 09: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-19 09: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-19 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:23: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-19 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":188011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:23:48] local.INFO: GPS data processed {"connection_id":188011,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:23:48] local.INFO: Acknowledgment sent {"connection_id":188011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:23:48] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:23:48] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:24:15] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:15] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:15] local.INFO: IMEI packet received {"connection_id":188012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":188012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:24:19] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cbd500012d196840071ff208004200990f..."} 
[2026-09-19 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cbd500012d196840071ff208004200990f..."} 
[2026-09-19 09:24:19] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cbd500012d196840071ff208004200990f..."} 
[2026-09-19 09:24:19] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:24:19] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119534088,"longitude_deg":75.6639808,"latitude_deg":11.9534088,"altitude":66,"angle":153,"satellites":15,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186230528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587287313743872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647871004672,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789789984000,"timestamp_ms":1789789984000,"timestamp_seconds":1789789984,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cbd500"} 
[2026-09-19 09: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-19 09:24:19] 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-19 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:24: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-19 09: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-19 09: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-19 09:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:24:19] 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-19 09:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186230528001,"66":12341,"102":206,"83":41984,"24":0,"16":21587287313743872,"45":1830783647871004672},"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-19 09:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186230528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:24:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587287313743872,"km_value":21587287313743.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647871004672,"description":"Unknown IO ID 45"} 
[2026-09-19 09:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186230528001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647871004672}} 
[2026-09-19 09:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:24:19] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:24:19] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:24:20] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:20] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:24:20] local.INFO: IMEI packet received {"connection_id":188012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":188012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:24:20] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:20] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:20] local.INFO: Packet analysis {"connection_id":188012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:24:20] local.INFO: Extracted packet for processing {"connection_id":188012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:20] 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-19 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:24:20] 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-19 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":188012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:24:20] local.INFO: GPS data processed {"connection_id":188012,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:24:20] local.INFO: Acknowledgment sent {"connection_id":188012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:24:50] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cc2708012d1967c0071ff2080041009911..."} 
[2026-09-19 09:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cc2708012d1967c0071ff2080041009911..."} 
[2026-09-19 09:24:50] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cc2708012d1967c0071ff2080041009911..."} 
[2026-09-19 09:24:50] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:24:50] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119534088,"longitude_deg":75.663968,"latitude_deg":11.9534088,"altitude":65,"angle":153,"satellites":17,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-09-19 09:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186235904001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587295903678464,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647871010816,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789790005000,"timestamp_ms":1789790005000,"timestamp_seconds":1789790005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cc2708"} 
[2026-09-19 09:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:24:50] 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-19 09:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:24:50] 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-19 09:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:24:50] 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-19 09:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186235904001,"66":12341,"102":206,"83":41984,"24":0,"16":21587295903678464,"45":1830783647871010816},"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-19 09:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186235904001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587295903678464,"km_value":21587295903678.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647871010816,"description":"Unknown IO ID 45"} 
[2026-09-19 09:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186235904001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647871010816}} 
[2026-09-19 09:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:24:50] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:24:50] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:24:52] local.INFO: TCP Data received {"connection_id":188012,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:52] local.INFO: Processing buffer {"connection_id":188012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7c879a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:24:52] local.INFO: Packet analysis {"connection_id":188012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:24:52] local.INFO: Extracted packet for processing {"connection_id":188012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7c8"} 
[2026-09-19 09:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186102528001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:24: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-19 09:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789789764000,"timestamp_ms":1789789764000,"timestamp_seconds":1789789764,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7c879a0"} 
[2026-09-19 09:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 09:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:24: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-19 09:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:24:52] 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-19 09:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186102528001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186102528001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186102528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":188012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:24:52] local.INFO: GPS data processed {"connection_id":188012,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:24:52] local.INFO: Acknowledgment sent {"connection_id":188012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:25:12] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:12] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:12] local.INFO: IMEI packet received {"connection_id":188013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:25:14] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:14] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:25:14] local.INFO: IMEI packet received {"connection_id":188013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:25:15] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:15] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:15] local.INFO: Packet analysis {"connection_id":188013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:15] local.INFO: Extracted packet for processing {"connection_id":188013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25: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-19 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:25: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-19 09:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25: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-19 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":188013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:25:16] local.INFO: GPS data processed {"connection_id":188013,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:25:16] local.INFO: Acknowledgment sent {"connection_id":188013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:25:20] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:20] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:20] local.INFO: Packet analysis {"connection_id":188013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:20] local.INFO: Extracted packet for processing {"connection_id":188013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:20] 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-19 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25:20] 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-19 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":188013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:25:20] local.INFO: GPS data processed {"connection_id":188013,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:25:20] local.INFO: Acknowledgment sent {"connection_id":188013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:25:21] local.INFO: TCP Data received {"connection_id":186608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cc7910012d196740071ff1e8003f009911..."} 
[2026-09-19 09:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cc7910012d196740071ff1e8003f009911..."} 
[2026-09-19 09:25:21] local.INFO: Processing buffer {"connection_id":186608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cc7910012d196740071ff1e8003f009911..."} 
[2026-09-19 09:25:21] local.INFO: Packet analysis {"connection_id":186608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:25:21] local.INFO: Extracted packet for processing {"connection_id":186608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119534056,"longitude_deg":75.6639552,"latitude_deg":11.9534056,"altitude":63,"angle":153,"satellites":17,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186241280001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587304493613056,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382655488,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789790026000,"timestamp_ms":1789790026000,"timestamp_seconds":1789790026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cc7910"} 
[2026-09-19 09: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-19 09:25:21] 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-19 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:25:21] 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-19 09: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-19 09: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-19 09:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:25:21] 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-19 09:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186241280001,"66":12287,"102":206,"83":41984,"24":0,"16":21587304493613056,"45":1830642910382655488},"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-19 09:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186241280001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587304493613056,"km_value":21587304493613.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382655488,"description":"Unknown IO ID 45"} 
[2026-09-19 09:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186241280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382655488}} 
[2026-09-19 09:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":186608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:25:21] local.INFO: GPS data processed {"connection_id":186608,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:25:21] local.INFO: Acknowledgment sent {"connection_id":186608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:25:47] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:47] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:47] local.INFO: IMEI packet received {"connection_id":186609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":186609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:25:52] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:52] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:25:52] local.INFO: IMEI packet received {"connection_id":186609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":186609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:25:52] local.INFO: TCP Data received {"connection_id":188013,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:52] local.INFO: Processing buffer {"connection_id":188013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:25:52] local.INFO: Packet analysis {"connection_id":188013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:52] local.INFO: Extracted packet for processing {"connection_id":188013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25: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-19 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:25:52] 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-19 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:25:52] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cccb18012d196700071ff1c0003f009911..."} 
[2026-09-19 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cccb18012d196700071ff1c0003f009911..."} 
[2026-09-19 09:25:52] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cccb18012d196700071ff1c0003f009911..."} 
[2026-09-19 09:25:52] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:25:52] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cc"} 
[2026-09-19 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119534016,"longitude_deg":75.6639488,"latitude_deg":11.9534016,"altitude":63,"angle":153,"satellites":17,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-19 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186246656001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587313083547648,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894291968,"note":"Value kept but may cause issues"} 
[2026-09-19 09:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790047000,"timestamp_ms":1789790047000,"timestamp_seconds":1789790047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cccb18"} 
[2026-09-19 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:25:52] 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-19 09:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:25:52] 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-19 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186246656001,"66":12341,"102":206,"83":41984,"24":0,"16":21587313083547648,"45":1830502172894291968},"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-19 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":188013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:25:52] local.INFO: GPS data processed {"connection_id":188013,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:25:52] local.INFO: Acknowledgment sent {"connection_id":188013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186246656001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587313083547648,"km_value":21587313083547.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894291968,"description":"Unknown IO ID 45"} 
[2026-09-19 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186246656001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894291968}} 
[2026-09-19 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:25:52] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:25:52] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:26:09] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:09] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:09] local.INFO: IMEI packet received {"connection_id":188014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:26:15] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:15] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:26:15] local.INFO: IMEI packet received {"connection_id":188014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":188014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:26:15] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:15] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:15] local.INFO: Packet analysis {"connection_id":188014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:15] local.INFO: Extracted packet for processing {"connection_id":188014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26: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-19 09:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09: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-19 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:26: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-19 09: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-19 09: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-19 09:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:26:15] 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-19 09:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":188014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:26:15] local.INFO: GPS data processed {"connection_id":188014,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:26:15] local.INFO: Acknowledgment sent {"connection_id":188014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:26:23] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd1d20012d1966c0071ff1c8003f009912..."} 
[2026-09-19 09:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd1d20012d1966c0071ff1c8003f009912..."} 
[2026-09-19 09:26:23] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd1d20012d1966c0071ff1c8003f009912..."} 
[2026-09-19 09:26:23] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:23] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119534024,"longitude_deg":75.6639424,"latitude_deg":11.9534024,"altitude":63,"angle":153,"satellites":18,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff1c8","is_valid_coordinates":true} 
[2026-09-19 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186252032001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587321673482240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150104064,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790068000,"timestamp_ms":1789790068000,"timestamp_seconds":1789790068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd1d20"} 
[2026-09-19 09:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:26:23] 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-19 09:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:26:23] 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-19 09:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186252032001,"66":12341,"102":206,"83":41984,"24":0,"16":21587321673482240,"45":1830431804150104064},"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-19 09:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186252032001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587321673482240,"km_value":21587321673482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150104064,"description":"Unknown IO ID 45"} 
[2026-09-19 09:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186252032001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150104064}} 
[2026-09-19 09:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:26:23] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:26:23] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:26:47] local.INFO: TCP Data received {"connection_id":188014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:47] local.INFO: Processing buffer {"connection_id":188014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:26:47] local.INFO: Packet analysis {"connection_id":188014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:47] local.INFO: Extracted packet for processing {"connection_id":188014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26: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-19 09:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09: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-19 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:26: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-19 09: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-19 09: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-19 09:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:26:47] 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-19 09:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":188014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:26:47] local.INFO: GPS data processed {"connection_id":188014,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:26:47] local.INFO: Acknowledgment sent {"connection_id":188014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:26:55] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd6f28012d1966c0071ff1c8003e009913..."} 
[2026-09-19 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd6f28012d1966c0071ff1c8003e009913..."} 
[2026-09-19 09:26:55] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd6f28012d1966c0071ff1c8003e009913..."} 
[2026-09-19 09:26:55] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:55] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119534024,"longitude_deg":75.6639424,"latitude_deg":11.9534024,"altitude":62,"angle":153,"satellites":19,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff1c8","is_valid_coordinates":true} 
[2026-09-19 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186257408001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587321673482240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405928448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789790089000,"timestamp_ms":1789790089000,"timestamp_seconds":1789790089,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd6f28"} 
[2026-09-19 09:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:26:55] 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-19 09:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:26:55] 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-19 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186257408001,"66":12287,"102":206,"83":41984,"24":0,"16":21587321673482240,"45":1830361435405928448},"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-19 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186257408001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587321673482240,"km_value":21587321673482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405928448,"description":"Unknown IO ID 45"} 
[2026-09-19 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186257408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405928448}} 
[2026-09-19 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:26:55] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:26:55] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:00] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:00] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:00] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:27:05] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:05] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:27:05] local.INFO: IMEI packet received {"connection_id":186610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":186610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:27:06] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ca7188012d7e23c005d50758000500d523..."} 
[2026-09-19 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ca7188012d7e23c005d50758000500d523..."} 
[2026-09-19 09:27:06] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ca7188012d7e23c005d50758000500d523..."} 
[2026-09-19 09:27:06] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:27:06] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763241408,"raw_latitude":97847128,"longitude_deg":76.3241408,"latitude_deg":9.7847128,"altitude":5,"angle":213,"satellites":35,"speed":8,"hex_longitude":"2d7e23c0","hex_latitude":"05d50758","is_valid_coordinates":true} 
[2026-09-19 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186212352001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074466601369600,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089389972989411328,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:06] 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-19 09:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789789893000,"timestamp_ms":1789789893000,"timestamp_seconds":1789789893,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ca7188"} 
[2026-09-19 09:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:27: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-19 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 09:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186212352001,"66":12993,"111":206,"85":15104,"24":8,"16":135074466601369600,"45":9089389972989411328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186212352001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074466601369600,"km_value":135074466601369.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089389972989411328,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186212352001,"power":12993,"unknown_111":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9089389972989411328}} 
[2026-09-19 09:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:06] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:06] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:09] local.INFO: TCP Data received {"connection_id":189355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:09] local.INFO: Processing buffer {"connection_id":189355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:09] local.INFO: IMEI packet received {"connection_id":189355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:27:15] local.INFO: TCP Data received {"connection_id":189355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:15] local.INFO: Processing buffer {"connection_id":189355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:27:15] local.INFO: IMEI packet received {"connection_id":189355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":189355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:27:16] local.INFO: TCP Data received {"connection_id":189355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:16] local.INFO: Processing buffer {"connection_id":189355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:16] local.INFO: Packet analysis {"connection_id":189355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:16] local.INFO: Extracted packet for processing {"connection_id":189355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:16] 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-19 09:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09: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-19 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:27:16] 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-19 09:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":189355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:16] local.INFO: GPS data processed {"connection_id":189355,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:16] local.INFO: Acknowledgment sent {"connection_id":189355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:26] local.INFO: TCP Data received {"connection_id":186609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cdc130012d196680071ff1c0003d009915..."} 
[2026-09-19 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cdc130012d196680071ff1c0003d009915..."} 
[2026-09-19 09:27:26] local.INFO: Processing buffer {"connection_id":186609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cdc130012d196680071ff1c0003d009915..."} 
[2026-09-19 09:27:26] local.INFO: Packet analysis {"connection_id":186609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:26] local.INFO: Extracted packet for processing {"connection_id":186609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534016,"longitude_deg":75.663936,"latitude_deg":11.9534016,"altitude":61,"angle":153,"satellites":21,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-19 09:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186262784001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587325968449536,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405928448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789790110000,"timestamp_ms":1789790110000,"timestamp_seconds":1789790110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cdc130"} 
[2026-09-19 09:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:27:26] 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-19 09:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:27:26] 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-19 09:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186262784001,"66":12298,"102":206,"83":41984,"24":0,"16":21587325968449536,"45":1830361435405928448},"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-19 09:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186262784001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587325968449536,"km_value":21587325968449.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405928448,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186262784001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405928448}} 
[2026-09-19 09:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":186609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:26] local.INFO: GPS data processed {"connection_id":186609,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:26] local.INFO: Acknowledgment sent {"connection_id":186609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:37] local.INFO: TCP Data received {"connection_id":186610,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ca7570012d7e230005d506b8000500eb23..."} 
[2026-09-19 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ca7570012d7e230005d506b8000500eb23..."} 
[2026-09-19 09:27:37] local.INFO: Processing buffer {"connection_id":186610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ca7570012d7e230005d506b8000500eb23..."} 
[2026-09-19 09:27:37] local.INFO: Packet analysis {"connection_id":186610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:27:37] local.INFO: Extracted packet for processing {"connection_id":186610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763241216,"raw_latitude":97846968,"longitude_deg":76.3241216,"latitude_deg":9.7846968,"altitude":5,"angle":235,"satellites":35,"speed":10,"hex_longitude":"2d7e2300","hex_latitude":"05d506b8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186212608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074479486271488,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089319604245190656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:37] 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-19 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789789894000,"timestamp_ms":1789789894000,"timestamp_seconds":1789789894,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ca7570"} 
[2026-09-19 09: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-19 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 09:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186212608001,"66":13461,"111":206,"85":15104,"24":10,"16":135074479486271488,"45":9089319604245190656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186212608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074479486271488,"km_value":135074479486271.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089319604245190656,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186212608001,"power":13461,"unknown_111":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9089319604245190656}} 
[2026-09-19 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":186610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:37] local.INFO: GPS data processed {"connection_id":186610,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:37] local.INFO: Acknowledgment sent {"connection_id":186610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:47] local.INFO: TCP Data received {"connection_id":189355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:47] local.INFO: Processing buffer {"connection_id":189355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:27:47] local.INFO: Packet analysis {"connection_id":189355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:47] local.INFO: Extracted packet for processing {"connection_id":189355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27: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-19 09:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:27: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-19 09:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:27:47] 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-19 09:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":189355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:47] local.INFO: GPS data processed {"connection_id":189355,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:47] local.INFO: Acknowledgment sent {"connection_id":189355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:27:47] local.INFO: TCP Data received {"connection_id":189356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:47] local.INFO: Processing buffer {"connection_id":189356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:47] local.INFO: IMEI packet received {"connection_id":189356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":189356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:27:51] local.INFO: TCP Data received {"connection_id":189356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:51] local.INFO: Processing buffer {"connection_id":189356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:27:51] local.INFO: IMEI packet received {"connection_id":189356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":189356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:27:52] local.INFO: TCP Data received {"connection_id":189356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ce1338012d1965c0071ff1300038009916..."} 
[2026-09-19 09:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ce1338012d1965c0071ff1300038009916..."} 
[2026-09-19 09:27:52] local.INFO: Processing buffer {"connection_id":189356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ce1338012d1965c0071ff1300038009916..."} 
[2026-09-19 09:27:52] local.INFO: Packet analysis {"connection_id":189356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:27:52] local.INFO: Extracted packet for processing {"connection_id":189356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533872,"longitude_deg":75.6639168,"latitude_deg":11.9533872,"altitude":56,"angle":153,"satellites":22,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-09-19 09:27: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-19 09:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186268160001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587338853351424,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661748736,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790131000,"timestamp_ms":1789790131000,"timestamp_seconds":1789790131,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ce1338"} 
[2026-09-19 09:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:27: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-8791026472627208191,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5202920942813243032,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832512,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6145,"corrected_to":0} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3430486017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4058513471,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2978480128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513394895642296473,"note":"Value kept but may cause issues"} 
[2026-09-19 09:27:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,177,160,111,45,192,62,19,10,66,29,63,18,203,1,240,53,227,183,31,4,113,205,39,103,8,17,239,48,2,76,7,64,15],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":203,"original":6145,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:27:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395681551786967040,"timestamp_seconds":4395681551786967.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:27:52] 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-19 09:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186268160001,"66":12298,"102":206,"83":41984,"24":0,"16":21587338853351424,"45":1830291066661748736},"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-19 09:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186268160001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:27:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587338853351424,"km_value":21587338853351.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661748736,"description":"Unknown IO ID 45"} 
[2026-09-19 09:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186268160001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661748736}} 
[2026-09-19 09:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":189356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:27:52] local.INFO: GPS data processed {"connection_id":189356,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:27:52] local.INFO: Acknowledgment sent {"connection_id":189356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:05] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:05] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:05] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:28:10] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:10] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:28:10] local.INFO: IMEI packet received {"connection_id":186611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:28:11] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ca7d40012d7e208005d505d80007010224..."} 
[2026-09-19 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ca7d40012d7e208005d505d80007010224..."} 
[2026-09-19 09:28:11] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ca7d40012d7e208005d505d80007010224..."} 
[2026-09-19 09:28:11] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:28:11] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763240576,"raw_latitude":97846744,"longitude_deg":76.3240576,"latitude_deg":9.7846744,"altitude":7,"angle":258,"satellites":36,"speed":15,"hex_longitude":"2d7e2080","hex_latitude":"05d505d8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186212864001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074513846009856,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089108498012616704,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:11] 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-19 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789896000,"timestamp_ms":1789789896000,"timestamp_seconds":1789789896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ca7d40"} 
[2026-09-19 09: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-19 09:28: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-19 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186212864001,"66":13461,"111":206,"85":15104,"24":15,"16":135074513846009856,"45":9089108498012616704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186212864001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074513846009856,"km_value":135074513846009.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089108498012616704,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186212864001,"power":13461,"unknown_111":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9089108498012616704}} 
[2026-09-19 09:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:11] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:11] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:15] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:15] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:15] local.INFO: IMEI packet received {"connection_id":188015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":188015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:28:20] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:20] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:28:20] local.INFO: IMEI packet received {"connection_id":188015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":188015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:28:21] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:21] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:21] local.INFO: Packet analysis {"connection_id":188015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:28:21] local.INFO: Extracted packet for processing {"connection_id":188015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:21] 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-19 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":188015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:21] local.INFO: GPS data processed {"connection_id":188015,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:21] local.INFO: Acknowledgment sent {"connection_id":188015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:23] local.INFO: TCP Data received {"connection_id":189356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ce6540012d196580071ff1200036009918..."} 
[2026-09-19 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ce6540012d196580071ff1200036009918..."} 
[2026-09-19 09:28:23] local.INFO: Processing buffer {"connection_id":189356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ce6540012d196580071ff1200036009918..."} 
[2026-09-19 09:28:23] local.INFO: Packet analysis {"connection_id":189356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:28:23] local.INFO: Extracted packet for processing {"connection_id":189356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533856,"longitude_deg":75.6639104,"latitude_deg":11.9533856,"altitude":54,"angle":153,"satellites":24,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-09-19 09:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186273536001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587343148318720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429178880,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790152000,"timestamp_ms":1789790152000,"timestamp_seconds":1789790152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ce6540"} 
[2026-09-19 09:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:28:23] 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-19 09:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-8646911284551352319,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5202830748500027032,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832512,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3435862017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892031,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2978611200,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":65,"raw_value":43084363134402560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513394998721511577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,177,160,193,45,128,61,21,10,66,111,192,62,19,29,1,240,53,227,183,31,4,113,205,121,103,232,17,239,47,2,76,7,65,64,15],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:28:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035393585892294656,"timestamp_seconds":4035393585892294.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:28:23] 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-19 09:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186273536001,"66":12287,"102":206,"83":41984,"24":0,"16":21587343148318720,"45":1830079960429178880},"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-19 09:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186273536001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587343148318720,"km_value":21587343148318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429178880,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186273536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429178880}} 
[2026-09-19 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":189356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:23] local.INFO: GPS data processed {"connection_id":189356,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:23] local.INFO: Acknowledgment sent {"connection_id":189356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:25] local.INFO: TCP Data received {"connection_id":188015,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:25] local.INFO: Processing buffer {"connection_id":188015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:28:25] local.INFO: Packet analysis {"connection_id":188015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:28:25] local.INFO: Extracted packet for processing {"connection_id":188015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:25] 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-19 09:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:28: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-19 09:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":188015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:25] local.INFO: GPS data processed {"connection_id":188015,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:25] local.INFO: Acknowledgment sent {"connection_id":188015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:41] local.INFO: TCP Data received {"connection_id":186611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ca9c80012d7e0fc005d503f80005011725..."} 
[2026-09-19 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ca9c80012d7e0fc005d503f80005011725..."} 
[2026-09-19 09:28:41] local.INFO: Processing buffer {"connection_id":186611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ca9c80012d7e0fc005d503f80005011725..."} 
[2026-09-19 09:28:41] local.INFO: Packet analysis {"connection_id":186611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:28:41] local.INFO: Extracted packet for processing {"connection_id":186611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":97846264,"longitude_deg":76.3236288,"latitude_deg":9.7846264,"altitude":5,"angle":279,"satellites":37,"speed":21,"hex_longitude":"2d7e0fc0","hex_latitude":"05d503f8","is_valid_coordinates":true} 
[2026-09-19 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186213376001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074720004440064,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088404810570782720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789789904000,"timestamp_ms":1789789904000,"timestamp_seconds":1789789904,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ca9c80"} 
[2026-09-19 09:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186213376001,"66":13102,"111":206,"85":15104,"24":21,"16":135074720004440064,"45":9088404810570782720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186213376001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074720004440064,"km_value":135074720004440.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088404810570782720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186213376001,"power":13102,"unknown_111":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9088404810570782720}} 
[2026-09-19 09:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":186611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:42] local.INFO: GPS data processed {"connection_id":186611,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:42] local.INFO: Acknowledgment sent {"connection_id":186611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:28:46] local.INFO: TCP Data received {"connection_id":189357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:46] local.INFO: Processing buffer {"connection_id":189357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:46] local.INFO: IMEI packet received {"connection_id":189357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":189357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:28:50] local.INFO: TCP Data received {"connection_id":189357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:50] local.INFO: Processing buffer {"connection_id":189357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:50] local.INFO: IMEI packet received {"connection_id":189357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":189357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:28:51] local.INFO: TCP Data received {"connection_id":189357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:51] local.INFO: Processing buffer {"connection_id":189357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:28:51] local.INFO: IMEI packet received {"connection_id":189357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":189357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:28:52] local.INFO: TCP Data received {"connection_id":189357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ce6928012d196580071ff1200035010218..."} 
[2026-09-19 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ce6928012d196580071ff1200035010218..."} 
[2026-09-19 09:28:52] local.INFO: Processing buffer {"connection_id":189357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ce6928012d196580071ff1200035010218..."} 
[2026-09-19 09:28:52] local.INFO: Packet analysis {"connection_id":189357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:28:52] local.INFO: Extracted packet for processing {"connection_id":189357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533856,"longitude_deg":75.6639104,"latitude_deg":11.9533856,"altitude":53,"angle":258,"satellites":24,"speed":1,"hex_longitude":"2d196580","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-09-19 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186278912001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587343148318720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684997120,"note":"Value kept but may cause issues"} 
[2026-09-19 09:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790153000,"timestamp_ms":1789790153000,"timestamp_seconds":1789790153,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ce6928"} 
[2026-09-19 09:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:28:52] 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-19 09:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:28:52] 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-19 09:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186278912001,"66":12287,"102":206,"83":41984,"24":1,"16":21587343148318720,"45":1830009591684997120},"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-19 09:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186278912001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:28:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587343148318720,"km_value":21587343148318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684997120,"description":"Unknown IO ID 45"} 
[2026-09-19 09:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186278912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830009591684997120}} 
[2026-09-19 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":189357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:28:52] local.INFO: GPS data processed {"connection_id":189357,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:28:52] local.INFO: Acknowledgment sent {"connection_id":189357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:02] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:29:02] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:29:02] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:29:05] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:05] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:05] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:29:10] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:10] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:10] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:29:10] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:10] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:29:10] local.INFO: IMEI packet received {"connection_id":186612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:29:11] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7caa068012d7e0dc005d504800005012426..."} 
[2026-09-19 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7caa068012d7e0dc005d504800005012426..."} 
[2026-09-19 09:29:11] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7caa068012d7e0dc005d504800005012426..."} 
[2026-09-19 09:29:11] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:29:11] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763235776,"raw_latitude":97846400,"longitude_deg":76.3235776,"latitude_deg":9.78464,"altitude":5,"angle":292,"satellites":38,"speed":21,"hex_longitude":"2d7e0dc0","hex_latitude":"05d50480","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186215424001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074745774243840,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083690104710756352,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:11] 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-19 09:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789905000,"timestamp_ms":1789789905000,"timestamp_seconds":1789789905,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7caa068"} 
[2026-09-19 09: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-19 09:29: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-19 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186215424001,"66":13102,"111":206,"85":15104,"24":21,"16":135074745774243840,"45":9083690104710756352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186215424001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074745774243840,"km_value":135074745774243.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083690104710756352,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186215424001,"power":13102,"unknown_111":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9083690104710756352}} 
[2026-09-19 09:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:11] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:11] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:15] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:15] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:29:15] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:29:16] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:16] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:16] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:29:16] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:16] 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-19 09:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:29:16] 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-19 09:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:16] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:16] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:23] local.INFO: TCP Data received {"connection_id":189357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cebb30012d196500071ff1100033010218..."} 
[2026-09-19 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cebb30012d196500071ff1100033010218..."} 
[2026-09-19 09:29:23] local.INFO: Processing buffer {"connection_id":189357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cebb30012d196500071ff1100033010218..."} 
[2026-09-19 09:29:23] local.INFO: Packet analysis {"connection_id":189357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:29:23] local.INFO: Extracted packet for processing {"connection_id":189357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ce"} 
[2026-09-19 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533840,"longitude_deg":75.6638976,"latitude_deg":11.953384,"altitude":51,"angle":258,"satellites":24,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-09-19 09:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186279168001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587351738253312,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684997120,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790174000,"timestamp_ms":1789790174000,"timestamp_seconds":1789790174,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cebb30"} 
[2026-09-19 09:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:23] 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-19 09:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:23] 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-19 09:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186279168001,"66":12287,"102":206,"83":41984,"24":0,"16":21587351738253312,"45":1830009591684997120},"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-19 09:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186279168001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587351738253312,"km_value":21587351738253.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684997120,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186279168001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684997120}} 
[2026-09-19 09:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":189357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:23] local.INFO: GPS data processed {"connection_id":189357,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:23] local.INFO: Acknowledgment sent {"connection_id":189357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:42] local.INFO: TCP Data received {"connection_id":186612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:29:42] local.INFO: Processing buffer {"connection_id":186612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:29:42] local.INFO: Packet analysis {"connection_id":186612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:29:42] local.INFO: Extracted packet for processing {"connection_id":186612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97847720,"longitude_deg":76.3232832,"latitude_deg":9.784772,"altitude":6,"angle":306,"satellites":39,"speed":6,"hex_longitude":"2d7e0240","hex_latitude":"05d509a8","is_valid_coordinates":true} 
[2026-09-19 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186215680001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074900393066496,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083127154757369856,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29: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-19 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789926000,"timestamp_ms":1789789926000,"timestamp_seconds":1789789926,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7caf270"} 
[2026-09-19 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186215680001,"66":12906,"111":206,"85":15104,"24":6,"16":135074900393066496,"45":9083127154757369856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186215680001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074900393066496,"km_value":135074900393066.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083127154757369856,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186215680001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9083127154757369856}} 
[2026-09-19 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":186612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:42] local.INFO: GPS data processed {"connection_id":186612,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:42] local.INFO: Acknowledgment sent {"connection_id":186612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:48] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:48] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cd0d80012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:29:48] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:29:48] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cd"} 
[2026-09-19 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186179584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29: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-19 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789790064000,"timestamp_ms":1789790064000,"timestamp_seconds":1789790064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cd0d80"} 
[2026-09-19 09: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-19 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:29: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-19 09: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-19 09: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-19 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:29: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-19 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186179584001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186179584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186179584001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:48] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:48] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:51] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:51] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:51] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:29:52] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:52] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:29:52] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:29:53] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cf0d38012d196480071ff1100033010218..."} 
[2026-09-19 09:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cf0d38012d196480071ff1100033010218..."} 
[2026-09-19 09:29:53] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cf0d38012d196480071ff1100033010218..."} 
[2026-09-19 09:29:53] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:29:53] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533840,"longitude_deg":75.6638848,"latitude_deg":11.953384,"altitude":51,"angle":258,"satellites":24,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-09-19 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186284544001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587386097991680,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196637696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789790195000,"timestamp_ms":1789790195000,"timestamp_seconds":1789790195,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cf0d38"} 
[2026-09-19 09:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:53] 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-19 09:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:53] 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-19 09:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186284544001,"66":12298,"102":206,"83":41984,"24":0,"16":21587386097991680,"45":1829868854196637696},"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-19 09:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186284544001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587386097991680,"km_value":21587386097991.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196637696,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186284544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196637696}} 
[2026-09-19 09:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:53] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:53] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:29:57] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cf5f40012d196480071ff0f00033010218..."} 
[2026-09-19 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cf5f40012d196480071ff0f00033010218..."} 
[2026-09-19 09:29:57] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cf5f40012d196480071ff0f00033010218..."} 
[2026-09-19 09:29:57] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:29:57] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533808,"longitude_deg":75.6638848,"latitude_deg":11.9533808,"altitude":51,"angle":258,"satellites":24,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:29: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-19 09:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186289920001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587394687926272,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708282368,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789790216000,"timestamp_ms":1789790216000,"timestamp_seconds":1789790216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cf5f40"} 
[2026-09-19 09:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:29: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-8214565720323784703,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5202469971247163034,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832516,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3457366017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4046454840,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513394723843408025,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2978938880,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.WARNING: Large IO value detected {"io_id":62,"raw_value":43086562157658112,"note":"Value kept but may cause issues"} 
[2026-09-19 09:29:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,177,160,187,45,51,10,66,105,128,53,101,1,240,255,227,183,31,4,113,205,193,192,21,239,48,2,76,7,62,18],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:29:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221073013506048,"timestamp_seconds":3675221073013506.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:29:57] 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-19 09:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186289920001,"66":12004,"102":206,"83":41984,"24":0,"16":21587394687926272,"45":1829728116708282368},"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-19 09:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186289920001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587394687926272,"km_value":21587394687926.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708282368,"description":"Unknown IO ID 45"} 
[2026-09-19 09:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186289920001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708282368}} 
[2026-09-19 09:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:29:57] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:29:57] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:10] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:10] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:10] local.INFO: IMEI packet received {"connection_id":186750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":186750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:30:10] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:10] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:10] local.INFO: IMEI packet received {"connection_id":188017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":188017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:30:15] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:15] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:30:15] local.INFO: IMEI packet received {"connection_id":186750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:30:15] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:15] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:30:15] local.INFO: IMEI packet received {"connection_id":188017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":188017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:30:16] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:30:16] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7caf270012d7e024005d509a80006013227..."} 
[2026-09-19 09:30:16] local.INFO: Packet analysis {"connection_id":188017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:30:16] local.INFO: Extracted packet for processing {"connection_id":188017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":97847720,"longitude_deg":76.3232832,"latitude_deg":9.784772,"altitude":6,"angle":306,"satellites":39,"speed":6,"hex_longitude":"2d7e0240","hex_latitude":"05d509a8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186221056001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074900393066496,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525535232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30: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-19 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789789926000,"timestamp_ms":1789789926000,"timestamp_seconds":1789789926,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7caf270"} 
[2026-09-19 09: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-19 09:30: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-19 09: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186221056001,"66":12906,"111":206,"85":15104,"24":6,"16":135074900393066496,"45":9079890192525535232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186221056001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074900393066496,"km_value":135074900393066.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525535232,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186221056001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9079890192525535232}} 
[2026-09-19 09:30:16] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":188017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:16] local.INFO: GPS data processed {"connection_id":188017,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:16] local.INFO: Acknowledgment sent {"connection_id":188017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:16] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:16] local.INFO: Packet analysis {"connection_id":186750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:30:16] local.INFO: Extracted packet for processing {"connection_id":186750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:16] 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-19 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:30: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-19 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:30:16] 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-19 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":186750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:16] local.INFO: GPS data processed {"connection_id":186750,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:16] local.INFO: Acknowledgment sent {"connection_id":186750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:20] local.INFO: TCP Data received {"connection_id":188017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7caf658012d7e01c005d50a300006014427..."} 
[2026-09-19 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7caf658012d7e01c005d50a300006014427..."} 
[2026-09-19 09:30:20] local.INFO: Processing buffer {"connection_id":188017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7caf658012d7e01c005d50a300006014427..."} 
[2026-09-19 09:30:20] local.INFO: Packet analysis {"connection_id":188017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:30:20] local.INFO: Extracted packet for processing {"connection_id":188017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ca"} 
[2026-09-19 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":97847856,"longitude_deg":76.3232704,"latitude_deg":9.7847856,"altitude":6,"angle":324,"satellites":39,"speed":6,"hex_longitude":"2d7e01c0","hex_latitude":"05d50a30","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186221056001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074908983001088,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079890192525535232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30: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-19 09:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789789927000,"timestamp_ms":1789789927000,"timestamp_seconds":1789789927,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7caf658"} 
[2026-09-19 09: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-19 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186221056001,"66":13222,"111":206,"85":15104,"24":6,"16":135074908983001088,"45":9079890192525535232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186221056001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074908983001088,"km_value":135074908983001.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079890192525535232,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186221056001,"power":13222,"unknown_111":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9079890192525535232}} 
[2026-09-19 09:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:20] local.INFO: GPS data processed {"connection_id":188017,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:20] local.INFO: Acknowledgment sent {"connection_id":188017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:28] local.INFO: TCP Data received {"connection_id":186749,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cfb148012d196440071ff1400033010218..."} 
[2026-09-19 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cfb148012d196440071ff1400033010218..."} 
[2026-09-19 09:30:28] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cfb148012d196440071ff1400033010218..."} 
[2026-09-19 09:30:28] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:30:28] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cf"} 
[2026-09-19 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119533888,"longitude_deg":75.6638784,"latitude_deg":11.9533888,"altitude":51,"angle":258,"satellites":24,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-19 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186295296001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587411867795456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708274176,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789790237000,"timestamp_ms":1789790237000,"timestamp_seconds":1789790237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cfb148"} 
[2026-09-19 09:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:30:28] 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-19 09:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186295296001,"66":12298,"102":206,"83":41984,"24":0,"16":21587411867795456,"45":1829728116708274176},"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-19 09:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186295296001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587411867795456,"km_value":21587411867795.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708274176,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186295296001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708274176}} 
[2026-09-19 09:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:28] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:28] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:47] local.INFO: TCP Data received {"connection_id":188018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:47] local.INFO: Processing buffer {"connection_id":188018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:47] local.INFO: IMEI packet received {"connection_id":188018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":188018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:30:47] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:47] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:30:47] local.INFO: Packet analysis {"connection_id":186750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:30:47] local.INFO: Extracted packet for processing {"connection_id":186750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30: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-19 09:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:30: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-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:30: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-19 09:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":186750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:47] local.INFO: GPS data processed {"connection_id":186750,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:47] local.INFO: Acknowledgment sent {"connection_id":186750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:30:52] local.INFO: TCP Data received {"connection_id":188018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:52] local.INFO: Processing buffer {"connection_id":188018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:30:52] local.INFO: IMEI packet received {"connection_id":188018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":188018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:30:52] local.INFO: TCP Data received {"connection_id":188018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d00350012d196400071ff1880032010219..."} 
[2026-09-19 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d00350012d196400071ff1880032010219..."} 
[2026-09-19 09:30:52] local.INFO: Processing buffer {"connection_id":188018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d00350012d196400071ff1880032010219..."} 
[2026-09-19 09:30:52] local.INFO: Packet analysis {"connection_id":188018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:30:52] local.INFO: Extracted packet for processing {"connection_id":188018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533960,"longitude_deg":75.663872,"latitude_deg":11.953396,"altitude":50,"angle":258,"satellites":25,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-09-19 09:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186300672001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587416162762752,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747964116992,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790258000,"timestamp_ms":1789790258000,"timestamp_seconds":1789790258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d00350"} 
[2026-09-19 09:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:30:52] 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-19 09:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5202289582620731034,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513394689483538585,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832519,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3462998017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4045406261,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2979201024,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.WARNING: Large IO value detected {"io_id":56,"raw_value":43089860692541440,"note":"Value kept but may cause issues"} 
[2026-09-19 09:30:52] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,177,160,95,45,128,240,51,10,66,13,187,1,255,227,183,31,4,113,205,101,32,239,47,2,76,7,56,21],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:30:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221073013506048,"timestamp_seconds":3675221073013506.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:30:52] 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-19 09:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186300672001,"66":12341,"102":206,"83":41984,"24":0,"16":21587416162762752,"45":1829657747964116992},"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-19 09:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186300672001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:30:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587416162762752,"km_value":21587416162762.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747964116992,"description":"Unknown IO ID 45"} 
[2026-09-19 09:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186300672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747964116992}} 
[2026-09-19 09:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":188018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:30:52] local.INFO: GPS data processed {"connection_id":188018,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:30:52] local.INFO: Acknowledgment sent {"connection_id":188018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:05] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:05] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:05] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:31:09] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:09] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:09] local.INFO: IMEI packet received {"connection_id":186614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:31:10] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:10] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:31:10] local.INFO: IMEI packet received {"connection_id":186613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":186613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:31:11] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:11] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:11] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:31:11] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97848552,"longitude_deg":76.323264,"latitude_deg":9.7848552,"altitude":6,"angle":324,"satellites":38,"speed":3,"hex_longitude":"2d7e0180","hex_latitude":"05d50ce8","is_valid_coordinates":true} 
[2026-09-19 09:31: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-19 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186221312001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455037214720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:11] 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-19 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789934000,"timestamp_ms":1789789934000,"timestamp_seconds":1789789934,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb11b0"} 
[2026-09-19 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:31: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-19 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:11] 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-19 09:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186221312001,"66":13254,"111":206,"85":15104,"24":3,"16":135074943342739456,"45":9079749455037214720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186221312001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455037214720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186221312001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079749455037214720}} 
[2026-09-19 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:11] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:11] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:15] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:15] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:31:15] local.INFO: IMEI packet received {"connection_id":186614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:31:15] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:15] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:15] local.INFO: Packet analysis {"connection_id":186614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:31:15] local.INFO: Extracted packet for processing {"connection_id":186614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31: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-19 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:31: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-19 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:31: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-19 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:15] local.INFO: GPS data processed {"connection_id":186614,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:15] local.INFO: Acknowledgment sent {"connection_id":186614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:23] local.INFO: TCP Data received {"connection_id":188018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d05558012d1963c0071ff1d00031010219..."} 
[2026-09-19 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d05558012d1963c0071ff1d00031010219..."} 
[2026-09-19 09:31:23] local.INFO: Processing buffer {"connection_id":188018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d05558012d1963c0071ff1d00031010219..."} 
[2026-09-19 09:31:23] local.INFO: Packet analysis {"connection_id":188018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:31:23] local.INFO: Extracted packet for processing {"connection_id":188018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756638656,"raw_latitude":119534032,"longitude_deg":75.6638656,"latitude_deg":11.9534032,"altitude":49,"angle":258,"satellites":25,"speed":0,"hex_longitude":"2d1963c0","hex_latitude":"071ff1d0","is_valid_coordinates":true} 
[2026-09-19 09:31: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-19 09:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186306048001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587429047664640,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219957760,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790279000,"timestamp_ms":1789790279000,"timestamp_seconds":1789790279,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d05558"} 
[2026-09-19 09:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:31:23] 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-19 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:23] 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-19 09:31: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-19 09:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:31:23] 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-19 09:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186306048001,"66":12287,"102":206,"83":41984,"24":0,"16":21587429047664640,"45":1829587379219957760},"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-19 09:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186306048001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587429047664640,"km_value":21587429047664.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219957760,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186306048001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219957760}} 
[2026-09-19 09:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":188018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:24] local.INFO: GPS data processed {"connection_id":188018,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:24] local.INFO: Acknowledgment sent {"connection_id":188018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:42] local.INFO: TCP Data received {"connection_id":186613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:42] local.INFO: Processing buffer {"connection_id":186613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb11b0012d7e018005d50ce80006014426..."} 
[2026-09-19 09:31:42] local.INFO: Packet analysis {"connection_id":186613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:31:42] local.INFO: Extracted packet for processing {"connection_id":186613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97848552,"longitude_deg":76.323264,"latitude_deg":9.7848552,"altitude":6,"angle":324,"satellites":38,"speed":3,"hex_longitude":"2d7e0180","hex_latitude":"05d50ce8","is_valid_coordinates":true} 
[2026-09-19 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223104001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293215232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31: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-19 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789934000,"timestamp_ms":1789789934000,"timestamp_seconds":1789789934,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb11b0"} 
[2026-09-19 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223104001,"66":13254,"111":206,"85":15104,"24":3,"16":135074943342739456,"45":9079679086293215232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223104001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293215232,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223104001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079679086293215232}} 
[2026-09-19 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":186613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:42] local.INFO: GPS data processed {"connection_id":186613,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:42] local.INFO: Acknowledgment sent {"connection_id":186613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:47] local.INFO: TCP Data received {"connection_id":186614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:47] local.INFO: Processing buffer {"connection_id":186614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:31:47] local.INFO: Packet analysis {"connection_id":186614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:31:47] local.INFO: Extracted packet for processing {"connection_id":186614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31: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-19 09:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:31: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-19 09:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:31: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-19 09:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":186614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:47] local.INFO: GPS data processed {"connection_id":186614,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:47] local.INFO: Acknowledgment sent {"connection_id":186614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:31:47] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:47] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:47] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:31:51] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:51] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:31:51] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:31:52] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d070b0012d1963c0071ff1f00031011b1a..."} 
[2026-09-19 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d070b0012d1963c0071ff1f00031011b1a..."} 
[2026-09-19 09:31:52] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d070b0012d1963c0071ff1f00031011b1a..."} 
[2026-09-19 09:31:52] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:31:52] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756638656,"raw_latitude":119534064,"longitude_deg":75.6638656,"latitude_deg":11.9534064,"altitude":49,"angle":283,"satellites":26,"speed":1,"hex_longitude":"2d1963c0","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-09-19 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186311424001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587429047664640,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829517010475798528,"note":"Value kept but may cause issues"} 
[2026-09-19 09:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790286000,"timestamp_ms":1789790286000,"timestamp_seconds":1789790286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d070b0"} 
[2026-09-19 09:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:31:52] 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-19 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:31:52] 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-19 09:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:31:52] 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-19 09:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186311424001,"66":12298,"102":206,"83":41984,"24":1,"16":21587429047664640,"45":1829517010475798528},"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-19 09:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186311424001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:31:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587429047664640,"km_value":21587429047664.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829517010475798528,"description":"Unknown IO ID 45"} 
[2026-09-19 09:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186311424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1829517010475798528}} 
[2026-09-19 09:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:31:52] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:31:52] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:05] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:05] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:05] local.INFO: IMEI packet received {"connection_id":188019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":188019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:32:09] local.INFO: TCP Data received {"connection_id":189358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:09] local.INFO: Processing buffer {"connection_id":189358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:09] local.INFO: IMEI packet received {"connection_id":189358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":189358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:32:10] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:10] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:32:10] local.INFO: IMEI packet received {"connection_id":188019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":188019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:32:11] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:11] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:11] local.INFO: Packet analysis {"connection_id":188019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:32:11] local.INFO: Extracted packet for processing {"connection_id":188019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97848616,"longitude_deg":76.323264,"latitude_deg":9.7848616,"altitude":6,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d7e0180","hex_latitude":"05d50d28","is_valid_coordinates":true} 
[2026-09-19 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223104001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293215232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:11] 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-19 09:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789789936000,"timestamp_ms":1789789936000,"timestamp_seconds":1789789936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb1980"} 
[2026-09-19 09: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-19 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223104001,"66":5253,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293215232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223104001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293215232,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223104001,"power":5253,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293215232}} 
[2026-09-19 09:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":188019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:11] local.INFO: GPS data processed {"connection_id":188019,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:11] local.INFO: Acknowledgment sent {"connection_id":188019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:15] local.INFO: TCP Data received {"connection_id":189358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:15] local.INFO: Processing buffer {"connection_id":189358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:32:15] local.INFO: IMEI packet received {"connection_id":189358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":189358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:32:16] local.INFO: TCP Data received {"connection_id":189358,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:16] local.INFO: Processing buffer {"connection_id":189358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:16] local.INFO: Packet analysis {"connection_id":189358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:16] local.INFO: Extracted packet for processing {"connection_id":189358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:16] 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-19 09:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:32: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-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:32:16] 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-19 09:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":189358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:16] local.INFO: GPS data processed {"connection_id":189358,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:16] local.INFO: Acknowledgment sent {"connection_id":189358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:23] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d0c2b8012d196300071ff218002e011e19..."} 
[2026-09-19 09:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d0c2b8012d196300071ff218002e011e19..."} 
[2026-09-19 09:32:23] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d0c2b8012d196300071ff218002e011e19..."} 
[2026-09-19 09:32:23] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:32:23] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d0"} 
[2026-09-19 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119534104,"longitude_deg":75.6638464,"latitude_deg":11.9534104,"altitude":46,"angle":286,"satellites":25,"speed":0,"hex_longitude":"2d196300","hex_latitude":"071ff218","is_valid_coordinates":true} 
[2026-09-19 09:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186313216001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587437637599232,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829517010475806720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790307000,"timestamp_ms":1789790307000,"timestamp_seconds":1789790307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d0c2b8"} 
[2026-09-19 09:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":281474977366020,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-7710162562058289151,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5202104899027003035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832523,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3479126017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042260531,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2979856384,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":72646932270415872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513394002288247042,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,177,160,85,45,192,49,25,10,66,3,50,64,1,240,227,183,31,4,113,205,13,100,239,48,2,76,7,51,128],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:32:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531133381318344704,"timestamp_seconds":3531133381318344.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:32:23] 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-19 09:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186313216001,"66":12048,"102":206,"83":41984,"24":0,"16":21587437637599232,"45":1829517010475806720},"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-19 09:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186313216001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587437637599232,"km_value":21587437637599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829517010475806720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186313216001,"power":12048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829517010475806720}} 
[2026-09-19 09:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:23] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:23] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:42] local.INFO: TCP Data received {"connection_id":188019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:42] local.INFO: Processing buffer {"connection_id":188019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7cb1980012d7e018005d50d280006014426..."} 
[2026-09-19 09:32:42] local.INFO: Packet analysis {"connection_id":188019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:32:42] local.INFO: Extracted packet for processing {"connection_id":188019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7cb"} 
[2026-09-19 09:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97848616,"longitude_deg":76.323264,"latitude_deg":9.7848616,"altitude":6,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d7e0180","hex_latitude":"05d50d28","is_valid_coordinates":true} 
[2026-09-19 09:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32: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-19 09:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789789936000,"timestamp_ms":1789789936000,"timestamp_seconds":1789789936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7cb1980"} 
[2026-09-19 09: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-19 09:32: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-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":5253,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":5253,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":188019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:42] local.INFO: GPS data processed {"connection_id":188019,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:42] local.INFO: Acknowledgment sent {"connection_id":188019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:47] local.INFO: TCP Data received {"connection_id":189359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:47] local.INFO: Processing buffer {"connection_id":189359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:47] local.INFO: IMEI packet received {"connection_id":189359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":189359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:32:47] local.INFO: TCP Data received {"connection_id":189358,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:47] local.INFO: Processing buffer {"connection_id":189358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:32:47] local.INFO: Packet analysis {"connection_id":189358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:47] local.INFO: Extracted packet for processing {"connection_id":189358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32: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-19 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:32: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-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:32:47] 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-19 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":189358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:47] local.INFO: GPS data processed {"connection_id":189358,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:47] local.INFO: Acknowledgment sent {"connection_id":189358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:32:52] local.INFO: TCP Data received {"connection_id":189359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:52] local.INFO: Processing buffer {"connection_id":189359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:32:52] local.INFO: IMEI packet received {"connection_id":189359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":189359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:32:52] local.INFO: TCP Data received {"connection_id":189359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d114c0012d1962c0071ff238002d011e1c..."} 
[2026-09-19 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d114c0012d1962c0071ff238002d011e1c..."} 
[2026-09-19 09:32:52] local.INFO: Processing buffer {"connection_id":189359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d114c0012d1962c0071ff238002d011e1c..."} 
[2026-09-19 09:32:52] local.INFO: Packet analysis {"connection_id":189359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:52] local.INFO: Extracted packet for processing {"connection_id":189359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119534136,"longitude_deg":75.66384,"latitude_deg":11.9534136,"altitude":45,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071ff238","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186318592001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587446227533824,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904243283968,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790328000,"timestamp_ms":1789790328000,"timestamp_seconds":1789790328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d114c0"} 
[2026-09-19 09: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-19 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":5526362044992847872,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14356332316459008,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3083799864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503929024741376,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3484502017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4047503411,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630120739534950,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":792897421507363072,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181886112235776,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2979987456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301638477604782616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194883584,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751889572765681,"note":"Value kept but may cause issues"} 
[2026-09-19 09:32:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,177,160,112,45,192,49,26,10,66,85,25,3,1,240,53,227,183,31,4,113,205,95,100,239,46,2,76,7,69,48],"length":583,"final_offset":713,"validated_count":37,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-19 09:32:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314963893444411392,"timestamp_seconds":3314963893444411.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09: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-19 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:32:52] 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-19 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186318592001,"66":12287,"102":206,"83":41984,"24":0,"16":21587446227533824,"45":1829305904243283968},"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-19 09:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186318592001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:32:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587446227533824,"km_value":21587446227533.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904243283968,"description":"Unknown IO ID 45"} 
[2026-09-19 09:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186318592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829305904243283968}} 
[2026-09-19 09:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":189359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:32:52] local.INFO: GPS data processed {"connection_id":189359,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:32:52] local.INFO: Acknowledgment sent {"connection_id":189359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:05] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:05] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:05] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:33:10] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:10] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:33:10] local.INFO: IMEI packet received {"connection_id":186615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:33:11] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:11] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:11] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:33:11] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:11] 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-19 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09: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-19 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:11] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:11] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:15] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:15] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:15] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:33:20] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:20] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:33:20] local.INFO: IMEI packet received {"connection_id":186616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":186616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:33:20] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:20] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:20] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:33:20] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:20] 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-19 09:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:33:20] 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-19 09:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:21] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:21] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:23] local.INFO: TCP Data received {"connection_id":189359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d49b18012d196500071ff0d80037011e1f..."} 
[2026-09-19 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d49b18012d196500071ff0d80037011e1f..."} 
[2026-09-19 09:33:23] local.INFO: Processing buffer {"connection_id":189359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d49b18012d196500071ff0d80037011e1f..."} 
[2026-09-19 09:33:23] local.INFO: Packet analysis {"connection_id":189359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d4"} 
[2026-09-19 09:33:23] local.INFO: Extracted packet for processing {"connection_id":189359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d4"} 
[2026-09-19 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533784,"longitude_deg":75.6638976,"latitude_deg":11.9533784,"altitude":55,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-09-19 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186377728001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587553601716224,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790559000,"timestamp_ms":1789790559000,"timestamp_seconds":1789790559,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d49b18"} 
[2026-09-19 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:23] 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-19 09:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:33:23] 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-19 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186377728001,"66":12341,"102":206,"83":41984,"24":0,"16":21587553601716224,"45":1829868854196643840},"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-19 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186377728001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587553601716224,"km_value":21587553601716.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186377728001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-19 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":189359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:23] local.INFO: GPS data processed {"connection_id":189359,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:23] local.INFO: Acknowledgment sent {"connection_id":189359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:25] local.INFO: TCP Data received {"connection_id":186616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:25] local.INFO: Processing buffer {"connection_id":186616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:33:25] local.INFO: Packet analysis {"connection_id":186616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:33:25] local.INFO: Extracted packet for processing {"connection_id":186616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:33: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-19 09:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:25] 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-19 09:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:33: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-19 09:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:33:25] 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-19 09:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":186616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:25] local.INFO: GPS data processed {"connection_id":186616,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:25] local.INFO: Acknowledgment sent {"connection_id":186616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:42] local.INFO: TCP Data received {"connection_id":186615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:42] local.INFO: Processing buffer {"connection_id":186615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:33:42] local.INFO: Packet analysis {"connection_id":186615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:33:42] local.INFO: Extracted packet for processing {"connection_id":186615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33: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-19 09:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":186615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:42] local.INFO: GPS data processed {"connection_id":186615,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:42] local.INFO: Acknowledgment sent {"connection_id":186615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:33:47] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:47] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:47] local.INFO: IMEI packet received {"connection_id":188020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":188020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:33:51] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:51] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:33:51] local.INFO: IMEI packet received {"connection_id":188020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":188020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:33:52] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d4ed20012d196480071ff0c80034011e1f..."} 
[2026-09-19 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d4ed20012d196480071ff0c80034011e1f..."} 
[2026-09-19 09:33:52] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d4ed20012d196480071ff0c80034011e1f..."} 
[2026-09-19 09:33:52] local.INFO: Packet analysis {"connection_id":188020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d4"} 
[2026-09-19 09:33:52] local.INFO: Extracted packet for processing {"connection_id":188020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d4"} 
[2026-09-19 09:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533768,"longitude_deg":75.6638848,"latitude_deg":11.9533768,"altitude":52,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186383104001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587557896683520,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196623360,"note":"Value kept but may cause issues"} 
[2026-09-19 09:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790580000,"timestamp_ms":1789790580000,"timestamp_seconds":1789790580,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d4ed20"} 
[2026-09-19 09: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-19 09:33: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-19 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:33:52] 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-19 09: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-19 09: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-19 09:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:33:52] 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-19 09:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186383104001,"66":12319,"102":206,"83":41984,"24":0,"16":21587557896683520,"45":1829868854196623360},"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-19 09:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186383104001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:33:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587557896683520,"km_value":21587557896683.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196623360,"description":"Unknown IO ID 45"} 
[2026-09-19 09:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186383104001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196623360}} 
[2026-09-19 09:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":188020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:33:52] local.INFO: GPS data processed {"connection_id":188020,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:33:52] local.INFO: Acknowledgment sent {"connection_id":188020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:05] local.INFO: TCP Data received {"connection_id":189361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:05] local.INFO: Processing buffer {"connection_id":189361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:05] local.INFO: IMEI packet received {"connection_id":189361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":189361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:34:10] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:10] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:10] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:34:10] local.INFO: TCP Data received {"connection_id":189361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:10] local.INFO: Processing buffer {"connection_id":189361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:34:10] local.INFO: IMEI packet received {"connection_id":189361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":189361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:34:11] local.INFO: TCP Data received {"connection_id":189361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:11] local.INFO: Processing buffer {"connection_id":189361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:11] local.INFO: Packet analysis {"connection_id":189361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:34:11] local.INFO: Extracted packet for processing {"connection_id":189361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:11] 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-19 09:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09: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-19 09: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-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":189361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:11] local.INFO: GPS data processed {"connection_id":189361,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:11] local.INFO: Acknowledgment sent {"connection_id":189361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:15] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:15] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:34:15] local.INFO: IMEI packet received {"connection_id":186617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:34:16] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:16] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:16] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:34:16] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:16] 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-19 09:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:34: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-19 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:34: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-19 09:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:16] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:16] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:23] local.INFO: TCP Data received {"connection_id":188020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d53f28012d196480071ff1080033011e1f..."} 
[2026-09-19 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d53f28012d196480071ff1080033011e1f..."} 
[2026-09-19 09:34:23] local.INFO: Processing buffer {"connection_id":188020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d53f28012d196480071ff1080033011e1f..."} 
[2026-09-19 09:34:23] local.INFO: Packet analysis {"connection_id":188020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:34:23] local.INFO: Extracted packet for processing {"connection_id":188020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533832,"longitude_deg":75.6638848,"latitude_deg":11.9533832,"altitude":51,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff108","is_valid_coordinates":true} 
[2026-09-19 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186388480001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587570781585408,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790601000,"timestamp_ms":1789790601000,"timestamp_seconds":1789790601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d53f28"} 
[2026-09-19 09:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:23] 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-19 09:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:34:23] 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-19 09:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186388480001,"66":12341,"102":206,"83":41984,"24":0,"16":21587570781585408,"45":1829728116708263936},"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-19 09:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186388480001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587570781585408,"km_value":21587570781585.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186388480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-09-19 09:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":188020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:23] local.INFO: GPS data processed {"connection_id":188020,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:23] local.INFO: Acknowledgment sent {"connection_id":188020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:42] local.INFO: TCP Data received {"connection_id":189360,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:34:42] local.INFO: Processing buffer {"connection_id":189360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:34:42] local.INFO: IMEI packet received {"connection_id":189360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":189360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:34:42] local.INFO: TCP Data received {"connection_id":189361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:42] local.INFO: Processing buffer {"connection_id":189361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:34:42] local.INFO: Packet analysis {"connection_id":189361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:34:42] local.INFO: Extracted packet for processing {"connection_id":189361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34: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-19 09:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09: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-19 09:34: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-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":189361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:42] local.INFO: GPS data processed {"connection_id":189361,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:42] local.INFO: Acknowledgment sent {"connection_id":189361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:46] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:46] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:46] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:34:47] local.INFO: TCP Data received {"connection_id":186617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:47] local.INFO: Processing buffer {"connection_id":186617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d1a548012d34c14006aa41400008010e2b..."} 
[2026-09-19 09:34:47] local.INFO: Packet analysis {"connection_id":186617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:34:47] local.INFO: Extracted packet for processing {"connection_id":186617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d1"} 
[2026-09-19 09:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186256384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34: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-19 09:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790365000,"timestamp_ms":1789790365000,"timestamp_seconds":1789790365,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d1a548"} 
[2026-09-19 09: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-19 09:34: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-19 09:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:34:47] 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-19 09:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186256384001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186256384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186256384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":186617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:47] local.INFO: GPS data processed {"connection_id":186617,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:47] local.INFO: Acknowledgment sent {"connection_id":186617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:34:47] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:47] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:47] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:34:52] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:52] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:34:52] local.INFO: IMEI packet received {"connection_id":186618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":186618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:34:52] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d59130012d196480071ff0f00033011e1f..."} 
[2026-09-19 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d59130012d196480071ff0f00033011e1f..."} 
[2026-09-19 09:34:52] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d59130012d196480071ff0f00033011e1f..."} 
[2026-09-19 09:34:52] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:34:52] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533808,"longitude_deg":75.6638848,"latitude_deg":11.9533808,"altitude":51,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186393856001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587575076552704,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708280320,"note":"Value kept but may cause issues"} 
[2026-09-19 09:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790622000,"timestamp_ms":1789790622000,"timestamp_seconds":1789790622,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d59130"} 
[2026-09-19 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:34:52] 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-19 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:34:52] 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-19 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186393856001,"66":12319,"102":206,"83":41984,"24":0,"16":21587575076552704,"45":1829728116708280320},"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-19 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186393856001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587575076552704,"km_value":21587575076552.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708280320,"description":"Unknown IO ID 45"} 
[2026-09-19 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186393856001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708280320}} 
[2026-09-19 09:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:34:53] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:34:53] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:10] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:10] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:10] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:35:10] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:10] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:10] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:35:15] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:15] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:35:15] local.INFO: IMEI packet received {"connection_id":186620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:35:15] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:15] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:35:15] local.INFO: IMEI packet received {"connection_id":186619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:35:16] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:16] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:16] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:35:16] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35: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-19 09:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09: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-19 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:16] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:16] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:16] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:16] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:16] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:16] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:16] 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-19 09:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:35: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35: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-19 09:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:16] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:16] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:20] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:20] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:20] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:20] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:20] 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-19 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35:20] 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-19 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:20] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:20] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:24] local.INFO: TCP Data received {"connection_id":186618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d5df50012d196540071ff1580038011e20..."} 
[2026-09-19 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d5df50012d196540071ff1580038011e20..."} 
[2026-09-19 09:35:24] local.INFO: Processing buffer {"connection_id":186618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d5df50012d196540071ff1580038011e20..."} 
[2026-09-19 09:35:24] local.INFO: Packet analysis {"connection_id":186618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:35:24] local.INFO: Extracted packet for processing {"connection_id":186618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d5"} 
[2026-09-19 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533912,"longitude_deg":75.663904,"latitude_deg":11.9533912,"altitude":56,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-09-19 09:35: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-19 09:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186399232001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587587961454592,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708274176,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789790642000,"timestamp_ms":1789790642000,"timestamp_seconds":1789790642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d5df50"} 
[2026-09-19 09:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:35: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:24] 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-19 09:35: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-19 09:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:35:24] 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-19 09:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186399232001,"66":12341,"102":206,"83":41984,"24":0,"16":21587587961454592,"45":1829728116708274176},"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-19 09:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186399232001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587587961454592,"km_value":21587587961454.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708274176,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186399232001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708274176}} 
[2026-09-19 09:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":186618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:24] local.INFO: GPS data processed {"connection_id":186618,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:24] local.INFO: Acknowledgment sent {"connection_id":186618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:46] local.INFO: TCP Data received {"connection_id":189362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:46] local.INFO: Processing buffer {"connection_id":189362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:46] local.INFO: IMEI packet received {"connection_id":189362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":189362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:35:47] local.INFO: TCP Data received {"connection_id":186619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:47] local.INFO: Processing buffer {"connection_id":186619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:35:47] local.INFO: Packet analysis {"connection_id":186619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:35:47] local.INFO: Extracted packet for processing {"connection_id":186619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35: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-19 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09: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-19 09:35: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-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":186619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:47] local.INFO: GPS data processed {"connection_id":186619,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:47] local.INFO: Acknowledgment sent {"connection_id":186619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:50] local.INFO: TCP Data received {"connection_id":189362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:50] local.INFO: Processing buffer {"connection_id":189362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:50] local.INFO: IMEI packet received {"connection_id":189362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":189362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:35:51] local.INFO: TCP Data received {"connection_id":189362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:51] local.INFO: Processing buffer {"connection_id":189362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:35:51] local.INFO: IMEI packet received {"connection_id":189362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":189362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:35:51] local.INFO: TCP Data received {"connection_id":186620,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:51] local.INFO: Processing buffer {"connection_id":186620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:35:51] local.INFO: Packet analysis {"connection_id":186620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:51] local.INFO: Extracted packet for processing {"connection_id":186620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:51] 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-19 09:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:35:51] 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-19 09:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":186620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:51] local.INFO: GPS data processed {"connection_id":186620,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:51] local.INFO: Acknowledgment sent {"connection_id":186620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:35:52] local.INFO: TCP Data received {"connection_id":189362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63158012d1965c0071ff170003a011e20..."} 
[2026-09-19 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63158012d1965c0071ff170003a011e20..."} 
[2026-09-19 09:35:52] local.INFO: Processing buffer {"connection_id":189362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63158012d1965c0071ff170003a011e20..."} 
[2026-09-19 09:35:52] local.INFO: Packet analysis {"connection_id":189362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:52] local.INFO: Extracted packet for processing {"connection_id":189362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533936,"longitude_deg":75.6639168,"latitude_deg":11.9533936,"altitude":58,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-19 09:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186404352001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587596551389184,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940833792,"note":"Value kept but may cause issues"} 
[2026-09-19 09:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790663000,"timestamp_ms":1789790663000,"timestamp_seconds":1789790663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63158"} 
[2026-09-19 09:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:35:52] 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-19 09:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:35:52] 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-19 09:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:35:52] 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-19 09:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186404352001,"66":12319,"102":206,"83":41984,"24":0,"16":21587596551389184,"45":1829939222940833792},"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-19 09:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186404352001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587596551389184,"km_value":21587596551389.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940833792,"description":"Unknown IO ID 45"} 
[2026-09-19 09:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186404352001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940833792}} 
[2026-09-19 09:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":189362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:35:52] local.INFO: GPS data processed {"connection_id":189362,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:35:52] local.INFO: Acknowledgment sent {"connection_id":189362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:05] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:05] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:05] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:36:09] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:09] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:09] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:36:10] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:10] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:36:10] local.INFO: IMEI packet received {"connection_id":186621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":186621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:36:11] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:36:11] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d39948012d7e010005d50cf80006014423..."} 
[2026-09-19 09:36:11] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:36:11] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d3"} 
[2026-09-19 09:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":35,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293231616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:11] 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-19 09:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790493000,"timestamp_ms":1789790493000,"timestamp_seconds":1789790493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d39948"} 
[2026-09-19 09: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-19 09:36: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-19 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186223616001,"66":2405,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079679086293231616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293231616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186223616001,"power":2405,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079679086293231616}} 
[2026-09-19 09:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:11] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:11] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:15] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:15] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:36:15] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:36:16] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:16] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:16] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:16] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:16] 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-19 09:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:36: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:36: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-19 09:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:16] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:16] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:23] local.INFO: TCP Data received {"connection_id":189362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d67f78012d196580071ff1900039011e20..."} 
[2026-09-19 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d67f78012d196580071ff1900039011e20..."} 
[2026-09-19 09:36:23] local.INFO: Processing buffer {"connection_id":189362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d67f78012d196580071ff1900039011e20..."} 
[2026-09-19 09:36:23] local.INFO: Packet analysis {"connection_id":189362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:23] local.INFO: Extracted packet for processing {"connection_id":189362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533968,"longitude_deg":75.6639104,"latitude_deg":11.9533968,"altitude":57,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff190","is_valid_coordinates":true} 
[2026-09-19 09:36: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-19 09:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186409728001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587600846356480,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429195264,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790683000,"timestamp_ms":1789790683000,"timestamp_seconds":1789790683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d67f78"} 
[2026-09-19 09:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:23] 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-19 09:36: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-19 09:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:23] 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-19 09:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186409728001,"66":12287,"102":206,"83":41984,"24":0,"16":21587600846356480,"45":1830079960429195264},"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-19 09:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186409728001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587600846356480,"km_value":21587600846356.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429195264,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186409728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429195264}} 
[2026-09-19 09:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":189362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:23] local.INFO: GPS data processed {"connection_id":189362,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:23] local.INFO: Acknowledgment sent {"connection_id":189362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:42] local.INFO: TCP Data received {"connection_id":186621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:36:42] local.INFO: Processing buffer {"connection_id":186621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:36:42] local.INFO: Packet analysis {"connection_id":186621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:36:42] local.INFO: Extracted packet for processing {"connection_id":186621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36: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-19 09:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":186621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:42] local.INFO: GPS data processed {"connection_id":186621,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:42] local.INFO: Acknowledgment sent {"connection_id":186621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:47] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:47] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:36:47] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:47] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36: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-19 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:36: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:36: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-19 09: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-19 09: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-19 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:36: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-19 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:47] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:47] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:52] local.INFO: TCP Data received {"connection_id":189363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: Processing buffer {"connection_id":189363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: IMEI packet received {"connection_id":189363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":189363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:36:52] local.INFO: TCP Data received {"connection_id":189363,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: Processing buffer {"connection_id":189363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:36:52] local.INFO: IMEI packet received {"connection_id":189363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":189363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:36:53] local.INFO: TCP Data received {"connection_id":189363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d6d180012d196540071ff1580039011e20..."} 
[2026-09-19 09:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d6d180012d196540071ff1580039011e20..."} 
[2026-09-19 09:36:53] local.INFO: Processing buffer {"connection_id":189363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d6d180012d196540071ff1580039011e20..."} 
[2026-09-19 09:36:53] local.INFO: Packet analysis {"connection_id":189363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:53] local.INFO: Extracted packet for processing {"connection_id":189363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533912,"longitude_deg":75.663904,"latitude_deg":11.9533912,"altitude":57,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-09-19 09:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186414848001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587609436291072,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685025792,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789790704000,"timestamp_ms":1789790704000,"timestamp_seconds":1789790704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d6d180"} 
[2026-09-19 09:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:53] 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-19 09:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:53] 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-19 09:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186414848001,"66":12298,"102":206,"83":41984,"24":0,"16":21587609436291072,"45":1830009591685025792},"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-19 09:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186414848001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587609436291072,"km_value":21587609436291.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685025792,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186414848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685025792}} 
[2026-09-19 09:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":189363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:53] local.INFO: GPS data processed {"connection_id":189363,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:53] local.INFO: Acknowledgment sent {"connection_id":189363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:36:57] local.INFO: TCP Data received {"connection_id":189363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d72388012d196540071ff0f00039011e1f..."} 
[2026-09-19 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d72388012d196540071ff0f00039011e1f..."} 
[2026-09-19 09:36:57] local.INFO: Processing buffer {"connection_id":189363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d72388012d196540071ff0f00039011e1f..."} 
[2026-09-19 09:36:57] local.INFO: Packet analysis {"connection_id":189363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:36:57] local.INFO: Extracted packet for processing {"connection_id":189363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533808,"longitude_deg":75.663904,"latitude_deg":11.9533808,"altitude":57,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186420224001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587622321192960,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940833792,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789790725000,"timestamp_ms":1789790725000,"timestamp_seconds":1789790725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d72388"} 
[2026-09-19 09:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513393693050732830,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-4251398048237748223,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5200361142304827035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832541,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3583062017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2982674432,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":80535928199708672,"note":"Value kept but may cause issues"} 
[2026-09-19 09:36:57] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,177,160,127,45,128,57,32,10,66,49,192,58,223,64,1,240,53,227,183,31,4,113,205,63,100,8,239,48,2,76,7,52],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:36:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107597457926389760,"timestamp_seconds":4107597457926390.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:36:57] 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-19 09:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186420224001,"66":12341,"102":206,"83":41984,"24":0,"16":21587622321192960,"45":1829939222940833792},"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-19 09:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186420224001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587622321192960,"km_value":21587622321192.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940833792,"description":"Unknown IO ID 45"} 
[2026-09-19 09:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186420224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940833792}} 
[2026-09-19 09:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":189363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:36:57] local.INFO: GPS data processed {"connection_id":189363,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:36:57] local.INFO: Acknowledgment sent {"connection_id":189363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:05] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:05] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:05] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:37:09] local.INFO: TCP Data received {"connection_id":188021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:09] local.INFO: Processing buffer {"connection_id":188021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:09] local.INFO: IMEI packet received {"connection_id":188021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":188021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:37:10] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:10] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:37:10] local.INFO: IMEI packet received {"connection_id":186622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":186622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:37:11] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:11] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:11] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:37:11] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:11] 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-19 09:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:11] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:11] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:15] local.INFO: TCP Data received {"connection_id":188021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:15] local.INFO: Processing buffer {"connection_id":188021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:37:15] local.INFO: IMEI packet received {"connection_id":188021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":188021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:37:16] local.INFO: TCP Data received {"connection_id":188021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:16] local.INFO: Processing buffer {"connection_id":188021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:16] local.INFO: Packet analysis {"connection_id":188021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:37:16] local.INFO: Extracted packet for processing {"connection_id":188021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:16] 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-19 09:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:37: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-19 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:37: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-19 09:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":188021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:16] local.INFO: GPS data processed {"connection_id":188021,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:16] local.INFO: Acknowledgment sent {"connection_id":188021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:28] local.INFO: TCP Data received {"connection_id":189363,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d771a8012d196540071ff0c00038011e20..."} 
[2026-09-19 09:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d771a8012d196540071ff0c00038011e20..."} 
[2026-09-19 09:37:28] local.INFO: Processing buffer {"connection_id":189363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d771a8012d196540071ff0c00038011e20..."} 
[2026-09-19 09:37:28] local.INFO: Packet analysis {"connection_id":189363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:37:28] local.INFO: Extracted packet for processing {"connection_id":189363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533760,"longitude_deg":75.663904,"latitude_deg":11.953376,"altitude":56,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-09-19 09:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186425600001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587630911127552,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940807168,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789790745000,"timestamp_ms":1789790745000,"timestamp_seconds":1789790745,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d771a8"} 
[2026-09-19 09:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:37:28] 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-19 09:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:37:28] 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-19 09:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186425600001,"66":12341,"102":206,"83":41984,"24":0,"16":21587630911127552,"45":1829939222940807168},"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-19 09:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186425600001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587630911127552,"km_value":21587630911127.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940807168,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186425600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940807168}} 
[2026-09-19 09:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":189363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:28] local.INFO: GPS data processed {"connection_id":189363,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:28] local.INFO: Acknowledgment sent {"connection_id":189363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:42] local.INFO: TCP Data received {"connection_id":186622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:42] local.INFO: Processing buffer {"connection_id":186622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:37:42] local.INFO: Packet analysis {"connection_id":186622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:37:42] local.INFO: Extracted packet for processing {"connection_id":186622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37: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-19 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":186622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:42] local.INFO: GPS data processed {"connection_id":186622,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:42] local.INFO: Acknowledgment sent {"connection_id":186622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:47] local.INFO: TCP Data received {"connection_id":186753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:47] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:47] local.INFO: IMEI packet received {"connection_id":186753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":186753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:37:47] local.INFO: TCP Data received {"connection_id":188021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:47] local.INFO: Processing buffer {"connection_id":188021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:37:47] local.INFO: Packet analysis {"connection_id":188021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:37:47] local.INFO: Extracted packet for processing {"connection_id":188021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37: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-19 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 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-19 09:37: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:37: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-19 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-19 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-19 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:37: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-19 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":188021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:47] local.INFO: GPS data processed {"connection_id":188021,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:47] local.INFO: Acknowledgment sent {"connection_id":188021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:37:52] local.INFO: TCP Data received {"connection_id":186753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:52] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:37:52] local.INFO: IMEI packet received {"connection_id":186753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":186753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:37:52] local.INFO: TCP Data received {"connection_id":186753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d7c3b0012d196540071ff0580037011e20..."} 
[2026-09-19 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d7c3b0012d196540071ff0580037011e20..."} 
[2026-09-19 09:37:52] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d7c3b0012d196540071ff0580037011e20..."} 
[2026-09-19 09:37:52] local.INFO: Packet analysis {"connection_id":186753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:37:52] local.INFO: Extracted packet for processing {"connection_id":186753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d7"} 
[2026-09-19 09:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533656,"longitude_deg":75.663904,"latitude_deg":11.9533656,"altitude":55,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-09-19 09:37: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-19 09:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186430720001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587635206094848,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940794880,"note":"Value kept but may cause issues"} 
[2026-09-19 09:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790766000,"timestamp_ms":1789790766000,"timestamp_seconds":1789790766,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d7c3b0"} 
[2026-09-19 09:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:37:52] 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-19 09:37: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:37:52] 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-19 09:37: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-19 09:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:37:52] 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-19 09:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186430720001,"66":12319,"102":206,"83":41984,"24":0,"16":21587635206094848,"45":1829939222940794880},"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-19 09:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186430720001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:37:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587635206094848,"km_value":21587635206094.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940794880,"description":"Unknown IO ID 45"} 
[2026-09-19 09:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186430720001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940794880}} 
[2026-09-19 09:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:37:52] local.INFO: GPS data processed {"connection_id":186753,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:37:52] local.INFO: Acknowledgment sent {"connection_id":186753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:05] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:05] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:05] local.INFO: IMEI packet received {"connection_id":188022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":188022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:38:10] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:10] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:38:10] local.INFO: IMEI packet received {"connection_id":188022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":188022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:38:11] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:11] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:11] local.INFO: Packet analysis {"connection_id":188022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:11] local.INFO: Extracted packet for processing {"connection_id":188022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 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-19 09:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:11] 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-19 09:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 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-19 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":188022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:11] local.INFO: GPS data processed {"connection_id":188022,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:11] local.INFO: Acknowledgment sent {"connection_id":188022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:15] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:15] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:15] local.INFO: IMEI packet received {"connection_id":186754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":186754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:38:20] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:20] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:38:20] local.INFO: IMEI packet received {"connection_id":186754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":186754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:38:21] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:21] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:21] local.INFO: Packet analysis {"connection_id":186754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:21] local.INFO: Extracted packet for processing {"connection_id":186754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:21] 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-19 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:21] 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-19 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":186754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:21] local.INFO: GPS data processed {"connection_id":186754,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:21] local.INFO: Acknowledgment sent {"connection_id":186754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:23] local.INFO: TCP Data received {"connection_id":186753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d811d0012d196540071ff0f00037011e20..."} 
[2026-09-19 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d811d0012d196540071ff0f00037011e20..."} 
[2026-09-19 09:38:23] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d811d0012d196540071ff0f00037011e20..."} 
[2026-09-19 09:38:23] local.INFO: Packet analysis {"connection_id":186753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:23] local.INFO: Extracted packet for processing {"connection_id":186753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533808,"longitude_deg":75.663904,"latitude_deg":11.9533808,"altitude":55,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186436096001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587643796029440,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940768256,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790786000,"timestamp_ms":1789790786000,"timestamp_seconds":1789790786,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d811d0"} 
[2026-09-19 09:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:38:23] 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-19 09:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:23] 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-19 09:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:38:23] 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-19 09:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186436096001,"66":12298,"102":206,"83":41984,"24":0,"16":21587643796029440,"45":1829939222940768256},"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-19 09:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186436096001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587643796029440,"km_value":21587643796029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940768256,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186436096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940768256}} 
[2026-09-19 09:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":186753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:23] local.INFO: GPS data processed {"connection_id":186753,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:23] local.INFO: Acknowledgment sent {"connection_id":186753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:25] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:25] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:25] local.INFO: Packet analysis {"connection_id":186754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:25] local.INFO: Extracted packet for processing {"connection_id":186754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:25] 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-19 09:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:25] 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-19 09:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":186754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:25] local.INFO: GPS data processed {"connection_id":186754,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:25] local.INFO: Acknowledgment sent {"connection_id":186754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:33] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:33] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:38:33] local.INFO: Packet analysis {"connection_id":186754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:33] local.INFO: Extracted packet for processing {"connection_id":186754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:33] 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-19 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:38:33] 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-19 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":186754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:33] local.INFO: GPS data processed {"connection_id":186754,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:33] local.INFO: Acknowledgment sent {"connection_id":186754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:42] local.INFO: TCP Data received {"connection_id":188022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:42] local.INFO: Processing buffer {"connection_id":188022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:38:42] local.INFO: Packet analysis {"connection_id":188022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:42] local.INFO: Extracted packet for processing {"connection_id":188022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 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-19 09:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38: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-19 09:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 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-19 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":188022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:42] local.INFO: GPS data processed {"connection_id":188022,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:42] local.INFO: Acknowledgment sent {"connection_id":188022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:38:47] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:47] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:47] local.INFO: IMEI packet received {"connection_id":186755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":186755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:38:51] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:51] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:38:51] local.INFO: IMEI packet received {"connection_id":186755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":186755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:38:52] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d863d8012d196540071ff0c80036011e21..."} 
[2026-09-19 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d863d8012d196540071ff0c80036011e21..."} 
[2026-09-19 09:38:52] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d863d8012d196540071ff0c80036011e21..."} 
[2026-09-19 09:38:52] local.INFO: Packet analysis {"connection_id":186755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:52] local.INFO: Extracted packet for processing {"connection_id":186755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533768,"longitude_deg":75.663904,"latitude_deg":11.9533768,"altitude":54,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-09-19 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186441216001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587660975898624,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940807168,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790807000,"timestamp_ms":1789790807000,"timestamp_seconds":1789790807,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d863d8"} 
[2026-09-19 09:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:38:52] 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-19 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-3602879701896396799,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5200004660019259035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513394242806612254,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832544,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3604054017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076281,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2983133184,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":80537027711336448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:38:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,177,160,195,45,64,240,55,32,10,66,113,56,35,1,53,227,183,31,4,205,127,101,144,239,47,2,76,7,58],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:38:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963482269850533888,"timestamp_seconds":3963482269850534.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:38:52] 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-19 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186441216001,"66":12341,"102":206,"83":41984,"24":0,"16":21587660975898624,"45":1829939222940807168},"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-19 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186441216001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:38:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587660975898624,"km_value":21587660975898.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940807168,"description":"Unknown IO ID 45"} 
[2026-09-19 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186441216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940807168}} 
[2026-09-19 09:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:38:52] local.INFO: GPS data processed {"connection_id":186755,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:38:52] local.INFO: Acknowledgment sent {"connection_id":186755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:05] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:05] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:05] local.INFO: IMEI packet received {"connection_id":188023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":188023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:39:10] local.INFO: TCP Data received {"connection_id":189364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:10] local.INFO: Processing buffer {"connection_id":189364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:10] local.INFO: IMEI packet received {"connection_id":189364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":189364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:39:10] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:10] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:39:10] local.INFO: IMEI packet received {"connection_id":188023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":188023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:39:11] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:11] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:11] local.INFO: Packet analysis {"connection_id":188023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:11] local.INFO: Extracted packet for processing {"connection_id":188023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 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-19 09:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:11] 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-19 09:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 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-19 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":188023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:11] local.INFO: GPS data processed {"connection_id":188023,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:11] local.INFO: Acknowledgment sent {"connection_id":188023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:15] local.INFO: TCP Data received {"connection_id":189364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:15] local.INFO: Processing buffer {"connection_id":189364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:39:15] local.INFO: IMEI packet received {"connection_id":189364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":189364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:39:16] local.INFO: TCP Data received {"connection_id":189364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:16] local.INFO: Processing buffer {"connection_id":189364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:16] local.INFO: Packet analysis {"connection_id":189364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:39:16] local.INFO: Extracted packet for processing {"connection_id":189364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:16] 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-19 09:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09: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-19 09:39: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:39: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-19 09:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":189364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:16] local.INFO: GPS data processed {"connection_id":189364,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:16] local.INFO: Acknowledgment sent {"connection_id":189364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:23] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d8b5e0012d196540071ff0580037011e21..."} 
[2026-09-19 09:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d8b5e0012d196540071ff0580037011e21..."} 
[2026-09-19 09:39:23] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d8b5e0012d196540071ff0580037011e21..."} 
[2026-09-19 09:39:23] local.INFO: Packet analysis {"connection_id":186755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:23] local.INFO: Extracted packet for processing {"connection_id":186755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533656,"longitude_deg":75.663904,"latitude_deg":11.9533656,"altitude":55,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-09-19 09:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186446592001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587665270865920,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940796928,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790828000,"timestamp_ms":1789790828000,"timestamp_seconds":1789790828,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d8b5e0"} 
[2026-09-19 09:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:39:23] 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-19 09:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:39:23] 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-19 09:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:39:23] 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-19 09:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186446592001,"66":12319,"102":206,"83":41984,"24":0,"16":21587665270865920,"45":1829939222940796928},"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-19 09:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186446592001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587665270865920,"km_value":21587665270865.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940796928,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186446592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940796928}} 
[2026-09-19 09:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:23] local.INFO: GPS data processed {"connection_id":186755,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:23] local.INFO: Acknowledgment sent {"connection_id":186755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:42] local.INFO: TCP Data received {"connection_id":188023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:42] local.INFO: Processing buffer {"connection_id":188023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:39:42] local.INFO: Packet analysis {"connection_id":188023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:42] local.INFO: Extracted packet for processing {"connection_id":188023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39: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-19 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":188023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:42] local.INFO: GPS data processed {"connection_id":188023,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:42] local.INFO: Acknowledgment sent {"connection_id":188023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:47] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:47] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:47] local.INFO: IMEI packet received {"connection_id":186756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":186756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:39:47] local.INFO: TCP Data received {"connection_id":189364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:47] local.INFO: Processing buffer {"connection_id":189364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d63d10012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:39:47] local.INFO: Packet analysis {"connection_id":189364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:39:47] local.INFO: Extracted packet for processing {"connection_id":189364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d6"} 
[2026-09-19 09:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186333440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39: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-19 09:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790666000,"timestamp_ms":1789790666000,"timestamp_seconds":1789790666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d63d10"} 
[2026-09-19 09:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:39: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-19 09:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:39: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-19 09:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:39:47] 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-19 09:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186333440001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186333440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186333440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":189364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:47] local.INFO: GPS data processed {"connection_id":189364,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:47] local.INFO: Acknowledgment sent {"connection_id":189364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:39:52] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:52] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:39:52] local.INFO: IMEI packet received {"connection_id":186756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":186756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:39:52] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d90400012d196540071ff0400038011e22..."} 
[2026-09-19 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d90400012d196540071ff0400038011e22..."} 
[2026-09-19 09:39:52] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d90400012d196540071ff0400038011e22..."} 
[2026-09-19 09:39:52] local.INFO: Packet analysis {"connection_id":186756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:39:52] local.INFO: Extracted packet for processing {"connection_id":186756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533632,"longitude_deg":75.663904,"latitude_deg":11.9533632,"altitude":56,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-19 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186451968001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587673860800512,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940768256,"note":"Value kept but may cause issues"} 
[2026-09-19 09:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790848000,"timestamp_ms":1789790848000,"timestamp_seconds":1789790848,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d90400"} 
[2026-09-19 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:39:52] 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-19 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:39:52] 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-19 09:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:39:52] 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-19 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186451968001,"66":12298,"102":206,"83":41984,"24":0,"16":21587673860800512,"45":1829939222940768256},"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-19 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186451968001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:39:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587673860800512,"km_value":21587673860800.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940768256,"description":"Unknown IO ID 45"} 
[2026-09-19 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186451968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940768256}} 
[2026-09-19 09:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":186756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:39:53] local.INFO: GPS data processed {"connection_id":186756,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:39:53] local.INFO: Acknowledgment sent {"connection_id":186756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:10] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:10] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:10] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:40:10] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:10] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:10] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:40:15] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:15] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:40:15] local.INFO: IMEI packet received {"connection_id":186624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:40:15] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:15] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:40:15] local.INFO: IMEI packet received {"connection_id":186625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":186625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:40:16] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:16] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:16] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:40:16] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 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-19 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40: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-19 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 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-19 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:16] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:16] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:17] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:17] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:17] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:40:17] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:17] 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-19 09:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:40: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:40: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-19 09: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-19 09: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-19 09:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:40: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-19 09:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:17] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:17] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:20] local.INFO: TCP Data received {"connection_id":186624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:20] local.INFO: Processing buffer {"connection_id":186624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:40:20] local.INFO: Packet analysis {"connection_id":186624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:40:20] local.INFO: Extracted packet for processing {"connection_id":186624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40: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-19 09:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09: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-19 09:40:20] 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-19 09: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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":186624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:20] local.INFO: GPS data processed {"connection_id":186624,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:20] local.INFO: Acknowledgment sent {"connection_id":186624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:23] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d95220012d196680071ff0a0003c011e22..."} 
[2026-09-19 09:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d95220012d196680071ff0a0003c011e22..."} 
[2026-09-19 09:40:23] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d95220012d196680071ff0a0003c011e22..."} 
[2026-09-19 09:40:23] local.INFO: Packet analysis {"connection_id":186756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:40:23] local.INFO: Extracted packet for processing {"connection_id":186756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533728,"longitude_deg":75.663936,"latitude_deg":11.9533728,"altitude":60,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-19 09:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186457088001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587691040669696,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940762112,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790868000,"timestamp_ms":1789790868000,"timestamp_seconds":1789790868,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d95220"} 
[2026-09-19 09:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-3170534137668829183,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5199738372046907035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513394242806677790,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832546,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3619926017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4032299063,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2983591936,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":80535928199708672,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,177,160,181,45,64,240,55,33,10,66,99,54,17,1,227,183,31,4,113,205,101,192,32,239,48,2,76,7,57],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:40:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035539872478396416,"timestamp_seconds":4035539872478396.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:40:23] 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-19 09:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186457088001,"66":12341,"102":206,"83":41984,"24":0,"16":21587691040669696,"45":1829939222940762112},"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-19 09:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186457088001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587691040669696,"km_value":21587691040669.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940762112,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186457088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940762112}} 
[2026-09-19 09:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":186756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:23] local.INFO: GPS data processed {"connection_id":186756,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:23] local.INFO: Acknowledgment sent {"connection_id":186756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:37] local.INFO: TCP Data received {"connection_id":188024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:40:37] local.INFO: Processing buffer {"connection_id":188024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:40:37] local.INFO: IMEI packet received {"connection_id":188024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":188024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:40:47] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:47] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:47] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:40:48] local.INFO: TCP Data received {"connection_id":186625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:48] local.INFO: Processing buffer {"connection_id":186625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:40:48] local.INFO: Packet analysis {"connection_id":186625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:40:48] local.INFO: Extracted packet for processing {"connection_id":186625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40: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-19 09:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:40: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-19 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:40: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-19 09:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:40: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-19 09:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:48] local.INFO: GPS data processed {"connection_id":186625,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:48] local.INFO: Acknowledgment sent {"connection_id":186625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:40:51] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:51] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:40:51] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:40:52] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d9a428012d1966c0071ff128003f011e22..."} 
[2026-09-19 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d9a428012d1966c0071ff128003f011e22..."} 
[2026-09-19 09:40:52] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d9a428012d1966c0071ff128003f011e22..."} 
[2026-09-19 09:40:52] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:40:52] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533864,"longitude_deg":75.6639424,"latitude_deg":11.9533864,"altitude":63,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-19 09:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186462208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587703925571584,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661675008,"note":"Value kept but may cause issues"} 
[2026-09-19 09:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790889000,"timestamp_ms":1789790889000,"timestamp_seconds":1789790889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d9a428"} 
[2026-09-19 09:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:40:52] 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-19 09:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:40:52] 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-19 09:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:40:52] 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-19 09:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186462208001,"66":12341,"102":206,"83":41984,"24":0,"16":21587703925571584,"45":1830291066661675008},"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-19 09:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186462208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:40:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587703925571584,"km_value":21587703925571.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661675008,"description":"Unknown IO ID 45"} 
[2026-09-19 09:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186462208001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661675008}} 
[2026-09-19 09:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:40:52] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:40:52] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:05] local.INFO: TCP Data received {"connection_id":189365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:05] local.INFO: Processing buffer {"connection_id":189365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:05] local.INFO: IMEI packet received {"connection_id":189365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":189365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:41:09] local.INFO: TCP Data received {"connection_id":188025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:09] local.INFO: Processing buffer {"connection_id":188025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:09] local.INFO: IMEI packet received {"connection_id":188025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:41:10] local.INFO: TCP Data received {"connection_id":189365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:10] local.INFO: Processing buffer {"connection_id":189365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 09:41:10] local.INFO: IMEI packet received {"connection_id":189365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":189365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:41:11] local.INFO: TCP Data received {"connection_id":189365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:41:11] local.INFO: Processing buffer {"connection_id":189365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d83110012d7e010005d50cf80006014427..."} 
[2026-09-19 09:41:11] local.INFO: Packet analysis {"connection_id":189365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:41:11] local.INFO: Extracted packet for processing {"connection_id":189365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d8"} 
[2026-09-19 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186366208001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:11] 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-19 09:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789790794000,"timestamp_ms":1789790794000,"timestamp_seconds":1789790794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d83110"} 
[2026-09-19 09: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-19 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":9,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 09:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1152,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186366208001,"66":2264,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186366208001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186366208001,"power":2264,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":189365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:11] local.INFO: GPS data processed {"connection_id":189365,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:11] local.INFO: Acknowledgment sent {"connection_id":189365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:15] local.INFO: TCP Data received {"connection_id":188025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:15] local.INFO: Processing buffer {"connection_id":188025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:41:15] local.INFO: IMEI packet received {"connection_id":188025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":188025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:41:16] local.INFO: TCP Data received {"connection_id":188025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:16] local.INFO: Processing buffer {"connection_id":188025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:16] local.INFO: Packet analysis {"connection_id":188025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:16] local.INFO: Extracted packet for processing {"connection_id":188025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:16] 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-19 09:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:41: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-19 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:41: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-19 09:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":188025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:16] local.INFO: GPS data processed {"connection_id":188025,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:16] local.INFO: Acknowledgment sent {"connection_id":188025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:23] local.INFO: TCP Data received {"connection_id":186757,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7d9f248012d196680071ff1080040011e22..."} 
[2026-09-19 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7d9f248012d196680071ff1080040011e22..."} 
[2026-09-19 09:41:23] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7d9f248012d196680071ff1080040011e22..."} 
[2026-09-19 09:41:23] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:41:23] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7d9"} 
[2026-09-19 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533832,"longitude_deg":75.663936,"latitude_deg":11.9533832,"altitude":64,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff108","is_valid_coordinates":true} 
[2026-09-19 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186467584001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587708220538880,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405887488,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790909000,"timestamp_ms":1789790909000,"timestamp_seconds":1789790909,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7d9f248"} 
[2026-09-19 09:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:41:23] 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-19 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:41:23] 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-19 09:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:41:23] 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-19 09:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186467584001,"66":12341,"102":206,"83":41984,"24":0,"16":21587708220538880,"45":1830361435405887488},"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-19 09:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186467584001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587708220538880,"km_value":21587708220538.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405887488,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186467584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405887488}} 
[2026-09-19 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:23] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:23] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:42] local.INFO: TCP Data received {"connection_id":189365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dcc8d8012d7e010005d50cf80006014429..."} 
[2026-09-19 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dcc8d8012d7e010005d50cf80006014429..."} 
[2026-09-19 09:41:42] local.INFO: Processing buffer {"connection_id":189365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dcc8d8012d7e010005d50cf80006014429..."} 
[2026-09-19 09:41:42] local.INFO: Packet analysis {"connection_id":189365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:41:42] local.INFO: Extracted packet for processing {"connection_id":189365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97848568,"longitude_deg":76.3232512,"latitude_deg":9.7848568,"altitude":6,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d7e0100","hex_latitude":"05d50cf8","is_valid_coordinates":true} 
[2026-09-19 09:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186443264001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079538348804864000,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41: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-19 09:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789791095000,"timestamp_ms":1789791095000,"timestamp_seconds":1789791095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dcc8d8"} 
[2026-09-19 09:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 09:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 09:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 09:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 09:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 09:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186443264001,"66":2242,"111":206,"85":15104,"24":0,"16":135074943342739456,"45":9079538348804864000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 09:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 09:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 09:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186443264001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 09:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 09:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079538348804864000,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186443264001,"power":2242,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9079538348804864000}} 
[2026-09-19 09:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":189365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:42] local.INFO: GPS data processed {"connection_id":189365,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:42] local.INFO: Acknowledgment sent {"connection_id":189365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:46] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:46] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:46] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:41:47] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:47] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:47] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:41:47] local.INFO: TCP Data received {"connection_id":188025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:47] local.INFO: Processing buffer {"connection_id":188025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:41:47] local.INFO: Packet analysis {"connection_id":188025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:47] local.INFO: Extracted packet for processing {"connection_id":188025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41: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-19 09:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:41: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:41: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-19 09: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-19 09: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-19 09:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:41: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-19 09:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":188025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:48] local.INFO: GPS data processed {"connection_id":188025,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:48] local.INFO: Acknowledgment sent {"connection_id":188025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:41:51] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:51] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:41:51] local.INFO: IMEI packet received {"connection_id":188026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":188026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:41:52] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7da4450012d1966c0071ff0f80043011e22..."} 
[2026-09-19 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7da4450012d1966c0071ff0f80043011e22..."} 
[2026-09-19 09:41:52] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7da4450012d1966c0071ff0f80043011e22..."} 
[2026-09-19 09:41:52] local.INFO: Packet analysis {"connection_id":188026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:52] local.INFO: Extracted packet for processing {"connection_id":188026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533816,"longitude_deg":75.6639424,"latitude_deg":11.9533816,"altitude":67,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-19 09:41: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-19 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186472704001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587716810473472,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661701632,"note":"Value kept but may cause issues"} 
[2026-09-19 09:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790930000,"timestamp_ms":1789790930000,"timestamp_seconds":1789790930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7da4450"} 
[2026-09-19 09:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:41:52] 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-19 09:41: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:41:52] 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-19 09:41: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-19 09:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:41:52] 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-19 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186472704001,"66":12341,"102":206,"83":41984,"24":0,"16":21587716810473472,"45":1830291066661701632},"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-19 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186472704001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:41:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587716810473472,"km_value":21587716810473.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661701632,"description":"Unknown IO ID 45"} 
[2026-09-19 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186472704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661701632}} 
[2026-09-19 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":188026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:41:52] local.INFO: GPS data processed {"connection_id":188026,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:41:52] local.INFO: Acknowledgment sent {"connection_id":188026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:42:15] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:15] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:15] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:42:20] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:20] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:42:20] local.INFO: IMEI packet received {"connection_id":186626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":186626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:42:20] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:20] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:20] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:20] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:20] 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-19 09:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:42:20] 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-19 09:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:42:21] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:42:21] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:42:23] local.INFO: TCP Data received {"connection_id":188026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7da9270012d1966c0071ff0a80045011e21..."} 
[2026-09-19 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7da9270012d1966c0071ff0a80045011e21..."} 
[2026-09-19 09:42:23] local.INFO: Processing buffer {"connection_id":188026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7da9270012d1966c0071ff0a80045011e21..."} 
[2026-09-19 09:42:23] local.INFO: Packet analysis {"connection_id":188026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:23] local.INFO: Extracted packet for processing {"connection_id":188026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533736,"longitude_deg":75.6639424,"latitude_deg":11.9533736,"altitude":69,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-09-19 09:42: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-19 09:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186478080001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587721105440768,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405875200,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790950000,"timestamp_ms":1789790950000,"timestamp_seconds":1789790950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7da9270"} 
[2026-09-19 09:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:42:23] 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-19 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:42:23] 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-19 09:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:42:23] 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-19 09:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186478080001,"66":12363,"102":206,"83":41984,"24":0,"16":21587721105440768,"45":1830361435405875200},"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-19 09:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186478080001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587721105440768,"km_value":21587721105440.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405875200,"description":"Unknown IO ID 45"} 
[2026-09-19 09:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186478080001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405875200}} 
[2026-09-19 09:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":188026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:42:23] local.INFO: GPS data processed {"connection_id":188026,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:42:23] local.INFO: Acknowledgment sent {"connection_id":188026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:42:26] local.INFO: TCP Data received {"connection_id":186626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:26] local.INFO: Processing buffer {"connection_id":186626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:42:26] local.INFO: Packet analysis {"connection_id":186626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:26] local.INFO: Extracted packet for processing {"connection_id":186626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:26] 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-19 09:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:42:26] 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-19 09:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":186626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:42:26] local.INFO: GPS data processed {"connection_id":186626,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:42:26] local.INFO: Acknowledgment sent {"connection_id":186626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:42:46] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:46] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:46] local.INFO: IMEI packet received {"connection_id":186758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":186758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:42:50] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:50] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:50] local.INFO: IMEI packet received {"connection_id":186758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":186758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:42:51] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:51] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:42:51] local.INFO: IMEI packet received {"connection_id":186758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":186758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:42:52] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dae090012d1966c0071ff0580043011e23..."} 
[2026-09-19 09:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dae090012d1966c0071ff0580043011e23..."} 
[2026-09-19 09:42:52] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dae090012d1966c0071ff0580043011e23..."} 
[2026-09-19 09:42:52] local.INFO: Packet analysis {"connection_id":186758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:52] local.INFO: Extracted packet for processing {"connection_id":186758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533656,"longitude_deg":75.6639424,"latitude_deg":11.9533656,"altitude":67,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-09-19 09:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186483200001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587725400408064,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405854720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789790970000,"timestamp_ms":1789790970000,"timestamp_seconds":1789790970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dae090"} 
[2026-09-19 09:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:42:52] 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-19 09:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:42:52] 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-19 09:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:42:52] 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-19 09:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186483200001,"66":12363,"102":206,"83":41984,"24":0,"16":21587725400408064,"45":1830361435405854720},"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-19 09:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186483200001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:42:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587725400408064,"km_value":21587725400408.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405854720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186483200001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405854720}} 
[2026-09-19 09:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":186758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:42:52] local.INFO: GPS data processed {"connection_id":186758,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:42:52] local.INFO: Acknowledgment sent {"connection_id":186758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:43:10] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:10] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:10] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:43:15] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:15] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:43:15] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:43:16] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:16] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:16] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:43:16] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:16] 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-19 09:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 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-19 09:43: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 09:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:43: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-19 09:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:43:16] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:43:16] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:43:23] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7db3298012d1966c0071ff0400043011e24..."} 
[2026-09-19 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7db3298012d1966c0071ff0400043011e24..."} 
[2026-09-19 09:43:23] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7db3298012d1966c0071ff0400043011e24..."} 
[2026-09-19 09:43:23] local.INFO: Packet analysis {"connection_id":186758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:43:23] local.INFO: Extracted packet for processing {"connection_id":186758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533632,"longitude_deg":75.6639424,"latitude_deg":11.9533632,"altitude":67,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-19 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186488320001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587738285309952,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405834240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789790991000,"timestamp_ms":1789790991000,"timestamp_seconds":1789790991,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7db3298"} 
[2026-09-19 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:43:23] 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-19 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:43:23] 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-19 09:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:43:23] 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-19 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186488320001,"66":12341,"102":206,"83":41984,"24":0,"16":21587738285309952,"45":1830361435405834240},"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-19 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186488320001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587738285309952,"km_value":21587738285309.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405834240,"description":"Unknown IO ID 45"} 
[2026-09-19 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186488320001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405834240}} 
[2026-09-19 09:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":186758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:43:23] local.INFO: GPS data processed {"connection_id":186758,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:43:23] local.INFO: Acknowledgment sent {"connection_id":186758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:43:48] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:48] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:43:48] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:43:48] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43: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-19 09:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:43: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-19 09: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:43: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-19 09: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-19 09: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-19 09:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:43: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-19 09:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:43:48] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:43:48] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:43:51] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:51] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:51] local.INFO: IMEI packet received {"connection_id":188028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":188028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:43:52] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:52] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:43:52] local.INFO: IMEI packet received {"connection_id":188028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":188028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:43:53] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7db80b8012d196600071ff0380041011e24..."} 
[2026-09-19 09:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7db80b8012d196600071ff0380041011e24..."} 
[2026-09-19 09:43:53] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7db80b8012d196600071ff0380041011e24..."} 
[2026-09-19 09:43:53] local.INFO: Packet analysis {"connection_id":188028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:43:53] local.INFO: Extracted packet for processing {"connection_id":188028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533624,"longitude_deg":75.6639232,"latitude_deg":11.9533624,"altitude":65,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-09-19 09:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186493696001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587751170211840,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405828096,"note":"Value kept but may cause issues"} 
[2026-09-19 09:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789791011000,"timestamp_ms":1789791011000,"timestamp_seconds":1789791011,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7db80b8"} 
[2026-09-19 09:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:43:53] 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-19 09:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:43:53] 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-19 09:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:43:53] 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-19 09:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186493696001,"66":12374,"102":206,"83":41984,"24":0,"16":21587751170211840,"45":1830361435405828096},"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-19 09:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186493696001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:43:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587751170211840,"km_value":21587751170211.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405828096,"description":"Unknown IO ID 45"} 
[2026-09-19 09:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186493696001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405828096}} 
[2026-09-19 09:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":188028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:43:53] local.INFO: GPS data processed {"connection_id":188028,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:43:53] local.INFO: Acknowledgment sent {"connection_id":188028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:44:10] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:10] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:10] local.INFO: IMEI packet received {"connection_id":186627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:44:15] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:15] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:44:15] local.INFO: IMEI packet received {"connection_id":186627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":186627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:44:16] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:16] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:16] local.INFO: Packet analysis {"connection_id":186627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:44:16] local.INFO: Extracted packet for processing {"connection_id":186627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:16] 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-19 09:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:44: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-19 09:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:44: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-19 09:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":186627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:44:16] local.INFO: GPS data processed {"connection_id":186627,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:44:16] local.INFO: Acknowledgment sent {"connection_id":186627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:44:24] local.INFO: TCP Data received {"connection_id":188028,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dbced8012d196600071ff0c8003f011e23..."} 
[2026-09-19 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dbced8012d196600071ff0c8003f011e23..."} 
[2026-09-19 09:44:24] local.INFO: Processing buffer {"connection_id":188028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dbced8012d196600071ff0c8003f011e23..."} 
[2026-09-19 09:44:24] local.INFO: Packet analysis {"connection_id":188028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:44:24] local.INFO: Extracted packet for processing {"connection_id":188028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7db"} 
[2026-09-19 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533768,"longitude_deg":75.6639232,"latitude_deg":11.9533768,"altitude":63,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-09-19 09:44: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-19 09:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186498816001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587755465179136,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173293056,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789791031000,"timestamp_ms":1789791031000,"timestamp_seconds":1789791031,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dbced8"} 
[2026-09-19 09:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:44:24] 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-19 09:44: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:44:24] 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-19 09:44: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-19 09:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:44:24] 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-19 09:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186498816001,"66":12319,"102":206,"83":41984,"24":0,"16":21587755465179136,"45":1830150329173293056},"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-19 09:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186498816001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587755465179136,"km_value":21587755465179.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173293056,"description":"Unknown IO ID 45"} 
[2026-09-19 09:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186498816001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173293056}} 
[2026-09-19 09:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":188028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:44:24] local.INFO: GPS data processed {"connection_id":188028,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:44:24] local.INFO: Acknowledgment sent {"connection_id":188028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:44:47] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:47] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:47] local.INFO: IMEI packet received {"connection_id":186760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":186760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:44:47] local.INFO: TCP Data received {"connection_id":186627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:47] local.INFO: Processing buffer {"connection_id":186627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dad4d8012d34c14006aa41400008010e29..."} 
[2026-09-19 09:44:47] local.INFO: Packet analysis {"connection_id":186627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:44:47] local.INFO: Extracted packet for processing {"connection_id":186627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7da"} 
[2026-09-19 09:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186410496001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44: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-19 09:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789790967000,"timestamp_ms":1789790967000,"timestamp_seconds":1789790967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dad4d8"} 
[2026-09-19 09: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-19 09:44: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-19 09:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:44: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-19 09: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-19 09: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-19 09:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:44: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-19 09:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186410496001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186410496001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186410496001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":186627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:44:47] local.INFO: GPS data processed {"connection_id":186627,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:44:47] local.INFO: Acknowledgment sent {"connection_id":186627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:44:51] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:51] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:44:51] local.INFO: IMEI packet received {"connection_id":186760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":186760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:44:52] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dc1cf8012d196680071ff0e8003e011e24..."} 
[2026-09-19 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dc1cf8012d196680071ff0e8003e011e24..."} 
[2026-09-19 09:44:52] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dc1cf8012d196680071ff0e8003e011e24..."} 
[2026-09-19 09:44:52] local.INFO: Packet analysis {"connection_id":186760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:44:52] local.INFO: Extracted packet for processing {"connection_id":186760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533800,"longitude_deg":75.663936,"latitude_deg":11.95338,"altitude":62,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-19 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186503936001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587759760146432,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173329920,"note":"Value kept but may cause issues"} 
[2026-09-19 09:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791051000,"timestamp_ms":1789791051000,"timestamp_seconds":1789791051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dc1cf8"} 
[2026-09-19 09:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:44:52] 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-19 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:44:52] 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-19 09:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:44:52] 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-19 09:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186503936001,"66":12341,"102":206,"83":41984,"24":0,"16":21587759760146432,"45":1830150329173329920},"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-19 09:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186503936001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587759760146432,"km_value":21587759760146.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173329920,"description":"Unknown IO ID 45"} 
[2026-09-19 09:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186503936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173329920}} 
[2026-09-19 09:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":186760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:44:52] local.INFO: GPS data processed {"connection_id":186760,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:44:52] local.INFO: Acknowledgment sent {"connection_id":186760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:45:10] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:10] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:10] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:45:15] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:15] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:45:15] local.INFO: IMEI packet received {"connection_id":186628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":186628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:45:16] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:16] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:16] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:45:16] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:16] 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-19 09:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09: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-19 09:45: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:45:16] 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-19 09:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:45:16] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:45:16] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:45:23] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dc6b18012d196680071ff0f8003d011e24..."} 
[2026-09-19 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dc6b18012d196680071ff0f8003d011e24..."} 
[2026-09-19 09:45:23] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dc6b18012d196680071ff0f8003d011e24..."} 
[2026-09-19 09:45:23] local.INFO: Packet analysis {"connection_id":186760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:45:23] local.INFO: Extracted packet for processing {"connection_id":186760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533816,"longitude_deg":75.663936,"latitude_deg":11.9533816,"altitude":61,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-19 09:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186509056001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587772645048320,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661693440,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791071000,"timestamp_ms":1789791071000,"timestamp_seconds":1789791071,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dc6b18"} 
[2026-09-19 09:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:45:23] 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-19 09:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:45:23] 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-19 09:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186509056001,"66":12341,"102":206,"83":41984,"24":0,"16":21587772645048320,"45":1830291066661693440},"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-19 09:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186509056001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587772645048320,"km_value":21587772645048.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661693440,"description":"Unknown IO ID 45"} 
[2026-09-19 09:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186509056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661693440}} 
[2026-09-19 09:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":186760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:45:23] local.INFO: GPS data processed {"connection_id":186760,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:45:23] local.INFO: Acknowledgment sent {"connection_id":186760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:45:47] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:47] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:47] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:45:48] local.INFO: TCP Data received {"connection_id":186628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:48] local.INFO: Processing buffer {"connection_id":186628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:45:48] local.INFO: Packet analysis {"connection_id":186628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:45:48] local.INFO: Extracted packet for processing {"connection_id":186628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45: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-19 09:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:45: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-19 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:45: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-19 09:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:45: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-19 09:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":186628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:45:48] local.INFO: GPS data processed {"connection_id":186628,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:45:48] local.INFO: Acknowledgment sent {"connection_id":186628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:45:52] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:52] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:45:52] local.INFO: IMEI packet received {"connection_id":186629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":186629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:45:52] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7dcbd20012d196680071ff128003c011e24..."} 
[2026-09-19 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7dcbd20012d196680071ff128003c011e24..."} 
[2026-09-19 09:45:52] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7dcbd20012d196680071ff128003c011e24..."} 
[2026-09-19 09:45:52] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:45:52] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7dc"} 
[2026-09-19 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533864,"longitude_deg":75.663936,"latitude_deg":11.9533864,"altitude":60,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-19 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186514176001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587776940015616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661697536,"note":"Value kept but may cause issues"} 
[2026-09-19 09:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791092000,"timestamp_ms":1789791092000,"timestamp_seconds":1789791092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7dcbd20"} 
[2026-09-19 09:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:45:52] 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-19 09:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:45:52] 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-19 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186514176001,"66":12287,"102":206,"83":41984,"24":0,"16":21587776940015616,"45":1830291066661697536},"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-19 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186514176001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:45:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587776940015616,"km_value":21587776940015.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661697536,"description":"Unknown IO ID 45"} 
[2026-09-19 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186514176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661697536}} 
[2026-09-19 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:45:52] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:45:52] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:46:02] local.INFO: TCP Data received {"connection_id":188027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:46:02] local.INFO: Processing buffer {"connection_id":188027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:46:02] local.INFO: IMEI packet received {"connection_id":188027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":188027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:46:09] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:09] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:09] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:46:15] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:15] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:46:15] local.INFO: IMEI packet received {"connection_id":186630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:46:16] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:16] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:16] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:46:16] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:16] 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-19 09:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:46: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-19 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:46:16] 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-19 09:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:46:16] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:46:16] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:46:23] local.INFO: TCP Data received {"connection_id":186629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e02050012d1966c0071ff068003c011e23..."} 
[2026-09-19 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e02050012d1966c0071ff068003c011e23..."} 
[2026-09-19 09:46:23] local.INFO: Processing buffer {"connection_id":186629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e02050012d1966c0071ff068003c011e23..."} 
[2026-09-19 09:46:23] local.INFO: Packet analysis {"connection_id":186629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:46:23] local.INFO: Extracted packet for processing {"connection_id":186629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533672,"longitude_deg":75.6639424,"latitude_deg":11.9533672,"altitude":60,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-19 09:46: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-19 09:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186571008001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587867134328832,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149999616,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791314000,"timestamp_ms":1789791314000,"timestamp_seconds":1789791314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e02050"} 
[2026-09-19 09:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:46:23] 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-19 09:46: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-19 09:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:46:23] 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-19 09:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186571008001,"66":12363,"102":206,"83":41984,"24":0,"16":21587867134328832,"45":1830431804149999616},"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-19 09:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186571008001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587867134328832,"km_value":21587867134328.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149999616,"description":"Unknown IO ID 45"} 
[2026-09-19 09:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186571008001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149999616}} 
[2026-09-19 09:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":186629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:46:24] local.INFO: GPS data processed {"connection_id":186629,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:46:24] local.INFO: Acknowledgment sent {"connection_id":186629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:46:47] local.INFO: TCP Data received {"connection_id":188029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:47] local.INFO: Processing buffer {"connection_id":188029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:47] local.INFO: IMEI packet received {"connection_id":188029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":188029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:46:47] local.INFO: TCP Data received {"connection_id":186630,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:47] local.INFO: Processing buffer {"connection_id":186630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:46:47] local.INFO: Packet analysis {"connection_id":186630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:46:47] local.INFO: Extracted packet for processing {"connection_id":186630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46: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-19 09:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09: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-19 09:46: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-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:46: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-19 09: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-19 09: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-19 09:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:46: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-19 09:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:46:47] local.INFO: GPS data processed {"connection_id":186630,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:46:47] local.INFO: Acknowledgment sent {"connection_id":186630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:46:52] local.INFO: TCP Data received {"connection_id":188029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:52] local.INFO: Processing buffer {"connection_id":188029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:46:52] local.INFO: IMEI packet received {"connection_id":188029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":188029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:46:52] local.INFO: TCP Data received {"connection_id":188029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e06e70012d196680071ff0d8003c011e23..."} 
[2026-09-19 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e06e70012d196680071ff0d8003c011e23..."} 
[2026-09-19 09:46:52] local.INFO: Processing buffer {"connection_id":188029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e06e70012d196680071ff0d8003c011e23..."} 
[2026-09-19 09:46:52] local.INFO: Packet analysis {"connection_id":188029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:46:52] local.INFO: Extracted packet for processing {"connection_id":188029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533784,"longitude_deg":75.663936,"latitude_deg":11.9533784,"altitude":60,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-09-19 09:46: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-19 09:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186576384001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587875724263424,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405838336,"note":"Value kept but may cause issues"} 
[2026-09-19 09:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791334000,"timestamp_ms":1789791334000,"timestamp_seconds":1789791334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e06e70"} 
[2026-09-19 09:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:46: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:46:52] 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-19 09:46: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-19 09:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:46:52] 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-19 09:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186576384001,"66":12374,"102":206,"83":41984,"24":0,"16":21587875724263424,"45":1830361435405838336},"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-19 09:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186576384001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:46:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587875724263424,"km_value":21587875724263.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405838336,"description":"Unknown IO ID 45"} 
[2026-09-19 09:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186576384001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405838336}} 
[2026-09-19 09:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":188029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:46:52] local.INFO: GPS data processed {"connection_id":188029,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:46:52] local.INFO: Acknowledgment sent {"connection_id":188029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:47:09] local.INFO: TCP Data received {"connection_id":189366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:09] local.INFO: Processing buffer {"connection_id":189366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:09] local.INFO: IMEI packet received {"connection_id":189366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":189366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:47:15] local.INFO: TCP Data received {"connection_id":189366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:15] local.INFO: Processing buffer {"connection_id":189366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:47:15] local.INFO: IMEI packet received {"connection_id":189366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":189366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:47:16] local.INFO: TCP Data received {"connection_id":189366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:16] local.INFO: Processing buffer {"connection_id":189366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:16] local.INFO: Packet analysis {"connection_id":189366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:47:16] local.INFO: Extracted packet for processing {"connection_id":189366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:16] 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-19 09:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:47: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-19 09:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:47: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-19 09:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":189366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:47:16] local.INFO: GPS data processed {"connection_id":189366,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:47:16] local.INFO: Acknowledgment sent {"connection_id":189366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:47:23] local.INFO: TCP Data received {"connection_id":188029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e0bc90012d1966c0071ff0a8003d011e24..."} 
[2026-09-19 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e0bc90012d1966c0071ff0a8003d011e24..."} 
[2026-09-19 09:47:23] local.INFO: Processing buffer {"connection_id":188029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e0bc90012d1966c0071ff0a8003d011e24..."} 
[2026-09-19 09:47:23] local.INFO: Packet analysis {"connection_id":188029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:47:23] local.INFO: Extracted packet for processing {"connection_id":188029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e0"} 
[2026-09-19 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533736,"longitude_deg":75.6639424,"latitude_deg":11.9533736,"altitude":61,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-09-19 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186581504001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587884314198016,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661689344,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791354000,"timestamp_ms":1789791354000,"timestamp_seconds":1789791354,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e0bc90"} 
[2026-09-19 09:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:47:23] 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-19 09:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:47:23] 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-19 09:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186581504001,"66":12363,"102":206,"83":41984,"24":0,"16":21587884314198016,"45":1830291066661689344},"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-19 09:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186581504001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587884314198016,"km_value":21587884314198.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661689344,"description":"Unknown IO ID 45"} 
[2026-09-19 09:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186581504001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661689344}} 
[2026-09-19 09:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":188029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:47:23] local.INFO: GPS data processed {"connection_id":188029,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:47:23] local.INFO: Acknowledgment sent {"connection_id":188029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:47:46] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:46] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:46] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:47:47] local.INFO: TCP Data received {"connection_id":189366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:47] local.INFO: Processing buffer {"connection_id":189366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:47:47] local.INFO: Packet analysis {"connection_id":189366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:47:47] local.INFO: Extracted packet for processing {"connection_id":189366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47: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-19 09:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:47: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-19 09:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:47: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-19 09:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:47: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-19 09:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":189366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:47:47] local.INFO: GPS data processed {"connection_id":189366,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:47:47] local.INFO: Acknowledgment sent {"connection_id":189366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:47:52] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:52] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:47:52] local.INFO: IMEI packet received {"connection_id":186631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":186631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:47:52] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e10ab0012d1966c0071ff130003d011e25..."} 
[2026-09-19 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e10ab0012d1966c0071ff130003d011e25..."} 
[2026-09-19 09:47:52] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e10ab0012d1966c0071ff130003d011e25..."} 
[2026-09-19 09:47:52] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:47:52] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533872,"longitude_deg":75.6639424,"latitude_deg":11.9533872,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-09-19 09:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186586624001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587897199099904,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405854720,"note":"Value kept but may cause issues"} 
[2026-09-19 09:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791374000,"timestamp_ms":1789791374000,"timestamp_seconds":1789791374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e10ab0"} 
[2026-09-19 09:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:47:52] 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-19 09:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:47:52] 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-19 09:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:47:52] 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-19 09:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186586624001,"66":12374,"102":206,"83":41984,"24":0,"16":21587897199099904,"45":1830361435405854720},"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-19 09:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186586624001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:47:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587897199099904,"km_value":21587897199099.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405854720,"description":"Unknown IO ID 45"} 
[2026-09-19 09:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186586624001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405854720}} 
[2026-09-19 09:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:47:52] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:47:52] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:48:15] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:15] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:15] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:48:20] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:20] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:48:20] local.INFO: IMEI packet received {"connection_id":186632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":186632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:48:21] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:21] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:21] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:48:21] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:21] 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-19 09:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:48:21] 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-19 09:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:48:21] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:48:21] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:48:23] local.INFO: TCP Data received {"connection_id":186631,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e158d0012d1966c0071ff160003d011e25..."} 
[2026-09-19 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e158d0012d1966c0071ff160003d011e25..."} 
[2026-09-19 09:48:23] local.INFO: Processing buffer {"connection_id":186631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e158d0012d1966c0071ff160003d011e25..."} 
[2026-09-19 09:48:23] local.INFO: Packet analysis {"connection_id":186631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:48:23] local.INFO: Extracted packet for processing {"connection_id":186631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533920,"longitude_deg":75.6639424,"latitude_deg":11.953392,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-09-19 09:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186591744001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587901494067200,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405889536,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791394000,"timestamp_ms":1789791394000,"timestamp_seconds":1789791394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e158d0"} 
[2026-09-19 09:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:48:23] 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-19 09:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:48:23] 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-19 09:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186591744001,"66":12341,"102":206,"83":41984,"24":0,"16":21587901494067200,"45":1830361435405889536},"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-19 09:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186591744001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:48:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587901494067200,"km_value":21587901494067.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405889536,"description":"Unknown IO ID 45"} 
[2026-09-19 09:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186591744001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405889536}} 
[2026-09-19 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":186631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:48:24] local.INFO: GPS data processed {"connection_id":186631,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:48:24] local.INFO: Acknowledgment sent {"connection_id":186631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:48:26] local.INFO: TCP Data received {"connection_id":186632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:26] local.INFO: Processing buffer {"connection_id":186632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:48:26] local.INFO: Packet analysis {"connection_id":186632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:48:26] local.INFO: Extracted packet for processing {"connection_id":186632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:26] 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-19 09:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:48:26] 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-19 09:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":186632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:48:26] local.INFO: GPS data processed {"connection_id":186632,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:48:26] local.INFO: Acknowledgment sent {"connection_id":186632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:48:46] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:46] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:46] local.INFO: IMEI packet received {"connection_id":188030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":188030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:48:47] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:47] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:47] local.INFO: IMEI packet received {"connection_id":188030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":188030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:48:52] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:52] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:48:52] local.INFO: IMEI packet received {"connection_id":188030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":188030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:48:52] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e1a6f0012d196680071ff100003c011e25..."} 
[2026-09-19 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e1a6f0012d196680071ff100003c011e25..."} 
[2026-09-19 09:48:52] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e1a6f0012d196680071ff100003c011e25..."} 
[2026-09-19 09:48:52] local.INFO: Packet analysis {"connection_id":188030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:48:52] local.INFO: Extracted packet for processing {"connection_id":188030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533824,"longitude_deg":75.663936,"latitude_deg":11.9533824,"altitude":60,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-19 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186596864001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587910084001792,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405901824,"note":"Value kept but may cause issues"} 
[2026-09-19 09:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791414000,"timestamp_ms":1789791414000,"timestamp_seconds":1789791414,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e1a6f0"} 
[2026-09-19 09:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:48:52] 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-19 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:48:52] 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-19 09:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:48:52] 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-19 09:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186596864001,"66":12374,"102":206,"83":41984,"24":0,"16":21587910084001792,"45":1830361435405901824},"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-19 09:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186596864001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:48:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587910084001792,"km_value":21587910084001.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405901824,"description":"Unknown IO ID 45"} 
[2026-09-19 09:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186596864001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405901824}} 
[2026-09-19 09:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":188030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:48:52] local.INFO: GPS data processed {"connection_id":188030,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:48:52] local.INFO: Acknowledgment sent {"connection_id":188030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:49:10] local.INFO: TCP Data received {"connection_id":189368,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:10] local.INFO: Processing buffer {"connection_id":189368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:10] local.INFO: IMEI packet received {"connection_id":189368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":189368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:49:15] local.INFO: TCP Data received {"connection_id":189368,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:15] local.INFO: Processing buffer {"connection_id":189368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:49:15] local.INFO: IMEI packet received {"connection_id":189368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":189368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:49:17] local.INFO: TCP Data received {"connection_id":189368,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:17] local.INFO: Processing buffer {"connection_id":189368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:17] local.INFO: Packet analysis {"connection_id":189368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:49:17] local.INFO: Extracted packet for processing {"connection_id":189368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:17] 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-19 09:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09: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-19 09:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 09:49: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-19 09: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-19 09: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-19 09:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:49:17] 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-19 09:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":189368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:49:17] local.INFO: GPS data processed {"connection_id":189368,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:49:17] local.INFO: Acknowledgment sent {"connection_id":189368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:49:23] local.INFO: TCP Data received {"connection_id":188030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e1f510012d196680071ff138003b011e25..."} 
[2026-09-19 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e1f510012d196680071ff138003b011e25..."} 
[2026-09-19 09:49:23] local.INFO: Processing buffer {"connection_id":188030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e1f510012d196680071ff138003b011e25..."} 
[2026-09-19 09:49:23] local.INFO: Packet analysis {"connection_id":188030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:49:23] local.INFO: Extracted packet for processing {"connection_id":188030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e1"} 
[2026-09-19 09:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533880,"longitude_deg":75.663936,"latitude_deg":11.953388,"altitude":59,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-09-19 09:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186601984001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587914378969088,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661699584,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791434000,"timestamp_ms":1789791434000,"timestamp_seconds":1789791434,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e1f510"} 
[2026-09-19 09:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:49:23] 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-19 09:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:49:23] 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-19 09:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:49:23] 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-19 09:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186601984001,"66":12374,"102":206,"83":41984,"24":0,"16":21587914378969088,"45":1830291066661699584},"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-19 09:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186601984001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587914378969088,"km_value":21587914378969.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661699584,"description":"Unknown IO ID 45"} 
[2026-09-19 09:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186601984001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661699584}} 
[2026-09-19 09:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":188030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:49:24] local.INFO: GPS data processed {"connection_id":188030,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:49:24] local.INFO: Acknowledgment sent {"connection_id":188030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:49:48] local.INFO: TCP Data received {"connection_id":189368,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:48] local.INFO: Processing buffer {"connection_id":189368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7df6ca0012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:49:48] local.INFO: Packet analysis {"connection_id":189368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:49:48] local.INFO: Extracted packet for processing {"connection_id":189368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7df"} 
[2026-09-19 09:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186487552001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49: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-19 09:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789791268000,"timestamp_ms":1789791268000,"timestamp_seconds":1789791268,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7df6ca0"} 
[2026-09-19 09: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-19 09:49: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-19 09: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-19 09: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-19 09: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-19 09: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-19 09:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:49:48] 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-19 09:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186487552001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186487552001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186487552001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":189368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:49:48] local.INFO: GPS data processed {"connection_id":189368,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:49:48] local.INFO: Acknowledgment sent {"connection_id":189368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:49:49] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:49] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:49] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:49:52] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:52] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:52] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:49:57] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:57] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:49:57] local.INFO: IMEI packet received {"connection_id":186633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":186633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:49:57] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e24330012d196680071ff168003c011e25..."} 
[2026-09-19 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e24330012d196680071ff168003c011e25..."} 
[2026-09-19 09:49:57] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e24330012d196680071ff168003c011e25..."} 
[2026-09-19 09:49:57] local.INFO: Packet analysis {"connection_id":186633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:49:57] local.INFO: Extracted packet for processing {"connection_id":186633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533928,"longitude_deg":75.663936,"latitude_deg":11.9533928,"altitude":60,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-19 09:49: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-19 09:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186607104001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587918673936384,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661713920,"note":"Value kept but may cause issues"} 
[2026-09-19 09:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789791454000,"timestamp_ms":1789791454000,"timestamp_seconds":1789791454,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e24330"} 
[2026-09-19 09:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:49:57] 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-19 09:49: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:49:57] 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-19 09:49: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-19 09:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:49:57] 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-19 09:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186607104001,"66":12363,"102":206,"83":41984,"24":0,"16":21587918673936384,"45":1830291066661713920},"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-19 09:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186607104001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587918673936384,"km_value":21587918673936.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661713920,"description":"Unknown IO ID 45"} 
[2026-09-19 09:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186607104001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661713920}} 
[2026-09-19 09:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":186633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:49:57] local.INFO: GPS data processed {"connection_id":186633,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:49:57] local.INFO: Acknowledgment sent {"connection_id":186633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:50:02] local.INFO: TCP Data received {"connection_id":186633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e29150012d1965c0071ff160003d011e25..."} 
[2026-09-19 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e29150012d1965c0071ff160003d011e25..."} 
[2026-09-19 09:50:02] local.INFO: Processing buffer {"connection_id":186633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e29150012d1965c0071ff160003d011e25..."} 
[2026-09-19 09:50:02] local.INFO: Packet analysis {"connection_id":186633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:50:02] local.INFO: Extracted packet for processing {"connection_id":186633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533920,"longitude_deg":75.6639168,"latitude_deg":11.953392,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186612224001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587927263870976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661726208,"note":"Value kept but may cause issues"} 
[2026-09-19 09: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-19 09:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789791474000,"timestamp_ms":1789791474000,"timestamp_seconds":1789791474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e29150"} 
[2026-09-19 09: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-19 09:50:02] 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-19 09: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":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:50: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-19 09:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186612224001,"66":12298,"102":206,"83":41984,"24":0,"16":21587927263870976,"45":1830291066661726208},"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-19 09:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186612224001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587927263870976,"km_value":21587927263870.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661726208,"description":"Unknown IO ID 45"} 
[2026-09-19 09:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186612224001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661726208}} 
[2026-09-19 09:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":186633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:50:02] local.INFO: GPS data processed {"connection_id":186633,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:50:02] local.INFO: Acknowledgment sent {"connection_id":186633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:50:07] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:07] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:07] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:50:09] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:09] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:09] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:50:15] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:15] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:50:15] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:50:16] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:16] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:16] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:50:16] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:16] 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-19 09:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09: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-19 09:50: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-19 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:50: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-19 09:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:50:16] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:50:16] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:50:47] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:47] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:47] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:50:47] local.INFO: TCP Data received {"connection_id":186761,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:47] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:50:47] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:50:47] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50: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-19 09:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:50: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-19 09:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:50: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-19 09:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:50: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-19 09:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:50:47] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:50:47] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:50:52] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:52] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:50:52] local.INFO: IMEI packet received {"connection_id":186634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":186634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:50:52] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e2df70012d196580071ff1b0003c011e25..."} 
[2026-09-19 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e2df70012d196580071ff1b0003c011e25..."} 
[2026-09-19 09:50:52] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e2df70012d196580071ff1b0003c011e25..."} 
[2026-09-19 09:50:52] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:50:52] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e2"} 
[2026-09-19 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534000,"longitude_deg":75.6639104,"latitude_deg":11.9534,"altitude":60,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-09-19 09:50: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-19 09:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186617344001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587935853805568,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429191168,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791494000,"timestamp_ms":1789791494000,"timestamp_seconds":1789791494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e2df70"} 
[2026-09-19 09:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:50:52] 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-19 09:50: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":178,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5197032542650427034,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513393693051060510,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3780694017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049600573,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2987655168,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.WARNING: Large IO value detected {"io_id":61,"raw_value":80541425757847552,"note":"Value kept but may cause issues"} 
[2026-09-19 09:50:52] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,178,160,67,45,128,60,37,10,66,245,59,166,1,240,86,227,183,31,4,113,205,48,239,2,76,7,61,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:50:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395827855552937984,"timestamp_seconds":4395827855552938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:50:52] 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-19 09:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186617344001,"66":12319,"102":206,"83":41984,"24":0,"16":21587935853805568,"45":1830079960429191168},"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-19 09:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186617344001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587935853805568,"km_value":21587935853805.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429191168,"description":"Unknown IO ID 45"} 
[2026-09-19 09:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186617344001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429191168}} 
[2026-09-19 09:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:50:53] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:50:53] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:51:09] local.INFO: TCP Data received {"connection_id":189369,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:09] local.INFO: Processing buffer {"connection_id":189369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:09] local.INFO: IMEI packet received {"connection_id":189369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":189369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:51:15] local.INFO: TCP Data received {"connection_id":189369,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:15] local.INFO: Processing buffer {"connection_id":189369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:51:15] local.INFO: IMEI packet received {"connection_id":189369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":189369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:51:16] local.INFO: TCP Data received {"connection_id":189369,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:16] local.INFO: Processing buffer {"connection_id":189369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:16] local.INFO: Packet analysis {"connection_id":189369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:51:16] local.INFO: Extracted packet for processing {"connection_id":189369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:16] 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-19 09:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:51: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-19 09:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:51:16] 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-19 09:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":189369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:51:16] local.INFO: GPS data processed {"connection_id":189369,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:51:16] local.INFO: Acknowledgment sent {"connection_id":189369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:51:24] local.INFO: TCP Data received {"connection_id":186634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e329a8012d196540071ff1f8003d011e25..."} 
[2026-09-19 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e329a8012d196540071ff1f8003d011e25..."} 
[2026-09-19 09:51:24] local.INFO: Processing buffer {"connection_id":186634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e329a8012d196540071ff1f8003d011e25..."} 
[2026-09-19 09:51:24] local.INFO: Packet analysis {"connection_id":186634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:51:24] local.INFO: Extracted packet for processing {"connection_id":186634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534072,"longitude_deg":75.663904,"latitude_deg":11.9534072,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1f8","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186622464001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587940148772864,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685033984,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789791513000,"timestamp_ms":1789791513000,"timestamp_seconds":1789791513,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e329a8"} 
[2026-09-19 09: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-19 09:51:24] 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-19 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 09:51:24] 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-19 09: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-19 09: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-19 09:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:51:24] 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-19 09:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186622464001,"66":12341,"102":206,"83":41984,"24":0,"16":21587940148772864,"45":1830009591685033984},"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-19 09:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186622464001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:51:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587940148772864,"km_value":21587940148772.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685033984,"description":"Unknown IO ID 45"} 
[2026-09-19 09:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186622464001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685033984}} 
[2026-09-19 09:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":186634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:51:24] local.INFO: GPS data processed {"connection_id":186634,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:51:24] local.INFO: Acknowledgment sent {"connection_id":186634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:51:38] local.INFO: TCP Data received {"connection_id":189367,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:51:38] local.INFO: Processing buffer {"connection_id":189367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:51:38] local.INFO: IMEI packet received {"connection_id":189367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":189367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:51:47] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:47] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:47] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:51:48] local.INFO: TCP Data received {"connection_id":189369,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:48] local.INFO: Processing buffer {"connection_id":189369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:51:48] local.INFO: Packet analysis {"connection_id":189369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:51:48] local.INFO: Extracted packet for processing {"connection_id":189369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51: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-19 09:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 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-19 09: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:51: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-19 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-19 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-19 09:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:51: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-19 09:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":189369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:51:48] local.INFO: GPS data processed {"connection_id":189369,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:51:48] local.INFO: Acknowledgment sent {"connection_id":189369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:51:52] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:52] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:51:52] local.INFO: IMEI packet received {"connection_id":186635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":186635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:51:52] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e377c8012d196580071ff188003c011e25..."} 
[2026-09-19 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e377c8012d196580071ff188003c011e25..."} 
[2026-09-19 09:51:52] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e377c8012d196580071ff188003c011e25..."} 
[2026-09-19 09:51:52] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:51:52] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533960,"longitude_deg":75.6639104,"latitude_deg":11.953396,"altitude":60,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-09-19 09:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186627328001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587948738707456,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940874752,"note":"Value kept but may cause issues"} 
[2026-09-19 09:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791533000,"timestamp_ms":1789791533000,"timestamp_seconds":1789791533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e377c8"} 
[2026-09-19 09:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:51:52] 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-19 09:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:51:52] 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-19 09:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:51:52] 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-19 09:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186627328001,"66":12341,"102":206,"83":41984,"24":0,"16":21587948738707456,"45":1829939222940874752},"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-19 09:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186627328001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:51:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587948738707456,"km_value":21587948738707.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940874752,"description":"Unknown IO ID 45"} 
[2026-09-19 09:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186627328001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940874752}} 
[2026-09-19 09:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:51:52] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:51:52] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:52:15] local.INFO: TCP Data received {"connection_id":188031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:15] local.INFO: Processing buffer {"connection_id":188031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:15] local.INFO: IMEI packet received {"connection_id":188031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":188031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:52:20] local.INFO: TCP Data received {"connection_id":188031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:20] local.INFO: Processing buffer {"connection_id":188031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:52:20] local.INFO: IMEI packet received {"connection_id":188031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":188031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:52:20] local.INFO: TCP Data received {"connection_id":188031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:20] local.INFO: Processing buffer {"connection_id":188031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:20] local.INFO: Packet analysis {"connection_id":188031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:20] local.INFO: Extracted packet for processing {"connection_id":188031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:20] 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-19 09:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:52:20] 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-19 09:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:52:20] local.INFO: GPS data processed {"connection_id":188031,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:52:20] local.INFO: Acknowledgment sent {"connection_id":188031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:52:23] local.INFO: TCP Data received {"connection_id":186635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e3c5e8012d196580071ff120003c011e25..."} 
[2026-09-19 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e3c5e8012d196580071ff120003c011e25..."} 
[2026-09-19 09:52:23] local.INFO: Processing buffer {"connection_id":186635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e3c5e8012d196580071ff120003c011e25..."} 
[2026-09-19 09:52:23] local.INFO: Packet analysis {"connection_id":186635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:52:23] local.INFO: Extracted packet for processing {"connection_id":186635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e3"} 
[2026-09-19 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533856,"longitude_deg":75.6639104,"latitude_deg":11.9533856,"altitude":60,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-09-19 09:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186632448001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587961623609344,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685023744,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791553000,"timestamp_ms":1789791553000,"timestamp_seconds":1789791553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e3c5e8"} 
[2026-09-19 09:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:52:23] 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-19 09:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:52:23] 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-19 09:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:52:23] 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-19 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186632448001,"66":12374,"102":206,"83":41984,"24":0,"16":21587961623609344,"45":1830009591685023744},"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-19 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186632448001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587961623609344,"km_value":21587961623609.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685023744,"description":"Unknown IO ID 45"} 
[2026-09-19 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186632448001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685023744}} 
[2026-09-19 09:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":186635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:52:24] local.INFO: GPS data processed {"connection_id":186635,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:52:24] local.INFO: Acknowledgment sent {"connection_id":186635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:52:25] local.INFO: TCP Data received {"connection_id":188031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:25] local.INFO: Processing buffer {"connection_id":188031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:52:25] local.INFO: Packet analysis {"connection_id":188031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:25] local.INFO: Extracted packet for processing {"connection_id":188031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:25] 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-19 09:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:52:25] 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-19 09:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":188031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:52:25] local.INFO: GPS data processed {"connection_id":188031,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:52:25] local.INFO: Acknowledgment sent {"connection_id":188031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:52:47] local.INFO: TCP Data received {"connection_id":189370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:47] local.INFO: Processing buffer {"connection_id":189370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:47] local.INFO: IMEI packet received {"connection_id":189370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":189370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:52:52] local.INFO: TCP Data received {"connection_id":189370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:52] local.INFO: Processing buffer {"connection_id":189370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:52:52] local.INFO: IMEI packet received {"connection_id":189370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":189370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:52:52] local.INFO: TCP Data received {"connection_id":189370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e41408012d196600071ff0f0003e011e23..."} 
[2026-09-19 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e41408012d196600071ff0f0003e011e23..."} 
[2026-09-19 09:52:52] local.INFO: Processing buffer {"connection_id":189370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e41408012d196600071ff0f0003e011e23..."} 
[2026-09-19 09:52:52] local.INFO: Packet analysis {"connection_id":189370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:52] local.INFO: Extracted packet for processing {"connection_id":189370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533808,"longitude_deg":75.6639232,"latitude_deg":11.9533808,"altitude":62,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186637568001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587970213543936,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684997120,"note":"Value kept but may cause issues"} 
[2026-09-19 09:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791573000,"timestamp_ms":1789791573000,"timestamp_seconds":1789791573,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e41408"} 
[2026-09-19 09:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:52:52] 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-19 09:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:52:52] 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-19 09:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:52:52] 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-19 09:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186637568001,"66":12341,"102":206,"83":41984,"24":0,"16":21587970213543936,"45":1830009591684997120},"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-19 09:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186637568001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:52:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:52:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587970213543936,"km_value":21587970213543.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684997120,"description":"Unknown IO ID 45"} 
[2026-09-19 09:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186637568001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684997120}} 
[2026-09-19 09:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":189370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:52:52] local.INFO: GPS data processed {"connection_id":189370,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:52:52] local.INFO: Acknowledgment sent {"connection_id":189370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:53:10] local.INFO: TCP Data received {"connection_id":189371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:10] local.INFO: Processing buffer {"connection_id":189371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:10] local.INFO: IMEI packet received {"connection_id":189371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":189371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:53:15] local.INFO: TCP Data received {"connection_id":189371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:15] local.INFO: Processing buffer {"connection_id":189371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:53:15] local.INFO: IMEI packet received {"connection_id":189371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":189371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:53:16] local.INFO: TCP Data received {"connection_id":189371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:16] local.INFO: Processing buffer {"connection_id":189371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:16] local.INFO: Packet analysis {"connection_id":189371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:16] local.INFO: Extracted packet for processing {"connection_id":189371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:16] 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-19 09:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09: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-19 09:53: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-19 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09: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-19 09: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-19 09:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:16] 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-19 09:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":189371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:53:16] local.INFO: GPS data processed {"connection_id":189371,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:53:16] local.INFO: Acknowledgment sent {"connection_id":189371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:53:20] local.INFO: TCP Data received {"connection_id":189371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:20] local.INFO: Processing buffer {"connection_id":189371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:20] local.INFO: Packet analysis {"connection_id":189371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:20] local.INFO: Extracted packet for processing {"connection_id":189371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:20] 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-19 09:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:20] 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-19 09:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":189371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:53:20] local.INFO: GPS data processed {"connection_id":189371,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:53:20] local.INFO: Acknowledgment sent {"connection_id":189371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:53:23] local.INFO: TCP Data received {"connection_id":189370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e46228012d196600071ff100003d011e25..."} 
[2026-09-19 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e46228012d196600071ff100003d011e25..."} 
[2026-09-19 09:53:23] local.INFO: Processing buffer {"connection_id":189370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e46228012d196600071ff100003d011e25..."} 
[2026-09-19 09:53:23] local.INFO: Packet analysis {"connection_id":189370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:23] local.INFO: Extracted packet for processing {"connection_id":189370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533824,"longitude_deg":75.6639232,"latitude_deg":11.9533824,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-19 09:53: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-19 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186642688001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21587983098445824,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173340160,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791593000,"timestamp_ms":1789791593000,"timestamp_seconds":1789791593,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e46228"} 
[2026-09-19 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:53:23] 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-19 09:53: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-19 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:53:23] 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-19 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186642688001,"66":12374,"102":206,"83":41984,"24":0,"16":21587983098445824,"45":1830150329173340160},"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-19 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186642688001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21587983098445824,"km_value":21587983098445.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173340160,"description":"Unknown IO ID 45"} 
[2026-09-19 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186642688001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173340160}} 
[2026-09-19 09:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":189370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:53:23] local.INFO: GPS data processed {"connection_id":189370,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:53:23] local.INFO: Acknowledgment sent {"connection_id":189370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:53:46] local.INFO: TCP Data received {"connection_id":189372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:46] local.INFO: Processing buffer {"connection_id":189372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:46] local.INFO: IMEI packet received {"connection_id":189372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":189372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:53:51] local.INFO: TCP Data received {"connection_id":189371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:51] local.INFO: Processing buffer {"connection_id":189371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:53:51] local.INFO: Packet analysis {"connection_id":189371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:51] local.INFO: Extracted packet for processing {"connection_id":189371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:51] 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-19 09:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09: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-19 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:53: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-19 09: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-19 09: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-19 09:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:53:51] 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-19 09:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":189371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:53:51] local.INFO: GPS data processed {"connection_id":189371,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:53:51] local.INFO: Acknowledgment sent {"connection_id":189371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:53:52] local.INFO: TCP Data received {"connection_id":189372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:52] local.INFO: Processing buffer {"connection_id":189372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:53:52] local.INFO: IMEI packet received {"connection_id":189372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":189372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:53:52] local.INFO: TCP Data received {"connection_id":189372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e4b818012d1966c0071ff000003f011e24..."} 
[2026-09-19 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e4b818012d1966c0071ff000003f011e24..."} 
[2026-09-19 09:53:52] local.INFO: Processing buffer {"connection_id":189372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e4b818012d1966c0071ff000003f011e24..."} 
[2026-09-19 09:53:52] local.INFO: Packet analysis {"connection_id":189372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:52] local.INFO: Extracted packet for processing {"connection_id":189372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533568,"longitude_deg":75.6639424,"latitude_deg":11.9533568,"altitude":63,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186647808001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588004573282304,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173344256,"note":"Value kept but may cause issues"} 
[2026-09-19 09:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791615000,"timestamp_ms":1789791615000,"timestamp_seconds":1789791615,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e4b818"} 
[2026-09-19 09: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-19 09:53:52] 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-19 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:53:52] 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-19 09: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-19 09: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-19 09:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:53:52] 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-19 09:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186647808001,"66":12374,"102":206,"83":41984,"24":0,"16":21588004573282304,"45":1830150329173344256},"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-19 09:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186647808001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:53:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588004573282304,"km_value":21588004573282.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173344256,"description":"Unknown IO ID 45"} 
[2026-09-19 09:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186647808001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173344256}} 
[2026-09-19 09:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":189372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:53:52] local.INFO: GPS data processed {"connection_id":189372,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:53:52] local.INFO: Acknowledgment sent {"connection_id":189372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:54:10] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:10] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:10] local.INFO: IMEI packet received {"connection_id":188033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":188033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:54:15] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:15] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:54:15] local.INFO: IMEI packet received {"connection_id":188033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":188033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:54:16] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:16] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:16] local.INFO: Packet analysis {"connection_id":188033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:54:16] local.INFO: Extracted packet for processing {"connection_id":188033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:16] 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-19 09:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 09:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:54: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-19 09:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:54: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-19 09:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":188033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:54:16] local.INFO: GPS data processed {"connection_id":188033,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:54:16] local.INFO: Acknowledgment sent {"connection_id":188033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:54:23] local.INFO: TCP Data received {"connection_id":189372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e50638012d1966c0071ff068003e011e25..."} 
[2026-09-19 09:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e50638012d1966c0071ff068003e011e25..."} 
[2026-09-19 09:54:23] local.INFO: Processing buffer {"connection_id":189372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e50638012d1966c0071ff068003e011e25..."} 
[2026-09-19 09:54:23] local.INFO: Packet analysis {"connection_id":189372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:54:23] local.INFO: Extracted packet for processing {"connection_id":189372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533672,"longitude_deg":75.6639424,"latitude_deg":11.9533672,"altitude":62,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186653440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588008868249600,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405811712,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791635000,"timestamp_ms":1789791635000,"timestamp_seconds":1789791635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e50638"} 
[2026-09-19 09: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-19 09:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:54:23] 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-19 09: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-19 09: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-19 09:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:54:23] 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-19 09:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186653440001,"66":12363,"102":206,"83":41984,"24":0,"16":21588008868249600,"45":1830361435405811712},"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-19 09:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186653440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588008868249600,"km_value":21588008868249.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405811712,"description":"Unknown IO ID 45"} 
[2026-09-19 09:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186653440001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405811712}} 
[2026-09-19 09:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":189372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:54:23] local.INFO: GPS data processed {"connection_id":189372,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:54:23] local.INFO: Acknowledgment sent {"connection_id":189372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:54:46] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:46] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:46] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:54:47] local.INFO: TCP Data received {"connection_id":188033,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:47] local.INFO: Processing buffer {"connection_id":188033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e40468012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:54:47] local.INFO: Packet analysis {"connection_id":188033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:54:47] local.INFO: Extracted packet for processing {"connection_id":188033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e4"} 
[2026-09-19 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186564608001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54: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-19 09:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791569000,"timestamp_ms":1789791569000,"timestamp_seconds":1789791569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e40468"} 
[2026-09-19 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-19 09: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 09:54: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-19 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-19 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-19 09:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:54: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-19 09:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186564608001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186564608001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186564608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:54:47] local.INFO: GPS data processed {"connection_id":188033,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:54:47] local.INFO: Acknowledgment sent {"connection_id":188033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:54:51] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:51] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:54:51] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:54:52] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e55840012d196700071ff0900040011e24..."} 
[2026-09-19 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e55840012d196700071ff0900040011e24..."} 
[2026-09-19 09:54:52] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e55840012d196700071ff0900040011e24..."} 
[2026-09-19 09:54:52] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:54:52] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533712,"longitude_deg":75.6639488,"latitude_deg":11.9533712,"altitude":64,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-09-19 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186658560001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588017458184192,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405838336,"note":"Value kept but may cause issues"} 
[2026-09-19 09:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791656000,"timestamp_ms":1789791656000,"timestamp_seconds":1789791656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e55840"} 
[2026-09-19 09:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:54:52] 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-19 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:54:52] 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-19 09:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:54:52] 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-19 09:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186658560001,"66":12298,"102":206,"83":41984,"24":0,"16":21588017458184192,"45":1830361435405838336},"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-19 09:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186658560001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588017458184192,"km_value":21588017458184.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405838336,"description":"Unknown IO ID 45"} 
[2026-09-19 09:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186658560001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405838336}} 
[2026-09-19 09:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:54:52] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:54:52] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:55:08] local.INFO: TCP Data received {"connection_id":188034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:08] local.INFO: Processing buffer {"connection_id":188034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:08] local.INFO: IMEI packet received {"connection_id":188034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":188034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:55:09] local.INFO: TCP Data received {"connection_id":188034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:09] local.INFO: Processing buffer {"connection_id":188034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:09] local.INFO: IMEI packet received {"connection_id":188034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":188034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:55:15] local.INFO: TCP Data received {"connection_id":188034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:15] local.INFO: Processing buffer {"connection_id":188034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:55:15] local.INFO: IMEI packet received {"connection_id":188034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":188034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:55:16] local.INFO: TCP Data received {"connection_id":188034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:16] local.INFO: Processing buffer {"connection_id":188034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:16] local.INFO: Packet analysis {"connection_id":188034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:55:16] local.INFO: Extracted packet for processing {"connection_id":188034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:16] 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-19 09:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:55: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-19 09:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:55:16] 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-19 09:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":188034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:55:16] local.INFO: GPS data processed {"connection_id":188034,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:55:16] local.INFO: Acknowledgment sent {"connection_id":188034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:55:23] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e5aa48012d196700071ff0f00040011e25..."} 
[2026-09-19 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e5aa48012d196700071ff0f00040011e25..."} 
[2026-09-19 09:55:23] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e5aa48012d196700071ff0f00040011e25..."} 
[2026-09-19 09:55:23] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:55:23] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533808,"longitude_deg":75.6639488,"latitude_deg":11.9533808,"altitude":64,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 09:55: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-19 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186663936001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588030343086080,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150026240,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791677000,"timestamp_ms":1789791677000,"timestamp_seconds":1789791677,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e5aa48"} 
[2026-09-19 09:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2305843009213693953,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5196263743504443035,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832562,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3826518017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042260542,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2988638208,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":80542525269475328,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513394930001707294,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,178,160,6,45,192,240,62,37,10,66,184,63,36,98,1,86,227,183,31,4,113,205,197,101,32,239,48,2,76,7,60,64],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612000633371754496,"timestamp_seconds":4612000633371754.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:55:23] 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-19 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186663936001,"66":12363,"102":206,"83":41984,"24":0,"16":21588030343086080,"45":1830431804150026240},"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-19 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186663936001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588030343086080,"km_value":21588030343086.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150026240,"description":"Unknown IO ID 45"} 
[2026-09-19 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186663936001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150026240}} 
[2026-09-19 09:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:55:23] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:55:23] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:55:46] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:46] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:46] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:55:47] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:47] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:47] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:55:47] local.INFO: TCP Data received {"connection_id":188034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:47] local.INFO: Processing buffer {"connection_id":188034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:55:47] local.INFO: Packet analysis {"connection_id":188034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:55:47] local.INFO: Extracted packet for processing {"connection_id":188034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55: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-19 09:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09: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-19 09:55: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-19 09:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:55: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-19 09: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-19 09: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-19 09:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:55:47] 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-19 09:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":188034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:55:47] local.INFO: GPS data processed {"connection_id":188034,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:55:47] local.INFO: Acknowledgment sent {"connection_id":188034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:55:52] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:52] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:55:52] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:55:52] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e5fc50012d1966c0071ff0f8003f011e25..."} 
[2026-09-19 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e5fc50012d1966c0071ff0f8003f011e25..."} 
[2026-09-19 09:55:52] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e5fc50012d1966c0071ff0f8003f011e25..."} 
[2026-09-19 09:55:52] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:55:52] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e5"} 
[2026-09-19 09:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533816,"longitude_deg":75.6639424,"latitude_deg":11.9533816,"altitude":63,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-19 09:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186669312001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588034638053376,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150050816,"note":"Value kept but may cause issues"} 
[2026-09-19 09:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791698000,"timestamp_ms":1789791698000,"timestamp_seconds":1789791698,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e5fc50"} 
[2026-09-19 09:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:55:52] 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-19 09:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 09:55:52] 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-19 09:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:55:52] 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-19 09:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186669312001,"66":12374,"102":206,"83":41984,"24":0,"16":21588034638053376,"45":1830431804150050816},"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-19 09:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186669312001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:55:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588034638053376,"km_value":21588034638053.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150050816,"description":"Unknown IO ID 45"} 
[2026-09-19 09:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186669312001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150050816}} 
[2026-09-19 09:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:55:52] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:55:52] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:56:15] local.INFO: TCP Data received {"connection_id":189373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:15] local.INFO: Processing buffer {"connection_id":189373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:15] local.INFO: IMEI packet received {"connection_id":189373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":189373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:56:20] local.INFO: TCP Data received {"connection_id":189373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:20] local.INFO: Processing buffer {"connection_id":189373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:56:20] local.INFO: IMEI packet received {"connection_id":189373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":189373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:56:20] local.INFO: TCP Data received {"connection_id":189373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:20] local.INFO: Processing buffer {"connection_id":189373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:20] local.INFO: Packet analysis {"connection_id":189373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:56:20] local.INFO: Extracted packet for processing {"connection_id":189373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:20] 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-19 09:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:56:20] 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-19 09:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":189373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:56:20] local.INFO: GPS data processed {"connection_id":189373,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:56:20] local.INFO: Acknowledgment sent {"connection_id":189373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:56:23] local.INFO: TCP Data received {"connection_id":186763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e64e58012d196700071ff170003e011e25..."} 
[2026-09-19 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e64e58012d196700071ff170003e011e25..."} 
[2026-09-19 09:56:23] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e64e58012d196700071ff170003e011e25..."} 
[2026-09-19 09:56:23] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:56:23] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533936,"longitude_deg":75.6639488,"latitude_deg":11.9533936,"altitude":62,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-19 09:56: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-19 09:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186674688001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588047522955264,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405875200,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789791719000,"timestamp_ms":1789791719000,"timestamp_seconds":1789791719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e64e58"} 
[2026-09-19 09:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:56:23] 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-19 09:56: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-19 09:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:56:23] 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-19 09:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186674688001,"66":12341,"102":206,"83":41984,"24":0,"16":21588047522955264,"45":1830361435405875200},"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-19 09:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186674688001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588047522955264,"km_value":21588047522955.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405875200,"description":"Unknown IO ID 45"} 
[2026-09-19 09:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186674688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405875200}} 
[2026-09-19 09:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:56:23] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:56:23] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:56:26] local.INFO: TCP Data received {"connection_id":189373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:26] local.INFO: Processing buffer {"connection_id":189373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:56:26] local.INFO: Packet analysis {"connection_id":189373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:56:26] local.INFO: Extracted packet for processing {"connection_id":189373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:26] 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-19 09:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:56:26] 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-19 09:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":189373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:56:26] local.INFO: GPS data processed {"connection_id":189373,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:56:26] local.INFO: Acknowledgment sent {"connection_id":189373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:56:50] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:50] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:50] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:56:51] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:51] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:51] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:56:57] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:57] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:56:57] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:56:57] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e6a060012d196700071ff168003d011e24..."} 
[2026-09-19 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e6a060012d196700071ff168003d011e24..."} 
[2026-09-19 09:56:57] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e6a060012d196700071ff168003d011e24..."} 
[2026-09-19 09:56:57] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:56:57] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533928,"longitude_deg":75.6639488,"latitude_deg":11.9533928,"altitude":61,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-19 09:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186680064001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588051817922560,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150083584,"note":"Value kept but may cause issues"} 
[2026-09-19 09:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789791740000,"timestamp_ms":1789791740000,"timestamp_seconds":1789791740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e6a060"} 
[2026-09-19 09:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:56:57] 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-19 09:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 09:56:57] 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-19 09:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:56:57] 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-19 09:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186680064001,"66":12374,"102":206,"83":41984,"24":0,"16":21588051817922560,"45":1830431804150083584},"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-19 09:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186680064001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588051817922560,"km_value":21588051817922.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150083584,"description":"Unknown IO ID 45"} 
[2026-09-19 09:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186680064001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150083584}} 
[2026-09-19 09:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:56:57] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:56:57] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:57:10] local.INFO: TCP Data received {"connection_id":189374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:10] local.INFO: Processing buffer {"connection_id":189374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:10] local.INFO: IMEI packet received {"connection_id":189374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":189374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:57:15] local.INFO: TCP Data received {"connection_id":189374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:15] local.INFO: Processing buffer {"connection_id":189374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:57:15] local.INFO: IMEI packet received {"connection_id":189374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":189374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:57:16] local.INFO: TCP Data received {"connection_id":189374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:16] local.INFO: Processing buffer {"connection_id":189374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:16] local.INFO: Packet analysis {"connection_id":189374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:57:16] local.INFO: Extracted packet for processing {"connection_id":189374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:16] 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-19 09:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:57: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-19 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-19 09:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:57:16] 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-19 09:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":189374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:57:16] local.INFO: GPS data processed {"connection_id":189374,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:57:16] local.INFO: Acknowledgment sent {"connection_id":189374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:57:27] local.INFO: TCP Data received {"connection_id":188035,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:57:27] local.INFO: Processing buffer {"connection_id":188035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 09:57:27] local.INFO: IMEI packet received {"connection_id":188035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 09:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":188035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:57:28] local.INFO: TCP Data received {"connection_id":186764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e6f650012d196740071ff120003e011e25..."} 
[2026-09-19 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e6f650012d196740071ff120003e011e25..."} 
[2026-09-19 09:57:28] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e6f650012d196740071ff120003e011e25..."} 
[2026-09-19 09:57:28] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:57:28] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e6"} 
[2026-09-19 09:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533856,"longitude_deg":75.6639552,"latitude_deg":11.9533856,"altitude":62,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-09-19 09:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186685440001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588060407857152,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150081536,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789791762000,"timestamp_ms":1789791762000,"timestamp_seconds":1789791762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e6f650"} 
[2026-09-19 09:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:57:28] 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-19 09:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 09:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:57:28] 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-19 09:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186685440001,"66":12385,"102":206,"83":41984,"24":0,"16":21588060407857152,"45":1830431804150081536},"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-19 09:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186685440001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588060407857152,"km_value":21588060407857.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150081536,"description":"Unknown IO ID 45"} 
[2026-09-19 09:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186685440001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150081536}} 
[2026-09-19 09:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:57:28] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:57:28] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:57:47] local.INFO: TCP Data received {"connection_id":189375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:47] local.INFO: Processing buffer {"connection_id":189375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:47] local.INFO: IMEI packet received {"connection_id":189375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":189375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:57:47] local.INFO: TCP Data received {"connection_id":189374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:47] local.INFO: Processing buffer {"connection_id":189374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:57:47] local.INFO: Packet analysis {"connection_id":189374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:57:47] local.INFO: Extracted packet for processing {"connection_id":189374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57: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-19 09:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:57: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-19 09:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:57: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-19 09:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:57:47] 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-19 09:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":189374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:57:47] local.INFO: GPS data processed {"connection_id":189374,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:57:47] local.INFO: Acknowledgment sent {"connection_id":189374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:57:52] local.INFO: TCP Data received {"connection_id":189375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:52] local.INFO: Processing buffer {"connection_id":189375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:57:52] local.INFO: IMEI packet received {"connection_id":189375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":189375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:57:52] local.INFO: TCP Data received {"connection_id":189375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e74858012d196780071ff0d0003f011e26..."} 
[2026-09-19 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e74858012d196780071ff0d0003f011e26..."} 
[2026-09-19 09:57:52] local.INFO: Processing buffer {"connection_id":189375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e74858012d196780071ff0d0003f011e26..."} 
[2026-09-19 09:57:52] local.INFO: Packet analysis {"connection_id":189375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e7"} 
[2026-09-19 09:57:52] local.INFO: Extracted packet for processing {"connection_id":189375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e7"} 
[2026-09-19 09:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533776,"longitude_deg":75.6639616,"latitude_deg":11.9533776,"altitude":63,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-09-19 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186691072001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588064702824448,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894240768,"note":"Value kept but may cause issues"} 
[2026-09-19 09:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789791783000,"timestamp_ms":1789791783000,"timestamp_seconds":1789791783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e74858"} 
[2026-09-19 09:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:57:52] 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-19 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 09:57:52] 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-19 09:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:57:52] 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-19 09:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186691072001,"66":12298,"102":206,"83":41984,"24":0,"16":21588064702824448,"45":1830502172894240768},"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-19 09:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186691072001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:57:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588064702824448,"km_value":21588064702824.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894240768,"description":"Unknown IO ID 45"} 
[2026-09-19 09:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186691072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894240768}} 
[2026-09-19 09:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":189375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:57:52] local.INFO: GPS data processed {"connection_id":189375,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:57:52] local.INFO: Acknowledgment sent {"connection_id":189375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:58:10] local.INFO: TCP Data received {"connection_id":188036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:10] local.INFO: Processing buffer {"connection_id":188036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:10] local.INFO: IMEI packet received {"connection_id":188036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":188036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:58:15] local.INFO: TCP Data received {"connection_id":188036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:15] local.INFO: Processing buffer {"connection_id":188036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:58:15] local.INFO: IMEI packet received {"connection_id":188036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":188036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:58:15] local.INFO: TCP Data received {"connection_id":188036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:15] local.INFO: Processing buffer {"connection_id":188036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:15] local.INFO: Packet analysis {"connection_id":188036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:58:15] local.INFO: Extracted packet for processing {"connection_id":188036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58: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-19 09:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09: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-19 09:58: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-19 09: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-19 09: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-19 09: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-19 09: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-19 09:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:58: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-19 09:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":188036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:58:15] local.INFO: GPS data processed {"connection_id":188036,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:58:15] local.INFO: Acknowledgment sent {"connection_id":188036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:58:23] local.INFO: TCP Data received {"connection_id":189375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7eacac8012d196740071ff068003f011e26..."} 
[2026-09-19 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7eacac8012d196740071ff068003f011e26..."} 
[2026-09-19 09:58:23] local.INFO: Processing buffer {"connection_id":189375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7eacac8012d196740071ff068003f011e26..."} 
[2026-09-19 09:58:23] local.INFO: Packet analysis {"connection_id":189375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ea"} 
[2026-09-19 09:58:23] local.INFO: Extracted packet for processing {"connection_id":189375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ea"} 
[2026-09-19 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533672,"longitude_deg":75.6639552,"latitude_deg":11.9533672,"altitude":63,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-19 09:58: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-19 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186749952001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588172077006848,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894197760,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792013000,"timestamp_ms":1789792013000,"timestamp_seconds":1789792013,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7eacac8"} 
[2026-09-19 09:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5194833519394875034,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513393933569294622,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":61,"raw_value":80544724292730880,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832564,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3912278017,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4030726206,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2991063040,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,178,160,38,45,192,240,61,39,10,66,212,128,60,130,1,97,227,183,31,4,113,205,222,103,88,239,48,2,76,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 09:58:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612000646256656384,"timestamp_seconds":4612000646256656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 09:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:58:23] 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-19 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186749952001,"66":12374,"102":206,"83":41984,"24":0,"16":21588172077006848,"45":1830502172894197760},"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-19 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186749952001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588172077006848,"km_value":21588172077006.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894197760,"description":"Unknown IO ID 45"} 
[2026-09-19 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186749952001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894197760}} 
[2026-09-19 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":189375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:58:24] local.INFO: GPS data processed {"connection_id":189375,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:58:24] local.INFO: Acknowledgment sent {"connection_id":189375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:58:46] local.INFO: TCP Data received {"connection_id":188036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:46] local.INFO: Processing buffer {"connection_id":188036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:58:46] local.INFO: Packet analysis {"connection_id":188036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:58:46] local.INFO: Extracted packet for processing {"connection_id":188036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:46] 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-19 09:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09: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-19 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:58: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-19 09: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-19 09: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-19 09:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:58: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-19 09:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":188036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:58:47] local.INFO: GPS data processed {"connection_id":188036,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:58:47] local.INFO: Acknowledgment sent {"connection_id":188036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:58:47] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:47] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:47] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:58:52] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:52] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:58:52] local.INFO: IMEI packet received {"connection_id":186637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":186637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:58:52] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7eb1cd0012d1966c0071ff078003d011e26..."} 
[2026-09-19 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7eb1cd0012d1966c0071ff078003d011e26..."} 
[2026-09-19 09:58:52] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7eb1cd0012d1966c0071ff078003d011e26..."} 
[2026-09-19 09:58:52] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:58:52] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533688,"longitude_deg":75.6639424,"latitude_deg":11.9533688,"altitude":61,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-09-19 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186755328001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588184961908736,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894193664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792034000,"timestamp_ms":1789792034000,"timestamp_seconds":1789792034,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7eb1cd0"} 
[2026-09-19 09:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:58:52] 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-19 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:58:52] 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-19 09:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:58:52] 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-19 09:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186755328001,"66":12374,"102":206,"83":41984,"24":0,"16":21588184961908736,"45":1830502172894193664},"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-19 09:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186755328001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:58:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588184961908736,"km_value":21588184961908.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894193664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186755328001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894193664}} 
[2026-09-19 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:58:52] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:58:52] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:59:10] local.INFO: TCP Data received {"connection_id":186638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:10] local.INFO: Processing buffer {"connection_id":186638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:10] local.INFO: IMEI packet received {"connection_id":186638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 09:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":186638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:59:15] local.INFO: TCP Data received {"connection_id":186638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:15] local.INFO: Processing buffer {"connection_id":186638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 09:59:15] local.INFO: IMEI packet received {"connection_id":186638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 09:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":186638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:59:16] local.INFO: TCP Data received {"connection_id":186638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:16] local.INFO: Processing buffer {"connection_id":186638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:16] local.INFO: Packet analysis {"connection_id":186638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:59:16] local.INFO: Extracted packet for processing {"connection_id":186638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:16] 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-19 09:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09: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-19 09:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 09: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-19 09: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-19 09:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:59: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-19 09:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:59:16] local.INFO: GPS data processed {"connection_id":186638,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:59:16] local.INFO: Acknowledgment sent {"connection_id":186638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:59:23] local.INFO: TCP Data received {"connection_id":186637,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7eb72c0012d196600071ff0b8003b011e28..."} 
[2026-09-19 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7eb72c0012d196600071ff0b8003b011e28..."} 
[2026-09-19 09:59:23] local.INFO: Processing buffer {"connection_id":186637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7eb72c0012d196600071ff0b8003b011e28..."} 
[2026-09-19 09:59:23] local.INFO: Packet analysis {"connection_id":186637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:59:23] local.INFO: Extracted packet for processing {"connection_id":186637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533752,"longitude_deg":75.6639232,"latitude_deg":11.9533752,"altitude":59,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-09-19 09:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186760704001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588193551843328,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405842432,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792056000,"timestamp_ms":1789792056000,"timestamp_seconds":1789792056,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7eb72c0"} 
[2026-09-19 09:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 09:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:59:23] 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-19 09:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:59:23] 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-19 09:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186760704001,"66":12374,"102":206,"83":41984,"24":0,"16":21588193551843328,"45":1830361435405842432},"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-19 09:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186760704001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588193551843328,"km_value":21588193551843.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405842432,"description":"Unknown IO ID 45"} 
[2026-09-19 09:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186760704001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405842432}} 
[2026-09-19 09:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":186637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:59:23] local.INFO: GPS data processed {"connection_id":186637,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:59:23] local.INFO: Acknowledgment sent {"connection_id":186637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:59:47] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:47] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:47] local.INFO: IMEI packet received {"connection_id":188037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 09:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":188037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 09:59:47] local.INFO: TCP Data received {"connection_id":186638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:47] local.INFO: Processing buffer {"connection_id":186638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7e89c30012d34c14006aa41400008010e2a..."} 
[2026-09-19 09:59:47] local.INFO: Packet analysis {"connection_id":186638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:59:47] local.INFO: Extracted packet for processing {"connection_id":186638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7e8"} 
[2026-09-19 09:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 09: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-19 09:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186641664001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 09:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59: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-19 09:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789791870000,"timestamp_ms":1789791870000,"timestamp_seconds":1789791870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7e89c30"} 
[2026-09-19 09: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-19 09:59: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-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 09:59: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-19 09: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-19 09: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-19 09:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 09:59:47] 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-19 09:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 09:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 09:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186641664001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 09:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 09:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186641664001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 09:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 09:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186641664001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 09:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:59:47] local.INFO: GPS data processed {"connection_id":186638,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:59:47] local.INFO: Acknowledgment sent {"connection_id":186638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 09:59:52] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:52] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 09:59:52] local.INFO: IMEI packet received {"connection_id":188037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 09:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":188037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 09:59:52] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ebc4c8012d196680071ff078003d011e29..."} 
[2026-09-19 09:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ebc4c8012d196680071ff078003d011e29..."} 
[2026-09-19 09:59:52] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ebc4c8012d196680071ff078003d011e29..."} 
[2026-09-19 09:59:52] local.INFO: Packet analysis {"connection_id":188037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:59:52] local.INFO: Extracted packet for processing {"connection_id":188037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7eb"} 
[2026-09-19 09:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":61,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-09-19 09:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 09:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186766336001,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588206436745216,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173325824,"note":"Value kept but may cause issues"} 
[2026-09-19 09:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 09:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792077000,"timestamp_ms":1789792077000,"timestamp_seconds":1789792077,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ebc4c8"} 
[2026-09-19 09:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 09:59:52] 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-19 09:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 09:59:52] 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-19 09:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 09:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 09:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 09:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 09:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 09:59:52] 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-19 09:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 09:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 09:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186766336001,"66":12363,"102":206,"83":41984,"24":0,"16":21588206436745216,"45":1830150329173325824},"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-19 09:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 09:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 09:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186766336001,"description":"Unknown IO ID 0"} 
[2026-09-19 09:59:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 09:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 09:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588206436745216,"km_value":21588206436745.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 09:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173325824,"description":"Unknown IO ID 45"} 
[2026-09-19 09:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186766336001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173325824}} 
[2026-09-19 09:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":188037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 09:59:52] local.INFO: GPS data processed {"connection_id":188037,"processed":1,"errors":0,"total":1} 
[2026-09-19 09:59:52] local.INFO: Acknowledgment sent {"connection_id":188037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:00:09] local.INFO: TCP Data received {"connection_id":189376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:09] local.INFO: Processing buffer {"connection_id":189376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:09] local.INFO: IMEI packet received {"connection_id":189376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":189376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:00:10] local.INFO: TCP Data received {"connection_id":189376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:10] local.INFO: Processing buffer {"connection_id":189376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:10] local.INFO: IMEI packet received {"connection_id":189376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":189376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:00:15] local.INFO: TCP Data received {"connection_id":189376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:15] local.INFO: Processing buffer {"connection_id":189376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:00:15] local.INFO: IMEI packet received {"connection_id":189376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":189376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:00:16] local.INFO: TCP Data received {"connection_id":189376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:16] local.INFO: Processing buffer {"connection_id":189376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:16] local.INFO: Packet analysis {"connection_id":189376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:00:16] local.INFO: Extracted packet for processing {"connection_id":189376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:16] 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-19 10:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:00: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-19 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:00:16] 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-19 10:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":189376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:00:16] local.INFO: GPS data processed {"connection_id":189376,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:00:16] local.INFO: Acknowledgment sent {"connection_id":189376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:00:23] local.INFO: TCP Data received {"connection_id":188037,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ec16d0012d196680071fefd0003f011e27..."} 
[2026-09-19 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ec16d0012d196680071fefd0003f011e27..."} 
[2026-09-19 10:00:23] local.INFO: Processing buffer {"connection_id":188037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ec16d0012d196680071fefd0003f011e27..."} 
[2026-09-19 10:00:23] local.INFO: Packet analysis {"connection_id":188037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:00:23] local.INFO: Extracted packet for processing {"connection_id":188037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533520,"longitude_deg":75.663936,"latitude_deg":11.953352,"altitude":63,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-09-19 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186771712001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588215026679808,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792098000,"timestamp_ms":1789792098000,"timestamp_seconds":1789792098,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ec16d0"} 
[2026-09-19 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 10:00:23] 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-19 10:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:00:23] 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-19 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186771712001,"66":12341,"102":206,"83":41984,"24":0,"16":21588215026679808,"45":1830291066661664768},"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-19 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186771712001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588215026679808,"km_value":21588215026679.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-09-19 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186771712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-09-19 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":188037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:00:23] local.INFO: GPS data processed {"connection_id":188037,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:00:23] local.INFO: Acknowledgment sent {"connection_id":188037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:00:46] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:46] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:46] local.INFO: IMEI packet received {"connection_id":186765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":186765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:00:48] local.INFO: TCP Data received {"connection_id":189376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:48] local.INFO: Processing buffer {"connection_id":189376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:00:48] local.INFO: Packet analysis {"connection_id":189376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:00:48] local.INFO: Extracted packet for processing {"connection_id":189376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00: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-19 10:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10: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-19 10:00: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-19 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:00: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-19 10: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-19 10: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-19 10:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:00: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-19 10:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":189376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:00:48] local.INFO: GPS data processed {"connection_id":189376,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:00:48] local.INFO: Acknowledgment sent {"connection_id":189376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:00:52] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:52] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:00:52] local.INFO: IMEI packet received {"connection_id":186765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":186765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:00:52] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ec64f0012d196680071fefc00040011e28..."} 
[2026-09-19 10:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ec64f0012d196680071fefc00040011e28..."} 
[2026-09-19 10:00:52] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ec64f0012d196680071fefc00040011e28..."} 
[2026-09-19 10:00:52] local.INFO: Packet analysis {"connection_id":186765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:00:52] local.INFO: Extracted packet for processing {"connection_id":186765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533504,"longitude_deg":75.663936,"latitude_deg":11.9533504,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-09-19 10:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186777088001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588223616614400,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661621760,"note":"Value kept but may cause issues"} 
[2026-09-19 10:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792118000,"timestamp_ms":1789792118000,"timestamp_seconds":1789792118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ec64f0"} 
[2026-09-19 10:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:00:52] 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-19 10:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 10:00:52] 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-19 10:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:00:52] 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-19 10:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186777088001,"66":12374,"102":206,"83":41984,"24":0,"16":21588223616614400,"45":1830291066661621760},"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-19 10:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186777088001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:00:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588223616614400,"km_value":21588223616614.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661621760,"description":"Unknown IO ID 45"} 
[2026-09-19 10:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186777088001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661621760}} 
[2026-09-19 10:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:00:52] local.INFO: GPS data processed {"connection_id":186765,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:00:52] local.INFO: Acknowledgment sent {"connection_id":186765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:01:15] local.INFO: TCP Data received {"connection_id":189377,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:15] local.INFO: Processing buffer {"connection_id":189377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:15] local.INFO: IMEI packet received {"connection_id":189377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":189377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:01:20] local.INFO: TCP Data received {"connection_id":189377,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:20] local.INFO: Processing buffer {"connection_id":189377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:01:20] local.INFO: IMEI packet received {"connection_id":189377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":189377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:01:21] local.INFO: TCP Data received {"connection_id":189377,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:21] local.INFO: Processing buffer {"connection_id":189377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:21] local.INFO: Packet analysis {"connection_id":189377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:21] local.INFO: Extracted packet for processing {"connection_id":189377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:21] 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-19 10:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:01:21] 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-19 10:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":189377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:01:21] local.INFO: GPS data processed {"connection_id":189377,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:01:21] local.INFO: Acknowledgment sent {"connection_id":189377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:01:23] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ecb6f8012d1966c0071feff80041011e28..."} 
[2026-09-19 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ecb6f8012d1966c0071feff80041011e28..."} 
[2026-09-19 10:01:23] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ecb6f8012d1966c0071feff80041011e28..."} 
[2026-09-19 10:01:23] local.INFO: Packet analysis {"connection_id":186765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:01:23] local.INFO: Extracted packet for processing {"connection_id":186765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ec"} 
[2026-09-19 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533560,"longitude_deg":75.6639424,"latitude_deg":11.953356,"altitude":65,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-09-19 10:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186782208001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588227911581696,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661617664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792139000,"timestamp_ms":1789792139000,"timestamp_seconds":1789792139,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ecb6f8"} 
[2026-09-19 10:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:01:23] 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-19 10:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:01:23] 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-19 10:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186782208001,"66":12374,"102":206,"83":41984,"24":0,"16":21588227911581696,"45":1830291066661617664},"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-19 10:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186782208001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588227911581696,"km_value":21588227911581.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661617664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186782208001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661617664}} 
[2026-09-19 10:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":186765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:01:23] local.INFO: GPS data processed {"connection_id":186765,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:01:23] local.INFO: Acknowledgment sent {"connection_id":186765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:01:25] local.INFO: TCP Data received {"connection_id":189377,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:25] local.INFO: Processing buffer {"connection_id":189377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:01:25] local.INFO: Packet analysis {"connection_id":189377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:25] local.INFO: Extracted packet for processing {"connection_id":189377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:01: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-19 10:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:25] 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-19 10:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:01: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-19 10:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:01:25] 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-19 10:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":189377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:01:25] local.INFO: GPS data processed {"connection_id":189377,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:01:25] local.INFO: Acknowledgment sent {"connection_id":189377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:01:46] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:46] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:46] local.INFO: IMEI packet received {"connection_id":188038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":188038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:01:52] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:52] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:01:52] local.INFO: IMEI packet received {"connection_id":188038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":188038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:01:52] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed0900012d196700071fefe00042011e26..."} 
[2026-09-19 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed0900012d196700071fefe00042011e26..."} 
[2026-09-19 10:01:52] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed0900012d196700071fefe00042011e26..."} 
[2026-09-19 10:01:52] local.INFO: Packet analysis {"connection_id":188038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:52] local.INFO: Extracted packet for processing {"connection_id":188038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533536,"longitude_deg":75.6639488,"latitude_deg":11.9533536,"altitude":66,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-09-19 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186787584001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588236501516288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405809664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792160000,"timestamp_ms":1789792160000,"timestamp_seconds":1789792160,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed0900"} 
[2026-09-19 10:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:01:52] 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-19 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:01:52] 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-19 10:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:01:52] 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-19 10:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186787584001,"66":12341,"102":206,"83":41984,"24":0,"16":21588236501516288,"45":1830361435405809664},"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-19 10:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186787584001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:01:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588236501516288,"km_value":21588236501516.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405809664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186787584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405809664}} 
[2026-09-19 10:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":188038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:01:52] local.INFO: GPS data processed {"connection_id":188038,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:01:52] local.INFO: Acknowledgment sent {"connection_id":188038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:02:10] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:10] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:10] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:02:15] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:15] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:02:15] local.INFO: IMEI packet received {"connection_id":186639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":186639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:02:15] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:15] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:15] local.INFO: Packet analysis {"connection_id":186639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:15] local.INFO: Extracted packet for processing {"connection_id":186639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02: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-19 10:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10: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-19 10:02: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-19 10:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:02:15] 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-19 10:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":186639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:02:15] local.INFO: GPS data processed {"connection_id":186639,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:02:15] local.INFO: Acknowledgment sent {"connection_id":186639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:02:23] local.INFO: TCP Data received {"connection_id":188038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed5b08012d1966c0071ff0a80042011e29..."} 
[2026-09-19 10:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed5b08012d1966c0071ff0a80042011e29..."} 
[2026-09-19 10:02:23] local.INFO: Processing buffer {"connection_id":188038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed5b08012d1966c0071ff0a80042011e29..."} 
[2026-09-19 10:02:23] local.INFO: Packet analysis {"connection_id":188038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:23] local.INFO: Extracted packet for processing {"connection_id":188038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533736,"longitude_deg":75.6639424,"latitude_deg":11.9533736,"altitude":66,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-09-19 10:02: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-19 10:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186792960001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588249386418176,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149981184,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792181000,"timestamp_ms":1789792181000,"timestamp_seconds":1789792181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed5b08"} 
[2026-09-19 10:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 10:02:23] 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-19 10:02: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-19 10:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:02:23] 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-19 10:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186792960001,"66":12374,"102":206,"83":41984,"24":0,"16":21588249386418176,"45":1830431804149981184},"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-19 10:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186792960001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588249386418176,"km_value":21588249386418.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149981184,"description":"Unknown IO ID 45"} 
[2026-09-19 10:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186792960001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149981184}} 
[2026-09-19 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":188038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:02:24] local.INFO: GPS data processed {"connection_id":188038,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:02:24] local.INFO: Acknowledgment sent {"connection_id":188038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:02:47] local.INFO: TCP Data received {"connection_id":186639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:47] local.INFO: Processing buffer {"connection_id":186639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:02:47] local.INFO: Packet analysis {"connection_id":186639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:47] local.INFO: Extracted packet for processing {"connection_id":186639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02: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-19 10:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10: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-19 10:02: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-19 10:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:02:47] 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-19 10:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":186639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:02:47] local.INFO: GPS data processed {"connection_id":186639,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:02:47] local.INFO: Acknowledgment sent {"connection_id":186639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:02:51] local.INFO: TCP Data received {"connection_id":186636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:02:51] local.INFO: Processing buffer {"connection_id":186636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:02:51] local.INFO: IMEI packet received {"connection_id":186636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":186636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:02:52] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:52] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:52] local.INFO: IMEI packet received {"connection_id":188039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":188039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:02:57] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:57] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:02:57] local.INFO: IMEI packet received {"connection_id":188039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":188039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:02:57] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7edad10012d196700071ff0d00042011e26..."} 
[2026-09-19 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7edad10012d196700071ff0d00042011e26..."} 
[2026-09-19 10:02:57] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7edad10012d196700071ff0d00042011e26..."} 
[2026-09-19 10:02:57] local.INFO: Packet analysis {"connection_id":188039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:57] local.INFO: Extracted packet for processing {"connection_id":188039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533776,"longitude_deg":75.6639488,"latitude_deg":11.9533776,"altitude":66,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-09-19 10:02: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-19 10:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588253681385472,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405854720,"note":"Value kept but may cause issues"} 
[2026-09-19 10:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789792202000,"timestamp_ms":1789792202000,"timestamp_seconds":1789792202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7edad10"} 
[2026-09-19 10:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:02:57] 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-19 10:02: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:02:57] 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-19 10:02: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-19 10:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:02:57] 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-19 10:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186798336001,"66":12374,"102":206,"83":41984,"24":0,"16":21588253681385472,"45":1830361435405854720},"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-19 10:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588253681385472,"km_value":21588253681385.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405854720,"description":"Unknown IO ID 45"} 
[2026-09-19 10:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186798336001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405854720}} 
[2026-09-19 10:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":188039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:02:57] local.INFO: GPS data processed {"connection_id":188039,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:02:57] local.INFO: Acknowledgment sent {"connection_id":188039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:03:02] local.INFO: TCP Data received {"connection_id":188039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7edff18012d196700071ff0600042011e27..."} 
[2026-09-19 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7edff18012d196700071ff0600042011e27..."} 
[2026-09-19 10:03:02] local.INFO: Processing buffer {"connection_id":188039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7edff18012d196700071ff0600042011e27..."} 
[2026-09-19 10:03:02] local.INFO: Packet analysis {"connection_id":188039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:02] local.INFO: Extracted packet for processing {"connection_id":188039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533664,"longitude_deg":75.6639488,"latitude_deg":11.9533664,"altitude":66,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-09-19 10:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186803712001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588262271320064,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150042624,"note":"Value kept but may cause issues"} 
[2026-09-19 10: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-19 10:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789792223000,"timestamp_ms":1789792223000,"timestamp_seconds":1789792223,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7edff18"} 
[2026-09-19 10:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:03:02] 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-19 10:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:03:02] 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-19 10:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:03: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-19 10:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186803712001,"66":12374,"102":206,"83":41984,"24":0,"16":21588262271320064,"45":1830431804150042624},"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-19 10:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186803712001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:03:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588262271320064,"km_value":21588262271320.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150042624,"description":"Unknown IO ID 45"} 
[2026-09-19 10:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186803712001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150042624}} 
[2026-09-19 10:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":188039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:03:02] local.INFO: GPS data processed {"connection_id":188039,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:03:02] local.INFO: Acknowledgment sent {"connection_id":188039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:03:10] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:10] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:10] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:03:15] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:15] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:03:15] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:03:16] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:16] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:16] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:16] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:16] 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-19 10:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:03: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-19 10:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:03: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-19 10:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:03:16] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:03:16] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:03:23] local.INFO: TCP Data received {"connection_id":186640,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:03:23] local.INFO: Processing buffer {"connection_id":186640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:03:23] local.INFO: IMEI packet received {"connection_id":186640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":186640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:03:47] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:47] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:47] local.INFO: IMEI packet received {"connection_id":186767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":186767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:03:47] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:47] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:03:47] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:47] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03: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-19 10:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10: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-19 10:03: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-19 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:03: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-19 10: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-19 10: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-19 10:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:03:47] 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-19 10:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:03:47] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:03:47] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:03:50] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:50] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:03:50] local.INFO: IMEI packet received {"connection_id":186767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":186767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:03:50] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ee5120012d196680071ff0a0003f011e26..."} 
[2026-09-19 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ee5120012d196680071ff0a0003f011e26..."} 
[2026-09-19 10:03:50] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ee5120012d196680071ff0a0003f011e26..."} 
[2026-09-19 10:03:50] local.INFO: Packet analysis {"connection_id":186767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:03:50] local.INFO: Extracted packet for processing {"connection_id":186767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533728,"longitude_deg":75.663936,"latitude_deg":11.9533728,"altitude":63,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186809088001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588275156221952,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150013952,"note":"Value kept but may cause issues"} 
[2026-09-19 10:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789792244000,"timestamp_ms":1789792244000,"timestamp_seconds":1789792244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ee5120"} 
[2026-09-19 10: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-19 10:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:03:50] 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-19 10: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-19 10: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-19 10:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:03:50] 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-19 10:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186809088001,"66":12363,"102":206,"83":41984,"24":0,"16":21588275156221952,"45":1830431804150013952},"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-19 10:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186809088001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:03:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588275156221952,"km_value":21588275156221.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150013952,"description":"Unknown IO ID 45"} 
[2026-09-19 10:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186809088001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150013952}} 
[2026-09-19 10:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":186767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:03:51] local.INFO: GPS data processed {"connection_id":186767,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:03:51] local.INFO: Acknowledgment sent {"connection_id":186767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:04:10] local.INFO: TCP Data received {"connection_id":189378,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:10] local.INFO: Processing buffer {"connection_id":189378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:10] local.INFO: IMEI packet received {"connection_id":189378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":189378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:04:15] local.INFO: TCP Data received {"connection_id":189378,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:15] local.INFO: Processing buffer {"connection_id":189378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:04:15] local.INFO: IMEI packet received {"connection_id":189378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":189378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:04:16] local.INFO: TCP Data received {"connection_id":189378,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:16] local.INFO: Processing buffer {"connection_id":189378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:16] local.INFO: Packet analysis {"connection_id":189378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:04:16] local.INFO: Extracted packet for processing {"connection_id":189378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:16] 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-19 10:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:04: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-19 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:04: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-19 10:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":189378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:04:16] local.INFO: GPS data processed {"connection_id":189378,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:04:16] local.INFO: Acknowledgment sent {"connection_id":189378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:04:22] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7eea328012d1965c0071ff090003e011e27..."} 
[2026-09-19 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7eea328012d1965c0071ff090003e011e27..."} 
[2026-09-19 10:04:22] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7eea328012d1965c0071ff090003e011e27..."} 
[2026-09-19 10:04:22] local.INFO: Packet analysis {"connection_id":186767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:04:22] local.INFO: Extracted packet for processing {"connection_id":186767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533712,"longitude_deg":75.6639168,"latitude_deg":11.9533712,"altitude":62,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-09-19 10:04: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-19 10:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186814464001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588288041123840,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661675008,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789792265000,"timestamp_ms":1789792265000,"timestamp_seconds":1789792265,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7eea328"} 
[2026-09-19 10:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:04:22] 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-19 10:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 10:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:04: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-19 10:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:04:22] 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-19 10:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186814464001,"66":12374,"102":206,"83":41984,"24":0,"16":21588288041123840,"45":1830291066661675008},"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-19 10:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186814464001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588288041123840,"km_value":21588288041123.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661675008,"description":"Unknown IO ID 45"} 
[2026-09-19 10:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186814464001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661675008}} 
[2026-09-19 10:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:04:22] local.INFO: GPS data processed {"connection_id":186767,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:04:22] local.INFO: Acknowledgment sent {"connection_id":186767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:04:47] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:47] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:47] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:04:47] local.INFO: TCP Data received {"connection_id":189378,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:47] local.INFO: Processing buffer {"connection_id":189378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ed33f8012d34c14006aa41400008010e29..."} 
[2026-09-19 10:04:47] local.INFO: Packet analysis {"connection_id":189378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:04:47] local.INFO: Extracted packet for processing {"connection_id":189378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ed"} 
[2026-09-19 10:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04: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-19 10:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792171000,"timestamp_ms":1789792171000,"timestamp_seconds":1789792171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ed33f8"} 
[2026-09-19 10:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:04: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-19 10:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:04: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-19 10:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:04: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-19 10:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186718720001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186718720001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":189378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:04:47] local.INFO: GPS data processed {"connection_id":189378,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:04:47] local.INFO: Acknowledgment sent {"connection_id":189378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:04:52] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:52] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:04:52] local.INFO: IMEI packet received {"connection_id":186641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":186641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:04:52] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7eef530012d1965c0071ff0c0003e011e26..."} 
[2026-09-19 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7eef530012d1965c0071ff0c0003e011e26..."} 
[2026-09-19 10:04:52] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7eef530012d1965c0071ff0c0003e011e26..."} 
[2026-09-19 10:04:52] local.INFO: Packet analysis {"connection_id":186641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:04:52] local.INFO: Extracted packet for processing {"connection_id":186641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ee"} 
[2026-09-19 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533760,"longitude_deg":75.6639168,"latitude_deg":11.953376,"altitude":62,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186819840001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588300926025728,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429137920,"note":"Value kept but may cause issues"} 
[2026-09-19 10:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792286000,"timestamp_ms":1789792286000,"timestamp_seconds":1789792286,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7eef530"} 
[2026-09-19 10: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-19 10:04:52] 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-19 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:04:52] 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-19 10: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-19 10: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-19 10:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:04:52] 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-19 10:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186819840001,"66":12341,"102":206,"83":41984,"24":0,"16":21588300926025728,"45":1830079960429137920},"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-19 10:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186819840001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:04:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588300926025728,"km_value":21588300926025.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429137920,"description":"Unknown IO ID 45"} 
[2026-09-19 10:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186819840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429137920}} 
[2026-09-19 10:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":186641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:04:52] local.INFO: GPS data processed {"connection_id":186641,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:04:52] local.INFO: Acknowledgment sent {"connection_id":186641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:05:10] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:05:10] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:10] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:05:15] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:15] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:05:15] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:05:15] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:15] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:15] local.INFO: Packet analysis {"connection_id":186768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:05:15] local.INFO: Extracted packet for processing {"connection_id":186768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05: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-19 10:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10: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-19 10:05: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-19 10: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:05:15] 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-19 10:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":186768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:05:15] local.INFO: GPS data processed {"connection_id":186768,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:05:15] local.INFO: Acknowledgment sent {"connection_id":186768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:05:23] local.INFO: TCP Data received {"connection_id":186641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ef4738012d196600071ff150003e011e25..."} 
[2026-09-19 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ef4738012d196600071ff150003e011e25..."} 
[2026-09-19 10:05:23] local.INFO: Processing buffer {"connection_id":186641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ef4738012d196600071ff150003e011e25..."} 
[2026-09-19 10:05:23] local.INFO: Packet analysis {"connection_id":186641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:05:23] local.INFO: Extracted packet for processing {"connection_id":186641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533904,"longitude_deg":75.6639232,"latitude_deg":11.9533904,"altitude":62,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-09-19 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186825216001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588313810927616,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429150208,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792307000,"timestamp_ms":1789792307000,"timestamp_seconds":1789792307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ef4738"} 
[2026-09-19 10:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:05:23] 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-19 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 10:05:23] 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-19 10:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:05:23] 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-19 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186825216001,"66":12374,"102":206,"83":41984,"24":0,"16":21588313810927616,"45":1830079960429150208},"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-19 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186825216001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588313810927616,"km_value":21588313810927.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429150208,"description":"Unknown IO ID 45"} 
[2026-09-19 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186825216001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429150208}} 
[2026-09-19 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":186641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:05:24] local.INFO: GPS data processed {"connection_id":186641,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:05:24] local.INFO: Acknowledgment sent {"connection_id":186641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:05:47] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:47] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:47] local.INFO: IMEI packet received {"connection_id":186642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":186642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:05:47] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:47] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:05:47] local.INFO: Packet analysis {"connection_id":186768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:05:47] local.INFO: Extracted packet for processing {"connection_id":186768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05: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-19 10:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:05: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-19 10:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:05:47] 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-19 10:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:05: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-19 10:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":186768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:05:47] local.INFO: GPS data processed {"connection_id":186768,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:05:47] local.INFO: Acknowledgment sent {"connection_id":186768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:05:52] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:52] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:05:52] local.INFO: IMEI packet received {"connection_id":186642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":186642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:05:52] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ef9940012d196600071ff140003c011e26..."} 
[2026-09-19 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ef9940012d196600071ff140003c011e26..."} 
[2026-09-19 10:05:52] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ef9940012d196600071ff140003c011e26..."} 
[2026-09-19 10:05:52] local.INFO: Packet analysis {"connection_id":186642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:05:52] local.INFO: Extracted packet for processing {"connection_id":186642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533888,"longitude_deg":75.6639232,"latitude_deg":11.9533888,"altitude":60,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-19 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186830592001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588313810927616,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173364736,"note":"Value kept but may cause issues"} 
[2026-09-19 10:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792328000,"timestamp_ms":1789792328000,"timestamp_seconds":1789792328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ef9940"} 
[2026-09-19 10:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:05:52] 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-19 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:05:52] 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-19 10:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:05:52] 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-19 10:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186830592001,"66":12374,"102":206,"83":41984,"24":0,"16":21588313810927616,"45":1830150329173364736},"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-19 10:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186830592001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:05:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588313810927616,"km_value":21588313810927.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173364736,"description":"Unknown IO ID 45"} 
[2026-09-19 10:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186830592001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173364736}} 
[2026-09-19 10:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":186642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:05:52] local.INFO: GPS data processed {"connection_id":186642,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:05:52] local.INFO: Acknowledgment sent {"connection_id":186642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:06:15] local.INFO: TCP Data received {"connection_id":189379,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:15] local.INFO: Processing buffer {"connection_id":189379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:15] local.INFO: IMEI packet received {"connection_id":189379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":189379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:06:20] local.INFO: TCP Data received {"connection_id":189379,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:20] local.INFO: Processing buffer {"connection_id":189379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:06:20] local.INFO: IMEI packet received {"connection_id":189379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":189379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:06:20] local.INFO: TCP Data received {"connection_id":189379,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:20] local.INFO: Processing buffer {"connection_id":189379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:20] local.INFO: Packet analysis {"connection_id":189379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:06:20] local.INFO: Extracted packet for processing {"connection_id":189379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:20] 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-19 10:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:06:20] 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-19 10:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:06:20] 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-19 10:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":189379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:06:20] local.INFO: GPS data processed {"connection_id":189379,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:06:20] local.INFO: Acknowledgment sent {"connection_id":189379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:06:23] local.INFO: TCP Data received {"connection_id":186642,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7efef30012d196600071ff0c8003d011e25..."} 
[2026-09-19 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7efef30012d196600071ff0c8003d011e25..."} 
[2026-09-19 10:06:23] local.INFO: Processing buffer {"connection_id":186642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7efef30012d196600071ff0c8003d011e25..."} 
[2026-09-19 10:06:23] local.INFO: Packet analysis {"connection_id":186642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:06:23] local.INFO: Extracted packet for processing {"connection_id":186642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ef"} 
[2026-09-19 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533768,"longitude_deg":75.6639232,"latitude_deg":11.9533768,"altitude":61,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-09-19 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186835968001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588326695829504,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173360640,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792350000,"timestamp_ms":1789792350000,"timestamp_seconds":1789792350,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7efef30"} 
[2026-09-19 10:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:06:23] 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-19 10:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:06:23] 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-19 10:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186835968001,"66":12363,"102":206,"83":41984,"24":0,"16":21588326695829504,"45":1830150329173360640},"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-19 10:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186835968001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588326695829504,"km_value":21588326695829.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173360640,"description":"Unknown IO ID 45"} 
[2026-09-19 10:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186835968001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173360640}} 
[2026-09-19 10:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":186642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:06:23] local.INFO: GPS data processed {"connection_id":186642,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:06:23] local.INFO: Acknowledgment sent {"connection_id":186642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:06:25] local.INFO: TCP Data received {"connection_id":189379,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:25] local.INFO: Processing buffer {"connection_id":189379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:06:25] local.INFO: Packet analysis {"connection_id":189379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:06:25] local.INFO: Extracted packet for processing {"connection_id":189379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:06: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-19 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:25] 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-19 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:06:25] 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-19 10:06: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-19 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:06:25] 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-19 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":189379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:06:25] local.INFO: GPS data processed {"connection_id":189379,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:06:25] local.INFO: Acknowledgment sent {"connection_id":189379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:06:46] local.INFO: TCP Data received {"connection_id":188040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:46] local.INFO: Processing buffer {"connection_id":188040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:46] local.INFO: IMEI packet received {"connection_id":188040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":188040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:06:52] local.INFO: TCP Data received {"connection_id":188040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:52] local.INFO: Processing buffer {"connection_id":188040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:06:52] local.INFO: IMEI packet received {"connection_id":188040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":188040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:06:52] local.INFO: TCP Data received {"connection_id":188040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f04138012d196600071ff0a0003d011e26..."} 
[2026-09-19 10:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f04138012d196600071ff0a0003d011e26..."} 
[2026-09-19 10:06:52] local.INFO: Processing buffer {"connection_id":188040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f04138012d196600071ff0a0003d011e26..."} 
[2026-09-19 10:06:52] local.INFO: Packet analysis {"connection_id":188040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:06:52] local.INFO: Extracted packet for processing {"connection_id":188040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533728,"longitude_deg":75.6639232,"latitude_deg":11.9533728,"altitude":61,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-19 10:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186841600001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588330990796800,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173329920,"note":"Value kept but may cause issues"} 
[2026-09-19 10:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792371000,"timestamp_ms":1789792371000,"timestamp_seconds":1789792371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f04138"} 
[2026-09-19 10:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:06:52] 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-19 10:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 10:06:52] 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-19 10:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:06:52] 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-19 10:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186841600001,"66":12374,"102":206,"83":41984,"24":0,"16":21588330990796800,"45":1830150329173329920},"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-19 10:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186841600001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:06:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588330990796800,"km_value":21588330990796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173329920,"description":"Unknown IO ID 45"} 
[2026-09-19 10:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186841600001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173329920}} 
[2026-09-19 10:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":188040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:06:52] local.INFO: GPS data processed {"connection_id":188040,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:06:52] local.INFO: Acknowledgment sent {"connection_id":188040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:07:10] local.INFO: TCP Data received {"connection_id":189380,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:10] local.INFO: Processing buffer {"connection_id":189380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:10] local.INFO: IMEI packet received {"connection_id":189380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":189380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:07:15] local.INFO: TCP Data received {"connection_id":189380,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:15] local.INFO: Processing buffer {"connection_id":189380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:07:15] local.INFO: IMEI packet received {"connection_id":189380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":189380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:07:16] local.INFO: TCP Data received {"connection_id":189380,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:16] local.INFO: Processing buffer {"connection_id":189380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:16] local.INFO: Packet analysis {"connection_id":189380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:07:16] local.INFO: Extracted packet for processing {"connection_id":189380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:16] 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-19 10:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:07:16] 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-19 10:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:07: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-19 10:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":189380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:07:16] local.INFO: GPS data processed {"connection_id":189380,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:07:16] local.INFO: Acknowledgment sent {"connection_id":189380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:07:23] local.INFO: TCP Data received {"connection_id":188040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f09340012d1966c0071ff030003f011e27..."} 
[2026-09-19 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f09340012d1966c0071ff030003f011e27..."} 
[2026-09-19 10:07:23] local.INFO: Processing buffer {"connection_id":188040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f09340012d1966c0071ff030003f011e27..."} 
[2026-09-19 10:07:23] local.INFO: Packet analysis {"connection_id":188040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:07:23] local.INFO: Extracted packet for processing {"connection_id":188040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533616,"longitude_deg":75.6639424,"latitude_deg":11.9533616,"altitude":63,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff030","is_valid_coordinates":true} 
[2026-09-19 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186846976001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588343875698688,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173319680,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792392000,"timestamp_ms":1789792392000,"timestamp_seconds":1789792392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f09340"} 
[2026-09-19 10:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:07:23] 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-19 10:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:07:23] 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-19 10:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186846976001,"66":12298,"102":206,"83":41984,"24":0,"16":21588343875698688,"45":1830150329173319680},"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-19 10:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186846976001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588343875698688,"km_value":21588343875698.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173319680,"description":"Unknown IO ID 45"} 
[2026-09-19 10:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186846976001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173319680}} 
[2026-09-19 10:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":188040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:07:24] local.INFO: GPS data processed {"connection_id":188040,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:07:24] local.INFO: Acknowledgment sent {"connection_id":188040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:07:46] local.INFO: TCP Data received {"connection_id":189381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:46] local.INFO: Processing buffer {"connection_id":189381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:46] local.INFO: IMEI packet received {"connection_id":189381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":189381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:07:47] local.INFO: TCP Data received {"connection_id":189380,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:47] local.INFO: Processing buffer {"connection_id":189380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:07:47] local.INFO: Packet analysis {"connection_id":189380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:07:47] local.INFO: Extracted packet for processing {"connection_id":189380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07: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-19 10:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:07:47] 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-19 10:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:07: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-19 10:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":189380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:07:47] local.INFO: GPS data processed {"connection_id":189380,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:07:47] local.INFO: Acknowledgment sent {"connection_id":189380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:07:52] local.INFO: TCP Data received {"connection_id":189381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:52] local.INFO: Processing buffer {"connection_id":189381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:07:52] local.INFO: IMEI packet received {"connection_id":189381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":189381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:07:52] local.INFO: TCP Data received {"connection_id":189381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f0e160012d1966c0071ff0100040011e27..."} 
[2026-09-19 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f0e160012d1966c0071ff0100040011e27..."} 
[2026-09-19 10:07:52] local.INFO: Processing buffer {"connection_id":189381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f0e160012d1966c0071ff0100040011e27..."} 
[2026-09-19 10:07:52] local.INFO: Packet analysis {"connection_id":189381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:07:52] local.INFO: Extracted packet for processing {"connection_id":189381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f0"} 
[2026-09-19 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533584,"longitude_deg":75.6639424,"latitude_deg":11.9533584,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186852352001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588348170665984,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405824000,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792412000,"timestamp_ms":1789792412000,"timestamp_seconds":1789792412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f0e160"} 
[2026-09-19 10: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-19 10:07:52] 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-19 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":178,"raw_value":7998392938210000897,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5193124122411067034,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4014422017,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4048551998,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2993815552,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":62,"raw_value":80544724292730880,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513393452533088542,"note":"Value kept but may cause issues"} 
[2026-09-19 10:07:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,178,160,65,45,240,61,38,10,66,239,37,153,1,86,227,183,31,4,113,205,245,101,192,48,2,76,7,62,128],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 10:07:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539943052218728448,"timestamp_seconds":4539943052218728.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10: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-19 10:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:07:52] 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-19 10:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186852352001,"66":12254,"102":206,"83":41984,"24":0,"16":21588348170665984,"45":1830361435405824000},"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-19 10:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186852352001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:07:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588348170665984,"km_value":21588348170665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405824000,"description":"Unknown IO ID 45"} 
[2026-09-19 10:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186852352001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405824000}} 
[2026-09-19 10:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":189381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:07:52] local.INFO: GPS data processed {"connection_id":189381,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:07:52] local.INFO: Acknowledgment sent {"connection_id":189381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:08:10] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:10] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:10] local.INFO: IMEI packet received {"connection_id":186643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":186643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:08:15] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:15] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:08:15] local.INFO: IMEI packet received {"connection_id":186643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":186643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:08:15] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:15] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:15] local.INFO: Packet analysis {"connection_id":186643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:15] local.INFO: Extracted packet for processing {"connection_id":186643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08: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-19 10:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10: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-19 10:08: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-19 10:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:08:15] 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-19 10:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":186643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:08:15] local.INFO: GPS data processed {"connection_id":186643,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:08:15] local.INFO: Acknowledgment sent {"connection_id":186643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:08:23] local.INFO: TCP Data received {"connection_id":189381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f13368012d196700071ff0c0003e011e24..."} 
[2026-09-19 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f13368012d196700071ff0c0003e011e24..."} 
[2026-09-19 10:08:23] local.INFO: Processing buffer {"connection_id":189381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f13368012d196700071ff0c0003e011e24..."} 
[2026-09-19 10:08:23] local.INFO: Packet analysis {"connection_id":189381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:23] local.INFO: Extracted packet for processing {"connection_id":189381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533760,"longitude_deg":75.6639488,"latitude_deg":11.953376,"altitude":62,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-09-19 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186857472001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588373940469760,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405815808,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792433000,"timestamp_ms":1789792433000,"timestamp_seconds":1789792433,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f13368"} 
[2026-09-19 10:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 10:08:23] 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-19 10:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:08:23] 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-19 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186857472001,"66":12374,"102":206,"83":41984,"24":0,"16":21588373940469760,"45":1830361435405815808},"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-19 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186857472001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588373940469760,"km_value":21588373940469.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405815808,"description":"Unknown IO ID 45"} 
[2026-09-19 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186857472001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405815808}} 
[2026-09-19 10:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":189381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:08:23] local.INFO: GPS data processed {"connection_id":189381,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:08:23] local.INFO: Acknowledgment sent {"connection_id":189381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:08:46] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:46] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:46] local.INFO: IMEI packet received {"connection_id":186769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":186769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:08:47] local.INFO: TCP Data received {"connection_id":188041,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:08:47] local.INFO: Processing buffer {"connection_id":188041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:08:47] local.INFO: IMEI packet received {"connection_id":188041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":188041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:08:47] local.INFO: TCP Data received {"connection_id":186643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:47] local.INFO: Processing buffer {"connection_id":186643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:08:47] local.INFO: Packet analysis {"connection_id":186643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:47] local.INFO: Extracted packet for processing {"connection_id":186643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08: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-19 10:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10: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-19 10:08: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-19 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:08:47] 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-19 10: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-19 10: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-19 10:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:08: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-19 10:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":186643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:08:47] local.INFO: GPS data processed {"connection_id":186643,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:08:47] local.INFO: Acknowledgment sent {"connection_id":186643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:08:51] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:51] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:08:51] local.INFO: IMEI packet received {"connection_id":186769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":186769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:08:52] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f18570012d196700071ff078003f011e25..."} 
[2026-09-19 10:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f18570012d196700071ff078003f011e25..."} 
[2026-09-19 10:08:52] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f18570012d196700071ff078003f011e25..."} 
[2026-09-19 10:08:52] local.INFO: Packet analysis {"connection_id":186769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:52] local.INFO: Extracted packet for processing {"connection_id":186769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533688,"longitude_deg":75.6639488,"latitude_deg":11.9533688,"altitude":63,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-09-19 10:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186862848001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588386825371648,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150038528,"note":"Value kept but may cause issues"} 
[2026-09-19 10:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792454000,"timestamp_ms":1789792454000,"timestamp_seconds":1789792454,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f18570"} 
[2026-09-19 10:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:08:52] 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-19 10:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:08:52] 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-19 10:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:08:52] 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-19 10:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186862848001,"66":12363,"102":206,"83":41984,"24":0,"16":21588386825371648,"45":1830431804150038528},"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-19 10:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186862848001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:08:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588386825371648,"km_value":21588386825371.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150038528,"description":"Unknown IO ID 45"} 
[2026-09-19 10:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186862848001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150038528}} 
[2026-09-19 10:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":186769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:08:52] local.INFO: GPS data processed {"connection_id":186769,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:08:52] local.INFO: Acknowledgment sent {"connection_id":186769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:09:10] local.INFO: TCP Data received {"connection_id":186644,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:10] local.INFO: Processing buffer {"connection_id":186644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:10] local.INFO: IMEI packet received {"connection_id":186644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":186644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:09:15] local.INFO: TCP Data received {"connection_id":186644,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:15] local.INFO: Processing buffer {"connection_id":186644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:09:15] local.INFO: IMEI packet received {"connection_id":186644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":186644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:09:15] local.INFO: TCP Data received {"connection_id":186644,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:15] local.INFO: Processing buffer {"connection_id":186644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:15] local.INFO: Packet analysis {"connection_id":186644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:15] local.INFO: Extracted packet for processing {"connection_id":186644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09: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-19 10:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:09: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-19 10:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:09: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-19 10:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":186644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:09:15] local.INFO: GPS data processed {"connection_id":186644,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:09:15] local.INFO: Acknowledgment sent {"connection_id":186644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:09:23] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1d778012d196700071ff0680041011e26..."} 
[2026-09-19 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1d778012d196700071ff0680041011e26..."} 
[2026-09-19 10:09:23] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1d778012d196700071ff0680041011e26..."} 
[2026-09-19 10:09:23] local.INFO: Packet analysis {"connection_id":186769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:23] local.INFO: Extracted packet for processing {"connection_id":186769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533672,"longitude_deg":75.6639488,"latitude_deg":11.9533672,"altitude":65,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-19 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186868224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588391120338944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150020096,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792475000,"timestamp_ms":1789792475000,"timestamp_seconds":1789792475,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1d778"} 
[2026-09-19 10:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:09:23] 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-19 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 10:09:23] 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-19 10:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:09:23] 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-19 10:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186868224001,"66":12374,"102":206,"83":41984,"24":0,"16":21588391120338944,"45":1830431804150020096},"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-19 10:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186868224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588391120338944,"km_value":21588391120338.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150020096,"description":"Unknown IO ID 45"} 
[2026-09-19 10:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186868224001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150020096}} 
[2026-09-19 10:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":186769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:09:23] local.INFO: GPS data processed {"connection_id":186769,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:09:23] local.INFO: Acknowledgment sent {"connection_id":186769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:09:47] local.INFO: TCP Data received {"connection_id":186644,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:47] local.INFO: Processing buffer {"connection_id":186644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f1cbc0012d34c14006aa41400008010e29..."} 
[2026-09-19 10:09:47] local.INFO: Packet analysis {"connection_id":186644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:47] local.INFO: Extracted packet for processing {"connection_id":186644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f1"} 
[2026-09-19 10:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186795776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09: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-19 10:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792472000,"timestamp_ms":1789792472000,"timestamp_seconds":1789792472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f1cbc0"} 
[2026-09-19 10:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:09: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-19 10:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 10:09:47] 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-19 10:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:09: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-19 10:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186795776001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186795776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186795776001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":186644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:09:47] local.INFO: GPS data processed {"connection_id":186644,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:09:47] local.INFO: Acknowledgment sent {"connection_id":186644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:09:52] local.INFO: TCP Data received {"connection_id":189382,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:52] local.INFO: Processing buffer {"connection_id":189382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:52] local.INFO: IMEI packet received {"connection_id":189382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":189382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:09:57] local.INFO: TCP Data received {"connection_id":189382,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:57] local.INFO: Processing buffer {"connection_id":189382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:09:57] local.INFO: IMEI packet received {"connection_id":189382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":189382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:09:57] local.INFO: TCP Data received {"connection_id":189382,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f55dd0012d1966c0071ff0680040011e26..."} 
[2026-09-19 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f55dd0012d1966c0071ff0680040011e26..."} 
[2026-09-19 10:09:57] local.INFO: Processing buffer {"connection_id":189382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f55dd0012d1966c0071ff0680040011e26..."} 
[2026-09-19 10:09:57] local.INFO: Packet analysis {"connection_id":189382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f5"} 
[2026-09-19 10:09:57] local.INFO: Extracted packet for processing {"connection_id":189382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f5"} 
[2026-09-19 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533672,"longitude_deg":75.6639424,"latitude_deg":11.9533672,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-09-19 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186927616001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588498494521344,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405848576,"note":"Value kept but may cause issues"} 
[2026-09-19 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789792706000,"timestamp_ms":1789792706000,"timestamp_seconds":1789792706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f55dd0"} 
[2026-09-19 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:09:57] 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-19 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 10:09:57] 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-19 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:09:57] 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-19 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186927616001,"66":12374,"102":206,"83":41984,"24":0,"16":21588498494521344,"45":1830361435405848576},"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-19 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186927616001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588498494521344,"km_value":21588498494521.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405848576,"description":"Unknown IO ID 45"} 
[2026-09-19 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186927616001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405848576}} 
[2026-09-19 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":189382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:09:57] local.INFO: GPS data processed {"connection_id":189382,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:09:57] local.INFO: Acknowledgment sent {"connection_id":189382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:10:02] local.INFO: TCP Data received {"connection_id":189382,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f5afd8012d196680071ff0900041011e27..."} 
[2026-09-19 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f5afd8012d196680071ff0900041011e27..."} 
[2026-09-19 10:10:02] local.INFO: Processing buffer {"connection_id":189382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f5afd8012d196680071ff0900041011e27..."} 
[2026-09-19 10:10:02] local.INFO: Packet analysis {"connection_id":189382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f5"} 
[2026-09-19 10:10:02] local.INFO: Extracted packet for processing {"connection_id":189382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f5"} 
[2026-09-19 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533712,"longitude_deg":75.663936,"latitude_deg":11.9533712,"altitude":65,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-09-19 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186932736001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588507084455936,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405838336,"note":"Value kept but may cause issues"} 
[2026-09-19 10: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-19 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789792727000,"timestamp_ms":1789792727000,"timestamp_seconds":1789792727,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f5afd8"} 
[2026-09-19 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:10:02] 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-19 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:10:02] 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-19 10:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":189382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":189382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":189382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:10: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-19 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186932736001,"66":12374,"102":206,"83":41984,"24":0,"16":21588507084455936,"45":1830361435405838336},"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-19 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186932736001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588507084455936,"km_value":21588507084455.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405838336,"description":"Unknown IO ID 45"} 
[2026-09-19 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186932736001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405838336}} 
[2026-09-19 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":189382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:10:02] local.INFO: GPS data processed {"connection_id":189382,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:10:02] local.INFO: Acknowledgment sent {"connection_id":189382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:10:09] local.INFO: TCP Data received {"connection_id":188042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:09] local.INFO: Processing buffer {"connection_id":188042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:09] local.INFO: IMEI packet received {"connection_id":188042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:10:11] local.INFO: TCP Data received {"connection_id":188042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:11] local.INFO: Processing buffer {"connection_id":188042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:11] local.INFO: IMEI packet received {"connection_id":188042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":188042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:10:15] local.INFO: TCP Data received {"connection_id":188042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:15] local.INFO: Processing buffer {"connection_id":188042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:10:15] local.INFO: IMEI packet received {"connection_id":188042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":188042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:10:16] local.INFO: TCP Data received {"connection_id":188042,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:16] local.INFO: Processing buffer {"connection_id":188042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:16] local.INFO: Packet analysis {"connection_id":188042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:16] local.INFO: Extracted packet for processing {"connection_id":188042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:16] 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-19 10:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:10: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-19 10:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":188042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:10:16] local.INFO: GPS data processed {"connection_id":188042,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:10:16] local.INFO: Acknowledgment sent {"connection_id":188042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:10:47] local.INFO: TCP Data received {"connection_id":189383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:47] local.INFO: Processing buffer {"connection_id":189383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:47] local.INFO: IMEI packet received {"connection_id":189383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":189383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:10:48] local.INFO: TCP Data received {"connection_id":188042,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:48] local.INFO: Processing buffer {"connection_id":188042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:10:48] local.INFO: Packet analysis {"connection_id":188042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:48] local.INFO: Extracted packet for processing {"connection_id":188042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10: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-19 10:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10: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-19 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:10: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-19 10: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-19 10: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-19 10:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:10: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-19 10:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":188042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:10:48] local.INFO: GPS data processed {"connection_id":188042,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:10:48] local.INFO: Acknowledgment sent {"connection_id":188042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:10:49] local.INFO: TCP Data received {"connection_id":189383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:49] local.INFO: Processing buffer {"connection_id":189383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:10:49] local.INFO: IMEI packet received {"connection_id":189383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":189383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:10:50] local.INFO: TCP Data received {"connection_id":189383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f601e0012d1965c0071ff1080040011e28..."} 
[2026-09-19 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f601e0012d1965c0071ff1080040011e28..."} 
[2026-09-19 10:10:50] local.INFO: Processing buffer {"connection_id":189383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f601e0012d1965c0071ff1080040011e28..."} 
[2026-09-19 10:10:50] local.INFO: Packet analysis {"connection_id":189383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:50] local.INFO: Extracted packet for processing {"connection_id":189383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533832,"longitude_deg":75.6639168,"latitude_deg":11.9533832,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff108","is_valid_coordinates":true} 
[2026-09-19 10:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186938112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588519969357824,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661670912,"note":"Value kept but may cause issues"} 
[2026-09-19 10:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789792748000,"timestamp_ms":1789792748000,"timestamp_seconds":1789792748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f601e0"} 
[2026-09-19 10:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:10:50] 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-19 10:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:10:50] 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-19 10:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:10:50] 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-19 10:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186938112001,"66":12374,"102":206,"83":41984,"24":0,"16":21588519969357824,"45":1830291066661670912},"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-19 10:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186938112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:10:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588519969357824,"km_value":21588519969357.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661670912,"description":"Unknown IO ID 45"} 
[2026-09-19 10:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186938112001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661670912}} 
[2026-09-19 10:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":189383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:10:50] local.INFO: GPS data processed {"connection_id":189383,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:10:50] local.INFO: Acknowledgment sent {"connection_id":189383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:11:15] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:15] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:15] local.INFO: IMEI packet received {"connection_id":186645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":186645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:11:20] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:20] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:11:20] local.INFO: IMEI packet received {"connection_id":186645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":186645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:11:20] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:20] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:20] local.INFO: Packet analysis {"connection_id":186645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:20] local.INFO: Extracted packet for processing {"connection_id":186645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:11: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-19 10:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:20] 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-19 10:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:11: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-19 10:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:11:20] 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-19 10:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":186645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:11:20] local.INFO: GPS data processed {"connection_id":186645,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:11:20] local.INFO: Acknowledgment sent {"connection_id":186645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:11:21] local.INFO: TCP Data received {"connection_id":189383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f653e8012d196600071ff1000040011e2a..."} 
[2026-09-19 10:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f653e8012d196600071ff1000040011e2a..."} 
[2026-09-19 10:11:21] local.INFO: Processing buffer {"connection_id":189383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f653e8012d196600071ff1000040011e2a..."} 
[2026-09-19 10:11:21] local.INFO: Packet analysis {"connection_id":189383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:21] local.INFO: Extracted packet for processing {"connection_id":189383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533824,"longitude_deg":75.6639232,"latitude_deg":11.9533824,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-19 10:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186943488001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588528559292416,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429168640,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789792769000,"timestamp_ms":1789792769000,"timestamp_seconds":1789792769,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f653e8"} 
[2026-09-19 10:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:11:21] 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-19 10:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:11:21] 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-19 10:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:11:21] 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-19 10:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186943488001,"66":12374,"102":206,"83":41984,"24":0,"16":21588528559292416,"45":1830079960429168640},"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-19 10:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186943488001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:11:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588528559292416,"km_value":21588528559292.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429168640,"description":"Unknown IO ID 45"} 
[2026-09-19 10:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186943488001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429168640}} 
[2026-09-19 10:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":189383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:11:22] local.INFO: GPS data processed {"connection_id":189383,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:11:22] local.INFO: Acknowledgment sent {"connection_id":189383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:11:25] local.INFO: TCP Data received {"connection_id":186645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:25] local.INFO: Processing buffer {"connection_id":186645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:11:25] local.INFO: Packet analysis {"connection_id":186645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:25] local.INFO: Extracted packet for processing {"connection_id":186645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:25] 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-19 10:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:11:25] 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-19 10:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":186645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:11:25] local.INFO: GPS data processed {"connection_id":186645,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:11:25] local.INFO: Acknowledgment sent {"connection_id":186645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:11:46] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:46] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:46] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:11:52] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:52] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:11:52] local.INFO: IMEI packet received {"connection_id":186646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":186646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:11:52] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f6a5f0012d1966c0071ff0f00040011e28..."} 
[2026-09-19 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f6a5f0012d1966c0071ff0f00040011e28..."} 
[2026-09-19 10:11:52] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f6a5f0012d1966c0071ff0f00040011e28..."} 
[2026-09-19 10:11:52] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:52] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533808,"longitude_deg":75.6639424,"latitude_deg":11.9533808,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186948864001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588541444194304,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173344256,"note":"Value kept but may cause issues"} 
[2026-09-19 10:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792790000,"timestamp_ms":1789792790000,"timestamp_seconds":1789792790,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f6a5f0"} 
[2026-09-19 10:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:11:52] 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-19 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:11:52] 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-19 10:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:11:52] 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-19 10:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186948864001,"66":12374,"102":206,"83":41984,"24":0,"16":21588541444194304,"45":1830150329173344256},"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-19 10:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186948864001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:11:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588541444194304,"km_value":21588541444194.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173344256,"description":"Unknown IO ID 45"} 
[2026-09-19 10:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186948864001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173344256}} 
[2026-09-19 10:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:11:52] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:11:52] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:12:10] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:10] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:10] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:12:15] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:15] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:12:15] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:12:17] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:17] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:17] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:17] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:17] 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-19 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 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-19 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 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-19 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-19 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:12: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-19 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:12:17] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:12:17] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:12:23] local.INFO: TCP Data received {"connection_id":186646,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f6f7f8012d196700071ff0f00042011e29..."} 
[2026-09-19 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f6f7f8012d196700071ff0f00042011e29..."} 
[2026-09-19 10:12:23] local.INFO: Processing buffer {"connection_id":186646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f6f7f8012d196700071ff0f00042011e29..."} 
[2026-09-19 10:12:23] local.INFO: Packet analysis {"connection_id":186646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:23] local.INFO: Extracted packet for processing {"connection_id":186646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533808,"longitude_deg":75.6639488,"latitude_deg":11.9533808,"altitude":66,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186954240001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588550034128896,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405873152,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792811000,"timestamp_ms":1789792811000,"timestamp_seconds":1789792811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f6f7f8"} 
[2026-09-19 10:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:12:23] 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-19 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:12:23] 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-19 10:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:12:23] 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-19 10:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186954240001,"66":12156,"102":206,"83":41984,"24":0,"16":21588550034128896,"45":1830361435405873152},"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-19 10:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186954240001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588550034128896,"km_value":21588550034128.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405873152,"description":"Unknown IO ID 45"} 
[2026-09-19 10:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186954240001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405873152}} 
[2026-09-19 10:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":186646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:12:24] local.INFO: GPS data processed {"connection_id":186646,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:12:24] local.INFO: Acknowledgment sent {"connection_id":186646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:12:47] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:47] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:47] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:12:49] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:49] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:12:49] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:49] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12: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-19 10:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 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-19 10:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 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-19 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-19 10:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:12:49] 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-19 10:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:12:49] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:12:49] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:12:51] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:51] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:12:51] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:12:52] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f74a00012d1966c0071ff0e80043011e2a..."} 
[2026-09-19 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f74a00012d1966c0071ff0e80043011e2a..."} 
[2026-09-19 10:12:52] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f74a00012d1966c0071ff0e80043011e2a..."} 
[2026-09-19 10:12:52] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:12:52] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533800,"longitude_deg":75.6639424,"latitude_deg":11.95338,"altitude":67,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-19 10:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186959616001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588554329096192,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804150050816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792832000,"timestamp_ms":1789792832000,"timestamp_seconds":1789792832,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f74a00"} 
[2026-09-19 10:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:12:52] 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-19 10:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-19 10:12: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-19 10:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:12:52] 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-19 10:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186959616001,"66":11993,"102":206,"83":41984,"24":0,"16":21588554329096192,"45":1830431804150050816},"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-19 10:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186959616001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:12:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588554329096192,"km_value":21588554329096.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804150050816,"description":"Unknown IO ID 45"} 
[2026-09-19 10:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186959616001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804150050816}} 
[2026-09-19 10:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:12:52] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:12:52] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:13:09] local.INFO: TCP Data received {"connection_id":189384,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:09] local.INFO: Processing buffer {"connection_id":189384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:09] local.INFO: IMEI packet received {"connection_id":189384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":189384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:13:15] local.INFO: TCP Data received {"connection_id":189384,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:15] local.INFO: Processing buffer {"connection_id":189384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:13:15] local.INFO: IMEI packet received {"connection_id":189384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":189384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:13:15] local.INFO: TCP Data received {"connection_id":189384,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:15] local.INFO: Processing buffer {"connection_id":189384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:15] local.INFO: Packet analysis {"connection_id":189384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:13:15] local.INFO: Extracted packet for processing {"connection_id":189384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13: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-19 10:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:13: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-19 10:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:13: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-19 10:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":189384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:13:15] local.INFO: GPS data processed {"connection_id":189384,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:13:15] local.INFO: Acknowledgment sent {"connection_id":189384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:13:23] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f79c08012d196680071ff0f00042011e27..."} 
[2026-09-19 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f79c08012d196680071ff0f00042011e27..."} 
[2026-09-19 10:13:23] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f79c08012d196680071ff0f00042011e27..."} 
[2026-09-19 10:13:23] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:13:23] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533808,"longitude_deg":75.663936,"latitude_deg":11.9533808,"altitude":66,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-19 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186964992001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588562919030784,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405871104,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792853000,"timestamp_ms":1789792853000,"timestamp_seconds":1789792853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f79c08"} 
[2026-09-19 10:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:13:23] 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-19 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-19 10:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:13:23] 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-19 10:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186964992001,"66":12385,"102":206,"83":41984,"24":0,"16":21588562919030784,"45":1830361435405871104},"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-19 10:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186964992001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588562919030784,"km_value":21588562919030.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405871104,"description":"Unknown IO ID 45"} 
[2026-09-19 10:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186964992001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405871104}} 
[2026-09-19 10:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:13:24] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:13:24] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:13:46] local.INFO: TCP Data received {"connection_id":189385,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:46] local.INFO: Processing buffer {"connection_id":189385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:46] local.INFO: IMEI packet received {"connection_id":189385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":189385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:13:47] local.INFO: TCP Data received {"connection_id":189384,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:47] local.INFO: Processing buffer {"connection_id":189384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:13:47] local.INFO: Packet analysis {"connection_id":189384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:13:47] local.INFO: Extracted packet for processing {"connection_id":189384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13: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-19 10:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10: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-19 10:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:13: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-19 10:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":189384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:13:47] local.INFO: GPS data processed {"connection_id":189384,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:13:47] local.INFO: Acknowledgment sent {"connection_id":189384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:13:51] local.INFO: TCP Data received {"connection_id":189385,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:51] local.INFO: Processing buffer {"connection_id":189385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:13:51] local.INFO: IMEI packet received {"connection_id":189385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":189385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:13:52] local.INFO: TCP Data received {"connection_id":189385,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f7ee10012d1966c0071ff0b80044011e29..."} 
[2026-09-19 10:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f7ee10012d1966c0071ff0b80044011e29..."} 
[2026-09-19 10:13:52] local.INFO: Processing buffer {"connection_id":189385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f7ee10012d1966c0071ff0b80044011e29..."} 
[2026-09-19 10:13:52] local.INFO: Packet analysis {"connection_id":189385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:13:52] local.INFO: Extracted packet for processing {"connection_id":189385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f7"} 
[2026-09-19 10:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533752,"longitude_deg":75.6639424,"latitude_deg":11.9533752,"altitude":68,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-09-19 10:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588567213998080,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661695488,"note":"Value kept but may cause issues"} 
[2026-09-19 10:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792874000,"timestamp_ms":1789792874000,"timestamp_seconds":1789792874,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f7ee10"} 
[2026-09-19 10:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:13:52] 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-19 10:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 10:13:52] 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-19 10:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:13:52] 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-19 10:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186970368001,"66":12363,"102":206,"83":41984,"24":0,"16":21588567213998080,"45":1830291066661695488},"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-19 10:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588567213998080,"km_value":21588567213998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661695488,"description":"Unknown IO ID 45"} 
[2026-09-19 10:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186970368001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661695488}} 
[2026-09-19 10:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":189385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:13:52] local.INFO: GPS data processed {"connection_id":189385,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:13:52] local.INFO: Acknowledgment sent {"connection_id":189385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:14:09] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:09] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:09] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:14:15] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:15] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:14:15] local.INFO: IMEI packet received {"connection_id":186647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:14:16] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:16] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:16] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:14:16] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:16] 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-19 10:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:14:16] 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-19 10:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:14:16] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:14:16] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:14:23] local.INFO: TCP Data received {"connection_id":189385,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f84018012d196740071ff0600045011e29..."} 
[2026-09-19 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f84018012d196740071ff0600045011e29..."} 
[2026-09-19 10:14:23] local.INFO: Processing buffer {"connection_id":189385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f84018012d196740071ff0600045011e29..."} 
[2026-09-19 10:14:23] local.INFO: Packet analysis {"connection_id":189385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:14:23] local.INFO: Extracted packet for processing {"connection_id":189385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533664,"longitude_deg":75.6639552,"latitude_deg":11.9533664,"altitude":69,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-09-19 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-19 10:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186975744001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588580098899968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405858816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792895000,"timestamp_ms":1789792895000,"timestamp_seconds":1789792895,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f84018"} 
[2026-09-19 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-19 10:14:23] 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-19 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 10:14:23] 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-19 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-19 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-19 10:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:14:23] 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-19 10:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186975744001,"66":12385,"102":206,"83":41984,"24":0,"16":21588580098899968,"45":1830361435405858816},"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-19 10:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186975744001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588580098899968,"km_value":21588580098899.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405858816,"description":"Unknown IO ID 45"} 
[2026-09-19 10:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186975744001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405858816}} 
[2026-09-19 10:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":189385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:14:24] local.INFO: GPS data processed {"connection_id":189385,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:14:24] local.INFO: Acknowledgment sent {"connection_id":189385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:14:46] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:46] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:46] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:14:47] local.INFO: TCP Data received {"connection_id":186647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:47] local.INFO: Processing buffer {"connection_id":186647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f66388012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:14:47] local.INFO: Packet analysis {"connection_id":186647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:14:47] local.INFO: Extracted packet for processing {"connection_id":186647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f6"} 
[2026-09-19 10:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186872832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14: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-19 10:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789792773000,"timestamp_ms":1789792773000,"timestamp_seconds":1789792773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f66388"} 
[2026-09-19 10:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:14: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-19 10:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:14: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-19 10:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186872832001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186872832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186872832001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:14:47] local.INFO: GPS data processed {"connection_id":186647,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:14:47] local.INFO: Acknowledgment sent {"connection_id":186647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:14:52] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:52] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:14:52] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:14:52] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f89220012d196780071ff0080045011e29..."} 
[2026-09-19 10:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f89220012d196780071ff0080045011e29..."} 
[2026-09-19 10:14:52] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f89220012d196780071ff0080045011e29..."} 
[2026-09-19 10:14:52] local.INFO: Packet analysis {"connection_id":186772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:14:52] local.INFO: Extracted packet for processing {"connection_id":186772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533576,"longitude_deg":75.6639616,"latitude_deg":11.9533576,"altitude":69,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-09-19 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186981120001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588588688834560,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894191616,"note":"Value kept but may cause issues"} 
[2026-09-19 10:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789792916000,"timestamp_ms":1789792916000,"timestamp_seconds":1789792916,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f89220"} 
[2026-09-19 10:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:14:52] 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-19 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 10:14:52] 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-19 10:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:14:52] 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-19 10:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186981120001,"66":12265,"102":206,"83":41984,"24":0,"16":21588588688834560,"45":1830502172894191616},"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-19 10:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186981120001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:14:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588588688834560,"km_value":21588588688834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894191616,"description":"Unknown IO ID 45"} 
[2026-09-19 10:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186981120001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894191616}} 
[2026-09-19 10:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":186772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:14:52] local.INFO: GPS data processed {"connection_id":186772,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:14:52] local.INFO: Acknowledgment sent {"connection_id":186772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:15:09] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:09] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:09] local.INFO: IMEI packet received {"connection_id":189386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":189386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:15:13] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:13] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:13] local.INFO: IMEI packet received {"connection_id":189386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":189386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:15:14] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:14] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:15:14] local.INFO: IMEI packet received {"connection_id":189386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":189386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:15:16] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:16] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:16] local.INFO: Packet analysis {"connection_id":189386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:16] local.INFO: Extracted packet for processing {"connection_id":189386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:16] 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-19 10:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:15: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-19 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15: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-19 10:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":189386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:15:16] local.INFO: GPS data processed {"connection_id":189386,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:15:16] local.INFO: Acknowledgment sent {"connection_id":189386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:15:20] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:20] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:20] local.INFO: Packet analysis {"connection_id":189386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:20] local.INFO: Extracted packet for processing {"connection_id":189386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:20] 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-19 10:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10: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-19 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15:20] 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-19 10:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":189386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:15:20] local.INFO: GPS data processed {"connection_id":189386,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:15:20] local.INFO: Acknowledgment sent {"connection_id":189386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:15:23] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f8e428012d196780071ff0580045011e27..."} 
[2026-09-19 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f8e428012d196780071ff0580045011e27..."} 
[2026-09-19 10:15:23] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f8e428012d196780071ff0580045011e27..."} 
[2026-09-19 10:15:23] local.INFO: Packet analysis {"connection_id":186772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:15:23] local.INFO: Extracted packet for processing {"connection_id":186772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f8"} 
[2026-09-19 10:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533656,"longitude_deg":75.6639616,"latitude_deg":11.9533656,"altitude":69,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-09-19 10:15: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-19 10:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186986496001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588592983801856,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638346752,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789792937000,"timestamp_ms":1789792937000,"timestamp_seconds":1789792937,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f8e428"} 
[2026-09-19 10:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:15:23] 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-19 10:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 10:15:23] 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-19 10:15: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-19 10:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:15:23] 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-19 10:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186986496001,"66":12374,"102":206,"83":41984,"24":0,"16":21588592983801856,"45":1830572541638346752},"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-19 10:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186986496001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588592983801856,"km_value":21588592983801.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638346752,"description":"Unknown IO ID 45"} 
[2026-09-19 10:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186986496001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638346752}} 
[2026-09-19 10:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":186772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:15:23] local.INFO: GPS data processed {"connection_id":186772,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:15:23] local.INFO: Acknowledgment sent {"connection_id":186772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:15:51] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:51] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:51] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:15:53] local.INFO: TCP Data received {"connection_id":189386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:53] local.INFO: Processing buffer {"connection_id":189386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:15:53] local.INFO: Packet analysis {"connection_id":189386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:53] local.INFO: Extracted packet for processing {"connection_id":189386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:53] 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-19 10:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:15:53] 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-19 10:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":189386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:15:53] local.INFO: GPS data processed {"connection_id":189386,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:15:53] local.INFO: Acknowledgment sent {"connection_id":189386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:15:57] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:57] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:15:57] local.INFO: IMEI packet received {"connection_id":186648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":186648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:15:57] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f93630012d196780071ff0e80045011e27..."} 
[2026-09-19 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f93630012d196780071ff0e80045011e27..."} 
[2026-09-19 10:15:57] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f93630012d196780071ff0e80045011e27..."} 
[2026-09-19 10:15:57] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:15:57] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533800,"longitude_deg":75.6639616,"latitude_deg":11.95338,"altitude":69,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-19 10:15: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-19 10:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186991872001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588601573736448,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638367232,"note":"Value kept but may cause issues"} 
[2026-09-19 10:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789792958000,"timestamp_ms":1789792958000,"timestamp_seconds":1789792958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f93630"} 
[2026-09-19 10:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:15:57] 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-19 10:15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:15:57] 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-19 10:15: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-19 10:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:15:57] 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-19 10:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186991872001,"66":12374,"102":206,"83":41984,"24":0,"16":21588601573736448,"45":1830572541638367232},"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-19 10:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186991872001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588601573736448,"km_value":21588601573736.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638367232,"description":"Unknown IO ID 45"} 
[2026-09-19 10:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186991872001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638367232}} 
[2026-09-19 10:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:15:58] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:15:58] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:16:02] local.INFO: TCP Data received {"connection_id":186648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f98838012d196780071ff1280045011e28..."} 
[2026-09-19 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f98838012d196780071ff1280045011e28..."} 
[2026-09-19 10:16:02] local.INFO: Processing buffer {"connection_id":186648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f98838012d196780071ff1280045011e28..."} 
[2026-09-19 10:16:02] local.INFO: Packet analysis {"connection_id":186648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:16:02] local.INFO: Extracted packet for processing {"connection_id":186648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533864,"longitude_deg":75.6639616,"latitude_deg":11.9533864,"altitude":69,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-19 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186997248001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588605868703744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638404096,"note":"Value kept but may cause issues"} 
[2026-09-19 10: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-19 10:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789792979000,"timestamp_ms":1789792979000,"timestamp_seconds":1789792979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f98838"} 
[2026-09-19 10:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:16:02] 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-19 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:16:02] 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-19 10:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:16: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-19 10:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186997248001,"66":12385,"102":206,"83":41984,"24":0,"16":21588605868703744,"45":1830572541638404096},"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-19 10:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186997248001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:16:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588605868703744,"km_value":21588605868703.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638404096,"description":"Unknown IO ID 45"} 
[2026-09-19 10:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186997248001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638404096}} 
[2026-09-19 10:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":186648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:16:02] local.INFO: GPS data processed {"connection_id":186648,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:16:02] local.INFO: Acknowledgment sent {"connection_id":186648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:16:10] local.INFO: TCP Data received {"connection_id":188043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:10] local.INFO: Processing buffer {"connection_id":188043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:10] local.INFO: IMEI packet received {"connection_id":188043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":188043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:16:14] local.INFO: TCP Data received {"connection_id":188044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:16:14] local.INFO: Processing buffer {"connection_id":188044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:16:14] local.INFO: IMEI packet received {"connection_id":188044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:16:15] local.INFO: TCP Data received {"connection_id":188043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:15] local.INFO: Processing buffer {"connection_id":188043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:16:15] local.INFO: IMEI packet received {"connection_id":188043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":188043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:16:16] local.INFO: TCP Data received {"connection_id":188043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:16] local.INFO: Processing buffer {"connection_id":188043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:16] local.INFO: Packet analysis {"connection_id":188043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:16:16] local.INFO: Extracted packet for processing {"connection_id":188043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:16] 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-19 10:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:16: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-19 10:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:16:16] 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-19 10:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":188043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:16:16] local.INFO: GPS data processed {"connection_id":188043,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:16:16] local.INFO: Acknowledgment sent {"connection_id":188043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:16:47] local.INFO: TCP Data received {"connection_id":189387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: Processing buffer {"connection_id":189387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: IMEI packet received {"connection_id":189387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":189387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:16:47] local.INFO: TCP Data received {"connection_id":189387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: Processing buffer {"connection_id":189387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:47] local.INFO: IMEI packet received {"connection_id":189387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":189387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:16:47] local.INFO: TCP Data received {"connection_id":188043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:47] local.INFO: Processing buffer {"connection_id":188043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:16:47] local.INFO: Packet analysis {"connection_id":188043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:16:47] local.INFO: Extracted packet for processing {"connection_id":188043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16: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-19 10:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 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-19 10:16: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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:16: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-19 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-19 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-19 10:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:16: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-19 10:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":188043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:16:47] local.INFO: GPS data processed {"connection_id":188043,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:16:47] local.INFO: Acknowledgment sent {"connection_id":188043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:16:51] local.INFO: TCP Data received {"connection_id":189387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:51] local.INFO: Processing buffer {"connection_id":189387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:16:51] local.INFO: IMEI packet received {"connection_id":189387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":189387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:16:52] local.INFO: TCP Data received {"connection_id":189387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7f9da40012d196780071ff0f80045011e29..."} 
[2026-09-19 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7f9da40012d196780071ff0f80045011e29..."} 
[2026-09-19 10:16:52] local.INFO: Processing buffer {"connection_id":189387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7f9da40012d196780071ff0f80045011e29..."} 
[2026-09-19 10:16:52] local.INFO: Packet analysis {"connection_id":189387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:16:52] local.INFO: Extracted packet for processing {"connection_id":189387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7f9"} 
[2026-09-19 10:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533816,"longitude_deg":75.6639616,"latitude_deg":11.9533816,"altitude":69,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-19 10:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187002624001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588605868703744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638420480,"note":"Value kept but may cause issues"} 
[2026-09-19 10:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793000000,"timestamp_ms":1789793000000,"timestamp_seconds":1789793000,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7f9da40"} 
[2026-09-19 10:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:16:52] 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-19 10:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 10:16:52] 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-19 10:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:16:52] 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-19 10:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187002624001,"66":12374,"102":206,"83":41984,"24":0,"16":21588605868703744,"45":1830572541638420480},"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-19 10:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187002624001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:16:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588605868703744,"km_value":21588605868703.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638420480,"description":"Unknown IO ID 45"} 
[2026-09-19 10:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187002624001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638420480}} 
[2026-09-19 10:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":189387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:16:52] local.INFO: GPS data processed {"connection_id":189387,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:16:52] local.INFO: Acknowledgment sent {"connection_id":189387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:17:13] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:13] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:13] local.INFO: IMEI packet received {"connection_id":186649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":186649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:17:14] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:14] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:17:14] local.INFO: IMEI packet received {"connection_id":186649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":186649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:17:15] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:15] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:15] local.INFO: Packet analysis {"connection_id":186649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:15] local.INFO: Extracted packet for processing {"connection_id":186649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17: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-19 10:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:17: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-19 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:17: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-19 10:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17: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-19 10:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":186649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:17:15] local.INFO: GPS data processed {"connection_id":186649,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:17:15] local.INFO: Acknowledgment sent {"connection_id":186649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:17:20] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:20] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:20] local.INFO: Packet analysis {"connection_id":186649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:20] local.INFO: Extracted packet for processing {"connection_id":186649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:17: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-19 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:20] 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-19 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:17: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-19 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17:20] 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-19 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":186649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:17:20] local.INFO: GPS data processed {"connection_id":186649,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:17:20] local.INFO: Acknowledgment sent {"connection_id":186649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:17:23] local.INFO: TCP Data received {"connection_id":189387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fa2c48012d1967c0071ff1280045011e29..."} 
[2026-09-19 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fa2c48012d1967c0071ff1280045011e29..."} 
[2026-09-19 10:17:23] local.INFO: Processing buffer {"connection_id":189387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fa2c48012d1967c0071ff1280045011e29..."} 
[2026-09-19 10:17:23] local.INFO: Packet analysis {"connection_id":189387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:23] local.INFO: Extracted packet for processing {"connection_id":189387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533864,"longitude_deg":75.663968,"latitude_deg":11.9533864,"altitude":69,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-19 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187008000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588614458638336,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638408192,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793021000,"timestamp_ms":1789793021000,"timestamp_seconds":1789793021,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fa2c48"} 
[2026-09-19 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:17:23] 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-19 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 10:17:23] 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-19 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:17:23] 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-19 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187008000001,"66":12385,"102":206,"83":41984,"24":0,"16":21588614458638336,"45":1830572541638408192},"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-19 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187008000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588614458638336,"km_value":21588614458638.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638408192,"description":"Unknown IO ID 45"} 
[2026-09-19 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187008000001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638408192}} 
[2026-09-19 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":189387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:17:23] local.INFO: GPS data processed {"connection_id":189387,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:17:23] local.INFO: Acknowledgment sent {"connection_id":189387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:17:46] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:46] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:46] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:17:50] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:50] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:17:50] local.INFO: IMEI packet received {"connection_id":186650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":186650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:17:50] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fd1a48012d196780071ff0b80042009827..."} 
[2026-09-19 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fd1a48012d196780071ff0b80042009827..."} 
[2026-09-19 10:17:50] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fd1a48012d196780071ff0b80042009827..."} 
[2026-09-19 10:17:50] local.INFO: Packet analysis {"connection_id":186650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:17:50] local.INFO: Extracted packet for processing {"connection_id":186650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533752,"longitude_deg":75.6639616,"latitude_deg":11.9533752,"altitude":66,"angle":152,"satellites":39,"speed":3,"hex_longitude":"2d196780","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-09-19 10:17: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-19 10:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187062272001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588704652951552,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894236672,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789793213000,"timestamp_ms":1789793213000,"timestamp_seconds":1789793213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fd1a48"} 
[2026-09-19 10: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-19 10:17:50] 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-19 10: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 10:17:50] 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-19 10: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-19 10: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-19 10:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:17:50] 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-19 10:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187062272001,"66":14135,"102":206,"83":41984,"24":3,"16":21588704652951552,"45":1830502172894236672},"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-19 10:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187062272001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:17:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588704652951552,"km_value":21588704652951.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894236672,"description":"Unknown IO ID 45"} 
[2026-09-19 10:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187062272001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830502172894236672}} 
[2026-09-19 10:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":186650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:17:50] local.INFO: GPS data processed {"connection_id":186650,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:17:50] local.INFO: Acknowledgment sent {"connection_id":186650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:17:52] local.INFO: TCP Data received {"connection_id":186649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:52] local.INFO: Processing buffer {"connection_id":186649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:17:52] local.INFO: Packet analysis {"connection_id":186649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:52] local.INFO: Extracted packet for processing {"connection_id":186649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:17: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-19 10:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:17: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-19 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:17: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-19 10:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":186649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:17:52] local.INFO: GPS data processed {"connection_id":186649,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:17:52] local.INFO: Acknowledgment sent {"connection_id":186649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:18:09] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:09] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:09] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:18:15] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:15] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:18:15] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:18:17] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:17] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:17] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:18:17] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:17] 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-19 10:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:18: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-19 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:18: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-19 10:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:18:17] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:18:17] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:18:22] local.INFO: TCP Data received {"connection_id":186650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fd2dd0012d1967c0071feef8004000b529..."} 
[2026-09-19 10:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fd2dd0012d1967c0071feef8004000b529..."} 
[2026-09-19 10:18:22] local.INFO: Processing buffer {"connection_id":186650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fd2dd0012d1967c0071feef8004000b529..."} 
[2026-09-19 10:18:22] local.INFO: Packet analysis {"connection_id":186650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:18:22] local.INFO: Extracted packet for processing {"connection_id":186650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533304,"longitude_deg":75.663968,"latitude_deg":11.9533304,"altitude":64,"angle":181,"satellites":41,"speed":2,"hex_longitude":"2d1967c0","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-09-19 10:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187062528001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21588730422755328,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638391808,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789793218000,"timestamp_ms":1789793218000,"timestamp_seconds":1789793218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fd2dd0"} 
[2026-09-19 10:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:18:22] 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-19 10:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 10:18:22] 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-19 10:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:18:22] 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-19 10:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187062528001,"66":14189,"102":206,"83":41984,"24":2,"16":21588730422755328,"45":1830572541638391808},"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-19 10:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187062528001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 10:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21588730422755328,"km_value":21588730422755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638391808,"description":"Unknown IO ID 45"} 
[2026-09-19 10:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187062528001,"power":14189,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1830572541638391808}} 
[2026-09-19 10:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":186650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:18:22] local.INFO: GPS data processed {"connection_id":186650,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:18:22] local.INFO: Acknowledgment sent {"connection_id":186650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:18:45] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:45] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:45] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:18:46] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:46] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:46] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:18:47] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:47] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:47] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:18:49] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:49] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:18:49] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:18:49] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18: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-19 10:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10: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-19 10:18: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-19 10: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10: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-19 10: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-19 10:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:18:49] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:18:49] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:18:51] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:51] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:18:51] local.INFO: IMEI packet received {"connection_id":186774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":186774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:18:52] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fde950012d19a080071ff0a0003800492a..."} 
[2026-09-19 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fde950012d19a080071ff0a0003800492a..."} 
[2026-09-19 10:18:52] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fde950012d19a080071ff0a0003800492a..."} 
[2026-09-19 10:18:52] local.INFO: Packet analysis {"connection_id":186774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:18:52] local.INFO: Extracted packet for processing {"connection_id":186774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fd"} 
[2026-09-19 10:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533728,"longitude_deg":75.6654208,"latitude_deg":11.9533728,"altitude":56,"angle":73,"satellites":42,"speed":16,"hex_longitude":"2d19a080","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-19 10:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187073280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21589464862162944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109637357568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:18:52] 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-19 10:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793266000,"timestamp_ms":1789793266000,"timestamp_seconds":1789793266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fde950"} 
[2026-09-19 10:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:18:52] 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-19 10:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 10:18:52] 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-19 10:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:18:52] 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-19 10:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187073280001,"66":14243,"101":206,"83":41984,"24":16,"16":21589464862162944,"45":1839650109637357568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187073280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:18:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21589464862162944,"km_value":21589464862162.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109637357568,"description":"Unknown IO ID 45"} 
[2026-09-19 10:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187073280001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1839650109637357568}} 
[2026-09-19 10:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":186774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:18:52] local.INFO: GPS data processed {"connection_id":186774,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:18:52] local.INFO: Acknowledgment sent {"connection_id":186774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:19:09] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:09] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:09] local.INFO: IMEI packet received {"connection_id":186775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":186775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:19:15] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:15] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:19:15] local.INFO: IMEI packet received {"connection_id":186775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:19:16] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:16] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:16] local.INFO: Packet analysis {"connection_id":186775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:19:16] local.INFO: Extracted packet for processing {"connection_id":186775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:16] 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-19 10:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10: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-19 10:19: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-19 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:19:16] 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-19 10:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":186775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:19:16] local.INFO: GPS data processed {"connection_id":186775,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:19:16] local.INFO: Acknowledgment sent {"connection_id":186775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:19:23] local.INFO: TCP Data received {"connection_id":186774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fe8590012d19d68007200ea80031013029..."} 
[2026-09-19 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fe8590012d19d68007200ea80031013029..."} 
[2026-09-19 10:19:23] local.INFO: Processing buffer {"connection_id":186774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fe8590012d19d68007200ea80031013029..."} 
[2026-09-19 10:19:23] local.INFO: Packet analysis {"connection_id":186774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:19:23] local.INFO: Extracted packet for processing {"connection_id":186774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119541416,"longitude_deg":75.6668032,"latitude_deg":11.9541416,"altitude":49,"angle":304,"satellites":41,"speed":22,"hex_longitude":"2d19d680","hex_latitude":"07200ea8","is_valid_coordinates":true} 
[2026-09-19 10:19: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-19 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187085568001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590491359346688,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863364376426944512,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793306000,"timestamp_ms":1789793306000,"timestamp_seconds":1789793306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fe8590"} 
[2026-09-19 10:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:19:23] 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-19 10:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 10:19:23] 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-19 10:19: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-19 10:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:19:23] 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-19 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187085568001,"66":13330,"101":206,"83":41984,"24":22,"16":21590491359346688,"45":1863364376426944512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187085568001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:19:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590491359346688,"km_value":21590491359346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863364376426944512,"description":"Unknown IO ID 45"} 
[2026-09-19 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187085568001,"power":13330,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1863364376426944512}} 
[2026-09-19 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":186774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:19:23] local.INFO: GPS data processed {"connection_id":186774,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:19:23] local.INFO: Acknowledgment sent {"connection_id":186774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:19:47] local.INFO: TCP Data received {"connection_id":189388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:47] local.INFO: Processing buffer {"connection_id":189388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:47] local.INFO: IMEI packet received {"connection_id":189388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":189388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:19:48] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:48] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fafb50012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:19:48] local.INFO: Packet analysis {"connection_id":186775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:19:48] local.INFO: Extracted packet for processing {"connection_id":186775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fa"} 
[2026-09-19 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458186949888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19: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-19 10:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789793074000,"timestamp_ms":1789793074000,"timestamp_seconds":1789793074,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fafb50"} 
[2026-09-19 10:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:19: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-19 10:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 10:19: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-19 10:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:19: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-19 10:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458186949888001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458186949888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458186949888001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":186775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:19:48] local.INFO: GPS data processed {"connection_id":186775,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:19:48] local.INFO: Acknowledgment sent {"connection_id":186775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:19:51] local.INFO: TCP Data received {"connection_id":189388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:51] local.INFO: Processing buffer {"connection_id":189388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:19:51] local.INFO: IMEI packet received {"connection_id":189388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":189388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:19:53] local.INFO: TCP Data received {"connection_id":189388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7fe9148012d19d1c0072012f00031014029..."} 
[2026-09-19 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7fe9148012d19d1c0072012f00031014029..."} 
[2026-09-19 10:19:53] local.INFO: Processing buffer {"connection_id":189388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7fe9148012d19d1c0072012f00031014029..."} 
[2026-09-19 10:19:53] local.INFO: Packet analysis {"connection_id":189388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:19:53] local.INFO: Extracted packet for processing {"connection_id":189388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119542512,"longitude_deg":75.6666816,"latitude_deg":11.9542512,"altitude":49,"angle":320,"satellites":41,"speed":17,"hex_longitude":"2d19d1c0","hex_latitude":"072012f0","is_valid_coordinates":true} 
[2026-09-19 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187086336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590568668758016,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264055236608,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] 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-19 10:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789793309000,"timestamp_ms":1789793309000,"timestamp_seconds":1789793309,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7fe9148"} 
[2026-09-19 10:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:19:53] 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-19 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3086897864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761474320,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4268630017,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147950600,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3342347,"corrected_to":0} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3025207296,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4557644116117110791,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-400820160673928704,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":22,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 10:19:53] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,180,160,121,45,11,50,42,10,66,117,128,114,64,1,240,62,227,183,32,4,113,205,7,106,222,200,239,52,2,76,49,20,84,254,31,22,120,57],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":3342347,"validated":0}]} 
[2026-09-19 10:19:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531156535488413696,"timestamp_seconds":3531156535488413.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:19:53] 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-19 10:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187086336001,"66":13298,"101":206,"83":41984,"24":17,"16":21590568668758016,"45":1861816264055236608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187086336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:19:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590568668758016,"km_value":21590568668758.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264055236608,"description":"Unknown IO ID 45"} 
[2026-09-19 10:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187086336001,"power":13298,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861816264055236608}} 
[2026-09-19 10:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":189388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:19:53] local.INFO: GPS data processed {"connection_id":189388,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:19:53] local.INFO: Acknowledgment sent {"connection_id":189388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:20:24] local.INFO: TCP Data received {"connection_id":189388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7febc40012d19c88007201f300031014b29..."} 
[2026-09-19 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7febc40012d19c88007201f300031014b29..."} 
[2026-09-19 10:20:24] local.INFO: Processing buffer {"connection_id":189388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7febc40012d19c88007201f300031014b29..."} 
[2026-09-19 10:20:24] local.INFO: Packet analysis {"connection_id":189388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:20:24] local.INFO: Extracted packet for processing {"connection_id":189388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7fe"} 
[2026-09-19 10:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119545648,"longitude_deg":75.6664448,"latitude_deg":11.9545648,"altitude":49,"angle":331,"satellites":41,"speed":9,"hex_longitude":"2d19c880","hex_latitude":"07201f30","is_valid_coordinates":true} 
[2026-09-19 10:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187087104001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590757647319040,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257916141568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:24] 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-19 10:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789793320000,"timestamp_ms":1789793320000,"timestamp_seconds":1789793320,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7febc40"} 
[2026-09-19 10:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:20:24] 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-19 10:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-19 10:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:20:24] 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-19 10:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187087104001,"66":13254,"101":206,"83":41984,"24":9,"16":21590757647319040,"45":1860479257916141568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187087104001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:20:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590757647319040,"km_value":21590757647319.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257916141568,"description":"Unknown IO ID 45"} 
[2026-09-19 10:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187087104001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1860479257916141568}} 
[2026-09-19 10:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":189388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:20:24] local.INFO: GPS data processed {"connection_id":189388,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:20:24] local.INFO: Acknowledgment sent {"connection_id":189388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:20:24] local.INFO: TCP Data received {"connection_id":188045,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:24] local.INFO: Processing buffer {"connection_id":188045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:24] local.INFO: IMEI packet received {"connection_id":188045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":188045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:20:30] local.INFO: TCP Data received {"connection_id":188045,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:30] local.INFO: Processing buffer {"connection_id":188045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:30] local.INFO: IMEI packet received {"connection_id":188045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":188045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:20:35] local.INFO: TCP Data received {"connection_id":188045,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:35] local.INFO: Processing buffer {"connection_id":188045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:20:35] local.INFO: IMEI packet received {"connection_id":188045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":188045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:20:36] local.INFO: TCP Data received {"connection_id":188045,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:36] local.INFO: Processing buffer {"connection_id":188045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:36] local.INFO: Packet analysis {"connection_id":188045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:36] local.INFO: Extracted packet for processing {"connection_id":188045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:36] 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-19 10:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:20: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-19 10: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-19 10: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-19 10:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:20: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-19 10:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":188045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:20:36] local.INFO: GPS data processed {"connection_id":188045,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:20:36] local.INFO: Acknowledgment sent {"connection_id":188045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:20:43] local.INFO: TCP Data received {"connection_id":188045,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:43] local.INFO: Processing buffer {"connection_id":188045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:20:43] local.INFO: Packet analysis {"connection_id":188045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:43] local.INFO: Extracted packet for processing {"connection_id":188045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10: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-19 10:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10: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-19 10: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-19 10: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-19 10: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-19 10: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-19 10:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:20: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-19 10:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":188045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:20:43] local.INFO: GPS data processed {"connection_id":188045,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:20:43] local.INFO: Acknowledgment sent {"connection_id":188045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:20:52] local.INFO: TCP Data received {"connection_id":188047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:52] local.INFO: Processing buffer {"connection_id":188047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:52] local.INFO: IMEI packet received {"connection_id":188047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":188047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:20:56] local.INFO: TCP Data received {"connection_id":188047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:56] local.INFO: Processing buffer {"connection_id":188047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:20:56] local.INFO: IMEI packet received {"connection_id":188047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":188047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:20:57] local.INFO: TCP Data received {"connection_id":188047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff0e48012d19c740072021680031014529..."} 
[2026-09-19 10:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff0e48012d19c740072021680031014529..."} 
[2026-09-19 10:20:57] local.INFO: Processing buffer {"connection_id":188047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff0e48012d19c740072021680031014529..."} 
[2026-09-19 10:20:57] local.INFO: Packet analysis {"connection_id":188047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:57] local.INFO: Extracted packet for processing {"connection_id":188047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119546216,"longitude_deg":75.6664128,"latitude_deg":11.9546216,"altitude":49,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d19c740","hex_latitude":"07202168","is_valid_coordinates":true} 
[2026-09-19 10:20: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-19 10:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187089920001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590792007057408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614382370816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:20:57] 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-19 10:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789793341000,"timestamp_ms":1789793341000,"timestamp_seconds":1789793341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff0e48"} 
[2026-09-19 10:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:20:57] 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-19 10:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 10:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:20: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-19 10:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:20:57] 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-19 10:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187089920001,"66":13091,"106":206,"83":41984,"24":0,"16":21590792007057408,"45":1857875614382370816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 10:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187089920001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:20:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 10:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590792007057408,"km_value":21590792007057.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614382370816,"description":"Unknown IO ID 45"} 
[2026-09-19 10:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187089920001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857875614382370816}} 
[2026-09-19 10:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":188047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:20:57] local.INFO: GPS data processed {"connection_id":188047,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:20:57] local.INFO: Acknowledgment sent {"connection_id":188047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:21:02] local.INFO: TCP Data received {"connection_id":188047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff6050012d19c740072021680031014529..."} 
[2026-09-19 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff6050012d19c740072021680031014529..."} 
[2026-09-19 10:21:02] local.INFO: Processing buffer {"connection_id":188047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff6050012d19c740072021680031014529..."} 
[2026-09-19 10:21:02] local.INFO: Packet analysis {"connection_id":188047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:02] local.INFO: Extracted packet for processing {"connection_id":188047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119546216,"longitude_deg":75.6664128,"latitude_deg":11.9546216,"altitude":49,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d19c740","hex_latitude":"07202168","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187095296001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590792007057408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770661627904,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21: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-19 10:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789793362000,"timestamp_ms":1789793362000,"timestamp_seconds":1789793362,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff6050"} 
[2026-09-19 10: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-19 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":35,"data_length":795,"current_offset":136} 
[2026-09-19 10:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":188047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":188047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":188047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:21: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-19 10:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187095296001,"66":13080,"106":206,"83":41984,"24":0,"16":21590792007057408,"45":1857523770661627904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 10:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187095296001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:21:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 10:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590792007057408,"km_value":21590792007057.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770661627904,"description":"Unknown IO ID 45"} 
[2026-09-19 10:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187095296001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857523770661627904}} 
[2026-09-19 10:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":188047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:21:02] local.INFO: GPS data processed {"connection_id":188047,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:21:02] local.INFO: Acknowledgment sent {"connection_id":188047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:21:09] local.INFO: TCP Data received {"connection_id":188048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:09] local.INFO: Processing buffer {"connection_id":188048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:09] local.INFO: IMEI packet received {"connection_id":188048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:21:15] local.INFO: TCP Data received {"connection_id":188048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:15] local.INFO: Processing buffer {"connection_id":188048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:21:15] local.INFO: IMEI packet received {"connection_id":188048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":188048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:21:16] local.INFO: TCP Data received {"connection_id":188048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:16] local.INFO: Processing buffer {"connection_id":188048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:16] local.INFO: Packet analysis {"connection_id":188048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:16] local.INFO: Extracted packet for processing {"connection_id":188048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:16] 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-19 10:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:21: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-19 10:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":188048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:21:16] local.INFO: GPS data processed {"connection_id":188048,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:21:16] local.INFO: Acknowledgment sent {"connection_id":188048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:21:29] local.INFO: TCP Data received {"connection_id":188046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:21:29] local.INFO: Processing buffer {"connection_id":188046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:21:29] local.INFO: IMEI packet received {"connection_id":188046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":188046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:21:42] local.INFO: TCP Data received {"connection_id":189389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:42] local.INFO: Processing buffer {"connection_id":189389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:42] local.INFO: IMEI packet received {"connection_id":189389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":189389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:21:46] local.INFO: TCP Data received {"connection_id":189389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:46] local.INFO: Processing buffer {"connection_id":189389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:46] local.INFO: IMEI packet received {"connection_id":189389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":189389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:21:47] local.INFO: TCP Data received {"connection_id":188048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:47] local.INFO: Processing buffer {"connection_id":188048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:21:47] local.INFO: Packet analysis {"connection_id":188048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:47] local.INFO: Extracted packet for processing {"connection_id":188048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21: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-19 10:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10:21: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:21: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-19 10: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-19 10: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-19 10:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:21: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-19 10:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":188048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:21:47] local.INFO: GPS data processed {"connection_id":188048,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:21:47] local.INFO: Acknowledgment sent {"connection_id":188048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:21:48] local.INFO: TCP Data received {"connection_id":189389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:48] local.INFO: Processing buffer {"connection_id":189389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:21:48] local.INFO: IMEI packet received {"connection_id":189389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":189389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:21:49] local.INFO: TCP Data received {"connection_id":189389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ffb258012d19c74007202168003101452a..."} 
[2026-09-19 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ffb258012d19c74007202168003101452a..."} 
[2026-09-19 10:21:49] local.INFO: Processing buffer {"connection_id":189389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ffb258012d19c74007202168003101452a..."} 
[2026-09-19 10:21:49] local.INFO: Packet analysis {"connection_id":189389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:49] local.INFO: Extracted packet for processing {"connection_id":189389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119546216,"longitude_deg":75.6664128,"latitude_deg":11.9546216,"altitude":49,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d19c740","hex_latitude":"07202168","is_valid_coordinates":true} 
[2026-09-19 10:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187100672001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21590792007057408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770661627904,"note":"Value kept but may cause issues"} 
[2026-09-19 10:21:49] 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-19 10:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789793383000,"timestamp_ms":1789793383000,"timestamp_seconds":1789793383,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ffb258"} 
[2026-09-19 10:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:21:49] 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-19 10:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 10:21:49] 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-19 10:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:21:49] 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-19 10:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187100672001,"66":13004,"106":206,"83":41984,"24":0,"16":21590792007057408,"45":1857523770661627904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 10:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187100672001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 10:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21590792007057408,"km_value":21590792007057.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770661627904,"description":"Unknown IO ID 45"} 
[2026-09-19 10:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187100672001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857523770661627904}} 
[2026-09-19 10:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":189389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:21:49] local.INFO: GPS data processed {"connection_id":189389,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:21:49] local.INFO: Acknowledgment sent {"connection_id":189389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:22:09] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:09] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:09] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:22:15] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:15] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:22:15] local.INFO: IMEI packet received {"connection_id":186651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":186651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:22:16] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:16] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:16] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:22:16] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:16] 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-19 10:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:22: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-19 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:22: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-19 10:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:22:16] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:22:16] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:22:20] local.INFO: TCP Data received {"connection_id":189389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8014c80012d1a2400071fefa80034006b2a..."} 
[2026-09-19 10:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8014c80012d1a2400071fefa80034006b2a..."} 
[2026-09-19 10:22:20] local.INFO: Processing buffer {"connection_id":189389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8014c80012d1a2400071fefa80034006b2a..."} 
[2026-09-19 10:22:20] local.INFO: Packet analysis {"connection_id":189389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:22:20] local.INFO: Extracted packet for processing {"connection_id":189389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119533480,"longitude_deg":75.6687872,"latitude_deg":11.953348,"altitude":52,"angle":107,"satellites":42,"speed":46,"hex_longitude":"2d1a2400","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 10:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187130880001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21592162101624832,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873849319308267520,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:20] 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-19 10:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789793488000,"timestamp_ms":1789793488000,"timestamp_seconds":1789793488,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8014c80"} 
[2026-09-19 10:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:22:20] 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-19 10:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 10:22:20] 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-19 10:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:22:20] 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-19 10:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187130880001,"66":14396,"101":206,"83":41984,"24":46,"16":21592162101624832,"45":1873849319308267520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187130880001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:22:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21592162101624832,"km_value":21592162101624.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873849319308267520,"description":"Unknown IO ID 45"} 
[2026-09-19 10:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187130880001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1873849319308267520}} 
[2026-09-19 10:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":189389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:22:20] local.INFO: GPS data processed {"connection_id":189389,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:22:20] local.INFO: Acknowledgment sent {"connection_id":189389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:22:47] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: IMEI packet received {"connection_id":188049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":188049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:22:47] local.INFO: TCP Data received {"connection_id":186651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:47] local.INFO: Processing buffer {"connection_id":186651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:22:47] local.INFO: Packet analysis {"connection_id":186651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:22:47] local.INFO: Extracted packet for processing {"connection_id":186651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22: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-19 10:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10:22: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:22: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-19 10: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-19 10: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-19 10:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:22:47] 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-19 10:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":186651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:22:47] local.INFO: GPS data processed {"connection_id":186651,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:22:47] local.INFO: Acknowledgment sent {"connection_id":186651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:22:47] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:47] local.INFO: IMEI packet received {"connection_id":188049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":188049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:22:51] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:51] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:22:51] local.INFO: IMEI packet received {"connection_id":188049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":188049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:22:52] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8016bc0012d1a46c0071fe688003500682a..."} 
[2026-09-19 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8016bc0012d1a46c0071fe688003500682a..."} 
[2026-09-19 10:22:52] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8016bc0012d1a46c0071fe688003500682a..."} 
[2026-09-19 10:22:52] local.INFO: Packet analysis {"connection_id":188049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:22:52] local.INFO: Extracted packet for processing {"connection_id":188049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756696768,"raw_latitude":119531144,"longitude_deg":75.6696768,"latitude_deg":11.9531144,"altitude":53,"angle":104,"satellites":42,"speed":41,"hex_longitude":"2d1a46c0","hex_latitude":"071fe688","is_valid_coordinates":true} 
[2026-09-19 10:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187132928001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21592600188289024,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883630574748280832,"note":"Value kept but may cause issues"} 
[2026-09-19 10:22:52] 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-19 10:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793496000,"timestamp_ms":1789793496000,"timestamp_seconds":1789793496,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8016bc0"} 
[2026-09-19 10:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:22:52] 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-19 10:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 10:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:22:52] 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-19 10:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187132928001,"66":14298,"101":206,"83":41984,"24":41,"16":21592600188289024,"45":1883630574748280832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187132928001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:22:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21592600188289024,"km_value":21592600188289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883630574748280832,"description":"Unknown IO ID 45"} 
[2026-09-19 10:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187132928001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1883630574748280832}} 
[2026-09-19 10:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":188049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:22:52] local.INFO: GPS data processed {"connection_id":188049,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:22:52] local.INFO: Acknowledgment sent {"connection_id":188049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:23:09] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:09] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:09] local.INFO: IMEI packet received {"connection_id":186652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":186652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:23:15] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:15] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:23:15] local.INFO: IMEI packet received {"connection_id":186652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":186652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:23:16] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:16] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:16] local.INFO: Packet analysis {"connection_id":186652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:23:16] local.INFO: Extracted packet for processing {"connection_id":186652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:16] 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-19 10:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:23: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-19 10:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:23: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-19 10:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:23:16] local.INFO: GPS data processed {"connection_id":186652,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:23:16] local.INFO: Acknowledgment sent {"connection_id":186652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:23:23] local.INFO: TCP Data received {"connection_id":188049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8017390012d1a4e80071fe3a0003600762a..."} 
[2026-09-19 10:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8017390012d1a4e80071fe3a0003600762a..."} 
[2026-09-19 10:23:23] local.INFO: Processing buffer {"connection_id":188049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8017390012d1a4e80071fe3a0003600762a..."} 
[2026-09-19 10:23:23] local.INFO: Packet analysis {"connection_id":188049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:23:23] local.INFO: Extracted packet for processing {"connection_id":188049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756698752,"raw_latitude":119530400,"longitude_deg":75.6698752,"latitude_deg":11.95304,"altitude":54,"angle":118,"satellites":42,"speed":40,"hex_longitude":"2d1a4e80","hex_latitude":"071fe3a0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187134976001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21592703267504128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893411830188378112,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793498000,"timestamp_ms":1789793498000,"timestamp_seconds":1789793498,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8017390"} 
[2026-09-19 10:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:23:23] 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-19 10:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 10:23:23] 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-19 10:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:23:23] 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-19 10:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187134976001,"66":14265,"101":206,"83":41984,"24":40,"16":21592703267504128,"45":1893411830188378112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187134976001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:23:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21592703267504128,"km_value":21592703267504.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893411830188378112,"description":"Unknown IO ID 45"} 
[2026-09-19 10:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187134976001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1893411830188378112}} 
[2026-09-19 10:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":188049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:23:23] local.INFO: GPS data processed {"connection_id":188049,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:23:23] local.INFO: Acknowledgment sent {"connection_id":188049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:23:46] local.INFO: TCP Data received {"connection_id":189390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:46] local.INFO: Processing buffer {"connection_id":189390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:46] local.INFO: IMEI packet received {"connection_id":189390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":189390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:23:47] local.INFO: TCP Data received {"connection_id":186652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:47] local.INFO: Processing buffer {"connection_id":186652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:23:47] local.INFO: Packet analysis {"connection_id":186652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:23:47] local.INFO: Extracted packet for processing {"connection_id":186652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23: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-19 10:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10: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-19 10:23: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:23: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-19 10: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-19 10: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-19 10:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:23:47] 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-19 10:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:23:47] local.INFO: GPS data processed {"connection_id":186652,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:23:47] local.INFO: Acknowledgment sent {"connection_id":186652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:23:52] local.INFO: TCP Data received {"connection_id":189390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:52] local.INFO: Processing buffer {"connection_id":189390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:23:52] local.INFO: IMEI packet received {"connection_id":189390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":189390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:23:52] local.INFO: TCP Data received {"connection_id":189390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8018718012d1a5d80071fdb780037006a2a..."} 
[2026-09-19 10:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8018718012d1a5d80071fdb780037006a2a..."} 
[2026-09-19 10:23:52] local.INFO: Processing buffer {"connection_id":189390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8018718012d1a5d80071fdb780037006a2a..."} 
[2026-09-19 10:23:52] local.INFO: Packet analysis {"connection_id":189390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:23:52] local.INFO: Extracted packet for processing {"connection_id":189390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756702592,"raw_latitude":119528312,"longitude_deg":75.6702592,"latitude_deg":11.9528312,"altitude":55,"angle":106,"satellites":42,"speed":29,"hex_longitude":"2d1a5d80","hex_latitude":"071fdb78","is_valid_coordinates":true} 
[2026-09-19 10:23: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-19 10:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187135488001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21592909425934336,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895593261257695232,"note":"Value kept but may cause issues"} 
[2026-09-19 10:23:52] 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-19 10:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793503000,"timestamp_ms":1789793503000,"timestamp_seconds":1789793503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8018718"} 
[2026-09-19 10:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:23:52] 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-19 10:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 10:23:52] 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-19 10:23: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-19 10:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:23:52] 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-19 10:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187135488001,"66":14233,"101":206,"83":41984,"24":29,"16":21592909425934336,"45":1895593261257695232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187135488001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:23:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21592909425934336,"km_value":21592909425934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895593261257695232,"description":"Unknown IO ID 45"} 
[2026-09-19 10:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187135488001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1895593261257695232}} 
[2026-09-19 10:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":189390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:23:52] local.INFO: GPS data processed {"connection_id":189390,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:23:52] local.INFO: Acknowledgment sent {"connection_id":189390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:24:14] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:14] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:14] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:24:19] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:19] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:24:19] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:24:20] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:20] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:20] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:24:20] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:20] 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-19 10:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:24:20] 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-19 10:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:24:20] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:24:20] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:24:23] local.INFO: TCP Data received {"connection_id":189390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8018ee8012d1a6240071fdb200037005c29..."} 
[2026-09-19 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8018ee8012d1a6240071fdb200037005c29..."} 
[2026-09-19 10:24:23] local.INFO: Processing buffer {"connection_id":189390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8018ee8012d1a6240071fdb200037005c29..."} 
[2026-09-19 10:24:23] local.INFO: Packet analysis {"connection_id":189390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:24:23] local.INFO: Extracted packet for processing {"connection_id":189390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756703808,"raw_latitude":119528224,"longitude_deg":75.6703808,"latitude_deg":11.9528224,"altitude":55,"angle":92,"satellites":41,"speed":20,"hex_longitude":"2d1a6240","hex_latitude":"071fdb20","is_valid_coordinates":true} 
[2026-09-19 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187136768001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21592969555476480,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899815385907820544,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793505000,"timestamp_ms":1789793505000,"timestamp_seconds":1789793505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8018ee8"} 
[2026-09-19 10:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:24:23] 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-19 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 10:24:23] 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-19 10:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:24:23] 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-19 10:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187136768001,"66":14265,"101":206,"83":41984,"24":20,"16":21592969555476480,"45":1899815385907820544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187136768001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:24:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21592969555476480,"km_value":21592969555476.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899815385907820544,"description":"Unknown IO ID 45"} 
[2026-09-19 10:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187136768001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1899815385907820544}} 
[2026-09-19 10:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":189390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:24:24] local.INFO: GPS data processed {"connection_id":189390,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:24:24] local.INFO: Acknowledgment sent {"connection_id":189390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:24:25] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:25] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b7ff9318012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:24:25] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:24:25] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b7ff"} 
[2026-09-19 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187026944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:25] 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-19 10:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789793375000,"timestamp_ms":1789793375000,"timestamp_seconds":1789793375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b7ff9318"} 
[2026-09-19 10:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:24:25] 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-19 10:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187026944001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187026944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187026944001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:24:25] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:24:25] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:24:47] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:47] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:47] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:24:52] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:52] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:24:52] local.INFO: IMEI packet received {"connection_id":186653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":186653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:24:53] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80196b8012d1a6580071fdb800038005029..."} 
[2026-09-19 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80196b8012d1a6580071fdb800038005029..."} 
[2026-09-19 10:24:53] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80196b8012d1a6580071fdb800038005029..."} 
[2026-09-19 10:24:53] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:24:53] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119528320,"longitude_deg":75.670464,"latitude_deg":11.952832,"altitude":56,"angle":80,"satellites":41,"speed":13,"hex_longitude":"2d1a6580","hex_latitude":"071fdb80","is_valid_coordinates":true} 
[2026-09-19 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187137280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21593008210182144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901152392047173632,"note":"Value kept but may cause issues"} 
[2026-09-19 10:24:53] 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-19 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789793507000,"timestamp_ms":1789793507000,"timestamp_seconds":1789793507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80196b8"} 
[2026-09-19 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:24:53] 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-19 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 10:24:53] 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-19 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:24:53] 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-19 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187137280001,"66":14265,"101":206,"83":41984,"24":13,"16":21593008210182144,"45":1901152392047173632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187137280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:24:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21593008210182144,"km_value":21593008210182.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901152392047173632,"description":"Unknown IO ID 45"} 
[2026-09-19 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187137280001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1901152392047173632}} 
[2026-09-19 10:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:24:53] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:24:53] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:25:09] local.INFO: TCP Data received {"connection_id":188050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:09] local.INFO: Processing buffer {"connection_id":188050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:09] local.INFO: IMEI packet received {"connection_id":188050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:25:15] local.INFO: TCP Data received {"connection_id":188050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:15] local.INFO: Processing buffer {"connection_id":188050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:25:15] local.INFO: IMEI packet received {"connection_id":188050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":188050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:25:16] local.INFO: TCP Data received {"connection_id":188050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:16] local.INFO: Processing buffer {"connection_id":188050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:16] local.INFO: Packet analysis {"connection_id":188050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:25:16] local.INFO: Extracted packet for processing {"connection_id":188050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:16] 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-19 10:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:25: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-19 10:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:25:16] 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-19 10:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":188050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:25:16] local.INFO: GPS data processed {"connection_id":188050,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:25:16] local.INFO: Acknowledgment sent {"connection_id":188050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:25:24] local.INFO: TCP Data received {"connection_id":186653,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8019e88012d1a6700071fdba00039005f29..."} 
[2026-09-19 10:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8019e88012d1a6700071fdba00039005f29..."} 
[2026-09-19 10:25:24] local.INFO: Processing buffer {"connection_id":186653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8019e88012d1a6700071fdba00039005f29..."} 
[2026-09-19 10:25:24] local.INFO: Packet analysis {"connection_id":186653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:25:24] local.INFO: Extracted packet for processing {"connection_id":186653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756705024,"raw_latitude":119528352,"longitude_deg":75.6705024,"latitude_deg":11.9528352,"altitude":57,"angle":95,"satellites":41,"speed":6,"hex_longitude":"2d1a6700","hex_latitude":"071fdba0","is_valid_coordinates":true} 
[2026-09-19 10:25: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-19 10:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187137792001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21593025390051328,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902067185721507840,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:24] 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-19 10:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789793509000,"timestamp_ms":1789793509000,"timestamp_seconds":1789793509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8019e88"} 
[2026-09-19 10:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:25:24] 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-19 10:25: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 10:25:24] 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-19 10:25: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-19 10:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:25:24] 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-19 10:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187137792001,"66":14102,"101":206,"83":41984,"24":6,"16":21593025390051328,"45":1902067185721507840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187137792001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:25:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21593025390051328,"km_value":21593025390051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902067185721507840,"description":"Unknown IO ID 45"} 
[2026-09-19 10:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187137792001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1902067185721507840}} 
[2026-09-19 10:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":186653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:25:24] local.INFO: GPS data processed {"connection_id":186653,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:25:24] local.INFO: Acknowledgment sent {"connection_id":186653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:25:46] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:46] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:46] local.INFO: IMEI packet received {"connection_id":188051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":188051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:25:48] local.INFO: TCP Data received {"connection_id":188050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:48] local.INFO: Processing buffer {"connection_id":188050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:25:48] local.INFO: Packet analysis {"connection_id":188050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:25:48] local.INFO: Extracted packet for processing {"connection_id":188050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25: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-19 10:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10: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-19 10:25: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:25: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-19 10: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-19 10: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-19 10:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:25: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-19 10:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":188050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:25:48] local.INFO: GPS data processed {"connection_id":188050,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:25:48] local.INFO: Acknowledgment sent {"connection_id":188050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:25:51] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:51] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:25:51] local.INFO: IMEI packet received {"connection_id":188051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":188051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:25:52] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b801c598012d1a6840071fdad00038008c29..."} 
[2026-09-19 10:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b801c598012d1a6840071fdad00038008c29..."} 
[2026-09-19 10:25:52] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b801c598012d1a6840071fdad00038008c29..."} 
[2026-09-19 10:25:52] local.INFO: Packet analysis {"connection_id":188051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:25:52] local.INFO: Extracted packet for processing {"connection_id":188051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b801"} 
[2026-09-19 10:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119528144,"longitude_deg":75.6705344,"latitude_deg":11.9528144,"altitude":56,"angle":140,"satellites":41,"speed":6,"hex_longitude":"2d1a6840","hex_latitude":"071fdad0","is_valid_coordinates":true} 
[2026-09-19 10:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187138304001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21593055454822400,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902489398186582016,"note":"Value kept but may cause issues"} 
[2026-09-19 10:25:52] 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-19 10:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793519000,"timestamp_ms":1789793519000,"timestamp_seconds":1789793519,"priority":1,"record_length":96,"hex_timestamp":"000001a0b801c598"} 
[2026-09-19 10:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:25:52] 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-19 10:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 10:25:52] 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-19 10:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:25:52] 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-19 10:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187138304001,"66":14113,"101":206,"83":41984,"24":6,"16":21593055454822400,"45":1902489398186582016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187138304001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:25:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21593055454822400,"km_value":21593055454822.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902489398186582016,"description":"Unknown IO ID 45"} 
[2026-09-19 10:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187138304001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1902489398186582016}} 
[2026-09-19 10:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":188051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:25:52] local.INFO: GPS data processed {"connection_id":188051,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:25:52] local.INFO: Acknowledgment sent {"connection_id":188051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:26:09] local.INFO: TCP Data received {"connection_id":189391,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:09] local.INFO: Processing buffer {"connection_id":189391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:09] local.INFO: IMEI packet received {"connection_id":189391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":189391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:26:15] local.INFO: TCP Data received {"connection_id":189391,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:15] local.INFO: Processing buffer {"connection_id":189391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:26:15] local.INFO: IMEI packet received {"connection_id":189391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":189391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:26:17] local.INFO: TCP Data received {"connection_id":189391,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:17] local.INFO: Processing buffer {"connection_id":189391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:17] local.INFO: Packet analysis {"connection_id":189391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:17] local.INFO: Extracted packet for processing {"connection_id":189391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:17] 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-19 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10: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-19 10: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:26: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-19 10: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-19 10: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-19 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:26:17] 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-19 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":189391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:26:17] local.INFO: GPS data processed {"connection_id":189391,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:26:17] local.INFO: Acknowledgment sent {"connection_id":189391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:26:23] local.INFO: TCP Data received {"connection_id":188051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b804d2d8012d1aa4c0071f98300035007c2c..."} 
[2026-09-19 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b804d2d8012d1aa4c0071f98300035007c2c..."} 
[2026-09-19 10:26:23] local.INFO: Processing buffer {"connection_id":188051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b804d2d8012d1aa4c0071f98300035007c2c..."} 
[2026-09-19 10:26:23] local.INFO: Packet analysis {"connection_id":188051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:23] local.INFO: Extracted packet for processing {"connection_id":188051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756720832,"raw_latitude":119511088,"longitude_deg":75.6720832,"latitude_deg":11.9511088,"altitude":53,"angle":124,"satellites":44,"speed":0,"hex_longitude":"2d1aa4c0","hex_latitude":"071f9830","is_valid_coordinates":true} 
[2026-09-19 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187186688001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21594180736253952,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994045440,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793719000,"timestamp_ms":1789793719000,"timestamp_seconds":1789793719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b804d2d8"} 
[2026-09-19 10:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:26:23] 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-19 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-19 10:26:23] 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-19 10:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:23] 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-19 10:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187186688001,"66":14048,"101":206,"83":41984,"24":0,"16":21594180736253952,"45":1919870477994045440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187186688001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:26:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21594180736253952,"km_value":21594180736253.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994045440,"description":"Unknown IO ID 45"} 
[2026-09-19 10:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187186688001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919870477994045440}} 
[2026-09-19 10:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":188051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:26:23] local.INFO: GPS data processed {"connection_id":188051,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:26:23] local.INFO: Acknowledgment sent {"connection_id":188051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:26:49] local.INFO: TCP Data received {"connection_id":189391,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:49] local.INFO: Processing buffer {"connection_id":189391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:26:49] local.INFO: Packet analysis {"connection_id":189391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:49] local.INFO: Extracted packet for processing {"connection_id":189391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26: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-19 10:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:26: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-19 10:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:26: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-19 10:26: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-19 10:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:26: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-19 10:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":189391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:26:49] local.INFO: GPS data processed {"connection_id":189391,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:26:49] local.INFO: Acknowledgment sent {"connection_id":189391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:26:51] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:51] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:51] local.INFO: IMEI packet received {"connection_id":186777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":186777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:26:55] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:55] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:26:55] local.INFO: IMEI packet received {"connection_id":186777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":186777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:26:55] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80524e0012d1aa4c0071f98300035007c2d..."} 
[2026-09-19 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80524e0012d1aa4c0071f98300035007c2d..."} 
[2026-09-19 10:26:55] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80524e0012d1aa4c0071f98300035007c2d..."} 
[2026-09-19 10:26:55] local.INFO: Packet analysis {"connection_id":186777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:26:55] local.INFO: Extracted packet for processing {"connection_id":186777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756720832,"raw_latitude":119511088,"longitude_deg":75.6720832,"latitude_deg":11.9511088,"altitude":53,"angle":124,"satellites":45,"speed":0,"hex_longitude":"2d1aa4c0","hex_latitude":"071f9830","is_valid_coordinates":true} 
[2026-09-19 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187192064001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21594180736253952,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994045440,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:55] 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-19 10:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789793740000,"timestamp_ms":1789793740000,"timestamp_seconds":1789793740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80524e0"} 
[2026-09-19 10:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:26:55] 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-19 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 10:26:55] 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-19 10:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:55] 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-19 10:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187192064001,"66":14298,"101":206,"83":41984,"24":0,"16":21594180736253952,"45":1919870477994045440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187192064001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:26:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21594180736253952,"km_value":21594180736253.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994045440,"description":"Unknown IO ID 45"} 
[2026-09-19 10:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187192064001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919870477994045440}} 
[2026-09-19 10:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":186777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:26:56] local.INFO: GPS data processed {"connection_id":186777,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:26:56] local.INFO: Acknowledgment sent {"connection_id":186777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:26:56] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8053098012d1aa700071f99c0003a00572d..."} 
[2026-09-19 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8053098012d1aa700071f99c0003a00572d..."} 
[2026-09-19 10:26:56] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8053098012d1aa700071f99c0003a00572d..."} 
[2026-09-19 10:26:56] local.INFO: Packet analysis {"connection_id":186777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:26:56] local.INFO: Extracted packet for processing {"connection_id":186777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756721408,"raw_latitude":119511488,"longitude_deg":75.6721408,"latitude_deg":11.9511488,"altitude":58,"angle":87,"satellites":45,"speed":11,"hex_longitude":"2d1aa700","hex_latitude":"071f99c0","is_valid_coordinates":true} 
[2026-09-19 10:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187197440001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21594215095992320,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994045440,"note":"Value kept but may cause issues"} 
[2026-09-19 10:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789793743000,"timestamp_ms":1789793743000,"timestamp_seconds":1789793743,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8053098"} 
[2026-09-19 10:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:26:56] 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-19 10:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 10:26:56] 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-19 10:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:26:56] 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-19 10:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187197440001,"66":14352,"101":206,"83":41984,"24":11,"16":21594215095992320,"45":1919870477994045440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187197440001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:26:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21594215095992320,"km_value":21594215095992.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994045440,"description":"Unknown IO ID 45"} 
[2026-09-19 10:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187197440001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1919870477994045440}} 
[2026-09-19 10:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":186777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:26:56] local.INFO: GPS data processed {"connection_id":186777,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:26:56] local.INFO: Acknowledgment sent {"connection_id":186777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:27:15] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:15] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:15] local.INFO: IMEI packet received {"connection_id":188052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":188052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:27:20] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:20] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:27:20] local.INFO: IMEI packet received {"connection_id":188052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":188052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:27:21] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:21] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:21] local.INFO: Packet analysis {"connection_id":188052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:27:21] local.INFO: Extracted packet for processing {"connection_id":188052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:21] 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-19 10:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:27:21] 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-19 10:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":188052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:27:21] local.INFO: GPS data processed {"connection_id":188052,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:27:21] local.INFO: Acknowledgment sent {"connection_id":188052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:27:27] local.INFO: TCP Data received {"connection_id":186777,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8054808012d1ab440071f9890003b00652c..."} 
[2026-09-19 10:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8054808012d1ab440071f9890003b00652c..."} 
[2026-09-19 10:27:27] local.INFO: Processing buffer {"connection_id":186777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8054808012d1ab440071f9890003b00652c..."} 
[2026-09-19 10:27:27] local.INFO: Packet analysis {"connection_id":186777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:27:27] local.INFO: Extracted packet for processing {"connection_id":186777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b805"} 
[2026-09-19 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756724800,"raw_latitude":119511184,"longitude_deg":75.67248,"latitude_deg":11.9511184,"altitude":59,"angle":101,"satellites":44,"speed":27,"hex_longitude":"2d1ab440","hex_latitude":"071f9890","is_valid_coordinates":true} 
[2026-09-19 10:27: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-19 10:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187198208001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21594378304749568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920503796691746816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] 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-19 10:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789793749000,"timestamp_ms":1789793749000,"timestamp_seconds":1789793749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8054808"} 
[2026-09-19 10:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:27:27] 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-19 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137920,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3087239864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503929128419328,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2553282613,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634136533956709,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4179604341289976064,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3221692312,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":14918706979143680,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3083534336,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84753262888558488,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-6575247623682260939,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,183,160,36,45,192,152,53,10,66,210,44,128,1,240,227,184,31,4,113,205,220,164,48,39,239,50,2,76,7,206,176,26],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-19 10:27:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179436304985686016,"timestamp_seconds":4179436304985686.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:27:27] 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-19 10:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187198208001,"66":14265,"101":206,"83":41984,"24":27,"16":21594378304749568,"45":1920503796691746816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187198208001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:27:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21594378304749568,"km_value":21594378304749.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920503796691746816,"description":"Unknown IO ID 45"} 
[2026-09-19 10:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187198208001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1920503796691746816}} 
[2026-09-19 10:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":186777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:27:27] local.INFO: GPS data processed {"connection_id":186777,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:27:27] local.INFO: Acknowledgment sent {"connection_id":186777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:27:29] local.INFO: TCP Data received {"connection_id":188052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:29] local.INFO: Processing buffer {"connection_id":188052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:27:29] local.INFO: Packet analysis {"connection_id":188052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:27:29] local.INFO: Extracted packet for processing {"connection_id":188052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:29] 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-19 10:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:27:29] 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-19 10:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":188052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:27:29] local.INFO: GPS data processed {"connection_id":188052,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:27:29] local.INFO: Acknowledgment sent {"connection_id":188052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:27:46] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:46] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:46] local.INFO: IMEI packet received {"connection_id":186654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":186654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:27:47] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:47] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:27:47] local.INFO: IMEI packet received {"connection_id":186654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":186654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:27:48] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8062e80012d1afbc0071f8d90003e00532c..."} 
[2026-09-19 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8062e80012d1afbc0071f8d90003e00532c..."} 
[2026-09-19 10:27:48] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8062e80012d1afbc0071f8d90003e00532c..."} 
[2026-09-19 10:27:48] local.INFO: Packet analysis {"connection_id":186654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:27:48] local.INFO: Extracted packet for processing {"connection_id":186654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756743104,"raw_latitude":119508368,"longitude_deg":75.6743104,"latitude_deg":11.9508368,"altitude":62,"angle":83,"satellites":44,"speed":16,"hex_longitude":"2d1afbc0","hex_latitude":"071f8d90","is_valid_coordinates":true} 
[2026-09-19 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187213312001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21595413391867904,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941051469990508544,"note":"Value kept but may cause issues"} 
[2026-09-19 10:27:48] 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-19 10:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789793808000,"timestamp_ms":1789793808000,"timestamp_seconds":1789793808,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8062e80"} 
[2026-09-19 10:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:27:48] 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-19 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 10:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:27:48] 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-19 10:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187213312001,"66":14396,"101":206,"83":41984,"24":16,"16":21595413391867904,"45":1941051469990508544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187213312001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:27:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21595413391867904,"km_value":21595413391867.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941051469990508544,"description":"Unknown IO ID 45"} 
[2026-09-19 10:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187213312001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1941051469990508544}} 
[2026-09-19 10:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":186654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:27:48] local.INFO: GPS data processed {"connection_id":186654,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:27:48] local.INFO: Acknowledgment sent {"connection_id":186654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:09] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:10] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:10] local.INFO: IMEI packet received {"connection_id":186778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":186778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:28:15] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:15] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:28:15] local.INFO: IMEI packet received {"connection_id":186778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":186778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:28:16] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:16] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:16] local.INFO: Packet analysis {"connection_id":186778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:28:16] local.INFO: Extracted packet for processing {"connection_id":186778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:16] 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-19 10:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28: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-19 10:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:28: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-19 10:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:28:16] local.INFO: GPS data processed {"connection_id":186778,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:28:16] local.INFO: Acknowledgment sent {"connection_id":186778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:19] local.INFO: TCP Data received {"connection_id":186654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806d290012d1b5580071f6d78003c008d28..."} 
[2026-09-19 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806d290012d1b5580071f6d78003c008d28..."} 
[2026-09-19 10:28:19] local.INFO: Processing buffer {"connection_id":186654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806d290012d1b5580071f6d78003c008d28..."} 
[2026-09-19 10:28:19] local.INFO: Packet analysis {"connection_id":186654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:19] local.INFO: Extracted packet for processing {"connection_id":186654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119500152,"longitude_deg":75.676608,"latitude_deg":11.9500152,"altitude":60,"angle":141,"satellites":40,"speed":11,"hex_longitude":"2d1b5580","hex_latitude":"071f6d78","is_valid_coordinates":true} 
[2026-09-19 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187224576001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21596740536762368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755195127808,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:19] 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-19 10:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789793850000,"timestamp_ms":1789793850000,"timestamp_seconds":1789793850,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806d290"} 
[2026-09-19 10:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:19] 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-19 10:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:28:19] 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-19 10:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187224576001,"66":14374,"101":206,"83":41984,"24":11,"16":21596740536762368,"45":1968776755195127808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187224576001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21596740536762368,"km_value":21596740536762.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755195127808,"description":"Unknown IO ID 45"} 
[2026-09-19 10:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187224576001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1968776755195127808}} 
[2026-09-19 10:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":186654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:28:19] local.INFO: GPS data processed {"connection_id":186654,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:28:19] local.INFO: Acknowledgment sent {"connection_id":186654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:25] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:25] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:25] local.INFO: IMEI packet received {"connection_id":186779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":186779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:28:26] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:26] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:28:26] local.INFO: IMEI packet received {"connection_id":186779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":186779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:28:28] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:28] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:28] local.INFO: Packet analysis {"connection_id":186779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:28] local.INFO: Extracted packet for processing {"connection_id":186779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:28] local.INFO: GPS Element Parsed {"raw_longitude":748672128,"raw_latitude":128560208,"longitude_deg":74.8672128,"latitude_deg":12.8560208,"altitude":23,"angle":27,"satellites":48,"speed":29,"hex_longitude":"2c9fd480","hex_latitude":"07a9ac50","is_valid_coordinates":true} 
[2026-09-19 10:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187222272001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":309770221256704,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6935824868217833472,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789793849000,"timestamp_ms":1789793849000,"timestamp_seconds":1789793849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806cea8"} 
[2026-09-19 10:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 10:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:28] 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-19 10:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187222272001,"66":28354,"47":206,"9":57344,"24":29,"16":309770221256704,"44":-6935824868217833472},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,9,24,16,44]} 
[2026-09-19 10:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187222272001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:28] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-19 10:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":309770221256704,"km_value":309770221256.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6935824868217833472,"description":"Unknown IO ID 44"} 
[2026-09-19 10:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187222272001,"power":28354,"unknown_47":206,"unknown_9":57344,"ignition":29,"odometer":null,"unknown_44":-6935824868217833472}} 
[2026-09-19 10:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":186779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:28:28] local.INFO: GPS data processed {"connection_id":186779,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:28:28] local.INFO: Acknowledgment sent {"connection_id":186779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:45] local.INFO: TCP Data received {"connection_id":189392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:45] local.INFO: Processing buffer {"connection_id":189392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:45] local.INFO: IMEI packet received {"connection_id":189392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":189392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:28:46] local.INFO: TCP Data received {"connection_id":189392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:46] local.INFO: Processing buffer {"connection_id":189392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:46] local.INFO: IMEI packet received {"connection_id":189392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":189392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:28:50] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:50] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:28:50] local.INFO: Packet analysis {"connection_id":186778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:28:50] local.INFO: Extracted packet for processing {"connection_id":186778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:50] 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-19 10:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:28:50] 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-19 10:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":186778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:28:50] local.INFO: GPS data processed {"connection_id":186778,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:28:50] local.INFO: Acknowledgment sent {"connection_id":186778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:51] local.INFO: TCP Data received {"connection_id":189392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:51] local.INFO: Processing buffer {"connection_id":189392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:28:51] local.INFO: IMEI packet received {"connection_id":189392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":189392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:28:51] local.INFO: TCP Data received {"connection_id":189392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806d678012d1b5640071f6cf0003c006f27..."} 
[2026-09-19 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806d678012d1b5640071f6cf0003c006f27..."} 
[2026-09-19 10:28:51] local.INFO: Processing buffer {"connection_id":189392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806d678012d1b5640071f6cf0003c006f27..."} 
[2026-09-19 10:28:51] local.INFO: Packet analysis {"connection_id":189392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:51] local.INFO: Extracted packet for processing {"connection_id":189392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119500016,"longitude_deg":75.6766272,"latitude_deg":11.9500016,"altitude":60,"angle":111,"satellites":39,"speed":9,"hex_longitude":"2d1b5640","hex_latitude":"071f6cf0","is_valid_coordinates":true} 
[2026-09-19 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187225600001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21596753421664256,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180124854272,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:51] 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-19 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789793851000,"timestamp_ms":1789793851000,"timestamp_seconds":1789793851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806d678"} 
[2026-09-19 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28:51] 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-19 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:51] 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-19 10:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:28:51] 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-19 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187225600001,"66":14363,"101":206,"83":41984,"24":9,"16":21596753421664256,"45":1969621180124854272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187225600001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21596753421664256,"km_value":21596753421664.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180124854272,"description":"Unknown IO ID 45"} 
[2026-09-19 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187225600001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1969621180124854272}} 
[2026-09-19 10:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":189392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:28:52] local.INFO: GPS data processed {"connection_id":189392,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:28:52] local.INFO: Acknowledgment sent {"connection_id":189392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:28:59] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:59] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806cea8012c9fd48007a9ac500017001b30..."} 
[2026-09-19 10:28:59] local.INFO: Packet analysis {"connection_id":186779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:59] local.INFO: Extracted packet for processing {"connection_id":186779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":748672128,"raw_latitude":128560208,"longitude_deg":74.8672128,"latitude_deg":12.8560208,"altitude":23,"angle":27,"satellites":48,"speed":29,"hex_longitude":"2c9fd480","hex_latitude":"07a9ac50","is_valid_coordinates":true} 
[2026-09-19 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187225344001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":309770221256704,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6929773156216582144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789793849000,"timestamp_ms":1789793849000,"timestamp_seconds":1789793849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806cea8"} 
[2026-09-19 10:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:28:59] 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-19 10:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187225344001,"66":28354,"47":206,"9":57344,"24":29,"16":309770221256704,"44":-6929773156216582144},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,9,24,16,44]} 
[2026-09-19 10:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187225344001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:28:59] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-19 10:28:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":309770221256704,"km_value":309770221256.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6929773156216582144,"description":"Unknown IO ID 44"} 
[2026-09-19 10:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187225344001,"power":28354,"unknown_47":206,"unknown_9":57344,"ignition":29,"odometer":null,"unknown_44":-6929773156216582144}} 
[2026-09-19 10:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":186779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:00] local.INFO: GPS data processed {"connection_id":186779,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:00] local.INFO: Acknowledgment sent {"connection_id":186779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:29:10] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:10] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:10] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:29:15] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:15] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:29:15] local.INFO: IMEI packet received {"connection_id":186655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":186655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:29:16] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:16] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:16] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:29:16] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:16] 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-19 10:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:29: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-19 10:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:16] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:16] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:29:23] local.INFO: TCP Data received {"connection_id":189392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806da60012d1b5740071f6cd8003c005927..."} 
[2026-09-19 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806da60012d1b5740071f6cd8003c005927..."} 
[2026-09-19 10:29:23] local.INFO: Processing buffer {"connection_id":189392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806da60012d1b5740071f6cd8003c005927..."} 
[2026-09-19 10:29:23] local.INFO: Packet analysis {"connection_id":189392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:29:23] local.INFO: Extracted packet for processing {"connection_id":189392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119499992,"longitude_deg":75.6766528,"latitude_deg":11.9499992,"altitude":60,"angle":89,"satellites":39,"speed":11,"hex_longitude":"2d1b5740","hex_latitude":"071f6cd8","is_valid_coordinates":true} 
[2026-09-19 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187225856001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21596762011598848,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286357352448,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789793852000,"timestamp_ms":1789793852000,"timestamp_seconds":1789793852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806da60"} 
[2026-09-19 10:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:29:23] 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-19 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 10:29:23] 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-19 10:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:29:23] 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-19 10:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187225856001,"66":14363,"101":206,"83":41984,"24":11,"16":21596762011598848,"45":1969832286357352448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187225856001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:29:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21596762011598848,"km_value":21596762011598.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286357352448,"description":"Unknown IO ID 45"} 
[2026-09-19 10:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187225856001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1969832286357352448}} 
[2026-09-19 10:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":189392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:23] local.INFO: GPS data processed {"connection_id":189392,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:23] local.INFO: Acknowledgment sent {"connection_id":189392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:29:31] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b806ea00012c9fdbc007a9be40001800102e..."} 
[2026-09-19 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b806ea00012c9fdbc007a9be40001800102e..."} 
[2026-09-19 10:29:31] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b806ea00012c9fdbc007a9be40001800102e..."} 
[2026-09-19 10:29:31] local.INFO: Packet analysis {"connection_id":186779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:29:31] local.INFO: Extracted packet for processing {"connection_id":186779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b806"} 
[2026-09-19 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":748673984,"raw_latitude":128564800,"longitude_deg":74.8673984,"latitude_deg":12.85648,"altitude":24,"angle":16,"satellites":46,"speed":26,"hex_longitude":"2c9fdbc0","hex_latitude":"07a9be40","is_valid_coordinates":true} 
[2026-09-19 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187225344001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":310010739425280,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6929773156216582144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789793856000,"timestamp_ms":1789793856000,"timestamp_seconds":1789793856,"priority":1,"record_length":96,"hex_timestamp":"000001a0b806ea00"} 
[2026-09-19 10:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:29:31] 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-19 10:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187225344001,"66":28278,"47":206,"9":57344,"24":26,"16":310010739425280,"44":-6929773156216582144},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,9,24,16,44]} 
[2026-09-19 10:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187225344001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:29:31] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-19 10:29:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":310010739425280,"km_value":310010739425.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6929773156216582144,"description":"Unknown IO ID 44"} 
[2026-09-19 10:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187225344001,"power":28278,"unknown_47":206,"unknown_9":57344,"ignition":26,"odometer":null,"unknown_44":-6929773156216582144}} 
[2026-09-19 10:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":186779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:31] local.INFO: GPS data processed {"connection_id":186779,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:31] local.INFO: Acknowledgment sent {"connection_id":186779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:29:46] local.INFO: TCP Data received {"connection_id":188053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:46] local.INFO: Processing buffer {"connection_id":188053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:46] local.INFO: IMEI packet received {"connection_id":188053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":188053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:29:48] local.INFO: TCP Data received {"connection_id":186655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:48] local.INFO: Processing buffer {"connection_id":186655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:29:48] local.INFO: Packet analysis {"connection_id":186655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:29:48] local.INFO: Extracted packet for processing {"connection_id":186655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29: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-19 10:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10: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-19 10: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:29: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-19 10: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-19 10: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-19 10:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:29: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-19 10:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":186655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:48] local.INFO: GPS data processed {"connection_id":186655,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:48] local.INFO: Acknowledgment sent {"connection_id":186655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:29:50] local.INFO: TCP Data received {"connection_id":188053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:50] local.INFO: Processing buffer {"connection_id":188053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:29:50] local.INFO: IMEI packet received {"connection_id":188053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":188053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:29:50] local.INFO: TCP Data received {"connection_id":188053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b807b138012d1b8940071f77400041006428..."} 
[2026-09-19 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b807b138012d1b8940071f77400041006428..."} 
[2026-09-19 10:29:50] local.INFO: Processing buffer {"connection_id":188053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b807b138012d1b8940071f77400041006428..."} 
[2026-09-19 10:29:50] local.INFO: Packet analysis {"connection_id":188053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b807"} 
[2026-09-19 10:29:50] local.INFO: Extracted packet for processing {"connection_id":188053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b807"} 
[2026-09-19 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756779328,"raw_latitude":119502656,"longitude_deg":75.6779328,"latitude_deg":11.9502656,"altitude":65,"angle":100,"satellites":40,"speed":5,"hex_longitude":"2d1b8940","hex_latitude":"071f7740","is_valid_coordinates":true} 
[2026-09-19 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187239424001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597393371791360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983694928961034240,"note":"Value kept but may cause issues"} 
[2026-09-19 10:29:50] 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-19 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789793907000,"timestamp_ms":1789793907000,"timestamp_seconds":1789793907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b807b138"} 
[2026-09-19 10:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:29:50] 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-19 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 10:29:50] 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-19 10:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:29:50] 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-19 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187239424001,"66":14407,"101":206,"83":41984,"24":5,"16":21597393371791360,"45":1983694928961034240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187239424001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:29:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597393371791360,"km_value":21597393371791.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983694928961034240,"description":"Unknown IO ID 45"} 
[2026-09-19 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187239424001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1983694928961034240}} 
[2026-09-19 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":188053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:29:51] local.INFO: GPS data processed {"connection_id":188053,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:29:51] local.INFO: Acknowledgment sent {"connection_id":188053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:04] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8084d78012c9fa54007ab2638001401592f..."} 
[2026-09-19 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8084d78012c9fa54007ab2638001401592f..."} 
[2026-09-19 10:30:04] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8084d78012c9fa54007ab2638001401592f..."} 
[2026-09-19 10:30:04] local.INFO: Packet analysis {"connection_id":186779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:04] local.INFO: Extracted packet for processing {"connection_id":186779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":748660032,"raw_latitude":128656952,"longitude_deg":74.8660032,"latitude_deg":12.8656952,"altitude":20,"angle":345,"satellites":47,"speed":61,"hex_longitude":"2c9fa540","hex_latitude":"07ab2638","is_valid_coordinates":true} 
[2026-09-19 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187248896001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":314541929922560,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6941243261495056384,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789793947000,"timestamp_ms":1789793947000,"timestamp_seconds":1789793947,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8084d78"} 
[2026-09-19 10:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 10:30:04] 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-19 10:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187248896001,"66":28224,"175":206,"9":57344,"24":61,"16":314541929922560,"44":-6941243261495056384},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-19 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187248896001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-19 10:30:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":314541929922560,"km_value":314541929922.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6941243261495056384,"description":"Unknown IO ID 44"} 
[2026-09-19 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187248896001,"power":28224,"unknown_175":206,"unknown_9":57344,"ignition":61,"odometer":null,"unknown_44":-6941243261495056384}} 
[2026-09-19 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":186779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:04] local.INFO: GPS data processed {"connection_id":186779,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:04] local.INFO: Acknowledgment sent {"connection_id":186779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:09] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:09] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:09] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:30:15] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:15] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:30:15] local.INFO: IMEI packet received {"connection_id":186656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":186656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:30:15] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:30:15] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8042ae0012d34c14006aa41400008010e2b..."} 
[2026-09-19 10:30:15] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:30:15] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b804"} 
[2026-09-19 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187104000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30: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-19 10:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789793676000,"timestamp_ms":1789793676000,"timestamp_seconds":1789793676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8042ae0"} 
[2026-09-19 10:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:30: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-19 10:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:30: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-19 10:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187104000001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187104000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187104000001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:15] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:15] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:21] local.INFO: TCP Data received {"connection_id":188053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8080340012d1b8b40071f77a80041005c27..."} 
[2026-09-19 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8080340012d1b8b40071f77a80041005c27..."} 
[2026-09-19 10:30:21] local.INFO: Processing buffer {"connection_id":188053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8080340012d1b8b40071f77a80041005c27..."} 
[2026-09-19 10:30:21] local.INFO: Packet analysis {"connection_id":188053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:21] local.INFO: Extracted packet for processing {"connection_id":188053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756779840,"raw_latitude":119502760,"longitude_deg":75.677984,"latitude_deg":11.950276,"altitude":65,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d1b8b40","hex_latitude":"071f77a8","is_valid_coordinates":true} 
[2026-09-19 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187240192001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597423436562432,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984187510170271744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789793928000,"timestamp_ms":1789793928000,"timestamp_seconds":1789793928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8080340"} 
[2026-09-19 10:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:30:21] 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-19 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 10:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:30:21] 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-19 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187240192001,"66":14396,"101":206,"83":41984,"24":0,"16":21597423436562432,"45":1984187510170271744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187240192001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597423436562432,"km_value":21597423436562.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984187510170271744,"description":"Unknown IO ID 45"} 
[2026-09-19 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187240192001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1984187510170271744}} 
[2026-09-19 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":188053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:21] local.INFO: GPS data processed {"connection_id":188053,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:21] local.INFO: Acknowledgment sent {"connection_id":188053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:36] local.INFO: TCP Data received {"connection_id":186779,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8086100012c9f9b0007ab42300013014d2f..."} 
[2026-09-19 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8086100012c9f9b0007ab42300013014d2f..."} 
[2026-09-19 10:30:36] local.INFO: Processing buffer {"connection_id":186779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8086100012c9f9b0007ab42300013014d2f..."} 
[2026-09-19 10:30:36] local.INFO: Packet analysis {"connection_id":186779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:36] local.INFO: Extracted packet for processing {"connection_id":186779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":748657408,"raw_latitude":128664112,"longitude_deg":74.8657408,"latitude_deg":12.8664112,"altitude":19,"angle":333,"satellites":47,"speed":58,"hex_longitude":"2c9f9b00","hex_latitude":"07ab4230","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187250432001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":314915592077312,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6943072848841394176,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789793952000,"timestamp_ms":1789793952000,"timestamp_seconds":1789793952,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8086100"} 
[2026-09-19 10: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-19 10:30: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-19 10: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 10:30:36] 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-19 10: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-19 10: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-19 10:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187250432001,"66":28234,"175":206,"9":57344,"24":58,"16":314915592077312,"44":-6943072848841394176},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-19 10:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187250432001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-19 10:30:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":314915592077312,"km_value":314915592077.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6943072848841394176,"description":"Unknown IO ID 44"} 
[2026-09-19 10:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187250432001,"power":28234,"unknown_175":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-6943072848841394176}} 
[2026-09-19 10:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":186779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:36] local.INFO: GPS data processed {"connection_id":186779,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:36] local.INFO: Acknowledgment sent {"connection_id":186779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:44] local.INFO: TCP Data received {"connection_id":189393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:44] local.INFO: Processing buffer {"connection_id":189393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:44] local.INFO: IMEI packet received {"connection_id":189393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":189393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:30:47] local.INFO: TCP Data received {"connection_id":189393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:47] local.INFO: Processing buffer {"connection_id":189393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:47] local.INFO: IMEI packet received {"connection_id":189393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":189393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:30:47] local.INFO: TCP Data received {"connection_id":186656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:30:47] local.INFO: Processing buffer {"connection_id":186656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:30:47] local.INFO: Packet analysis {"connection_id":186656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:47] local.INFO: Extracted packet for processing {"connection_id":186656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30: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-19 10:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10: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-19 10:30: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:30: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-19 10: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-19 10: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-19 10:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:30:47] 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-19 10:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":186656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:47] local.INFO: GPS data processed {"connection_id":186656,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:47] local.INFO: Acknowledgment sent {"connection_id":186656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:30:51] local.INFO: TCP Data received {"connection_id":189393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:51] local.INFO: Processing buffer {"connection_id":189393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:30:51] local.INFO: IMEI packet received {"connection_id":189393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":189393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:30:52] local.INFO: TCP Data received {"connection_id":189393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808e1e8012d1ba080071f71d0004b00be28..."} 
[2026-09-19 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808e1e8012d1ba080071f71d0004b00be28..."} 
[2026-09-19 10:30:52] local.INFO: Processing buffer {"connection_id":189393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808e1e8012d1ba080071f71d0004b00be28..."} 
[2026-09-19 10:30:52] local.INFO: Packet analysis {"connection_id":189393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:52] local.INFO: Extracted packet for processing {"connection_id":189393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756785280,"raw_latitude":119501264,"longitude_deg":75.678528,"latitude_deg":11.9501264,"altitude":75,"angle":190,"satellites":40,"speed":3,"hex_longitude":"2d1ba080","hex_latitude":"071f71d0","is_valid_coordinates":true} 
[2026-09-19 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187259136001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597736969175040,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990591065890191360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:30:52] 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-19 10:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793985000,"timestamp_ms":1789793985000,"timestamp_seconds":1789793985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808e1e8"} 
[2026-09-19 10:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:30:52] 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-19 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-19 10:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:30:52] 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-19 10:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187259136001,"66":13722,"101":206,"83":41984,"24":3,"16":21597736969175040,"45":1990591065890191360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187259136001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597736969175040,"km_value":21597736969175.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990591065890191360,"description":"Unknown IO ID 45"} 
[2026-09-19 10:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187259136001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1990591065890191360}} 
[2026-09-19 10:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":189393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:30:52] local.INFO: GPS data processed {"connection_id":189393,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:30:52] local.INFO: Acknowledgment sent {"connection_id":189393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:31:09] local.INFO: TCP Data received {"connection_id":189394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:09] local.INFO: Processing buffer {"connection_id":189394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:09] local.INFO: IMEI packet received {"connection_id":189394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":189394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:31:15] local.INFO: TCP Data received {"connection_id":189394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:15] local.INFO: Processing buffer {"connection_id":189394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:31:15] local.INFO: IMEI packet received {"connection_id":189394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":189394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:31:16] local.INFO: TCP Data received {"connection_id":189394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:16] local.INFO: Processing buffer {"connection_id":189394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:16] local.INFO: Packet analysis {"connection_id":189394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:16] local.INFO: Extracted packet for processing {"connection_id":189394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:16] 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-19 10:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:31: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-19 10:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:31:16] 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-19 10:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":189394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:31:16] local.INFO: GPS data processed {"connection_id":189394,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:31:16] local.INFO: Acknowledgment sent {"connection_id":189394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:31:24] local.INFO: TCP Data received {"connection_id":189393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808eda0012d1ba0c0071f70d0004d00cf28..."} 
[2026-09-19 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808eda0012d1ba0c0071f70d0004d00cf28..."} 
[2026-09-19 10:31:24] local.INFO: Processing buffer {"connection_id":189393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808eda0012d1ba0c0071f70d0004d00cf28..."} 
[2026-09-19 10:31:24] local.INFO: Packet analysis {"connection_id":189393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:24] local.INFO: Extracted packet for processing {"connection_id":189393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756785344,"raw_latitude":119501008,"longitude_deg":75.6785344,"latitude_deg":11.9501008,"altitude":77,"angle":207,"satellites":40,"speed":2,"hex_longitude":"2d1ba0c0","hex_latitude":"071f70d0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187260160001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597754149044224,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990731803378438144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:24] 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-19 10:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789793988000,"timestamp_ms":1789793988000,"timestamp_seconds":1789793988,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808eda0"} 
[2026-09-19 10: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-19 10:31:24] 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-19 10: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 10:31:24] 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-19 10: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-19 10: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-19 10:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:31:24] 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-19 10:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187260160001,"66":13276,"101":206,"83":41984,"24":2,"16":21597754149044224,"45":1990731803378438144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187260160001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:31:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597754149044224,"km_value":21597754149044.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990731803378438144,"description":"Unknown IO ID 45"} 
[2026-09-19 10:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187260160001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990731803378438144}} 
[2026-09-19 10:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":189393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:31:24] local.INFO: GPS data processed {"connection_id":189393,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:31:24] local.INFO: Acknowledgment sent {"connection_id":189393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:31:47] local.INFO: TCP Data received {"connection_id":188054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:47] local.INFO: Processing buffer {"connection_id":188054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:47] local.INFO: IMEI packet received {"connection_id":188054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":188054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:31:48] local.INFO: TCP Data received {"connection_id":189394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:48] local.INFO: Processing buffer {"connection_id":189394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:31:48] local.INFO: Packet analysis {"connection_id":189394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:48] local.INFO: Extracted packet for processing {"connection_id":189394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31: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-19 10:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:31: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-19 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:31: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-19 10:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:31: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-19 10:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":189394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:31:48] local.INFO: GPS data processed {"connection_id":189394,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:31:48] local.INFO: Acknowledgment sent {"connection_id":189394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:31:51] local.INFO: TCP Data received {"connection_id":188054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:51] local.INFO: Processing buffer {"connection_id":188054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:31:51] local.INFO: IMEI packet received {"connection_id":188054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":188054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:31:52] local.INFO: TCP Data received {"connection_id":188054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808f188012d1ba0c0071f7098004e00ac26..."} 
[2026-09-19 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808f188012d1ba0c0071f7098004e00ac26..."} 
[2026-09-19 10:31:52] local.INFO: Processing buffer {"connection_id":188054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808f188012d1ba0c0071f7098004e00ac26..."} 
[2026-09-19 10:31:52] local.INFO: Packet analysis {"connection_id":188054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:52] local.INFO: Extracted packet for processing {"connection_id":188054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756785344,"raw_latitude":119500952,"longitude_deg":75.6785344,"latitude_deg":11.9500952,"altitude":78,"angle":172,"satellites":38,"speed":2,"hex_longitude":"2d1ba0c0","hex_latitude":"071f7098","is_valid_coordinates":true} 
[2026-09-19 10:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187260928001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597754149044224,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990802172122550272,"note":"Value kept but may cause issues"} 
[2026-09-19 10:31:52] 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-19 10:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789793989000,"timestamp_ms":1789793989000,"timestamp_seconds":1789793989,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808f188"} 
[2026-09-19 10:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:31:52] 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-19 10:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-19 10:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:31:52] 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-19 10:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187260928001,"66":13243,"101":206,"83":41984,"24":2,"16":21597754149044224,"45":1990802172122550272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187260928001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:31:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597754149044224,"km_value":21597754149044.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990802172122550272,"description":"Unknown IO ID 45"} 
[2026-09-19 10:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187260928001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990802172122550272}} 
[2026-09-19 10:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":188054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:31:52] local.INFO: GPS data processed {"connection_id":188054,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:31:52] local.INFO: Acknowledgment sent {"connection_id":188054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:32:15] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:15] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:15] local.INFO: IMEI packet received {"connection_id":186780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":186780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:32:19] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:19] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:32:19] local.INFO: IMEI packet received {"connection_id":186780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":186780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:32:20] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:20] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:20] local.INFO: Packet analysis {"connection_id":186780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:32:20] local.INFO: Extracted packet for processing {"connection_id":186780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:20] 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-19 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:32: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-19 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:32:20] 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-19 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":186780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:32:20] local.INFO: GPS data processed {"connection_id":186780,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:32:20] local.INFO: Acknowledgment sent {"connection_id":186780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:32:23] local.INFO: TCP Data received {"connection_id":188054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8092838012d1ba080071f7010004f00ea22..."} 
[2026-09-19 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8092838012d1ba080071f7010004f00ea22..."} 
[2026-09-19 10:32:23] local.INFO: Processing buffer {"connection_id":188054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8092838012d1ba080071f7010004f00ea22..."} 
[2026-09-19 10:32:23] local.INFO: Packet analysis {"connection_id":188054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:32:23] local.INFO: Extracted packet for processing {"connection_id":188054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756785280,"raw_latitude":119500816,"longitude_deg":75.678528,"latitude_deg":11.9500816,"altitude":79,"angle":234,"satellites":34,"speed":2,"hex_longitude":"2d1ba080","hex_latitude":"071f7010","is_valid_coordinates":true} 
[2026-09-19 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187261184001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597771328913408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990802172122535936,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789794003000,"timestamp_ms":1789794003000,"timestamp_seconds":1789794003,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8092838"} 
[2026-09-19 10:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:32:23] 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-19 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 10:32:23] 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-19 10:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:32:23] 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-19 10:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187261184001,"66":13319,"101":206,"83":41984,"24":2,"16":21597771328913408,"45":1990802172122535936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187261184001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:32:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597771328913408,"km_value":21597771328913.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990802172122535936,"description":"Unknown IO ID 45"} 
[2026-09-19 10:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187261184001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990802172122535936}} 
[2026-09-19 10:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":188054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:32:23] local.INFO: GPS data processed {"connection_id":188054,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:32:23] local.INFO: Acknowledgment sent {"connection_id":188054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:32:25] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:25] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:32:25] local.INFO: Packet analysis {"connection_id":186780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:32:25] local.INFO: Extracted packet for processing {"connection_id":186780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:25] 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-19 10:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10: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-19 10:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:32:25] 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-19 10:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":186780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:32:25] local.INFO: GPS data processed {"connection_id":186780,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:32:25] local.INFO: Acknowledgment sent {"connection_id":186780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:32:46] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:46] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:46] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:32:51] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:51] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:32:51] local.INFO: IMEI packet received {"connection_id":186657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":186657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:32:52] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80933f0012d1ba000071f6fc0004f00f922..."} 
[2026-09-19 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80933f0012d1ba000071f6fc0004f00f922..."} 
[2026-09-19 10:32:52] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80933f0012d1ba000071f6fc0004f00f922..."} 
[2026-09-19 10:32:52] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:32:52] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756785152,"raw_latitude":119500736,"longitude_deg":75.6785152,"latitude_deg":11.9500736,"altitude":79,"angle":249,"satellites":34,"speed":2,"hex_longitude":"2d1ba000","hex_latitude":"071f6fc0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187264768001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597779918848000,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990731803378323456,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] 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-19 10:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789794006000,"timestamp_ms":1789794006000,"timestamp_seconds":1789794006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80933f0"} 
[2026-09-19 10: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-19 10:32:52] 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-19 10:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3087578864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":8570350387248310528,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 10:32:52] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2013343003,"corrected_to":0} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3137273856,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-5546181647858188281,"note":"Value kept but may cause issues"} 
[2026-09-19 10:32:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,187,160,45,192,112,78,38,10,66,237,77,40,225,128,1,240,154,227,184,31,4,113,205,202,104,39,239,56,2,76,7,69,5,180,8],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":2013343003,"validated":0}]} 
[2026-09-19 10:32:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692807360746225664,"timestamp_seconds":5692807360746226.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10: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-19 10:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:32:52] 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-19 10:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187264768001,"66":12743,"101":206,"83":41984,"24":2,"16":21597779918848000,"45":1990731803378323456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187264768001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:32:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597779918848000,"km_value":21597779918848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990731803378323456,"description":"Unknown IO ID 45"} 
[2026-09-19 10:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187264768001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990731803378323456}} 
[2026-09-19 10:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:32:52] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:32:52] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:33:09] local.INFO: TCP Data received {"connection_id":189395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:09] local.INFO: Processing buffer {"connection_id":189395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:09] local.INFO: IMEI packet received {"connection_id":189395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":189395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:33:15] local.INFO: TCP Data received {"connection_id":189395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:15] local.INFO: Processing buffer {"connection_id":189395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:33:15] local.INFO: IMEI packet received {"connection_id":189395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":189395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:33:16] local.INFO: TCP Data received {"connection_id":189395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:16] local.INFO: Processing buffer {"connection_id":189395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:16] local.INFO: Packet analysis {"connection_id":189395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:33:16] local.INFO: Extracted packet for processing {"connection_id":189395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:16] 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-19 10:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10: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-19 10:33: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:33:16] 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-19 10:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":189395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:33:16] local.INFO: GPS data processed {"connection_id":189395,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:33:16] local.INFO: Acknowledgment sent {"connection_id":189395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:33:23] local.INFO: TCP Data received {"connection_id":186657,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80962d0012d1ba100071f6f50004f005b27..."} 
[2026-09-19 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80962d0012d1ba100071f6f50004f005b27..."} 
[2026-09-19 10:33:23] local.INFO: Processing buffer {"connection_id":186657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80962d0012d1ba100071f6f50004f005b27..."} 
[2026-09-19 10:33:23] local.INFO: Packet analysis {"connection_id":186657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:33:23] local.INFO: Extracted packet for processing {"connection_id":186657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756785408,"raw_latitude":119500624,"longitude_deg":75.6785408,"latitude_deg":11.9500624,"altitude":79,"angle":91,"satellites":39,"speed":1,"hex_longitude":"2d1ba100","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187265536001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597805688651776,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990591065889947648,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789794018000,"timestamp_ms":1789794018000,"timestamp_seconds":1789794018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80962d0"} 
[2026-09-19 10:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:33:23] 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-19 10:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 10:33:23] 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-19 10:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:33:23] 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-19 10:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187265536001,"66":13243,"101":206,"83":41984,"24":1,"16":21597805688651776,"45":1990591065889947648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187265536001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:33:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597805688651776,"km_value":21597805688651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990591065889947648,"description":"Unknown IO ID 45"} 
[2026-09-19 10:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187265536001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1990591065889947648}} 
[2026-09-19 10:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:33:23] local.INFO: GPS data processed {"connection_id":186657,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:33:23] local.INFO: Acknowledgment sent {"connection_id":186657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:33:34] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:34] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:34] local.INFO: IMEI packet received {"connection_id":186781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":186781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:33:39] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:39] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:33:39] local.INFO: IMEI packet received {"connection_id":186781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":186781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:33:41] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80ab2c0012c9f560007ad54a8003001662e..."} 
[2026-09-19 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80ab2c0012c9f560007ad54a8003001662e..."} 
[2026-09-19 10:33:41] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80ab2c0012c9f560007ad54a8003001662e..."} 
[2026-09-19 10:33:41] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:33:41] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":748639744,"raw_latitude":128799912,"longitude_deg":74.8639744,"latitude_deg":12.8799912,"altitude":48,"angle":358,"satellites":46,"speed":26,"hex_longitude":"2c9f5600","hex_latitude":"07ad54a8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187288576001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322028057919488,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6964535315780308992,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789794104000,"timestamp_ms":1789794104000,"timestamp_seconds":1789794104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80ab2c0"} 
[2026-09-19 10: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-19 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 10:33:41] 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-19 10: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-19 10: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-19 10:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187288576001,"66":28267,"207":206,"9":57344,"24":26,"16":322028057919488,"44":-6964535315780308992},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187288576001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:33:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:33:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322028057919488,"km_value":322028057919.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6964535315780308992,"description":"Unknown IO ID 44"} 
[2026-09-19 10:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187288576001,"power":28267,"unknown_207":206,"unknown_9":57344,"ignition":26,"odometer":null,"unknown_44":-6964535315780308992}} 
[2026-09-19 10:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:33:41] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:33:41] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:33:47] local.INFO: TCP Data received {"connection_id":189395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:47] local.INFO: Processing buffer {"connection_id":189395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:33:47] local.INFO: Packet analysis {"connection_id":189395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:33:47] local.INFO: Extracted packet for processing {"connection_id":189395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:33: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-19 10:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:33: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-19 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:33: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-19 10:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:33: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-19 10:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":189395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:33:47] local.INFO: GPS data processed {"connection_id":189395,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:33:47] local.INFO: Acknowledgment sent {"connection_id":189395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:10] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:10] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:10] local.INFO: IMEI packet received {"connection_id":188055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":188055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:34:12] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80ae970012c9f590007ad7990003500062c..."} 
[2026-09-19 10:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80ae970012c9f590007ad7990003500062c..."} 
[2026-09-19 10:34:12] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80ae970012c9f590007ad7990003500062c..."} 
[2026-09-19 10:34:12] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:34:12] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:34:12] local.INFO: GPS Element Parsed {"raw_longitude":748640512,"raw_latitude":128809360,"longitude_deg":74.8640512,"latitude_deg":12.880936,"altitude":53,"angle":6,"satellites":44,"speed":27,"hex_longitude":"2c9f5900","hex_latitude":"07ad7990","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187290624001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322487619420160,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6965379740709115904,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789794118000,"timestamp_ms":1789794118000,"timestamp_seconds":1789794118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80ae970"} 
[2026-09-19 10: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-19 10:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:34:12] 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-19 10: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-19 10: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-19 10:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187290624001,"66":28332,"207":206,"9":57344,"24":27,"16":322487619420160,"44":-6965379740709115904},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187290624001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:34:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322487619420160,"km_value":322487619420.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6965379740709115904,"description":"Unknown IO ID 44"} 
[2026-09-19 10:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187290624001,"power":28332,"unknown_207":206,"unknown_9":57344,"ignition":27,"odometer":null,"unknown_44":-6965379740709115904}} 
[2026-09-19 10:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:12] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:12] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:14] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:14] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:34:14] local.INFO: IMEI packet received {"connection_id":188055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:34:16] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:16] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:16] local.INFO: Packet analysis {"connection_id":188055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:34:16] local.INFO: Extracted packet for processing {"connection_id":188055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:16] 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-19 10:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10: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-19 10:34: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:34:16] 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-19 10:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":188055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:16] local.INFO: GPS data processed {"connection_id":188055,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:16] local.INFO: Acknowledgment sent {"connection_id":188055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:21] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:21] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:21] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:34:27] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:27] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:27] local.INFO: IMEI packet received {"connection_id":188056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":188056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:34:27] local.INFO: TCP Data received {"connection_id":188056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b809b4d8012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b809b4d8012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:27] local.INFO: Processing buffer {"connection_id":188056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b809b4d8012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:27] local.INFO: Packet analysis {"connection_id":188056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:34:27] local.INFO: Extracted packet for processing {"connection_id":188056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b809"} 
[2026-09-19 10:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":36,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187268608001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990872540866629632,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:27] 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-19 10:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789794039000,"timestamp_ms":1789794039000,"timestamp_seconds":1789794039,"priority":1,"record_length":96,"hex_timestamp":"000001a0b809b4d8"} 
[2026-09-19 10: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-19 10:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 10:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:34:27] 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-19 10:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187268608001,"66":13102,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1990872540866629632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187268608001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990872540866629632,"description":"Unknown IO ID 45"} 
[2026-09-19 10:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187268608001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1990872540866629632}} 
[2026-09-19 10:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":188056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:27] local.INFO: GPS data processed {"connection_id":188056,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:27] local.INFO: Acknowledgment sent {"connection_id":188056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:44] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80b2bd8012c9f5e8007ada5c8003a000828..."} 
[2026-09-19 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80b2bd8012c9f5e8007ada5c8003a000828..."} 
[2026-09-19 10:34:44] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80b2bd8012c9f5e8007ada5c8003a000828..."} 
[2026-09-19 10:34:44] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:34:44] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":748641920,"raw_latitude":128820680,"longitude_deg":74.864192,"latitude_deg":12.882068,"altitude":58,"angle":8,"satellites":40,"speed":26,"hex_longitude":"2c9f5e80","hex_latitude":"07ada5c8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187294208001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323041670201344,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6964535315776565248,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789794135000,"timestamp_ms":1789794135000,"timestamp_seconds":1789794135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80b2bd8"} 
[2026-09-19 10: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-19 10:34: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-19 10: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 10:34:44] 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-19 10: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-19 10: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-19 10:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187294208001,"66":28234,"207":206,"9":57344,"24":26,"16":323041670201344,"44":-6964535315776565248},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187294208001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323041670201344,"km_value":323041670201.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6964535315776565248,"description":"Unknown IO ID 44"} 
[2026-09-19 10:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187294208001,"power":28234,"unknown_207":206,"unknown_9":57344,"ignition":26,"odometer":null,"unknown_44":-6964535315776565248}} 
[2026-09-19 10:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:44] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:44] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:47] local.INFO: TCP Data received {"connection_id":188055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:47] local.INFO: Processing buffer {"connection_id":188055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:34:47] local.INFO: Packet analysis {"connection_id":188055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:34:47] local.INFO: Extracted packet for processing {"connection_id":188055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34: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-19 10:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 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-19 10:34: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:34: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-19 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-19 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-19 10:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:34:47] 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-19 10:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":188055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:47] local.INFO: GPS data processed {"connection_id":188055,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:47] local.INFO: Acknowledgment sent {"connection_id":188055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:34:52] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:52] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:52] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:34:56] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:56] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:34:56] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:34:57] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80a06e0012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80a06e0012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:57] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80a06e0012d1ba200071f6f50004f005a24..."} 
[2026-09-19 10:34:57] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:34:57] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":36,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187273984001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789794060000,"timestamp_ms":1789794060000,"timestamp_seconds":1789794060,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80a06e0"} 
[2026-09-19 10:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:34:57] 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-19 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 10:34:57] 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-19 10:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:34:57] 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-19 10:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187273984001,"66":13015,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187273984001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:34:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187273984001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:34:57] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:34:57] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:09] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:09] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:09] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:35:15] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:15] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:35:15] local.INFO: IMEI packet received {"connection_id":186658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":186658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:35:16] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80b5ab8012c9f620007adc448003c01642a..."} 
[2026-09-19 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80b5ab8012c9f620007adc448003c01642a..."} 
[2026-09-19 10:35:16] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80b5ab8012c9f620007adc448003c01642a..."} 
[2026-09-19 10:35:16] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:35:16] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":748642816,"raw_latitude":128828488,"longitude_deg":74.8642816,"latitude_deg":12.8828488,"altitude":60,"angle":356,"satellites":42,"speed":25,"hex_longitude":"2c9f6200","hex_latitude":"07adc448","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187298560001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323423922290688,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6962987203401758720,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794147000,"timestamp_ms":1789794147000,"timestamp_seconds":1789794147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80b5ab8"} 
[2026-09-19 10: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-19 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 10:35:16] 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-19 10: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-19 10: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-19 10:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187298560001,"66":28452,"207":206,"9":57344,"24":25,"16":323423922290688,"44":-6962987203401758720},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187298560001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323423922290688,"km_value":323423922290.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6962987203401758720,"description":"Unknown IO ID 44"} 
[2026-09-19 10:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187298560001,"power":28452,"unknown_207":206,"unknown_9":57344,"ignition":25,"odometer":null,"unknown_44":-6962987203401758720}} 
[2026-09-19 10:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:16] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:16] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:16] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:16] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b808c2a8012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:16] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:35:16] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b808"} 
[2026-09-19 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187181056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:16] 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-19 10:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789793977000,"timestamp_ms":1789793977000,"timestamp_seconds":1789793977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b808c2a8"} 
[2026-09-19 10: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-19 10:35: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:35: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-19 10:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187181056001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187181056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187181056001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:16] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:16] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:28] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80a58e8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80a58e8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:28] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80a58e8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:28] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:35:28] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":37,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187279360001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35: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-19 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789794081000,"timestamp_ms":1789794081000,"timestamp_seconds":1789794081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80a58e8"} 
[2026-09-19 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 10:35:28] 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-19 10:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:35:28] 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-19 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187279360001,"66":12993,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187279360001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187279360001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:28] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:28] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:46] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:46] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:46] local.INFO: IMEI packet received {"connection_id":186659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":186659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:35:47] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80b6670012c9f608007adcb28003d01552b..."} 
[2026-09-19 10:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80b6670012c9f608007adcb28003d01552b..."} 
[2026-09-19 10:35:47] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80b6670012c9f608007adcb28003d01552b..."} 
[2026-09-19 10:35:47] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:35:47] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:35:47] local.INFO: GPS Element Parsed {"raw_longitude":748642432,"raw_latitude":128830248,"longitude_deg":74.8642432,"latitude_deg":12.8830248,"altitude":61,"angle":341,"satellites":43,"speed":21,"hex_longitude":"2c9f6080","hex_latitude":"07adcb28","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187301632001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323509821636608,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6962002040981272576,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794150000,"timestamp_ms":1789794150000,"timestamp_seconds":1789794150,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80b6670"} 
[2026-09-19 10: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-19 10:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 10:35:47] 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-19 10: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-19 10: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-19 10:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187301632001,"66":28430,"207":206,"9":57344,"24":21,"16":323509821636608,"44":-6962002040981272576},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187301632001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323509821636608,"km_value":323509821636.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6962002040981272576,"description":"Unknown IO ID 44"} 
[2026-09-19 10:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187301632001,"power":28430,"unknown_207":206,"unknown_9":57344,"ignition":21,"odometer":null,"unknown_44":-6962002040981272576}} 
[2026-09-19 10:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:48] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:48] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:48] local.INFO: TCP Data received {"connection_id":186658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:48] local.INFO: Processing buffer {"connection_id":186658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:35:48] local.INFO: Packet analysis {"connection_id":186658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:35:48] local.INFO: Extracted packet for processing {"connection_id":186658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35: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-19 10:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:35: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:35: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-19 10: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-19 10: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-19 10:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:35: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-19 10:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":186658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:48] local.INFO: GPS data processed {"connection_id":186658,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:48] local.INFO: Acknowledgment sent {"connection_id":186658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:35:51] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:51] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:35:51] local.INFO: IMEI packet received {"connection_id":186659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":186659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:35:51] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80aaaf0012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80aaaf0012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:51] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80aaaf0012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:35:51] local.INFO: Packet analysis {"connection_id":186659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:35:51] local.INFO: Extracted packet for processing {"connection_id":186659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":37,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187284736001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:35:51] 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-19 10:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789794102000,"timestamp_ms":1789794102000,"timestamp_seconds":1789794102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80aaaf0"} 
[2026-09-19 10:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:35:51] 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-19 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 10:35:51] 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-19 10:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:35:51] 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-19 10:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187284736001,"66":12961,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187284736001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:35:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187284736001,"power":12961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":186659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:35:51] local.INFO: GPS data processed {"connection_id":186659,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:35:51] local.INFO: Acknowledgment sent {"connection_id":186659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:10] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:10] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:10] local.INFO: IMEI packet received {"connection_id":188057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:36:15] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:15] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:36:15] local.INFO: IMEI packet received {"connection_id":188057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:36:16] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:16] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:16] local.INFO: Packet analysis {"connection_id":188057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:36:16] local.INFO: Extracted packet for processing {"connection_id":188057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:16] 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-19 10:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:36: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:36:16] 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-19 10:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":188057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:16] local.INFO: GPS data processed {"connection_id":188057,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:16] local.INFO: Acknowledgment sent {"connection_id":188057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:19] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80bb878012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80bb878012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:19] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80bb878012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:19] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:36:19] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":748641152,"raw_latitude":128832992,"longitude_deg":74.8641152,"latitude_deg":12.8832992,"altitude":63,"angle":332,"satellites":44,"speed":0,"hex_longitude":"2c9f5b80","hex_latitude":"07add5e0","is_valid_coordinates":true} 
[2026-09-19 10:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187302400001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6962424253445888000,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789794171000,"timestamp_ms":1789794171000,"timestamp_seconds":1789794171,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80bb878"} 
[2026-09-19 10:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 10:36:19] 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-19 10:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187302400001,"66":28104,"63":206,"9":57344,"24":0,"16":323660145491968,"44":-6962424253445888000},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187302400001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 10:36:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6962424253445888000,"description":"Unknown IO ID 44"} 
[2026-09-19 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187302400001,"power":28104,"unknown_63":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6962424253445888000}} 
[2026-09-19 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:19] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:19] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:22] local.INFO: TCP Data received {"connection_id":186659,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80afcf8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80afcf8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:22] local.INFO: Processing buffer {"connection_id":186659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80afcf8012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:22] local.INFO: Packet analysis {"connection_id":186659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:36:22] local.INFO: Extracted packet for processing {"connection_id":186659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80a"} 
[2026-09-19 10:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":37,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187290112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:22] 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-19 10:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789794123000,"timestamp_ms":1789794123000,"timestamp_seconds":1789794123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80afcf8"} 
[2026-09-19 10:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:36:22] 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-19 10:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-19 10:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:36:22] 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-19 10:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187290112001,"66":12885,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187290112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187290112001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:22] local.INFO: GPS data processed {"connection_id":186659,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:22] local.INFO: Acknowledgment sent {"connection_id":186659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:46] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:46] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:46] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:36:47] local.INFO: TCP Data received {"connection_id":188057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:47] local.INFO: Processing buffer {"connection_id":188057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:36:47] local.INFO: Packet analysis {"connection_id":188057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:36:47] local.INFO: Extracted packet for processing {"connection_id":188057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36: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-19 10:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:36: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:36: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-19 10: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-19 10: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-19 10:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:36: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-19 10:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":188057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:47] local.INFO: GPS data processed {"connection_id":188057,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:47] local.INFO: Acknowledgment sent {"connection_id":188057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:51] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80c0a80012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80c0a80012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:51] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80c0a80012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:36:51] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:36:51] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":748641152,"raw_latitude":128832992,"longitude_deg":74.8641152,"latitude_deg":12.8832992,"altitude":63,"angle":332,"satellites":44,"speed":0,"hex_longitude":"2c9f5b80","hex_latitude":"07add5e0","is_valid_coordinates":true} 
[2026-09-19 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187307776001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6963831628328738816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789794192000,"timestamp_ms":1789794192000,"timestamp_seconds":1789794192,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80c0a80"} 
[2026-09-19 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-19 10:36:51] 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-19 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187307776001,"66":28137,"63":206,"9":57344,"24":0,"16":323660145491968,"44":-6963831628328738816},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187307776001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 10:36:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6963831628328738816,"description":"Unknown IO ID 44"} 
[2026-09-19 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187307776001,"power":28137,"unknown_63":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6963831628328738816}} 
[2026-09-19 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:51] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:51] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:36:51] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:51] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:36:51] local.INFO: IMEI packet received {"connection_id":186660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":186660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:36:52] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80b4f00012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80b4f00012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:52] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80b4f00012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:36:52] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:36:52] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":37,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187295488001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:36:52] 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-19 10:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789794144000,"timestamp_ms":1789794144000,"timestamp_seconds":1789794144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80b4f00"} 
[2026-09-19 10:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:36:52] 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-19 10:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 10:36:52] 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-19 10:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:36:52] 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-19 10:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187295488001,"66":12863,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187295488001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:36:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187295488001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:36:52] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:36:52] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:15] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:15] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:15] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:37:20] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:20] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:37:20] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:37:21] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:21] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:21] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:37:21] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:21] 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-19 10:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:21] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:21] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:22] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80c5c88012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80c5c88012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:37:22] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80c5c88012c9f5b8007add5e0003f014c2c..."} 
[2026-09-19 10:37:22] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:37:22] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":748641152,"raw_latitude":128832992,"longitude_deg":74.8641152,"latitude_deg":12.8832992,"altitude":63,"angle":332,"satellites":44,"speed":0,"hex_longitude":"2c9f5b80","hex_latitude":"07add5e0","is_valid_coordinates":true} 
[2026-09-19 10:37: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-19 10:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187313152001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6963831628328738816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789794213000,"timestamp_ms":1789794213000,"timestamp_seconds":1789794213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80c5c88"} 
[2026-09-19 10:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:37: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":233,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:22] 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-19 10:37: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-19 10:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187313152001,"66":28148,"63":206,"9":57344,"24":0,"16":323660145491968,"44":-6963831628328738816},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 10:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187313152001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 10:37:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6963831628328738816,"description":"Unknown IO ID 44"} 
[2026-09-19 10:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187313152001,"power":28148,"unknown_63":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6963831628328738816}} 
[2026-09-19 10:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:22] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:22] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:23] local.INFO: TCP Data received {"connection_id":186660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80ba108012d1ba200071f6f50004f005a26..."} 
[2026-09-19 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80ba108012d1ba200071f6f50004f005a26..."} 
[2026-09-19 10:37:23] local.INFO: Processing buffer {"connection_id":186660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80ba108012d1ba200071f6f50004f005a26..."} 
[2026-09-19 10:37:23] local.INFO: Packet analysis {"connection_id":186660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:37:23] local.INFO: Extracted packet for processing {"connection_id":186660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":38,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187300864001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789794165000,"timestamp_ms":1789794165000,"timestamp_seconds":1789794165,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80ba108"} 
[2026-09-19 10:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:23] 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-19 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:23] 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-19 10:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37:23] 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-19 10:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187300864001,"66":12809,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187300864001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187300864001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":186660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:24] local.INFO: GPS data processed {"connection_id":186660,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:24] local.INFO: Acknowledgment sent {"connection_id":186660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:26] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:26] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:37:26] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:37:26] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:26] 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-19 10:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:26] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:26] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:52] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:52] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:52] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:37:54] local.INFO: TCP Data received {"connection_id":186781,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80cae90012c9f418007adfde80046014b2c..."} 
[2026-09-19 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80cae90012c9f418007adfde80046014b2c..."} 
[2026-09-19 10:37:54] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80cae90012c9f418007adfde80046014b2c..."} 
[2026-09-19 10:37:54] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:37:54] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80c"} 
[2026-09-19 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":748634496,"raw_latitude":128843240,"longitude_deg":74.8634496,"latitude_deg":12.884324,"altitude":70,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2c9f4180","hex_latitude":"07adfde8","is_valid_coordinates":true} 
[2026-09-19 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187318528001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6963831628328738816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789794234000,"timestamp_ms":1789794234000,"timestamp_seconds":1789794234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80cae90"} 
[2026-09-19 10:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:54] 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-19 10:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187318528001,"66":28234,"63":206,"9":57344,"24":0,"16":323660145491968,"44":-6963831628328738816},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 10:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187318528001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 10:37:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6963831628328738816,"description":"Unknown IO ID 44"} 
[2026-09-19 10:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187318528001,"power":28234,"unknown_63":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6963831628328738816}} 
[2026-09-19 10:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:54] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:54] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:58] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:58] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:37:58] local.INFO: IMEI packet received {"connection_id":186661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":186661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:37:58] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80bf310012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80bf310012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:37:58] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80bf310012d1ba200071f6f50004f005a25..."} 
[2026-09-19 10:37:58] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:37:58] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80b"} 
[2026-09-19 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":37,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187306240001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37: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-19 10:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789794186000,"timestamp_ms":1789794186000,"timestamp_seconds":1789794186,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80bf310"} 
[2026-09-19 10:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:37:58] 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-19 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3087643864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":184,"raw_value":676331597529325824,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3758173467,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154040,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3138977792,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2265117099846294311,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875242719006291,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:58] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,187,160,79,45,111,37,10,66,252,170,1,240,161,227,184,31,4,113,205,6,162,80,36,239,50,2,76,7,51,164,25],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-19 10:37:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692649048251564032,"timestamp_seconds":5692649048251564.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37: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-19 10:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187306240001,"66":12776,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187306240001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187306240001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:59] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:59] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:37:59] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80f7968012d1ba200071f6f50004f005a23..."} 
[2026-09-19 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80f7968012d1ba200071f6f50004f005a23..."} 
[2026-09-19 10:37:59] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80f7968012d1ba200071f6f50004f005a23..."} 
[2026-09-19 10:37:59] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:37:59] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":35,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187365376001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:37: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-19 10:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789794417000,"timestamp_ms":1789794417000,"timestamp_seconds":1789794417,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80f7968"} 
[2026-09-19 10: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-19 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 10:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:37:59] 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-19 10:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187365376001,"66":14048,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187365376001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:37:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187365376001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:37:59] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:37:59] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:09] local.INFO: TCP Data received {"connection_id":189396,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:09] local.INFO: Processing buffer {"connection_id":189396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:09] local.INFO: IMEI packet received {"connection_id":189396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":189396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:38:09] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:09] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:09] local.INFO: IMEI packet received {"connection_id":186662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":186662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:38:13] local.INFO: TCP Data received {"connection_id":189396,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:13] local.INFO: Processing buffer {"connection_id":189396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:38:13] local.INFO: IMEI packet received {"connection_id":189396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":189396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:38:15] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:15] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:38:15] local.INFO: IMEI packet received {"connection_id":186662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":186662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:38:15] local.INFO: TCP Data received {"connection_id":189396,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d0098012c9f228007ae3050004701472c..."} 
[2026-09-19 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d0098012c9f228007ae3050004701472c..."} 
[2026-09-19 10:38:15] local.INFO: Processing buffer {"connection_id":189396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d0098012c9f228007ae3050004701472c..."} 
[2026-09-19 10:38:15] local.INFO: Packet analysis {"connection_id":189396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:15] local.INFO: Extracted packet for processing {"connection_id":189396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":748626560,"raw_latitude":128856144,"longitude_deg":74.862656,"latitude_deg":12.8856144,"altitude":71,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2c9f2280","hex_latitude":"07ae3050","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187323904001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6971149977720592384,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794255000,"timestamp_ms":1789794255000,"timestamp_seconds":1789794255,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d0098"} 
[2026-09-19 10: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-19 10:38: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-19 10: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 10:38:15] 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-19 10: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-19 10: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-19 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187323904001,"66":28278,"93":206,"9":57344,"24":0,"16":323660145491968,"44":-6971149977720592384},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187323904001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:15] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 10:38:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6971149977720592384,"description":"Unknown IO ID 44"} 
[2026-09-19 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187323904001,"power":28278,"unknown_93":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6971149977720592384}} 
[2026-09-19 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":189396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:15] local.INFO: GPS data processed {"connection_id":189396,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:15] local.INFO: Acknowledgment sent {"connection_id":189396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:16] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:16] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:16] local.INFO: Packet analysis {"connection_id":186662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:16] local.INFO: Extracted packet for processing {"connection_id":186662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:16] 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-19 10:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:38: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-19 10:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:38: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-19 10:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":186662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:16] local.INFO: GPS data processed {"connection_id":186662,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:16] local.INFO: Acknowledgment sent {"connection_id":186662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:30] local.INFO: TCP Data received {"connection_id":186661,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80fcb70012d1ba200071f6f50004f005a20..."} 
[2026-09-19 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80fcb70012d1ba200071f6f50004f005a20..."} 
[2026-09-19 10:38:30] local.INFO: Processing buffer {"connection_id":186661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80fcb70012d1ba200071f6f50004f005a20..."} 
[2026-09-19 10:38:30] local.INFO: Packet analysis {"connection_id":186661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:38:30] local.INFO: Extracted packet for processing {"connection_id":186661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756785664,"raw_latitude":119500624,"longitude_deg":75.6785664,"latitude_deg":11.9500624,"altitude":79,"angle":90,"satellites":32,"speed":0,"hex_longitude":"2d1ba200","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187370752001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597814278586368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38: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-19 10:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789794438000,"timestamp_ms":1789794438000,"timestamp_seconds":1789794438,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80fcb70"} 
[2026-09-19 10: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-19 10:38:30] 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-19 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 10:38: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-19 10: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-19 10: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-19 10:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:38: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-19 10:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187370752001,"66":14070,"101":206,"83":41984,"24":0,"16":21597814278586368,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187370752001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597814278586368,"km_value":21597814278586.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187370752001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":186661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:30] local.INFO: GPS data processed {"connection_id":186661,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:30] local.INFO: Acknowledgment sent {"connection_id":186661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:46] local.INFO: TCP Data received {"connection_id":189396,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d52a0012c9f000007ae6280004901412b..."} 
[2026-09-19 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d52a0012c9f000007ae6280004901412b..."} 
[2026-09-19 10:38:46] local.INFO: Processing buffer {"connection_id":189396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d52a0012c9f000007ae6280004901412b..."} 
[2026-09-19 10:38:46] local.INFO: Packet analysis {"connection_id":189396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:46] local.INFO: Extracted packet for processing {"connection_id":189396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:46] local.INFO: GPS Element Parsed {"raw_longitude":748617728,"raw_latitude":128868992,"longitude_deg":74.8617728,"latitude_deg":12.8868992,"altitude":73,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2c9f0000","hex_latitude":"07ae6280","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187329280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6979875701995319296,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789794276000,"timestamp_ms":1789794276000,"timestamp_seconds":1789794276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d52a0"} 
[2026-09-19 10: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-19 10:38: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-19 10: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 10:38:46] 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-19 10: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-19 10: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-19 10:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187329280001,"66":28234,"93":206,"9":57344,"24":0,"16":323660145491968,"44":-6979875701995319296},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 10:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187329280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:46] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 10:38:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6979875701995319296,"description":"Unknown IO ID 44"} 
[2026-09-19 10:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187329280001,"power":28234,"unknown_93":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-6979875701995319296}} 
[2026-09-19 10:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":189396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:46] local.INFO: GPS data processed {"connection_id":189396,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:46] local.INFO: Acknowledgment sent {"connection_id":189396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:46] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:46] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:46] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:38:49] local.INFO: TCP Data received {"connection_id":186662,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:49] local.INFO: Processing buffer {"connection_id":186662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:38:49] local.INFO: Packet analysis {"connection_id":186662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:49] local.INFO: Extracted packet for processing {"connection_id":186662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38: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-19 10:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:38: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-19 10:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:38: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-19 10:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":186662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:49] local.INFO: GPS data processed {"connection_id":186662,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:49] local.INFO: Acknowledgment sent {"connection_id":186662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:38:51] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:51] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:38:51] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:38:52] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80fcf58012d1ba340071f6fa8004d001220..."} 
[2026-09-19 10:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80fcf58012d1ba340071f6fa8004d001220..."} 
[2026-09-19 10:38:52] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80fcf58012d1ba340071f6fa8004d001220..."} 
[2026-09-19 10:38:52] local.INFO: Packet analysis {"connection_id":186784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:38:52] local.INFO: Extracted packet for processing {"connection_id":186784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80f"} 
[2026-09-19 10:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756785984,"raw_latitude":119500712,"longitude_deg":75.6785984,"latitude_deg":11.9500712,"altitude":77,"angle":18,"satellites":32,"speed":2,"hex_longitude":"2d1ba340","hex_latitude":"071f6fa8","is_valid_coordinates":true} 
[2026-09-19 10:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187376128001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21597831458455552,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991154015843340288,"note":"Value kept but may cause issues"} 
[2026-09-19 10:38:52] 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-19 10:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789794439000,"timestamp_ms":1789794439000,"timestamp_seconds":1789794439,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80fcf58"} 
[2026-09-19 10:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:38:52] 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-19 10:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 10:38:52] 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-19 10:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:38:52] 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-19 10:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187376128001,"66":14135,"101":206,"83":41984,"24":2,"16":21597831458455552,"45":1991154015843340288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187376128001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:38:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21597831458455552,"km_value":21597831458455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991154015843340288,"description":"Unknown IO ID 45"} 
[2026-09-19 10:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187376128001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1991154015843340288}} 
[2026-09-19 10:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:38:52] local.INFO: GPS data processed {"connection_id":186784,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:38:52] local.INFO: Acknowledgment sent {"connection_id":186784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:39:09] local.INFO: TCP Data received {"connection_id":188058,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:09] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:09] local.INFO: IMEI packet received {"connection_id":188058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:39:09] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:09] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:09] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:39:14] local.INFO: TCP Data received {"connection_id":188058,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:14] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:39:14] local.INFO: IMEI packet received {"connection_id":188058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":188058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:39:14] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:14] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:39:14] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:39:16] local.INFO: TCP Data received {"connection_id":188058,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d8950012c9ecbc007ae94f00047012f29..."} 
[2026-09-19 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d8950012c9ecbc007ae94f00047012f29..."} 
[2026-09-19 10:39:16] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d8950012c9ecbc007ae94f00047012f29..."} 
[2026-09-19 10:39:16] local.INFO: Packet analysis {"connection_id":188058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:16] local.INFO: Extracted packet for processing {"connection_id":188058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:16] local.INFO: GPS Element Parsed {"raw_longitude":748604352,"raw_latitude":128881904,"longitude_deg":74.8604352,"latitude_deg":12.8881904,"altitude":71,"angle":303,"satellites":41,"speed":42,"hex_longitude":"2c9ecbc0","hex_latitude":"07ae94f0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187334656001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6989586588688547840,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794290000,"timestamp_ms":1789794290000,"timestamp_seconds":1789794290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d8950"} 
[2026-09-19 10: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-19 10:39: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-19 10: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":74,"data_length":795,"current_offset":136} 
[2026-09-19 10:39:16] 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-19 10: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-19 10: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-19 10:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187334656001,"66":28354,"92":206,"9":57344,"24":42,"16":323660145491968,"44":-6989586588688547840},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187334656001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6989586588688547840,"description":"Unknown IO ID 44"} 
[2026-09-19 10:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187334656001,"power":28354,"unknown_92":206,"unknown_9":57344,"ignition":42,"odometer":null,"unknown_44":-6989586588688547840}} 
[2026-09-19 10:39:16] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:16] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:16] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:16] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:16] 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-19 10:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:39: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:39: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-19 10:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:39:16] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:39:16] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":188058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:39:16] local.INFO: GPS data processed {"connection_id":188058,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:39:16] local.INFO: Acknowledgment sent {"connection_id":188058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:39:23] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b810f450012d1b79c0071f70a00042010325..."} 
[2026-09-19 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b810f450012d1b79c0071f70a00042010325..."} 
[2026-09-19 10:39:23] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b810f450012d1b79c0071f70a00042010325..."} 
[2026-09-19 10:39:23] local.INFO: Packet analysis {"connection_id":186784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b810"} 
[2026-09-19 10:39:23] local.INFO: Extracted packet for processing {"connection_id":186784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b810"} 
[2026-09-19 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756775360,"raw_latitude":119500960,"longitude_deg":75.677536,"latitude_deg":11.950096,"altitude":66,"angle":259,"satellites":37,"speed":7,"hex_longitude":"2d1b79c0","hex_latitude":"071f70a0","is_valid_coordinates":true} 
[2026-09-19 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187395072001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21598432753876992,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980317229240090624,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789794514000,"timestamp_ms":1789794514000,"timestamp_seconds":1789794514,"priority":1,"record_length":96,"hex_timestamp":"000001a0b810f450"} 
[2026-09-19 10:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:39:23] 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-19 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 10:39:23] 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-19 10:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:39:23] 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-19 10:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187395072001,"66":14374,"101":206,"83":41984,"24":7,"16":21598432753876992,"45":1980317229240090624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187395072001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:39:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21598432753876992,"km_value":21598432753876.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980317229240090624,"description":"Unknown IO ID 45"} 
[2026-09-19 10:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187395072001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1980317229240090624}} 
[2026-09-19 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":186784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:39:24] local.INFO: GPS data processed {"connection_id":186784,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:39:24] local.INFO: Acknowledgment sent {"connection_id":186784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:39:44] local.INFO: TCP Data received {"connection_id":189397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:44] local.INFO: Processing buffer {"connection_id":189397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:44] local.INFO: IMEI packet received {"connection_id":189397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":189397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:39:45] local.INFO: TCP Data received {"connection_id":189397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:45] local.INFO: Processing buffer {"connection_id":189397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:45] local.INFO: IMEI packet received {"connection_id":189397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":189397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:39:46] local.INFO: TCP Data received {"connection_id":189397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:46] local.INFO: Processing buffer {"connection_id":189397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:46] local.INFO: IMEI packet received {"connection_id":189397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":189397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:39:47] local.INFO: TCP Data received {"connection_id":189397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:47] local.INFO: Processing buffer {"connection_id":189397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:39:47] local.INFO: IMEI packet received {"connection_id":189397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":189397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:39:47] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:47] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:39:47] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:47] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39: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-19 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:39: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-19 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:39: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-19 10: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-19 10: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-19 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:39:47] 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-19 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:39:47] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:39:47] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:39:48] local.INFO: TCP Data received {"connection_id":188058,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80dcfa0012c9e7dc007aebc20004001212b..."} 
[2026-09-19 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80dcfa0012c9e7dc007aebc20004001212b..."} 
[2026-09-19 10:39:48] local.INFO: Processing buffer {"connection_id":188058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80dcfa0012c9e7dc007aebc20004001212b..."} 
[2026-09-19 10:39:48] local.INFO: Packet analysis {"connection_id":188058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:48] local.INFO: Extracted packet for processing {"connection_id":188058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":748584384,"raw_latitude":128891936,"longitude_deg":74.8584384,"latitude_deg":12.8891936,"altitude":64,"angle":289,"satellites":43,"speed":55,"hex_longitude":"2c9e7dc0","hex_latitude":"07aebc20","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187338240001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7004293656218374144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794308000,"timestamp_ms":1789794308000,"timestamp_seconds":1789794308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80dcfa0"} 
[2026-09-19 10: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-19 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:39:48] 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-19 10: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-19 10: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-19 10:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187338240001,"66":28430,"92":206,"9":57344,"24":55,"16":323660145491968,"44":-7004293656218374144},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187338240001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:39:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:39:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7004293656218374144,"description":"Unknown IO ID 44"} 
[2026-09-19 10:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187338240001,"power":28430,"unknown_92":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7004293656218374144}} 
[2026-09-19 10:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":188058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:39:48] local.INFO: GPS data processed {"connection_id":188058,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:39:48] local.INFO: Acknowledgment sent {"connection_id":188058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:40:09] local.INFO: TCP Data received {"connection_id":189398,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:09] local.INFO: Processing buffer {"connection_id":189398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:09] local.INFO: IMEI packet received {"connection_id":189398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":189398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:40:15] local.INFO: TCP Data received {"connection_id":189398,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:15] local.INFO: Processing buffer {"connection_id":189398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:40:15] local.INFO: IMEI packet received {"connection_id":189398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":189398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:40:15] local.INFO: TCP Data received {"connection_id":189399,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:15] local.INFO: Processing buffer {"connection_id":189399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:15] local.INFO: IMEI packet received {"connection_id":189399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":189399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:40:16] local.INFO: TCP Data received {"connection_id":189398,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:40:16] local.INFO: Processing buffer {"connection_id":189398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b80d5a70012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:40:16] local.INFO: Packet analysis {"connection_id":189398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:40:16] local.INFO: Extracted packet for processing {"connection_id":189398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b80d"} 
[2026-09-19 10:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187258112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:16] 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-19 10:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794278000,"timestamp_ms":1789794278000,"timestamp_seconds":1789794278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b80d5a70"} 
[2026-09-19 10: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-19 10:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:40: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-19 10:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187258112001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187258112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187258112001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":189398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:40:16] local.INFO: GPS data processed {"connection_id":189398,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:40:16] local.INFO: Acknowledgment sent {"connection_id":189398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:40:19] local.INFO: TCP Data received {"connection_id":189399,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:19] local.INFO: Processing buffer {"connection_id":189399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:40:19] local.INFO: IMEI packet received {"connection_id":189399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":189399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:40:20] local.INFO: TCP Data received {"connection_id":189399,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81155f8012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81155f8012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:20] local.INFO: Processing buffer {"connection_id":189399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81155f8012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:20] local.INFO: Packet analysis {"connection_id":189399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:20] local.INFO: Extracted packet for processing {"connection_id":189399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187396608001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789794539000,"timestamp_ms":1789794539000,"timestamp_seconds":1789794539,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81155f8"} 
[2026-09-19 10: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-19 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:40: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-19 10: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-19 10: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-19 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187396608001,"66":28332,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187396608001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:40:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187396608001,"power":28332,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":189399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:40:21] local.INFO: GPS data processed {"connection_id":189399,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:40:21] local.INFO: Acknowledgment sent {"connection_id":189399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:40:22] local.INFO: TCP Data received {"connection_id":189399,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811a800012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811a800012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:22] local.INFO: Processing buffer {"connection_id":189399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811a800012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:22] local.INFO: Packet analysis {"connection_id":189399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:22] local.INFO: Extracted packet for processing {"connection_id":189399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187401984001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789794560000,"timestamp_ms":1789794560000,"timestamp_seconds":1789794560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811a800"} 
[2026-09-19 10:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 10:40:22] 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-19 10:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187401984001,"66":28267,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187401984001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:40:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:40:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187401984001,"power":28267,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":189399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:40:22] local.INFO: GPS data processed {"connection_id":189399,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:40:22] local.INFO: Acknowledgment sent {"connection_id":189399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:40:47] local.INFO: TCP Data received {"connection_id":189398,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:40:47] local.INFO: Processing buffer {"connection_id":189398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:40:47] local.INFO: Packet analysis {"connection_id":189398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:47] local.INFO: Extracted packet for processing {"connection_id":189398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40: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-19 10:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:40: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-19 10:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:40: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-19 10:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":189398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:40:47] local.INFO: GPS data processed {"connection_id":189398,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:40:47] local.INFO: Acknowledgment sent {"connection_id":189398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:40:54] local.INFO: TCP Data received {"connection_id":189399,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811fa08012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811fa08012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:54] local.INFO: Processing buffer {"connection_id":189399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811fa08012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:40:54] local.INFO: Packet analysis {"connection_id":189399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:54] local.INFO: Extracted packet for processing {"connection_id":189399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187407360001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789794581000,"timestamp_ms":1789794581000,"timestamp_seconds":1789794581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811fa08"} 
[2026-09-19 10:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:40:54] 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-19 10:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187407360001,"66":28300,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187407360001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:40:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:40:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187407360001,"power":28300,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":189399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:40:54] local.INFO: GPS data processed {"connection_id":189399,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:40:54] local.INFO: Acknowledgment sent {"connection_id":189399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:41:09] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:09] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:09] local.INFO: IMEI packet received {"connection_id":188060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:41:10] local.INFO: TCP Data received {"connection_id":188061,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:10] local.INFO: Processing buffer {"connection_id":188061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:10] local.INFO: IMEI packet received {"connection_id":188061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":188061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:41:14] local.INFO: TCP Data received {"connection_id":188061,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:14] local.INFO: Processing buffer {"connection_id":188061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:41:14] local.INFO: IMEI packet received {"connection_id":188061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:41:14] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:14] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:41:14] local.INFO: IMEI packet received {"connection_id":188060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:41:15] local.INFO: TCP Data received {"connection_id":188061,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8124c10012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8124c10012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:15] local.INFO: Processing buffer {"connection_id":188061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8124c10012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:15] local.INFO: Packet analysis {"connection_id":188061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:41:15] local.INFO: Extracted packet for processing {"connection_id":188061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412736001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794602000,"timestamp_ms":1789794602000,"timestamp_seconds":1789794602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8124c10"} 
[2026-09-19 10:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 10:41: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-19 10:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412736001,"66":28419,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412736001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:41:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:41:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412736001,"power":28419,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":188061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:41:15] local.INFO: GPS data processed {"connection_id":188061,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:41:15] local.INFO: Acknowledgment sent {"connection_id":188061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:41:15] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:16] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:16] local.INFO: Packet analysis {"connection_id":188060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:41:16] local.INFO: Extracted packet for processing {"connection_id":188060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:16] 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-19 10:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:41:16] 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-19 10:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":188060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:41:16] local.INFO: GPS data processed {"connection_id":188060,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:41:16] local.INFO: Acknowledgment sent {"connection_id":188060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:41:47] local.INFO: TCP Data received {"connection_id":188060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:47] local.INFO: Processing buffer {"connection_id":188060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:41:47] local.INFO: Packet analysis {"connection_id":188060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:41:47] local.INFO: Extracted packet for processing {"connection_id":188060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41: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-19 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:41: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-19 10: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-19 10: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-19 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:41: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-19 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":188060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:41:47] local.INFO: GPS data processed {"connection_id":188060,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:41:47] local.INFO: Acknowledgment sent {"connection_id":188060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:41:47] local.INFO: TCP Data received {"connection_id":188061,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8129e18012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8129e18012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:47] local.INFO: Processing buffer {"connection_id":188061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8129e18012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:41:47] local.INFO: Packet analysis {"connection_id":188061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:41:47] local.INFO: Extracted packet for processing {"connection_id":188061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187418112001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794623000,"timestamp_ms":1789794623000,"timestamp_seconds":1789794623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8129e18"} 
[2026-09-19 10: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-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 10:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187418112001,"66":28376,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187418112001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187418112001,"power":28376,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":188061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:41:48] local.INFO: GPS data processed {"connection_id":188061,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:41:48] local.INFO: Acknowledgment sent {"connection_id":188061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:42:10] local.INFO: TCP Data received {"connection_id":189400,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:10] local.INFO: Processing buffer {"connection_id":189400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:10] local.INFO: IMEI packet received {"connection_id":189400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":189400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:42:10] local.INFO: TCP Data received {"connection_id":186663,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:10] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:10] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:42:14] local.INFO: TCP Data received {"connection_id":189400,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:14] local.INFO: Processing buffer {"connection_id":189400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:42:14] local.INFO: IMEI packet received {"connection_id":189400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":189400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:42:15] local.INFO: TCP Data received {"connection_id":186663,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:15] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:42:15] local.INFO: IMEI packet received {"connection_id":186663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:42:16] local.INFO: TCP Data received {"connection_id":189400,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:16] local.INFO: Processing buffer {"connection_id":189400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:16] local.INFO: Packet analysis {"connection_id":189400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:42:16] local.INFO: Extracted packet for processing {"connection_id":189400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] 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-19 10:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:42:16] 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-19 10:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":189400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:42:16] local.INFO: GPS data processed {"connection_id":189400,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:42:16] local.INFO: Acknowledgment sent {"connection_id":189400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:42:16] local.INFO: TCP Data received {"connection_id":186663,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b812f020012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b812f020012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:16] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b812f020012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:16] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:42:16] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b812"} 
[2026-09-19 10:42:16] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187423488001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794644000,"timestamp_ms":1789794644000,"timestamp_seconds":1789794644,"priority":1,"record_length":96,"hex_timestamp":"000001a0b812f020"} 
[2026-09-19 10:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 10:42: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-19 10:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187423488001,"66":28256,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187423488001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187423488001,"power":28256,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:42:16] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:42:16] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:42:48] local.INFO: TCP Data received {"connection_id":189400,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:48] local.INFO: Processing buffer {"connection_id":189400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:42:48] local.INFO: Packet analysis {"connection_id":189400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:42:48] local.INFO: Extracted packet for processing {"connection_id":189400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:42: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-19 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42: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-19 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:42: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-19 10:42: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-19 10:42: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-19 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:42: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-19 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:42:48] local.INFO: TCP Data received {"connection_id":186663,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8134228012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8134228012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:48] local.INFO: Processing buffer {"connection_id":186663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8134228012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:42:48] local.INFO: Packet analysis {"connection_id":186663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:42:48] local.INFO: Extracted packet for processing {"connection_id":186663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10:42: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-19 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187428864001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794665000,"timestamp_ms":1789794665000,"timestamp_seconds":1789794665,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8134228"} 
[2026-09-19 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:42: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":96,"data_length":795,"current_offset":136} 
[2026-09-19 10:42:48] 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-19 10:42: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-19 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187428864001,"66":28267,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187428864001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187428864001,"power":28267,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":189400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:42:48] local.INFO: GPS data processed {"connection_id":189400,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:42:48] local.INFO: Acknowledgment sent {"connection_id":189400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:42:48] local.INFO: GPS data processed {"connection_id":186663,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:42:48] local.INFO: Acknowledgment sent {"connection_id":186663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:43:07] local.INFO: TCP Data received {"connection_id":186787,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:07] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:07] local.INFO: IMEI packet received {"connection_id":186787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":186787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:43:09] local.INFO: TCP Data received {"connection_id":186787,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:09] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:09] local.INFO: IMEI packet received {"connection_id":186787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":186787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:43:09] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:09] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:09] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:43:14] local.INFO: TCP Data received {"connection_id":186787,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:14] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:43:14] local.INFO: IMEI packet received {"connection_id":186787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":186787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:43:14] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:14] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:43:14] local.INFO: IMEI packet received {"connection_id":186664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":186664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:43:15] local.INFO: TCP Data received {"connection_id":186787,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8139430012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8139430012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:43:15] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8139430012c9e0a0007aee350004201212e..."} 
[2026-09-19 10:43:15] local.INFO: Packet analysis {"connection_id":186787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:43:15] local.INFO: Extracted packet for processing {"connection_id":186787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:43:15] local.INFO: GPS Element Parsed {"raw_longitude":748554752,"raw_latitude":128901968,"longitude_deg":74.8554752,"latitude_deg":12.8901968,"altitude":66,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2c9e0a00","hex_latitude":"07aee350","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187434240001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794686000,"timestamp_ms":1789794686000,"timestamp_seconds":1789794686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8139430"} 
[2026-09-19 10: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-19 10:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:43:15] 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-19 10: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-19 10: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-19 10:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187434240001,"66":28256,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187434240001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:43:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:43:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187434240001,"power":28256,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":186787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:43:15] local.INFO: GPS data processed {"connection_id":186787,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:43:15] local.INFO: Acknowledgment sent {"connection_id":186787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:43:16] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:16] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:16] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:43:16] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:16] 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-19 10:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:43:16] 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-19 10:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:43:16] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:43:16] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:43:47] local.INFO: TCP Data received {"connection_id":186787,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b813e638012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b813e638012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:43:47] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b813e638012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:43:47] local.INFO: Packet analysis {"connection_id":186787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:43:47] local.INFO: Extracted packet for processing {"connection_id":186787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b813"} 
[2026-09-19 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187439616001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7058829432950927360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794707000,"timestamp_ms":1789794707000,"timestamp_seconds":1789794707,"priority":1,"record_length":96,"hex_timestamp":"000001a0b813e638"} 
[2026-09-19 10: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-19 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 10:43: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-19 10: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-19 10: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-19 10:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187439616001,"66":28354,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7058829432950927360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187439616001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7058829432950927360,"description":"Unknown IO ID 44"} 
[2026-09-19 10:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187439616001,"power":28354,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7058829432950927360}} 
[2026-09-19 10:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":186787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:43:47] local.INFO: GPS data processed {"connection_id":186787,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:43:47] local.INFO: Acknowledgment sent {"connection_id":186787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:43:47] local.INFO: TCP Data received {"connection_id":186664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:47] local.INFO: Processing buffer {"connection_id":186664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:43:47] local.INFO: Packet analysis {"connection_id":186664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:43:47] local.INFO: Extracted packet for processing {"connection_id":186664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:43: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-19 10:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:43: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-19 10: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-19 10: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-19 10:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:43:47] 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-19 10:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":186664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:43:47] local.INFO: GPS data processed {"connection_id":186664,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:43:47] local.INFO: Acknowledgment sent {"connection_id":186664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:09] local.INFO: TCP Data received {"connection_id":186665,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:09] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:09] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:44:09] local.INFO: TCP Data received {"connection_id":189402,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:09] local.INFO: Processing buffer {"connection_id":189402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:09] local.INFO: IMEI packet received {"connection_id":189402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:44:10] local.INFO: TCP Data received {"connection_id":186665,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:10] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:10] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:44:14] local.INFO: TCP Data received {"connection_id":186665,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:14] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:44:14] local.INFO: IMEI packet received {"connection_id":186665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:44:15] local.INFO: TCP Data received {"connection_id":189402,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:15] local.INFO: Processing buffer {"connection_id":189402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:44:15] local.INFO: IMEI packet received {"connection_id":189402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":189402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:44:15] local.INFO: TCP Data received {"connection_id":186665,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8143840012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8143840012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:15] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8143840012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:15] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:44:15] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187444992001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794728000,"timestamp_ms":1789794728000,"timestamp_seconds":1789794728,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8143840"} 
[2026-09-19 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:44: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-19 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187444992001,"66":28278,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187444992001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187444992001,"power":28278,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:15] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:15] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:16] local.INFO: TCP Data received {"connection_id":189402,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:16] local.INFO: Processing buffer {"connection_id":189402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:16] local.INFO: Packet analysis {"connection_id":189402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:44:16] local.INFO: Extracted packet for processing {"connection_id":189402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:16] 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-19 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:44:16] 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-19 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":189402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:16] local.INFO: GPS data processed {"connection_id":189402,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:16] local.INFO: Acknowledgment sent {"connection_id":189402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:48] local.INFO: TCP Data received {"connection_id":189402,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:48] local.INFO: Processing buffer {"connection_id":189402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:44:48] local.INFO: Packet analysis {"connection_id":189402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:44:48] local.INFO: Extracted packet for processing {"connection_id":189402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44: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-19 10:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10: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-19 10: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-19 10: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-19 10:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:44: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-19 10:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":189402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:48] local.INFO: GPS data processed {"connection_id":189402,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:48] local.INFO: Acknowledgment sent {"connection_id":189402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:49] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: IMEI packet received {"connection_id":189403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":189403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:44:49] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:49] local.INFO: IMEI packet received {"connection_id":189403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":189403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:44:51] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:51] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:44:51] local.INFO: IMEI packet received {"connection_id":189403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":189403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:44:52] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8154d98012d1b8180071eb0c80064007b21..."} 
[2026-09-19 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8154d98012d1b8180071eb0c80064007b21..."} 
[2026-09-19 10:44:52] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8154d98012d1b8180071eb0c80064007b21..."} 
[2026-09-19 10:44:52] local.INFO: Packet analysis {"connection_id":189403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:44:52] local.INFO: Extracted packet for processing {"connection_id":189403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756777344,"raw_latitude":119451848,"longitude_deg":75.6777344,"latitude_deg":11.9451848,"altitude":100,"angle":123,"satellites":33,"speed":12,"hex_longitude":"2d1b8180","hex_latitude":"071eb0c8","is_valid_coordinates":true} 
[2026-09-19 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187466752001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21605424960634880,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804297824256,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:52] 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-19 10:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789794799000,"timestamp_ms":1789794799000,"timestamp_seconds":1789794799,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8154d98"} 
[2026-09-19 10:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:44:52] 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-19 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 10:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:44:52] 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-19 10:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187466752001,"66":13537,"101":206,"83":41984,"24":12,"16":21605424960634880,"45":1979472804297824256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 10:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187466752001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 10:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21605424960634880,"km_value":21605424960634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804297824256,"description":"Unknown IO ID 45"} 
[2026-09-19 10:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187466752001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1979472804297824256}} 
[2026-09-19 10:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":189403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:53] local.INFO: GPS data processed {"connection_id":189403,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:53] local.INFO: Acknowledgment sent {"connection_id":189403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:53] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8156cd8012d1b8b40071ea9d0006e008c21..."} 
[2026-09-19 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8156cd8012d1b8b40071ea9d0006e008c21..."} 
[2026-09-19 10:44:53] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8156cd8012d1b8b40071ea9d0006e008c21..."} 
[2026-09-19 10:44:53] local.INFO: Packet analysis {"connection_id":189403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:44:53] local.INFO: Extracted packet for processing {"connection_id":189403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756779840,"raw_latitude":119450064,"longitude_deg":75.677984,"latitude_deg":11.9450064,"altitude":110,"angle":140,"satellites":33,"speed":17,"hex_longitude":"2d1b8b40","hex_latitude":"071ea9d0","is_valid_coordinates":true} 
[2026-09-19 10:44: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-19 10:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187468544001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21605570989522944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982006079087757312,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789794807000,"timestamp_ms":1789794807000,"timestamp_seconds":1789794807,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8156cd8"} 
[2026-09-19 10:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:44:53] 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-19 10:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-19 10:44:53] 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-19 10:44: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-19 10:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:44:53] 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-19 10:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187468544001,"66":13928,"109":206,"83":41984,"24":17,"16":21605570989522944,"45":1982006079087757312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187468544001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21605570989522944,"km_value":21605570989522.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982006079087757312,"description":"Unknown IO ID 45"} 
[2026-09-19 10:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187468544001,"power":13928,"unknown_109":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1982006079087757312}} 
[2026-09-19 10:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":189403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:53] local.INFO: GPS data processed {"connection_id":189403,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:53] local.INFO: Acknowledgment sent {"connection_id":189403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:44:55] local.INFO: TCP Data received {"connection_id":186665,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8148a48012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8148a48012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:55] local.INFO: Processing buffer {"connection_id":186665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8148a48012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:44:55] local.INFO: Packet analysis {"connection_id":186665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:44:55] local.INFO: Extracted packet for processing {"connection_id":186665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187450368001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789794749000,"timestamp_ms":1789794749000,"timestamp_seconds":1789794749,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8148a48"} 
[2026-09-19 10: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-19 10:44:55] 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-19 10: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 10:44:55] 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-19 10: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-19 10: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-19 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187450368001,"66":28267,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187450368001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:44:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:44:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187450368001,"power":28267,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":186665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:44:56] local.INFO: GPS data processed {"connection_id":186665,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:44:56] local.INFO: Acknowledgment sent {"connection_id":186665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:09] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:09] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:09] local.INFO: IMEI packet received {"connection_id":186788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:45:09] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:09] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:09] local.INFO: IMEI packet received {"connection_id":186789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:45:13] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:13] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:13] local.INFO: IMEI packet received {"connection_id":186788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":186788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:45:14] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:14] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:45:14] local.INFO: IMEI packet received {"connection_id":186788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:45:14] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:14] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:45:14] local.INFO: IMEI packet received {"connection_id":186789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:45:15] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b814dc50012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b814dc50012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:15] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b814dc50012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:15] local.INFO: Packet analysis {"connection_id":186788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:45:15] local.INFO: Extracted packet for processing {"connection_id":186788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b814"} 
[2026-09-19 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187455744001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794770000,"timestamp_ms":1789794770000,"timestamp_seconds":1789794770,"priority":1,"record_length":96,"hex_timestamp":"000001a0b814dc50"} 
[2026-09-19 10: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-19 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:45:15] 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-19 10: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-19 10: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-19 10:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187455744001,"66":27952,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187455744001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:45:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187455744001,"power":27952,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:16] local.INFO: GPS data processed {"connection_id":186788,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:16] local.INFO: Acknowledgment sent {"connection_id":186788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:16] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:45:16] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b811f238012d34c14006aa41400008010e2c..."} 
[2026-09-19 10:45:16] local.INFO: Packet analysis {"connection_id":186789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:45:16] local.INFO: Extracted packet for processing {"connection_id":186789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b811"} 
[2026-09-19 10:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187335168001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:16] 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-19 10:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794579000,"timestamp_ms":1789794579000,"timestamp_seconds":1789794579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b811f238"} 
[2026-09-19 10: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-19 10:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:45: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-19 10:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187335168001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187335168001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187335168001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:16] local.INFO: GPS data processed {"connection_id":186789,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:16] local.INFO: Acknowledgment sent {"connection_id":186789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:19] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8152e58012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8152e58012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:19] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8152e58012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:19] local.INFO: Packet analysis {"connection_id":186788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:45:19] local.INFO: Extracted packet for processing {"connection_id":186788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187461120001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789794791000,"timestamp_ms":1789794791000,"timestamp_seconds":1789794791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8152e58"} 
[2026-09-19 10: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-19 10:45:19] 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-19 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 10:45: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-19 10: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-19 10: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-19 10:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187461120001,"66":28376,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187461120001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:45:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187461120001,"power":28376,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":186788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:19] local.INFO: GPS data processed {"connection_id":186788,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:19] local.INFO: Acknowledgment sent {"connection_id":186788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:25] local.INFO: TCP Data received {"connection_id":189403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81643b0012d1bbcc0071e5e88005c00e029..."} 
[2026-09-19 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81643b0012d1bbcc0071e5e88005c00e029..."} 
[2026-09-19 10:45:25] local.INFO: Processing buffer {"connection_id":189403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81643b0012d1bbcc0071e5e88005c00e029..."} 
[2026-09-19 10:45:25] local.INFO: Packet analysis {"connection_id":189403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:25] local.INFO: Extracted packet for processing {"connection_id":189403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756792512,"raw_latitude":119430792,"longitude_deg":75.6792512,"latitude_deg":11.9430792,"altitude":92,"angle":224,"satellites":41,"speed":11,"hex_longitude":"2d1bbcc0","hex_latitude":"071e5e88","is_valid_coordinates":true} 
[2026-09-19 10:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187483392001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21606855184744448,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999598265127098368,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789794862000,"timestamp_ms":1789794862000,"timestamp_seconds":1789794862,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81643b0"} 
[2026-09-19 10:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:45:25] 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-19 10:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 10:45:25] 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-19 10:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:45:25] 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-19 10:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187483392001,"66":14428,"109":206,"83":41984,"24":11,"16":21606855184744448,"45":1999598265127098368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187483392001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21606855184744448,"km_value":21606855184744.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999598265127098368,"description":"Unknown IO ID 45"} 
[2026-09-19 10:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187483392001,"power":14428,"unknown_109":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1999598265127098368}} 
[2026-09-19 10:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":189403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:25] local.INFO: GPS data processed {"connection_id":189403,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:25] local.INFO: Acknowledgment sent {"connection_id":189403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:46] local.INFO: TCP Data received {"connection_id":189404,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:46] local.INFO: Processing buffer {"connection_id":189404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:46] local.INFO: IMEI packet received {"connection_id":189404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":189404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:45:47] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:45:47] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:45:47] local.INFO: Packet analysis {"connection_id":186789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:47] local.INFO: Extracted packet for processing {"connection_id":186789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45: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-19 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10: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-19 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:45: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-19 10: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-19 10: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-19 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:45:47] 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-19 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:47] local.INFO: GPS data processed {"connection_id":186789,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:47] local.INFO: Acknowledgment sent {"connection_id":186789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:49] local.INFO: TCP Data received {"connection_id":189404,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:49] local.INFO: Processing buffer {"connection_id":189404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:49] local.INFO: IMEI packet received {"connection_id":189404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":189404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:45:51] local.INFO: TCP Data received {"connection_id":186788,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8158060012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8158060012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:51] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8158060012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:45:51] local.INFO: Packet analysis {"connection_id":186788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:45:51] local.INFO: Extracted packet for processing {"connection_id":186788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187466496001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789794812000,"timestamp_ms":1789794812000,"timestamp_seconds":1789794812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8158060"} 
[2026-09-19 10: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-19 10:45:51] 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-19 10: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":216,"data_length":795,"current_offset":136} 
[2026-09-19 10:45:51] 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-19 10: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-19 10: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-19 10:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187466496001,"66":28234,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187466496001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:51] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:45:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187466496001,"power":28234,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":186788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:51] local.INFO: GPS data processed {"connection_id":186788,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:51] local.INFO: Acknowledgment sent {"connection_id":186788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:45:51] local.INFO: TCP Data received {"connection_id":189404,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:51] local.INFO: Processing buffer {"connection_id":189404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:45:51] local.INFO: IMEI packet received {"connection_id":189404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":189404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:45:53] local.INFO: TCP Data received {"connection_id":189404,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8164f68012d1bba80071e5bd0005c00d42a..."} 
[2026-09-19 10:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8164f68012d1bba80071e5bd0005c00d42a..."} 
[2026-09-19 10:45:53] local.INFO: Processing buffer {"connection_id":189404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8164f68012d1bba80071e5bd0005c00d42a..."} 
[2026-09-19 10:45:53] local.INFO: Packet analysis {"connection_id":189404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:53] local.INFO: Extracted packet for processing {"connection_id":189404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756791936,"raw_latitude":119430096,"longitude_deg":75.6791936,"latitude_deg":11.9430096,"altitude":92,"angle":212,"satellites":42,"speed":9,"hex_longitude":"2d1bba80","hex_latitude":"071e5bd0","is_valid_coordinates":true} 
[2026-09-19 10:45: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-19 10:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187484672001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21606898134417408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998683471452473344,"note":"Value kept but may cause issues"} 
[2026-09-19 10:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789794865000,"timestamp_ms":1789794865000,"timestamp_seconds":1789794865,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8164f68"} 
[2026-09-19 10:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-19 10:45:53] 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-19 10:45: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-19 10:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:45:53] 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-19 10:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187484672001,"66":14461,"109":206,"83":41984,"24":9,"16":21606898134417408,"45":1998683471452473344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187484672001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:45:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21606898134417408,"km_value":21606898134417.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998683471452473344,"description":"Unknown IO ID 45"} 
[2026-09-19 10:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187484672001,"power":14461,"unknown_109":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1998683471452473344}} 
[2026-09-19 10:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":189404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:45:53] local.INFO: GPS data processed {"connection_id":189404,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:45:53] local.INFO: Acknowledgment sent {"connection_id":189404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:10] local.INFO: TCP Data received {"connection_id":189405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:10] local.INFO: Processing buffer {"connection_id":189405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:10] local.INFO: IMEI packet received {"connection_id":189405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":189405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:46:14] local.INFO: TCP Data received {"connection_id":189405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:14] local.INFO: Processing buffer {"connection_id":189405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:46:14] local.INFO: IMEI packet received {"connection_id":189405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":189405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:46:16] local.INFO: TCP Data received {"connection_id":189405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:16] local.INFO: Processing buffer {"connection_id":189405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:16] local.INFO: Packet analysis {"connection_id":189405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:16] local.INFO: Extracted packet for processing {"connection_id":189405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:16] 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-19 10:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:46: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-19 10:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":189405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:46:16] local.INFO: GPS data processed {"connection_id":189405,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:46:16] local.INFO: Acknowledgment sent {"connection_id":189405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:25] local.INFO: TCP Data received {"connection_id":186666,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:25] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:25] local.INFO: IMEI packet received {"connection_id":186666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":186666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:46:29] local.INFO: TCP Data received {"connection_id":189404,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168de8012d1bae40071e4878005d00e52a..."} 
[2026-09-19 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168de8012d1bae40071e4878005d00e52a..."} 
[2026-09-19 10:46:29] local.INFO: Processing buffer {"connection_id":189404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168de8012d1bae40071e4878005d00e52a..."} 
[2026-09-19 10:46:29] local.INFO: Packet analysis {"connection_id":189404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:29] local.INFO: Extracted packet for processing {"connection_id":189404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756788800,"raw_latitude":119425144,"longitude_deg":75.67888,"latitude_deg":11.9425144,"altitude":93,"angle":229,"satellites":42,"speed":16,"hex_longitude":"2d1bae40","hex_latitude":"071e4878","is_valid_coordinates":true} 
[2026-09-19 10:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187485440001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21607185897226240,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998050152754696192,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789794881000,"timestamp_ms":1789794881000,"timestamp_seconds":1789794881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168de8"} 
[2026-09-19 10:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 10:46:29] 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-19 10:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:46:29] 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-19 10:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187485440001,"66":14080,"109":206,"83":41984,"24":16,"16":21607185897226240,"45":1998050152754696192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187485440001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:46:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21607185897226240,"km_value":21607185897226.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998050152754696192,"description":"Unknown IO ID 45"} 
[2026-09-19 10:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187485440001,"power":14080,"unknown_109":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1998050152754696192}} 
[2026-09-19 10:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":189404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:46:29] local.INFO: GPS data processed {"connection_id":189404,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:46:29] local.INFO: Acknowledgment sent {"connection_id":189404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:29] local.INFO: TCP Data received {"connection_id":186666,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:29] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:46:29] local.INFO: IMEI packet received {"connection_id":186666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":186666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:46:30] local.INFO: TCP Data received {"connection_id":186666,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b815d268012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b815d268012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:30] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b815d268012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:30] local.INFO: Packet analysis {"connection_id":186666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:46:30] local.INFO: Extracted packet for processing {"connection_id":186666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b815"} 
[2026-09-19 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187471872001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789794833000,"timestamp_ms":1789794833000,"timestamp_seconds":1789794833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b815d268"} 
[2026-09-19 10:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:46:30] 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-19 10:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 10:46:30] 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-19 10:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187471872001,"66":28202,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187471872001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:46:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:46:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187471872001,"power":28202,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":186666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:46:30] local.INFO: GPS data processed {"connection_id":186666,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:46:30] local.INFO: Acknowledgment sent {"connection_id":186666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:31] local.INFO: TCP Data received {"connection_id":186666,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8162470012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8162470012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:31] local.INFO: Processing buffer {"connection_id":186666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8162470012c9de44007aef0e80044011e2e..."} 
[2026-09-19 10:46:31] local.INFO: Packet analysis {"connection_id":186666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:31] local.INFO: Extracted packet for processing {"connection_id":186666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:31] local.INFO: GPS Element Parsed {"raw_longitude":748545088,"raw_latitude":128905448,"longitude_deg":74.8545088,"latitude_deg":12.8905448,"altitude":68,"angle":286,"satellites":46,"speed":0,"hex_longitude":"2c9de440","hex_latitude":"07aef0e8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187477248001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789794854000,"timestamp_ms":1789794854000,"timestamp_seconds":1789794854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8162470"} 
[2026-09-19 10: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-19 10:46:31] 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-19 10: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 10:46:31] 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-19 10: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-19 10: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-19 10:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":186666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":186666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":186666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187477248001,"66":28332,"92":206,"9":57344,"24":0,"16":323660145491968,"44":-7069455113320863744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 10:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187477248001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:46:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 10:46:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7069455113320863744,"description":"Unknown IO ID 44"} 
[2026-09-19 10:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187477248001,"power":28332,"unknown_92":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7069455113320863744}} 
[2026-09-19 10:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":186666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:46:31] local.INFO: GPS data processed {"connection_id":186666,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:46:31] local.INFO: Acknowledgment sent {"connection_id":186666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:46] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:46] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:46] local.INFO: IMEI packet received {"connection_id":186790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":186790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:46:47] local.INFO: TCP Data received {"connection_id":189405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:47] local.INFO: Processing buffer {"connection_id":189405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:46:47] local.INFO: Packet analysis {"connection_id":189405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:47] local.INFO: Extracted packet for processing {"connection_id":189405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:46: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-19 10:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10: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-19 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:46: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-19 10: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-19 10: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-19 10:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:46: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-19 10:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":189405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:46:47] local.INFO: GPS data processed {"connection_id":189405,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:46:47] local.INFO: Acknowledgment sent {"connection_id":189405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:46:57] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:57] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:46:57] local.INFO: IMEI packet received {"connection_id":186790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":186790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:47:01] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b817bab0012d1b8c40071dcc88004c00d728..."} 
[2026-09-19 10:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b817bab0012d1b8c40071dcc88004c00d728..."} 
[2026-09-19 10:47:01] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b817bab0012d1b8c40071dcc88004c00d728..."} 
[2026-09-19 10:47:01] local.INFO: Packet analysis {"connection_id":186790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b817"} 
[2026-09-19 10:47:01] local.INFO: Extracted packet for processing {"connection_id":186790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b817"} 
[2026-09-19 10:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756780096,"raw_latitude":119393416,"longitude_deg":75.6780096,"latitude_deg":11.9393416,"altitude":76,"angle":215,"satellites":40,"speed":14,"hex_longitude":"2d1b8c40","hex_latitude":"071dcc88","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187508992001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21608869524406272,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985172672560871424,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789794958000,"timestamp_ms":1789794958000,"timestamp_seconds":1789794958,"priority":1,"record_length":96,"hex_timestamp":"000001a0b817bab0"} 
[2026-09-19 10: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-19 10:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 10:47:01] 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-19 10: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-19 10: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-19 10:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:47: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-19 10:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187508992001,"66":14298,"109":206,"83":41984,"24":14,"16":21608869524406272,"45":1985172672560871424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187508992001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21608869524406272,"km_value":21608869524406.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985172672560871424,"description":"Unknown IO ID 45"} 
[2026-09-19 10:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187508992001,"power":14298,"unknown_109":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1985172672560871424}} 
[2026-09-19 10:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":186790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:01] local.INFO: GPS data processed {"connection_id":186790,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:01] local.INFO: Acknowledgment sent {"connection_id":186790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:10] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:10] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:10] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:47:10] local.INFO: TCP Data received {"connection_id":186667,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:10] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:10] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:47:14] local.INFO: TCP Data received {"connection_id":186667,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:14] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:47:14] local.INFO: IMEI packet received {"connection_id":186667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:47:14] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:14] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:47:14] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:47:16] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:16] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:16] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:16] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] 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-19 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:47: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-19 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:16] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:16] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:16] local.INFO: TCP Data received {"connection_id":186667,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b819ed300100000000000000000000000000..."} 
[2026-09-19 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b819ed300100000000000000000000000000..."} 
[2026-09-19 10:47:16] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b819ed300100000000000000000000000000..."} 
[2026-09-19 10:47:16] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:47:16] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:47: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-19 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187482624001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7069455113320863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795102000,"timestamp_ms":1789795102000,"timestamp_seconds":1789795102,"priority":1,"record_length":96,"hex_timestamp":"000001a0b819ed30"} 
[2026-09-19 10:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 10:47: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-19 10:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 10:47:16] local.INFO: GPS data processed {"connection_id":186667,"processed":0,"errors":0,"total":1} 
[2026-09-19 10:47:16] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:19] local.INFO: TCP Data received {"connection_id":186667,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81691d0012c9d524007af25b00034012529..."} 
[2026-09-19 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81691d0012c9d524007af25b00034012529..."} 
[2026-09-19 10:47:19] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81691d0012c9d524007af25b00034012529..."} 
[2026-09-19 10:47:19] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:19] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":748507712,"raw_latitude":128918960,"longitude_deg":74.8507712,"latitude_deg":12.891896,"altitude":52,"angle":293,"satellites":41,"speed":61,"hex_longitude":"2c9d5240","hex_latitude":"07af25b0","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 10:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789794882000,"timestamp_ms":1789794882000,"timestamp_seconds":1789794882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81691d0"} 
[2026-09-19 10: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-19 10:47:19] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 10:47:19] 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-19 10: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-19 10: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-19 10:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"187":206,"9":57344,"24":61,"16":323660145491968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16]} 
[2026-09-19 10:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:19] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 10:47:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_187":206,"unknown_9":57344,"ignition":61,"odometer":null}} 
[2026-09-19 10:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:19] local.INFO: GPS data processed {"connection_id":186667,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:19] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:47] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:47] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:47:47] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:47] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47: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-19 10:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:47: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-19 10:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:47: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-19 10:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:47] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:47] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:50] local.INFO: TCP Data received {"connection_id":186667,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b816d050012c9d0bc007af6950002601472c..."} 
[2026-09-19 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b816d050012c9d0bc007af6950002601472c..."} 
[2026-09-19 10:47:50] local.INFO: Processing buffer {"connection_id":186667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b816d050012c9d0bc007af6950002601472c..."} 
[2026-09-19 10:47:50] local.INFO: Packet analysis {"connection_id":186667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:50] local.INFO: Extracted packet for processing {"connection_id":186667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":748489664,"raw_latitude":128936272,"longitude_deg":74.8489664,"latitude_deg":12.8936272,"altitude":38,"angle":327,"satellites":44,"speed":62,"hex_longitude":"2c9d0bc0","hex_latitude":"07af6950","is_valid_coordinates":true} 
[2026-09-19 10:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489792001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7110550459917160448,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789794898000,"timestamp_ms":1789794898000,"timestamp_seconds":1789794898,"priority":1,"record_length":96,"hex_timestamp":"000001a0b816d050"} 
[2026-09-19 10:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:47:50] 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-19 10:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 10:47:50] 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-19 10:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489792001,"66":28332,"187":206,"9":57344,"24":62,"16":323660145491968,"44":-7110550459917160448},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-19 10:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489792001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 10:47:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7110550459917160448,"description":"Unknown IO ID 44"} 
[2026-09-19 10:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489792001,"power":28332,"unknown_187":206,"unknown_9":57344,"ignition":62,"odometer":null,"unknown_44":-7110550459917160448}} 
[2026-09-19 10:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":186667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:51] local.INFO: GPS data processed {"connection_id":186667,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:51] local.INFO: Acknowledgment sent {"connection_id":186667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:47:51] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:47:51] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:51] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:47:56] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:56] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:47:56] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:47:57] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81885d0012d1b6600071da160005300c824..."} 
[2026-09-19 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81885d0012d1b6600071da160005300c824..."} 
[2026-09-19 10:47:57] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81885d0012d1b6600071da160005300c824..."} 
[2026-09-19 10:47:57] local.INFO: Packet analysis {"connection_id":186792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:47:57] local.INFO: Extracted packet for processing {"connection_id":186792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119382368,"longitude_deg":75.6770304,"latitude_deg":11.9382368,"altitude":83,"angle":200,"satellites":36,"speed":9,"hex_longitude":"2d1b6600","hex_latitude":"071da160","is_valid_coordinates":true} 
[2026-09-19 10:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187521536001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21609887431655424,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992187490304,"note":"Value kept but may cause issues"} 
[2026-09-19 10:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789795010000,"timestamp_ms":1789795010000,"timestamp_seconds":1789795010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81885d0"} 
[2026-09-19 10:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:47:57] 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-19 10:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 10:47:57] 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-19 10:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:47:57] 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-19 10:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187521536001,"66":14070,"71":206,"83":41984,"24":9,"16":21609887431655424,"45":1974546992187490304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187521536001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:47:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21609887431655424,"km_value":21609887431655.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992187490304,"description":"Unknown IO ID 45"} 
[2026-09-19 10:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187521536001,"power":14070,"unknown_71":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1974546992187490304}} 
[2026-09-19 10:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":186792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:47:57] local.INFO: GPS data processed {"connection_id":186792,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:47:57] local.INFO: Acknowledgment sent {"connection_id":186792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:09] local.INFO: TCP Data received {"connection_id":188063,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:09] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:09] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:48:10] local.INFO: TCP Data received {"connection_id":188064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:10] local.INFO: Processing buffer {"connection_id":188064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:10] local.INFO: IMEI packet received {"connection_id":188064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":188064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:48:10] local.INFO: TCP Data received {"connection_id":188063,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:10] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:10] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:48:14] local.INFO: TCP Data received {"connection_id":188063,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:14] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:48:14] local.INFO: IMEI packet received {"connection_id":188063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:48:14] local.INFO: TCP Data received {"connection_id":188064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:14] local.INFO: Processing buffer {"connection_id":188064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:48:14] local.INFO: IMEI packet received {"connection_id":188064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:48:15] local.INFO: TCP Data received {"connection_id":188063,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81a99100100000000000000000000000000..."} 
[2026-09-19 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81a99100100000000000000000000000000..."} 
[2026-09-19 10:48:15] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81a99100100000000000000000000000000..."} 
[2026-09-19 10:48:15] local.INFO: Packet analysis {"connection_id":188063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:48:15] local.INFO: Extracted packet for processing {"connection_id":188063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:48: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-19 10: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-19 10:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187493888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7130394445770829824,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795146000,"timestamp_ms":1789795146000,"timestamp_seconds":1789795146,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81a9910"} 
[2026-09-19 10: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-19 10:48: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-19 10: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 10:48:15] 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-19 10: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-19 10: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-19 10:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":188063,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 10:48:15] local.INFO: GPS data processed {"connection_id":188063,"processed":0,"errors":0,"total":1} 
[2026-09-19 10:48:15] local.INFO: Acknowledgment sent {"connection_id":188063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:16] local.INFO: TCP Data received {"connection_id":188064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:16] local.INFO: Processing buffer {"connection_id":188064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:16] local.INFO: Packet analysis {"connection_id":188064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:48:16] local.INFO: Extracted packet for processing {"connection_id":188064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:16] 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-19 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10: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-19 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:48:16] 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-19 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":188064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:48:16] local.INFO: GPS data processed {"connection_id":188064,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:48:16] local.INFO: Acknowledgment sent {"connection_id":188064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:32] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8188da0012d1b6500071da020005300ea23..."} 
[2026-09-19 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8188da0012d1b6500071da020005300ea23..."} 
[2026-09-19 10:48:32] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8188da0012d1b6500071da020005300ea23..."} 
[2026-09-19 10:48:32] local.INFO: Packet analysis {"connection_id":186792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:48:32] local.INFO: Extracted packet for processing {"connection_id":186792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756770048,"raw_latitude":119382048,"longitude_deg":75.6770048,"latitude_deg":11.9382048,"altitude":83,"angle":234,"satellites":35,"speed":8,"hex_longitude":"2d1b6500","hex_latitude":"071da020","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187522560001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21609913201459200,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974265517210427392,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789795012000,"timestamp_ms":1789795012000,"timestamp_seconds":1789795012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8188da0"} 
[2026-09-19 10: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-19 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 10:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":186792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":186792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":186792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:48: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-19 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187522560001,"66":13352,"71":206,"83":41984,"24":8,"16":21609913201459200,"45":1974265517210427392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187522560001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:48:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21609913201459200,"km_value":21609913201459.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974265517210427392,"description":"Unknown IO ID 45"} 
[2026-09-19 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187522560001,"power":13352,"unknown_71":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1974265517210427392}} 
[2026-09-19 10:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":186792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:48:33] local.INFO: GPS data processed {"connection_id":186792,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:48:33] local.INFO: Acknowledgment sent {"connection_id":186792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:46] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:46] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:46] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:48:47] local.INFO: TCP Data received {"connection_id":188064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:47] local.INFO: Processing buffer {"connection_id":188064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:48:47] local.INFO: Packet analysis {"connection_id":188064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:48:47] local.INFO: Extracted packet for processing {"connection_id":188064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48: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-19 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:48: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-19 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:48:47] 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-19 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":188064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:48:47] local.INFO: GPS data processed {"connection_id":188064,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:48:47] local.INFO: Acknowledgment sent {"connection_id":188064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:48] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:48] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:48] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:48:49] local.INFO: TCP Data received {"connection_id":188063,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8174968012c9c8d4007aff9c8001f013d2d..."} 
[2026-09-19 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8174968012c9c8d4007aff9c8001f013d2d..."} 
[2026-09-19 10:48:49] local.INFO: Processing buffer {"connection_id":188063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8174968012c9c8d4007aff9c8001f013d2d..."} 
[2026-09-19 10:48:49] local.INFO: Packet analysis {"connection_id":188063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b817"} 
[2026-09-19 10:48:49] local.INFO: Extracted packet for processing {"connection_id":188063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b817"} 
[2026-09-19 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":748457280,"raw_latitude":128973256,"longitude_deg":74.845728,"latitude_deg":12.8973256,"altitude":31,"angle":317,"satellites":45,"speed":53,"hex_longitude":"2c9c8d40","hex_latitude":"07aff9c8","is_valid_coordinates":true} 
[2026-09-19 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":323660145491968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789794929000,"timestamp_ms":1789794929000,"timestamp_seconds":1789794929,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8174968"} 
[2026-09-19 10:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-19 10:48: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-19 10:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"187":206,"9":57344,"24":53,"16":323660145491968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16]} 
[2026-09-19 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":323660145491968,"km_value":323660145491.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_187":206,"unknown_9":57344,"ignition":53,"odometer":null}} 
[2026-09-19 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":188063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:48:49] local.INFO: GPS data processed {"connection_id":188063,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:48:49] local.INFO: Acknowledgment sent {"connection_id":188063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:51] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:51] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:48:51] local.INFO: IMEI packet received {"connection_id":186668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":186668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:48:52] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8189188012d1b63c0071d9fe80052010223..."} 
[2026-09-19 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8189188012d1b63c0071d9fe80052010223..."} 
[2026-09-19 10:48:52] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8189188012d1b63c0071d9fe80052010223..."} 
[2026-09-19 10:48:52] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:48:52] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b818"} 
[2026-09-19 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756769728,"raw_latitude":119381992,"longitude_deg":75.6769728,"latitude_deg":11.9381992,"altitude":82,"angle":258,"satellites":35,"speed":9,"hex_longitude":"2d1b63c0","hex_latitude":"071d9fe8","is_valid_coordinates":true} 
[2026-09-19 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187523072001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21609926086361088,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042233634816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795013000,"timestamp_ms":1789795013000,"timestamp_seconds":1789795013,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8189188"} 
[2026-09-19 10:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:48:52] 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-19 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-19 10:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:48:52] 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-19 10:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187523072001,"66":13972,"71":206,"83":41984,"24":9,"16":21609926086361088,"45":1973984042233634816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187523072001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:48:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21609926086361088,"km_value":21609926086361.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042233634816,"description":"Unknown IO ID 45"} 
[2026-09-19 10:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187523072001,"power":13972,"unknown_71":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1973984042233634816}} 
[2026-09-19 10:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:48:52] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:48:52] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:48:53] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0b8189d40012d1b6100071d9ff00051011b23..."} 
[2026-09-19 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b8189d40012d1b6100071d9ff00051011b23..."} 
[2026-09-19 10:48:53] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b8189d40012d1b6100071d9ff00051011b23..."} 
[2026-09-19 10:48:53] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b818"} 
[2026-09-19 10:48:53] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b818"} 
[2026-09-19 10:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756769024,"raw_latitude":119382000,"longitude_deg":75.6769024,"latitude_deg":11.9382,"altitude":81,"angle":283,"satellites":35,"speed":12,"hex_longitude":"2d1b6100","hex_latitude":"071d9ff0","is_valid_coordinates":true} 
[2026-09-19 10:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 10:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:48:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:48:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 10:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 10:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 10:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 10:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 10:48:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 10:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 10:48:53] local.ERROR: GPS data processing failed {"connection_id":186668,"error":"No valid data to process"} 
[2026-09-19 10:48:53] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 10:49:09] local.INFO: TCP Data received {"connection_id":188065,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:09] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:09] local.INFO: IMEI packet received {"connection_id":188065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:49:09] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:09] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:09] local.INFO: IMEI packet received {"connection_id":188066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:49:14] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:14] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:49:14] local.INFO: IMEI packet received {"connection_id":188066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":188066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:49:15] local.INFO: TCP Data received {"connection_id":188065,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:15] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:49:15] local.INFO: IMEI packet received {"connection_id":188065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":188065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:49:15] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:15] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:15] local.INFO: Packet analysis {"connection_id":188066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:49:15] local.INFO: Extracted packet for processing {"connection_id":188066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49: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-19 10:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10: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-19 10:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:49: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-19 10: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-19 10: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-19 10:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:49:15] 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-19 10:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":188066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:15] local.INFO: GPS data processed {"connection_id":188066,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:15] local.INFO: Acknowledgment sent {"connection_id":188066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:49:17] local.INFO: TCP Data received {"connection_id":188065,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8199f10012c9ad34007b2b770000801562e..."} 
[2026-09-19 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8199f10012c9ad34007b2b770000801562e..."} 
[2026-09-19 10:49:17] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8199f10012c9ad34007b2b770000801562e..."} 
[2026-09-19 10:49:17] local.INFO: Packet analysis {"connection_id":188065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:49:17] local.INFO: Extracted packet for processing {"connection_id":188065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:49:17] local.INFO: GPS Element Parsed {"raw_longitude":748344128,"raw_latitude":129152880,"longitude_deg":74.8344128,"latitude_deg":12.915288,"altitude":8,"angle":342,"satellites":46,"speed":49,"hex_longitude":"2c9ad340","hex_latitude":"07b2b770","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187538944001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":325090369601536,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7287105639001409536,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795082000,"timestamp_ms":1789795082000,"timestamp_seconds":1789795082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8199f10"} 
[2026-09-19 10: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-19 10:49: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-19 10: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 10:49:17] 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-19 10: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-19 10: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-19 10:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187538944001,"66":28224,"241":206,"9":57344,"24":49,"16":325090369601536,"44":-7287105639001409536},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 10:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187538944001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":325090369601536,"km_value":325090369601.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7287105639001409536,"description":"Unknown IO ID 44"} 
[2026-09-19 10:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187538944001,"power":28224,"unknown_241":206,"unknown_9":57344,"ignition":49,"odometer":null,"unknown_44":-7287105639001409536}} 
[2026-09-19 10:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":188065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:17] local.INFO: GPS data processed {"connection_id":188065,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:17] local.INFO: Acknowledgment sent {"connection_id":188065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:49:36] local.INFO: TCP Data received {"connection_id":186668,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81a2bb0012d1ad4c0071d7d68005800d729..."} 
[2026-09-19 10:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81a2bb0012d1ad4c0071d7d68005800d729..."} 
[2026-09-19 10:49:36] local.INFO: Processing buffer {"connection_id":186668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81a2bb0012d1ad4c0071d7d68005800d729..."} 
[2026-09-19 10:49:36] local.INFO: Packet analysis {"connection_id":186668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:49:36] local.INFO: Extracted packet for processing {"connection_id":186668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756733120,"raw_latitude":119373160,"longitude_deg":75.673312,"latitude_deg":11.937316,"altitude":88,"angle":215,"satellites":41,"speed":19,"hex_longitude":"2d1ad4c0","hex_latitude":"071d7d68","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187549952001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21611961900859392,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933662751817660416,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789795118000,"timestamp_ms":1789795118000,"timestamp_seconds":1789795118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81a2bb0"} 
[2026-09-19 10: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-19 10:49:36] 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-19 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 10:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":186668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":186668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:49:36] 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-19 10:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187549952001,"66":14461,"71":206,"83":41984,"24":19,"16":21611961900859392,"45":1933662751817660416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187549952001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21611961900859392,"km_value":21611961900859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933662751817660416,"description":"Unknown IO ID 45"} 
[2026-09-19 10:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187549952001,"power":14461,"unknown_71":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1933662751817660416}} 
[2026-09-19 10:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":186668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:36] local.INFO: GPS data processed {"connection_id":186668,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:36] local.INFO: Acknowledgment sent {"connection_id":186668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:49:46] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:46] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:46] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:49:48] local.INFO: TCP Data received {"connection_id":188066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:48] local.INFO: Processing buffer {"connection_id":188066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:49:48] local.INFO: Packet analysis {"connection_id":188066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:49:48] local.INFO: Extracted packet for processing {"connection_id":188066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49: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-19 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 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-19 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10: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-19 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-19 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-19 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:49: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-19 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":188066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:48] local.INFO: GPS data processed {"connection_id":188066,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:48] local.INFO: Acknowledgment sent {"connection_id":188066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:49:51] local.INFO: TCP Data received {"connection_id":188065,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b819ba68012c9ac84007b2d8a8000801552e..."} 
[2026-09-19 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b819ba68012c9ac84007b2d8a8000801552e..."} 
[2026-09-19 10:49:51] local.INFO: Processing buffer {"connection_id":188065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b819ba68012c9ac84007b2d8a8000801552e..."} 
[2026-09-19 10:49:51] local.INFO: Packet analysis {"connection_id":188065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:49:51] local.INFO: Extracted packet for processing {"connection_id":188065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":748341312,"raw_latitude":129161384,"longitude_deg":74.8341312,"latitude_deg":12.9161384,"altitude":8,"angle":341,"satellites":46,"speed":51,"hex_longitude":"2c9ac840","hex_latitude":"07b2d8a8","is_valid_coordinates":true} 
[2026-09-19 10:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187540992001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":325524161298432,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7290412969975386112,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789795089000,"timestamp_ms":1789795089000,"timestamp_seconds":1789795089,"priority":1,"record_length":96,"hex_timestamp":"000001a0b819ba68"} 
[2026-09-19 10:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 10:49:51] 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-19 10:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187540992001,"66":28267,"241":206,"9":57344,"24":51,"16":325524161298432,"44":-7290412969975386112},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187540992001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":325524161298432,"km_value":325524161298.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7290412969975386112,"description":"Unknown IO ID 44"} 
[2026-09-19 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187540992001,"power":28267,"unknown_241":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7290412969975386112}} 
[2026-09-19 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":188065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:51] local.INFO: GPS data processed {"connection_id":188065,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:51] local.INFO: Acknowledgment sent {"connection_id":188065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:49:52] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:52] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:49:52] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:49:53] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81a3f38012d1ad000071d77e0005800ca28..."} 
[2026-09-19 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81a3f38012d1ad000071d77e0005800ca28..."} 
[2026-09-19 10:49:53] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81a3f38012d1ad000071d77e0005800ca28..."} 
[2026-09-19 10:49:53] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:49:53] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756731904,"raw_latitude":119371744,"longitude_deg":75.6731904,"latitude_deg":11.9371744,"altitude":88,"angle":202,"satellites":40,"speed":7,"hex_longitude":"2d1ad000","hex_latitude":"071d77e0","is_valid_coordinates":true} 
[2026-09-19 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187550208001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21612052095172608,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933381276840847360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795123000,"timestamp_ms":1789795123000,"timestamp_seconds":1789795123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81a3f38"} 
[2026-09-19 10:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:49:53] 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-19 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 10:49:53] 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-19 10:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:49:53] 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-19 10:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187550208001,"66":14048,"71":206,"83":41984,"24":7,"16":21612052095172608,"45":1933381276840847360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187550208001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:49:53] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21612052095172608,"km_value":21612052095172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933381276840847360,"description":"Unknown IO ID 45"} 
[2026-09-19 10:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187550208001,"power":14048,"unknown_71":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1933381276840847360}} 
[2026-09-19 10:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:49:53] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:49:53] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:09] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:09] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:09] local.INFO: IMEI packet received {"connection_id":188067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:50:09] local.INFO: TCP Data received {"connection_id":188068,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:09] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:09] local.INFO: IMEI packet received {"connection_id":188068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:50:14] local.INFO: TCP Data received {"connection_id":188068,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:14] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:50:14] local.INFO: IMEI packet received {"connection_id":188068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:50:14] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:14] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:50:14] local.INFO: IMEI packet received {"connection_id":188067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:50:15] local.INFO: TCP Data received {"connection_id":188068,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b819d1d8012c9abc4007b2f490000901482f..."} 
[2026-09-19 10:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b819d1d8012c9abc4007b2f490000901482f..."} 
[2026-09-19 10:50:15] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b819d1d8012c9abc4007b2f490000901482f..."} 
[2026-09-19 10:50:15] local.INFO: Packet analysis {"connection_id":188068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:50:15] local.INFO: Extracted packet for processing {"connection_id":188068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b819"} 
[2026-09-19 10:50:15] local.INFO: GPS Element Parsed {"raw_longitude":748338240,"raw_latitude":129168528,"longitude_deg":74.833824,"latitude_deg":12.9168528,"altitude":9,"angle":328,"satellites":47,"speed":51,"hex_longitude":"2c9abc40","hex_latitude":"07b2f490","is_valid_coordinates":true} 
[2026-09-19 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187542784001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":325902118420480,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7293509194717026304,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795095000,"timestamp_ms":1789795095000,"timestamp_seconds":1789795095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b819d1d8"} 
[2026-09-19 10:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:50:15] 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-19 10:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187542784001,"66":28256,"241":206,"9":57344,"24":51,"16":325902118420480,"44":-7293509194717026304},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 10:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187542784001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 10:50:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":325902118420480,"km_value":325902118420.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7293509194717026304,"description":"Unknown IO ID 44"} 
[2026-09-19 10:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187542784001,"power":28256,"unknown_241":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7293509194717026304}} 
[2026-09-19 10:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":188068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:15] local.INFO: GPS data processed {"connection_id":188068,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:15] local.INFO: Acknowledgment sent {"connection_id":188068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:16] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:50:16] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8168a00012d34c14006aa41400008010e2e..."} 
[2026-09-19 10:50:16] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:50:16] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b816"} 
[2026-09-19 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187412224001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:16] 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-19 10:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789794880000,"timestamp_ms":1789794880000,"timestamp_seconds":1789794880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8168a00"} 
[2026-09-19 10: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-19 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:50: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-19 10:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187412224001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187412224001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187412224001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:16] local.INFO: GPS data processed {"connection_id":188067,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:16] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:24] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81a4320012d1acf80071d7718005800be28..."} 
[2026-09-19 10:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81a4320012d1acf80071d7718005800be28..."} 
[2026-09-19 10:50:24] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81a4320012d1acf80071d7718005800be28..."} 
[2026-09-19 10:50:24] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:50:24] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81a"} 
[2026-09-19 10:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756731776,"raw_latitude":119371544,"longitude_deg":75.6731776,"latitude_deg":11.9371544,"altitude":88,"angle":190,"satellites":40,"speed":8,"hex_longitude":"2d1acf80","hex_latitude":"071d7718","is_valid_coordinates":true} 
[2026-09-19 10:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187551488001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21612064980074496,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932044270701109248,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789795124000,"timestamp_ms":1789795124000,"timestamp_seconds":1789795124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81a4320"} 
[2026-09-19 10:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:50: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-19 10:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 10:50:24] 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-19 10:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:50:24] 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-19 10:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187551488001,"66":14048,"71":206,"83":41984,"24":8,"16":21612064980074496,"45":1932044270701109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187551488001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21612064980074496,"km_value":21612064980074.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932044270701109248,"description":"Unknown IO ID 45"} 
[2026-09-19 10:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187551488001,"power":14048,"unknown_71":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1932044270701109248}} 
[2026-09-19 10:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:24] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:24] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:46] local.INFO: TCP Data received {"connection_id":188068,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b50a8012c99998007b47e28000b01392d..."} 
[2026-09-19 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b50a8012c99998007b47e28000b01392d..."} 
[2026-09-19 10:50:46] local.INFO: Processing buffer {"connection_id":188068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b50a8012c99998007b47e28000b01392d..."} 
[2026-09-19 10:50:46] local.INFO: Packet analysis {"connection_id":188068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:46] local.INFO: Extracted packet for processing {"connection_id":188068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:46] local.INFO: GPS Element Parsed {"raw_longitude":748263808,"raw_latitude":129269288,"longitude_deg":74.8263808,"latitude_deg":12.9269288,"altitude":11,"angle":313,"satellites":45,"speed":39,"hex_longitude":"2c999980","hex_latitude":"07b47e28","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187567360001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":331975202177024,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7371477763239862272,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789795193000,"timestamp_ms":1789795193000,"timestamp_seconds":1789795193,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b50a8"} 
[2026-09-19 10: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-19 10:50: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-19 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 10:50:46] 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-19 10: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-19 10: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-19 10:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187567360001,"66":28267,"5":206,"9":57344,"24":39,"16":331975202177024,"44":-7371477763239862272},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187567360001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:46] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:50:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":331975202177024,"km_value":331975202177.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7371477763239862272,"description":"Unknown IO ID 44"} 
[2026-09-19 10:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187567360001,"power":28267,"unknown_5":206,"unknown_9":57344,"ignition":39,"odometer":null,"unknown_44":-7371477763239862272}} 
[2026-09-19 10:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":188068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:46] local.INFO: GPS data processed {"connection_id":188068,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:46] local.INFO: Acknowledgment sent {"connection_id":188068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:46] local.INFO: TCP Data received {"connection_id":189406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:46] local.INFO: Processing buffer {"connection_id":189406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:46] local.INFO: IMEI packet received {"connection_id":189406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":189406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:50:47] local.INFO: TCP Data received {"connection_id":189406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:47] local.INFO: Processing buffer {"connection_id":189406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:47] local.INFO: IMEI packet received {"connection_id":189406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":189406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:50:47] local.INFO: TCP Data received {"connection_id":188067,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:50:47] local.INFO: Processing buffer {"connection_id":188067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:50:47] local.INFO: Packet analysis {"connection_id":188067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:47] local.INFO: Extracted packet for processing {"connection_id":188067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50: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-19 10:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10: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-19 10:50: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-19 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:50: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-19 10: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-19 10: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-19 10:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:50: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-19 10:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":188067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:47] local.INFO: GPS data processed {"connection_id":188067,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:47] local.INFO: Acknowledgment sent {"connection_id":188067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:50:54] local.INFO: TCP Data received {"connection_id":189406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:54] local.INFO: Processing buffer {"connection_id":189406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:50:54] local.INFO: IMEI packet received {"connection_id":189406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":189406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:50:55] local.INFO: TCP Data received {"connection_id":189406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b3d20012d1abd80071d0e50003d00a323..."} 
[2026-09-19 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b3d20012d1abd80071d0e50003d00a323..."} 
[2026-09-19 10:50:55] local.INFO: Processing buffer {"connection_id":189406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b3d20012d1abd80071d0e50003d00a323..."} 
[2026-09-19 10:50:55] local.INFO: Packet analysis {"connection_id":189406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:55] local.INFO: Extracted packet for processing {"connection_id":189406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756727168,"raw_latitude":119344720,"longitude_deg":75.6727168,"latitude_deg":11.934472,"altitude":61,"angle":163,"satellites":35,"speed":21,"hex_longitude":"2d1abd80","hex_latitude":"071d0e50","is_valid_coordinates":true} 
[2026-09-19 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566592001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21613546743791616,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925570346230700032,"note":"Value kept but may cause issues"} 
[2026-09-19 10:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789795188000,"timestamp_ms":1789795188000,"timestamp_seconds":1789795188,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b3d20"} 
[2026-09-19 10:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:50:55] 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-19 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 10:50:55] 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-19 10:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:50:55] 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-19 10:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566592001,"66":14070,"71":206,"83":41984,"24":21,"16":21613546743791616,"45":1925570346230700032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566592001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:50:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21613546743791616,"km_value":21613546743791.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925570346230700032,"description":"Unknown IO ID 45"} 
[2026-09-19 10:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566592001,"power":14070,"unknown_71":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1925570346230700032}} 
[2026-09-19 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":189406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:50:55] local.INFO: GPS data processed {"connection_id":189406,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:50:55] local.INFO: Acknowledgment sent {"connection_id":189406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:51:10] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:10] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:10] local.INFO: IMEI packet received {"connection_id":188069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":188069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:51:14] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:14] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:51:14] local.INFO: IMEI packet received {"connection_id":188069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:51:15] local.INFO: TCP Data received {"connection_id":186794,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:15] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:15] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:51:16] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:16] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:16] local.INFO: Packet analysis {"connection_id":188069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:16] local.INFO: Extracted packet for processing {"connection_id":188069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:16] 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-19 10:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10: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-19 10:51: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-19 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10: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-19 10: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-19 10:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:51:16] 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-19 10:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":188069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:51:16] local.INFO: GPS data processed {"connection_id":188069,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:51:16] local.INFO: Acknowledgment sent {"connection_id":188069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:51:17] local.INFO: TCP Data received {"connection_id":186794,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:17] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:51:17] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:51:18] local.INFO: TCP Data received {"connection_id":186794,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b73d0012c9980c007b49718000a01442e..."} 
[2026-09-19 10:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b73d0012c9980c007b49718000a01442e..."} 
[2026-09-19 10:51:18] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b73d0012c9980c007b49718000a01442e..."} 
[2026-09-19 10:51:18] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:18] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:18] local.INFO: GPS Element Parsed {"raw_longitude":748257472,"raw_latitude":129275672,"longitude_deg":74.8257472,"latitude_deg":12.9275672,"altitude":10,"angle":324,"satellites":46,"speed":34,"hex_longitude":"2c9980c0","hex_latitude":"07b49718","is_valid_coordinates":true} 
[2026-09-19 10:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187569408001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332408993873920,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7378725743888553984,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789795202000,"timestamp_ms":1789795202000,"timestamp_seconds":1789795202,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b73d0"} 
[2026-09-19 10:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:51:18] 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-19 10:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187569408001,"66":28278,"5":206,"9":57344,"24":34,"16":332408993873920,"44":-7378725743888553984},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187569408001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:51:18] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:51:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332408993873920,"km_value":332408993873.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7378725743888553984,"description":"Unknown IO ID 44"} 
[2026-09-19 10:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187569408001,"power":28278,"unknown_5":206,"unknown_9":57344,"ignition":34,"odometer":null,"unknown_44":-7378725743888553984}} 
[2026-09-19 10:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:51:18] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:51:18] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:51:20] local.INFO: TCP Data received {"connection_id":186794,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b7f88012c997b8007b49fc80009014f2d..."} 
[2026-09-19 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b7f88012c997b8007b49fc80009014f2d..."} 
[2026-09-19 10:51:20] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b7f88012c997b8007b49fc80009014f2d..."} 
[2026-09-19 10:51:20] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:20] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":748256128,"raw_latitude":129277896,"longitude_deg":74.8256128,"latitude_deg":12.9277896,"altitude":9,"angle":335,"satellites":45,"speed":36,"hex_longitude":"2c997b80","hex_latitude":"07b49fc8","is_valid_coordinates":true} 
[2026-09-19 10:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187571712001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332533547925504,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7385692249560508416,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795205000,"timestamp_ms":1789795205000,"timestamp_seconds":1789795205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b7f88"} 
[2026-09-19 10:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 10:51:20] 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-19 10:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187571712001,"66":28234,"5":206,"9":57344,"24":36,"16":332533547925504,"44":-7385692249560508416},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187571712001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:51:20] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332533547925504,"km_value":332533547925.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7385692249560508416,"description":"Unknown IO ID 44"} 
[2026-09-19 10:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187571712001,"power":28234,"unknown_5":206,"unknown_9":57344,"ignition":36,"odometer":null,"unknown_44":-7385692249560508416}} 
[2026-09-19 10:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:51:20] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:51:20] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:51:48] local.INFO: TCP Data received {"connection_id":188069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:48] local.INFO: Processing buffer {"connection_id":188069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:51:48] local.INFO: Packet analysis {"connection_id":188069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:48] local.INFO: Extracted packet for processing {"connection_id":188069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51: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-19 10:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10: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-19 10: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-19 10: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-19 10: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-19 10: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-19 10: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-19 10:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10: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-19 10:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":188069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:51:48] local.INFO: GPS data processed {"connection_id":188069,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:51:48] local.INFO: Acknowledgment sent {"connection_id":188069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:51:55] local.INFO: TCP Data received {"connection_id":186794,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b8b40012c99780007b4a9980008015b2d..."} 
[2026-09-19 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b8b40012c99780007b4a9980008015b2d..."} 
[2026-09-19 10:51:55] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b8b40012c99780007b4a9980008015b2d..."} 
[2026-09-19 10:51:55] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:55] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":748255232,"raw_latitude":129280408,"longitude_deg":74.8255232,"latitude_deg":12.9280408,"altitude":8,"angle":347,"satellites":45,"speed":34,"hex_longitude":"2c997800","hex_latitude":"07b4a998","is_valid_coordinates":true} 
[2026-09-19 10:51: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-19 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187572480001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332662396944384,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7387169993187670016,"note":"Value kept but may cause issues"} 
[2026-09-19 10:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789795208000,"timestamp_ms":1789795208000,"timestamp_seconds":1789795208,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b8b40"} 
[2026-09-19 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:51: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-19 10:51: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-19 10:51: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-19 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187572480001,"66":28267,"5":206,"9":57344,"24":34,"16":332662396944384,"44":-7387169993187670016},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187572480001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:51:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:51:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332662396944384,"km_value":332662396944.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7387169993187670016,"description":"Unknown IO ID 44"} 
[2026-09-19 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187572480001,"power":28267,"unknown_5":206,"unknown_9":57344,"ignition":34,"odometer":null,"unknown_44":-7387169993187670016}} 
[2026-09-19 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:51:55] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:51:55] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:03] local.INFO: TCP Data received {"connection_id":189406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b77b8012d1ac400071ceae0003100b222..."} 
[2026-09-19 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b77b8012d1ac400071ceae0003100b222..."} 
[2026-09-19 10:52:03] local.INFO: Processing buffer {"connection_id":189406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b77b8012d1ac400071ceae0003100b222..."} 
[2026-09-19 10:52:03] local.INFO: Packet analysis {"connection_id":189406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:03] local.INFO: Extracted packet for processing {"connection_id":189406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756728832,"raw_latitude":119335648,"longitude_deg":75.6728832,"latitude_deg":11.9335648,"altitude":49,"angle":178,"satellites":34,"speed":20,"hex_longitude":"2d1ac400","hex_latitude":"071ceae0","is_valid_coordinates":true} 
[2026-09-19 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-19 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187568128001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21613997715357696,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926836983625043968,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789795203000,"timestamp_ms":1789795203000,"timestamp_seconds":1789795203,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b77b8"} 
[2026-09-19 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-19 10:52: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-19 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 10:52: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-19 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-19 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-19 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:52: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-19 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187568128001,"66":14428,"71":206,"83":41984,"24":20,"16":21613997715357696,"45":1926836983625043968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187568128001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 10:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21613997715357696,"km_value":21613997715357.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926836983625043968,"description":"Unknown IO ID 45"} 
[2026-09-19 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187568128001,"power":14428,"unknown_71":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1926836983625043968}} 
[2026-09-19 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":189406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:03] local.INFO: GPS data processed {"connection_id":189406,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:03] local.INFO: Acknowledgment sent {"connection_id":189406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:09] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:09] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:09] local.INFO: IMEI packet received {"connection_id":186795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:52:11] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:11] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:11] local.INFO: IMEI packet received {"connection_id":188070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":188070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:52:13] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:13] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:52:13] local.INFO: IMEI packet received {"connection_id":186795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":186795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:52:15] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0b8..."} 
[2026-09-19 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0b8..."} 
[2026-09-19 10:52:15] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0b8..."} 
[2026-09-19 10:52:15] local.INFO: IMEI packet received {"connection_id":186795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":186795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:52:17] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81bc9c0012c99668007b4e3500008014d2f..."} 
[2026-09-19 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81bc9c0012c99668007b4e3500008014d2f..."} 
[2026-09-19 10:52:17] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b81bb250012c996ec007b4cc68000801592c..."} 
[2026-09-19 10:52:17] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:17] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":748252864,"raw_latitude":129289320,"longitude_deg":74.8252864,"latitude_deg":12.928932,"altitude":8,"angle":345,"satellites":44,"speed":40,"hex_longitude":"2c996ec0","hex_latitude":"07b4cc68","is_valid_coordinates":true} 
[2026-09-19 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333109073543168,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7388155155605514240,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795218000,"timestamp_ms":1789795218000,"timestamp_seconds":1789795218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81bb250"} 
[2026-09-19 10:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:17] 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-19 10:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187573248001,"66":28224,"5":206,"9":57344,"24":40,"16":333109073543168,"44":-7388155155605514240},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333109073543168,"km_value":333109073543.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7388155155605514240,"description":"Unknown IO ID 44"} 
[2026-09-19 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187573248001,"power":28224,"unknown_5":206,"unknown_9":57344,"ignition":40,"odometer":null,"unknown_44":-7388155155605514240}} 
[2026-09-19 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:17] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:17] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:17] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:17] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":748250752,"raw_latitude":129295184,"longitude_deg":74.8250752,"latitude_deg":12.9295184,"altitude":8,"angle":333,"satellites":47,"speed":42,"hex_longitude":"2c996680","hex_latitude":"07b4e350","is_valid_coordinates":true} 
[2026-09-19 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187575808001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333409721253888,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7390758799137806336,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795224000,"timestamp_ms":1789795224000,"timestamp_seconds":1789795224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81bc9c0"} 
[2026-09-19 10:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:17] 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-19 10:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187575808001,"66":28256,"5":206,"9":57344,"24":42,"16":333409721253888,"44":-7390758799137806336},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187575808001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333409721253888,"km_value":333409721253.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7390758799137806336,"description":"Unknown IO ID 44"} 
[2026-09-19 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187575808001,"power":28256,"unknown_5":206,"unknown_9":57344,"ignition":42,"odometer":null,"unknown_44":-7390758799137806336}} 
[2026-09-19 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:17] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:17] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:18] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:18] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:52:18] local.INFO: IMEI packet received {"connection_id":188070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":188070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:52:19] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:19] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:19] local.INFO: Packet analysis {"connection_id":188070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:19] local.INFO: Extracted packet for processing {"connection_id":188070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:19] 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-19 10:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:19] 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-19 10:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":188070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:19] local.INFO: GPS data processed {"connection_id":188070,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:19] local.INFO: Acknowledgment sent {"connection_id":188070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:20] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81be130012c99580007b4f9300009014230..."} 
[2026-09-19 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81be130012c99580007b4f9300009014230..."} 
[2026-09-19 10:52:20] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81be130012c99580007b4f9300009014230..."} 
[2026-09-19 10:52:20] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:20] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":748247040,"raw_latitude":129300784,"longitude_deg":74.824704,"latitude_deg":12.9300784,"altitude":9,"angle":322,"satellites":48,"speed":44,"hex_longitude":"2c995800","hex_latitude":"07b4f930","is_valid_coordinates":true} 
[2026-09-19 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187577344001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333731843801088,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7393080967694168064,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795230000,"timestamp_ms":1789795230000,"timestamp_seconds":1789795230,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81be130"} 
[2026-09-19 10:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:20] 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-19 10:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187577344001,"66":28017,"5":206,"9":57344,"24":44,"16":333731843801088,"44":-7393080967694168064},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187577344001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:20] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333731843801088,"km_value":333731843801.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7393080967694168064,"description":"Unknown IO ID 44"} 
[2026-09-19 10:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187577344001,"power":28017,"unknown_5":206,"unknown_9":57344,"ignition":44,"odometer":null,"unknown_44":-7393080967694168064}} 
[2026-09-19 10:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:20] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:20] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:22] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:22] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:22] local.INFO: Packet analysis {"connection_id":188070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:22] local.INFO: Extracted packet for processing {"connection_id":188070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:22] 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-19 10:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:22] 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-19 10:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":188070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:22] local.INFO: GPS data processed {"connection_id":188070,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:22] local.INFO: Acknowledgment sent {"connection_id":188070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:37] local.INFO: TCP Data received {"connection_id":188071,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:37] local.INFO: Processing buffer {"connection_id":188071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:37] local.INFO: IMEI packet received {"connection_id":188071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":188071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:52:53] local.INFO: TCP Data received {"connection_id":188070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:53] local.INFO: Processing buffer {"connection_id":188070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:52:53] local.INFO: Packet analysis {"connection_id":188070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:53] local.INFO: Extracted packet for processing {"connection_id":188070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:52:53] 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-19 10:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:52: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-19 10:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:52:53] 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-19 10:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":188070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:52:53] local.INFO: GPS data processed {"connection_id":188070,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:52:53] local.INFO: Acknowledgment sent {"connection_id":188070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:52:55] local.INFO: TCP Data received {"connection_id":189407,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:55] local.INFO: Processing buffer {"connection_id":189407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:55] local.INFO: IMEI packet received {"connection_id":189407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":189407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:52:56] local.INFO: TCP Data received {"connection_id":189407,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:56] local.INFO: Processing buffer {"connection_id":189407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:56] local.INFO: IMEI packet received {"connection_id":189407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":189407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:52:59] local.INFO: TCP Data received {"connection_id":189407,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:59] local.INFO: Processing buffer {"connection_id":189407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:52:59] local.INFO: IMEI packet received {"connection_id":189407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":189407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:00] local.INFO: TCP Data received {"connection_id":189407,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81ccb90012d1a5ac0071ca4100035012b23..."} 
[2026-09-19 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81ccb90012d1a5ac0071ca4100035012b23..."} 
[2026-09-19 10:53:00] local.INFO: Processing buffer {"connection_id":189407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81ccb90012d1a5ac0071ca4100035012b23..."} 
[2026-09-19 10:53:00] local.INFO: Packet analysis {"connection_id":189407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:00] local.INFO: Extracted packet for processing {"connection_id":189407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756701888,"raw_latitude":119317520,"longitude_deg":75.6701888,"latitude_deg":11.931752,"altitude":53,"angle":299,"satellites":35,"speed":12,"hex_longitude":"2d1a5ac0","hex_latitude":"071ca410","is_valid_coordinates":true} 
[2026-09-19 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187593984001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21615754356981760,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899393173388750848,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789795290000,"timestamp_ms":1789795290000,"timestamp_seconds":1789795290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81ccb90"} 
[2026-09-19 10:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53:00] 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-19 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533259,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1358954496,"corrected_to":0} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3088877864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2638217270,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738055,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5908948563156586067,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3408265216,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":26,"raw_value":8700962299618787386,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,83,24,241,157,16,203,160,187,45,128,53,35,10,66,180,158,37,176,1,240,198,227,184,28,4,113,205,19,144,111,8,239,54,71,2,76,7,60,15,26,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":203,"original":1358954496,"validated":0},{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-19 10:53:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819400084304101376,"timestamp_seconds":3819400084304101.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":189407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":189407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":189407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:00] 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-19 10:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187593984001,"66":13580,"109":206,"83":41984,"24":12,"16":21615754356981760,"45":1899393173388750848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187593984001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21615754356981760,"km_value":21615754356981.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899393173388750848,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187593984001,"power":13580,"unknown_109":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1899393173388750848}} 
[2026-09-19 10:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":189407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:00] local.INFO: GPS data processed {"connection_id":189407,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:00] local.INFO: Acknowledgment sent {"connection_id":189407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:09] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:09] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:09] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:53:14] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:14] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:53:14] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:15] local.INFO: TCP Data received {"connection_id":186795,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81d3cd8012c98294007b64c680009013a2e..."} 
[2026-09-19 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81d3cd8012c98294007b64c680009013a2e..."} 
[2026-09-19 10:53:15] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81d3cd8012c98294007b64c680009013a2e..."} 
[2026-09-19 10:53:15] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:53:15] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:53:15] local.INFO: GPS Element Parsed {"raw_longitude":748169536,"raw_latitude":129387624,"longitude_deg":74.8169536,"latitude_deg":12.9387624,"altitude":9,"angle":314,"satellites":46,"speed":55,"hex_longitude":"2c982940","hex_latitude":"07b64c68","is_valid_coordinates":true} 
[2026-09-19 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187599872001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339323891220480,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7474497604685830144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795319000,"timestamp_ms":1789795319000,"timestamp_seconds":1789795319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81d3cd8"} 
[2026-09-19 10:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53: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-19 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:53: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-19 10:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187599872001,"66":28398,"5":206,"9":57344,"24":55,"16":339323891220480,"44":-7474497604685830144},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187599872001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:15] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:53:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339323891220480,"km_value":339323891220.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7474497604685830144,"description":"Unknown IO ID 44"} 
[2026-09-19 10:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187599872001,"power":28398,"unknown_5":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7474497604685830144}} 
[2026-09-19 10:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:15] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:15] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:16] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:16] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:16] local.INFO: Packet analysis {"connection_id":186796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:53:16] local.INFO: Extracted packet for processing {"connection_id":186796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:16] 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-19 10:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53: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-19 10:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:53:16] 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-19 10:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:16] local.INFO: GPS data processed {"connection_id":186796,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:16] local.INFO: Acknowledgment sent {"connection_id":186796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:19] local.INFO: TCP Data received {"connection_id":189408,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:19] local.INFO: Processing buffer {"connection_id":189408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:19] local.INFO: IMEI packet received {"connection_id":189408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":189408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:53:20] local.INFO: TCP Data received {"connection_id":189408,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:20] local.INFO: Processing buffer {"connection_id":189408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:20] local.INFO: IMEI packet received {"connection_id":189408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":189408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:24] local.INFO: TCP Data received {"connection_id":189408,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:24] local.INFO: Processing buffer {"connection_id":189408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:53:24] local.INFO: IMEI packet received {"connection_id":189408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":189408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:25] local.INFO: TCP Data received {"connection_id":189408,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81d5830012c980e8007b66668000a013b2c..."} 
[2026-09-19 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81d5830012c980e8007b66668000a013b2c..."} 
[2026-09-19 10:53:25] local.INFO: Processing buffer {"connection_id":189408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81d5830012c980e8007b66668000a013b2c..."} 
[2026-09-19 10:53:25] local.INFO: Packet analysis {"connection_id":189408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:53:25] local.INFO: Extracted packet for processing {"connection_id":189408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":748162688,"raw_latitude":129394280,"longitude_deg":74.8162688,"latitude_deg":12.939428,"altitude":10,"angle":315,"satellites":44,"speed":50,"hex_longitude":"2c980e80","hex_latitude":"07b66668","is_valid_coordinates":true} 
[2026-09-19 10:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187601664001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339779157753856,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7482378904031959040,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789795326000,"timestamp_ms":1789795326000,"timestamp_seconds":1789795326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81d5830"} 
[2026-09-19 10:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:25] 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-19 10:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187601664001,"66":28376,"5":206,"9":57344,"24":50,"16":339779157753856,"44":-7482378904031959040},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187601664001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:53:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339779157753856,"km_value":339779157753.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7482378904031959040,"description":"Unknown IO ID 44"} 
[2026-09-19 10:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187601664001,"power":28376,"unknown_5":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7482378904031959040}} 
[2026-09-19 10:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":189408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:25] local.INFO: GPS data processed {"connection_id":189408,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:25] local.INFO: Acknowledgment sent {"connection_id":189408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:32] local.INFO: TCP Data received {"connection_id":189407,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81ccf78012d1a5940071ca4780034011724..."} 
[2026-09-19 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81ccf78012d1a5940071ca4780034011724..."} 
[2026-09-19 10:53:32] local.INFO: Processing buffer {"connection_id":189407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81ccf78012d1a5940071ca4780034011724..."} 
[2026-09-19 10:53:32] local.INFO: Packet analysis {"connection_id":189407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:32] local.INFO: Extracted packet for processing {"connection_id":189407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756701504,"raw_latitude":119317624,"longitude_deg":75.6701504,"latitude_deg":11.9317624,"altitude":52,"angle":279,"satellites":36,"speed":14,"hex_longitude":"2d1a5940","hex_latitude":"071ca478","is_valid_coordinates":true} 
[2026-09-19 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187594240001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21615771536850944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899041329667903488,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789795291000,"timestamp_ms":1789795291000,"timestamp_seconds":1789795291,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81ccf78"} 
[2026-09-19 10:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53:32] 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-19 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533259,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1442840576,"corrected_to":0} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3088879864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":9851688609382410,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2648178742,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637589687658823,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784829253235117,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3410755584,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":26,"raw_value":8232587938315108412,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,83,24,241,157,16,203,160,199,45,163,53,36,10,66,187,128,35,180,1,240,198,227,184,28,4,113,205,17,172,98,64,38,239,54,2,76,7,60,26,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":1442840576,"validated":0},{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-19 10:53:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819381388311527424,"timestamp_seconds":3819381388311527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 10:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10: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-19 10:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187594240001,"66":14135,"109":206,"83":41984,"24":14,"16":21615771536850944,"45":1899041329667903488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187594240001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21615771536850944,"km_value":21615771536850.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899041329667903488,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187594240001,"power":14135,"unknown_109":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1899041329667903488}} 
[2026-09-19 10:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":189407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:33] local.INFO: GPS data processed {"connection_id":189407,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:33] local.INFO: Acknowledgment sent {"connection_id":189407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:43] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:43] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:43] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:53:47] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:47] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:47] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:47] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:47] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:53:47] local.INFO: Packet analysis {"connection_id":186796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:53:47] local.INFO: Extracted packet for processing {"connection_id":186796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53: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-19 10:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10: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-19 10:53: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-19 10: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:53: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-19 10: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-19 10: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-19 10:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:53: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-19 10:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:47] local.INFO: GPS data processed {"connection_id":186796,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:47] local.INFO: Acknowledgment sent {"connection_id":186796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:51] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:51] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:53:51] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:53:52] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81cd360012d1a57c0071ca4680035010625..."} 
[2026-09-19 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81cd360012d1a57c0071ca4680035010625..."} 
[2026-09-19 10:53:52] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81cd360012d1a57c0071ca4680035010625..."} 
[2026-09-19 10:53:52] local.INFO: Packet analysis {"connection_id":186797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:52] local.INFO: Extracted packet for processing {"connection_id":186797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756701120,"raw_latitude":119317608,"longitude_deg":75.670112,"latitude_deg":11.9317608,"altitude":53,"angle":262,"satellites":37,"speed":15,"hex_longitude":"2d1a57c0","hex_latitude":"071ca468","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187594496001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21615788716720128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898619117202864128,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795292000,"timestamp_ms":1789795292000,"timestamp_seconds":1789795292,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81cd360"} 
[2026-09-19 10: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-19 10:53:52] 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-19 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:52] 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-19 10: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-19 10: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-19 10:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:52] 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-19 10:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187594496001,"66":14135,"109":206,"83":41984,"24":15,"16":21615788716720128,"45":1898619117202864128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187594496001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21615788716720128,"km_value":21615788716720.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898619117202864128,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187594496001,"power":14135,"unknown_109":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1898619117202864128}} 
[2026-09-19 10:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":186797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:52] local.INFO: GPS data processed {"connection_id":186797,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:52] local.INFO: Acknowledgment sent {"connection_id":186797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:53:55] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81cd748012d1a5640071ca408003500fa23..."} 
[2026-09-19 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81cd748012d1a5640071ca408003500fa23..."} 
[2026-09-19 10:53:55] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81cd748012d1a5640071ca408003500fa23..."} 
[2026-09-19 10:53:55] local.INFO: Packet analysis {"connection_id":186797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:55] local.INFO: Extracted packet for processing {"connection_id":186797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81c"} 
[2026-09-19 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756700736,"raw_latitude":119317512,"longitude_deg":75.6700736,"latitude_deg":11.9317512,"altitude":53,"angle":250,"satellites":35,"speed":14,"hex_longitude":"2d1a5640","hex_latitude":"071ca408","is_valid_coordinates":true} 
[2026-09-19 10:53: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-19 10:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187594752001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21615810191556608,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898196904737794048,"note":"Value kept but may cause issues"} 
[2026-09-19 10:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789795293000,"timestamp_ms":1789795293000,"timestamp_seconds":1789795293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81cd748"} 
[2026-09-19 10:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:53:55] 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-19 10:53: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 10:53:55] 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-19 10:53: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-19 10:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:53:55] 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-19 10:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187594752001,"66":14243,"109":206,"83":41984,"24":14,"16":21615810191556608,"45":1898196904737794048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 10:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187594752001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:53:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 10:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21615810191556608,"km_value":21615810191556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898196904737794048,"description":"Unknown IO ID 45"} 
[2026-09-19 10:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187594752001,"power":14243,"unknown_109":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1898196904737794048}} 
[2026-09-19 10:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":186797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:53:55] local.INFO: GPS data processed {"connection_id":186797,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:53:55] local.INFO: Acknowledgment sent {"connection_id":186797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:54:09] local.INFO: TCP Data received {"connection_id":189409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:09] local.INFO: Processing buffer {"connection_id":189409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:09] local.INFO: IMEI packet received {"connection_id":189409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":189409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:54:09] local.INFO: TCP Data received {"connection_id":186798,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:09] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:09] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:54:12] local.INFO: TCP Data received {"connection_id":186798,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:12] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:12] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:54:14] local.INFO: TCP Data received {"connection_id":186798,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:14] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:54:14] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:54:14] local.INFO: TCP Data received {"connection_id":189409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:14] local.INFO: Processing buffer {"connection_id":189409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:54:14] local.INFO: IMEI packet received {"connection_id":189409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":189409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:54:16] local.INFO: TCP Data received {"connection_id":189409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:16] local.INFO: Processing buffer {"connection_id":189409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:16] local.INFO: Packet analysis {"connection_id":189409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:54:16] local.INFO: Extracted packet for processing {"connection_id":189409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:16] 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-19 10:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:54: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-19 10:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:54: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-19 10:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":189409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:54:16] local.INFO: GPS data processed {"connection_id":189409,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:54:16] local.INFO: Acknowledgment sent {"connection_id":189409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:54:17] local.INFO: TCP Data received {"connection_id":186798,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81d6fa0012c97fe0007b67aa0000a01472b..."} 
[2026-09-19 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81d6fa0012c97fe0007b67aa0000a01472b..."} 
[2026-09-19 10:54:17] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81d6fa0012c97fe0007b67aa0000a01472b..."} 
[2026-09-19 10:54:17] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:54:17] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":748158464,"raw_latitude":129399456,"longitude_deg":74.8158464,"latitude_deg":12.9399456,"altitude":10,"angle":327,"satellites":43,"speed":41,"hex_longitude":"2c97fe00","hex_latitude":"07b67aa0","is_valid_coordinates":true} 
[2026-09-19 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187603456001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340101280301056,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7489908359657265152,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795332000,"timestamp_ms":1789795332000,"timestamp_seconds":1789795332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81d6fa0"} 
[2026-09-19 10:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 10:54: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-19 10:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187603456001,"66":28300,"5":206,"9":57344,"24":41,"16":340101280301056,"44":-7489908359657265152},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-19 10:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187603456001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:54:17] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 10:54:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340101280301056,"km_value":340101280301.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7489908359657265152,"description":"Unknown IO ID 44"} 
[2026-09-19 10:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187603456001,"power":28300,"unknown_5":206,"unknown_9":57344,"ignition":41,"odometer":null,"unknown_44":-7489908359657265152}} 
[2026-09-19 10:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:54:17] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:54:17] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:54:26] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81edae8012d19c3c0071c46a0004c00a321..."} 
[2026-09-19 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81edae8012d19c3c0071c46a0004c00a321..."} 
[2026-09-19 10:54:26] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81edae8012d19c3c0071c46a0004c00a321..."} 
[2026-09-19 10:54:26] local.INFO: Packet analysis {"connection_id":186797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:54:26] local.INFO: Extracted packet for processing {"connection_id":186797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119293600,"longitude_deg":75.6663232,"latitude_deg":11.92936,"altitude":76,"angle":163,"satellites":33,"speed":16,"hex_longitude":"2d19c3c0","hex_latitude":"071c46a0","is_valid_coordinates":true} 
[2026-09-19 10:54: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-19 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187628544001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618052164485120,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856538608178577408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789795425000,"timestamp_ms":1789795425000,"timestamp_seconds":1789795425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81edae8"} 
[2026-09-19 10:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:54:26] 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-19 10:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 10:54:26] 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-19 10:54: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-19 10:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:54:26] 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-19 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187628544001,"66":14070,"73":206,"83":41984,"24":16,"16":21618052164485120,"45":1856538608178577408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187628544001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:54:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618052164485120,"km_value":21618052164485.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856538608178577408,"description":"Unknown IO ID 45"} 
[2026-09-19 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187628544001,"power":14070,"unknown_73":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1856538608178577408}} 
[2026-09-19 10:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":186797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:54:26] local.INFO: GPS data processed {"connection_id":186797,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:54:26] local.INFO: Acknowledgment sent {"connection_id":186797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:54:46] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:46] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:46] local.INFO: IMEI packet received {"connection_id":188072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":188072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:54:47] local.INFO: TCP Data received {"connection_id":189409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:47] local.INFO: Processing buffer {"connection_id":189409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:54:47] local.INFO: Packet analysis {"connection_id":189409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:54:47] local.INFO: Extracted packet for processing {"connection_id":189409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54: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-19 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 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-19 10: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-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10: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-19 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-19 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-19 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:54: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-19 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":189409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:54:47] local.INFO: GPS data processed {"connection_id":189409,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:54:47] local.INFO: Acknowledgment sent {"connection_id":189409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:54:51] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:51] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:54:51] local.INFO: IMEI packet received {"connection_id":188072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":188072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:54:52] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81eded0012d19c440071c4560004d009023..."} 
[2026-09-19 10:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81eded0012d19c440071c4560004d009023..."} 
[2026-09-19 10:54:52] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81eded0012d19c440071c4560004d009023..."} 
[2026-09-19 10:54:52] local.INFO: Packet analysis {"connection_id":188072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:54:52] local.INFO: Extracted packet for processing {"connection_id":188072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119293280,"longitude_deg":75.666336,"latitude_deg":11.929328,"altitude":77,"angle":144,"satellites":35,"speed":14,"hex_longitude":"2d19c440","hex_latitude":"071c4560","is_valid_coordinates":true} 
[2026-09-19 10:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187628800001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618069344354304,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856538608178470912,"note":"Value kept but may cause issues"} 
[2026-09-19 10:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795426000,"timestamp_ms":1789795426000,"timestamp_seconds":1789795426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81eded0"} 
[2026-09-19 10:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:54:52] 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-19 10:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 10:54:52] 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-19 10:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:54:52] 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-19 10:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187628800001,"66":14070,"73":206,"83":41984,"24":14,"16":21618069344354304,"45":1856538608178470912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187628800001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:54:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618069344354304,"km_value":21618069344354.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856538608178470912,"description":"Unknown IO ID 45"} 
[2026-09-19 10:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187628800001,"power":14070,"unknown_73":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1856538608178470912}} 
[2026-09-19 10:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":188072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:54:52] local.INFO: GPS data processed {"connection_id":188072,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:54:52] local.INFO: Acknowledgment sent {"connection_id":188072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:08] local.INFO: TCP Data received {"connection_id":186798,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81d92c8012c97ec4007b69a00000c014c2d..."} 
[2026-09-19 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81d92c8012c97ec4007b69a00000c014c2d..."} 
[2026-09-19 10:55:08] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81d92c8012c97ec4007b69a00000c014c2d..."} 
[2026-09-19 10:55:08] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:55:08] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81d"} 
[2026-09-19 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":748153920,"raw_latitude":129407488,"longitude_deg":74.815392,"latitude_deg":12.9407488,"altitude":12,"angle":332,"satellites":45,"speed":41,"hex_longitude":"2c97ec40","hex_latitude":"07b69a00","is_valid_coordinates":true} 
[2026-09-19 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187604992001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340547956899840,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7494552696771665920,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789795341000,"timestamp_ms":1789795341000,"timestamp_seconds":1789795341,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81d92c8"} 
[2026-09-19 10:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55: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-19 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:08] 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-19 10:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187604992001,"66":28267,"226":206,"9":57344,"24":41,"16":340547956899840,"44":-7494552696771665920},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-19 10:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187604992001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:08] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-19 10:55:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340547956899840,"km_value":340547956899.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7494552696771665920,"description":"Unknown IO ID 44"} 
[2026-09-19 10:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187604992001,"power":28267,"unknown_226":206,"unknown_9":57344,"ignition":41,"odometer":null,"unknown_44":-7494552696771665920}} 
[2026-09-19 10:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:08] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:08] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:14] local.INFO: TCP Data received {"connection_id":189411,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:14] local.INFO: Processing buffer {"connection_id":189411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:14] local.INFO: IMEI packet received {"connection_id":189411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":189411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:55:14] local.INFO: TCP Data received {"connection_id":189410,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:14] local.INFO: Processing buffer {"connection_id":189410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:14] local.INFO: IMEI packet received {"connection_id":189410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":189410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:55:19] local.INFO: TCP Data received {"connection_id":189411,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:19] local.INFO: Processing buffer {"connection_id":189411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:55:19] local.INFO: IMEI packet received {"connection_id":189411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":189411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:55:19] local.INFO: TCP Data received {"connection_id":189410,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:19] local.INFO: Processing buffer {"connection_id":189410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:55:19] local.INFO: IMEI packet received {"connection_id":189410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":189410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:55:20] local.INFO: TCP Data received {"connection_id":189411,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81f30d8012c97260007b7fb20000e01492c..."} 
[2026-09-19 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81f30d8012c97260007b7fb20000e01492c..."} 
[2026-09-19 10:55:20] local.INFO: Processing buffer {"connection_id":189411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81f30d8012c97260007b7fb20000e01492c..."} 
[2026-09-19 10:55:20] local.INFO: Packet analysis {"connection_id":189411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:20] local.INFO: Extracted packet for processing {"connection_id":189411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":748103168,"raw_latitude":129497888,"longitude_deg":74.8103168,"latitude_deg":12.9497888,"altitude":14,"angle":329,"satellites":44,"speed":45,"hex_longitude":"2c972600","hex_latitude":"07b7fb20","is_valid_coordinates":true} 
[2026-09-19 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187632384001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345543003865088,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7550003267160475648,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] 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-19 10:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795447000,"timestamp_ms":1789795447000,"timestamp_seconds":1789795447,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81f30d8"} 
[2026-09-19 10:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:20] 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-19 10:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187632384001,"66":28191,"206":206,"9":57344,"24":45,"16":345543003865088,"44":-7550003267160475648},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187632384001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345543003865088,"km_value":345543003865.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7550003267160475648,"description":"Unknown IO ID 44"} 
[2026-09-19 10:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187632384001,"power":28191,"unknown_206":206,"unknown_9":57344,"ignition":45,"odometer":null,"unknown_44":-7550003267160475648}} 
[2026-09-19 10:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":189411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:20] local.INFO: GPS data processed {"connection_id":189411,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:20] local.INFO: Acknowledgment sent {"connection_id":189411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:20] local.INFO: TCP Data received {"connection_id":189410,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:55:20] local.INFO: Processing buffer {"connection_id":189410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81b21c8012d34c14006aa41400008010e2a..."} 
[2026-09-19 10:55:20] local.INFO: Packet analysis {"connection_id":189410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:55:20] local.INFO: Extracted packet for processing {"connection_id":189410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81b"} 
[2026-09-19 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187489280001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:20] 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-19 10:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795181000,"timestamp_ms":1789795181000,"timestamp_seconds":1789795181,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81b21c8"} 
[2026-09-19 10:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 10:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:20] 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-19 10:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187489280001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187489280001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187489280001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":189410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:20] local.INFO: GPS data processed {"connection_id":189410,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:20] local.INFO: Acknowledgment sent {"connection_id":189410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:21] local.INFO: TCP Data received {"connection_id":189410,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:21] local.INFO: Processing buffer {"connection_id":189410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:21] local.INFO: Packet analysis {"connection_id":189410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:21] local.INFO: Extracted packet for processing {"connection_id":189410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:21] 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-19 10:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:21] 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-19 10:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":189410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:21] local.INFO: GPS data processed {"connection_id":189410,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:21] local.INFO: Acknowledgment sent {"connection_id":189410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:23] local.INFO: TCP Data received {"connection_id":188072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81ee2b8012d19c540071c4498004d007c22..."} 
[2026-09-19 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81ee2b8012d19c540071c4498004d007c22..."} 
[2026-09-19 10:55:23] local.INFO: Processing buffer {"connection_id":188072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81ee2b8012d19c540071c4498004d007c22..."} 
[2026-09-19 10:55:23] local.INFO: Packet analysis {"connection_id":188072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:55:23] local.INFO: Extracted packet for processing {"connection_id":188072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119293080,"longitude_deg":75.6663616,"latitude_deg":11.929308,"altitude":77,"angle":124,"satellites":34,"speed":13,"hex_longitude":"2d19c540","hex_latitude":"071c4498","is_valid_coordinates":true} 
[2026-09-19 10:55: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-19 10:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187629056001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618086524223488,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345666744320,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795427000,"timestamp_ms":1789795427000,"timestamp_seconds":1789795427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81ee2b8"} 
[2026-09-19 10:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55:23] 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-19 10:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:55: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-19 10:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:55:23] 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-19 10:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187629056001,"66":13993,"73":206,"83":41984,"24":13,"16":21618086524223488,"45":1856679345666744320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187629056001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618086524223488,"km_value":21618086524223.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345666744320,"description":"Unknown IO ID 45"} 
[2026-09-19 10:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187629056001,"power":13993,"unknown_73":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1856679345666744320}} 
[2026-09-19 10:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":188072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:23] local.INFO: GPS data processed {"connection_id":188072,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:23] local.INFO: Acknowledgment sent {"connection_id":188072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:46] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:46] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:46] local.INFO: IMEI packet received {"connection_id":186669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":186669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:55:51] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:51] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:55:51] local.INFO: IMEI packet received {"connection_id":186669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":186669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:55:52] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81eee70012d19c880071c4258004d008e22..."} 
[2026-09-19 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81eee70012d19c880071c4258004d008e22..."} 
[2026-09-19 10:55:52] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81eee70012d19c880071c4258004d008e22..."} 
[2026-09-19 10:55:52] local.INFO: Packet analysis {"connection_id":186669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:55:52] local.INFO: Extracted packet for processing {"connection_id":186669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119292504,"longitude_deg":75.6664448,"latitude_deg":11.9292504,"altitude":77,"angle":142,"satellites":34,"speed":13,"hex_longitude":"2d19c880","hex_latitude":"071c4258","is_valid_coordinates":true} 
[2026-09-19 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187629312001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618133768863744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820643403776,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795430000,"timestamp_ms":1789795430000,"timestamp_seconds":1789795430,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81eee70"} 
[2026-09-19 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55:52] 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-19 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:52] 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-19 10:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:55:52] 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-19 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187629312001,"66":14004,"73":206,"83":41984,"24":13,"16":21618133768863744,"45":1856960820643403776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187629312001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618133768863744,"km_value":21618133768863.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820643403776,"description":"Unknown IO ID 45"} 
[2026-09-19 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187629312001,"power":14004,"unknown_73":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1856960820643403776}} 
[2026-09-19 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":186669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:52] local.INFO: GPS data processed {"connection_id":186669,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:52] local.INFO: Acknowledgment sent {"connection_id":186669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:52] local.INFO: TCP Data received {"connection_id":189410,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:52] local.INFO: Processing buffer {"connection_id":189410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:55:52] local.INFO: Packet analysis {"connection_id":189410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:52] local.INFO: Extracted packet for processing {"connection_id":189410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55: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-19 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55: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-19 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:55:52] 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-19 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":189410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:53] local.INFO: GPS data processed {"connection_id":189410,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:53] local.INFO: Acknowledgment sent {"connection_id":189410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:55:53] local.INFO: TCP Data received {"connection_id":189411,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81f63a0012c97144007b81920000e014b2c..."} 
[2026-09-19 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81f63a0012c97144007b81920000e014b2c..."} 
[2026-09-19 10:55:53] local.INFO: Processing buffer {"connection_id":189411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81f63a0012c97144007b81920000e014b2c..."} 
[2026-09-19 10:55:53] local.INFO: Packet analysis {"connection_id":189411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:53] local.INFO: Extracted packet for processing {"connection_id":189411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:55:53] local.INFO: GPS Element Parsed {"raw_longitude":748098624,"raw_latitude":129505568,"longitude_deg":74.8098624,"latitude_deg":12.9505568,"altitude":14,"angle":331,"satellites":44,"speed":12,"hex_longitude":"2c971440","hex_latitude":"07b81920","is_valid_coordinates":true} 
[2026-09-19 10:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187634432001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":345976795561984,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7555351291715969024,"note":"Value kept but may cause issues"} 
[2026-09-19 10:55:53] 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-19 10:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795460000,"timestamp_ms":1789795460000,"timestamp_seconds":1789795460,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81f63a0"} 
[2026-09-19 10:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:55: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-19 10:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 10:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187634432001,"66":28256,"206":206,"9":57344,"24":12,"16":345976795561984,"44":-7555351291715969024},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-19 10:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187634432001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:55:53] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-19 10:55:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":345976795561984,"km_value":345976795561.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7555351291715969024,"description":"Unknown IO ID 44"} 
[2026-09-19 10:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187634432001,"power":28256,"unknown_206":206,"unknown_9":57344,"ignition":12,"odometer":null,"unknown_44":-7555351291715969024}} 
[2026-09-19 10:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":189411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:55:54] local.INFO: GPS data processed {"connection_id":189411,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:55:54] local.INFO: Acknowledgment sent {"connection_id":189411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:09] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:09] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:09] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:56:10] local.INFO: TCP Data received {"connection_id":188073,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: Processing buffer {"connection_id":188073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: IMEI packet received {"connection_id":188073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":188073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:56:10] local.INFO: TCP Data received {"connection_id":188073,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: Processing buffer {"connection_id":188073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:10] local.INFO: IMEI packet received {"connection_id":188073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":188073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:56:14] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:14] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:56:14] local.INFO: IMEI packet received {"connection_id":186670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:56:15] local.INFO: TCP Data received {"connection_id":188073,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:15] local.INFO: Processing buffer {"connection_id":188073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:56:15] local.INFO: IMEI packet received {"connection_id":188073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":188073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:56:15] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:15] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:15] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:15] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56: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-19 10:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:56: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-19 10:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:56: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-19 10:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:15] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:15] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:16] local.INFO: TCP Data received {"connection_id":188073,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb1c0012c97024007b83880000d01512f..."} 
[2026-09-19 10:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb1c0012c97024007b83880000d01512f..."} 
[2026-09-19 10:56:16] local.INFO: Processing buffer {"connection_id":188073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb1c0012c97024007b83880000d01512f..."} 
[2026-09-19 10:56:16] local.INFO: Packet analysis {"connection_id":188073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:16] local.INFO: Extracted packet for processing {"connection_id":188073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":748094016,"raw_latitude":129513600,"longitude_deg":74.8094016,"latitude_deg":12.95136,"altitude":13,"angle":337,"satellites":47,"speed":26,"hex_longitude":"2c970240","hex_latitude":"07b83880","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187637760001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":346419177193472,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7560347472550617088,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795480000,"timestamp_ms":1789795480000,"timestamp_seconds":1789795480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb1c0"} 
[2026-09-19 10: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-19 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 10:56: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-19 10: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-19 10: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-19 10:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187637760001,"66":28354,"207":206,"9":57344,"24":26,"16":346419177193472,"44":-7560347472550617088},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187637760001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:56:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":346419177193472,"km_value":346419177193.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7560347472550617088,"description":"Unknown IO ID 44"} 
[2026-09-19 10:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187637760001,"power":28354,"unknown_207":206,"unknown_9":57344,"ignition":26,"odometer":null,"unknown_44":-7560347472550617088}} 
[2026-09-19 10:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":188073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:16] local.INFO: GPS data processed {"connection_id":188073,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:16] local.INFO: Acknowledgment sent {"connection_id":188073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:23] local.INFO: TCP Data received {"connection_id":186669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81ef258012d19c8c0071c4128004e00a624..."} 
[2026-09-19 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81ef258012d19c8c0071c4128004e00a624..."} 
[2026-09-19 10:56:23] local.INFO: Processing buffer {"connection_id":186669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81ef258012d19c8c0071c4128004e00a624..."} 
[2026-09-19 10:56:23] local.INFO: Packet analysis {"connection_id":186669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:56:23] local.INFO: Extracted packet for processing {"connection_id":186669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119292200,"longitude_deg":75.6664512,"latitude_deg":11.92922,"altitude":78,"angle":166,"satellites":36,"speed":12,"hex_longitude":"2d19c8c0","hex_latitude":"071c4128","is_valid_coordinates":true} 
[2026-09-19 10:56: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-19 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187630080001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618150948732928,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614317565952,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795431000,"timestamp_ms":1789795431000,"timestamp_seconds":1789795431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81ef258"} 
[2026-09-19 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:56:23] 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-19 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 10:56:23] 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-19 10:56: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-19 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:56:23] 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-19 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187630080001,"66":13972,"73":206,"83":41984,"24":12,"16":21618150948732928,"45":1857875614317565952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187630080001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618150948732928,"km_value":21618150948732.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614317565952,"description":"Unknown IO ID 45"} 
[2026-09-19 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187630080001,"power":13972,"unknown_73":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1857875614317565952}} 
[2026-09-19 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":186669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:23] local.INFO: GPS data processed {"connection_id":186669,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:23] local.INFO: Acknowledgment sent {"connection_id":186669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:45] local.INFO: TCP Data received {"connection_id":189412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:45] local.INFO: Processing buffer {"connection_id":189412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:45] local.INFO: IMEI packet received {"connection_id":189412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":189412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:56:46] local.INFO: TCP Data received {"connection_id":189412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:46] local.INFO: Processing buffer {"connection_id":189412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:46] local.INFO: IMEI packet received {"connection_id":189412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":189412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:56:47] local.INFO: TCP Data received {"connection_id":186670,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:47] local.INFO: Processing buffer {"connection_id":186670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:56:47] local.INFO: Packet analysis {"connection_id":186670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:47] local.INFO: Extracted packet for processing {"connection_id":186670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56: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-19 10:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10:56: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-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:56: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-19 10: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-19 10: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-19 10:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:56: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-19 10:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":186670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:47] local.INFO: GPS data processed {"connection_id":186670,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:47] local.INFO: Acknowledgment sent {"connection_id":186670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:48] local.INFO: TCP Data received {"connection_id":188073,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fec58012c96f30007b859e0000e01572f..."} 
[2026-09-19 10:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fec58012c96f30007b859e0000e01572f..."} 
[2026-09-19 10:56:48] local.INFO: Processing buffer {"connection_id":188073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fec58012c96f30007b859e0000e01572f..."} 
[2026-09-19 10:56:48] local.INFO: Packet analysis {"connection_id":188073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:48] local.INFO: Extracted packet for processing {"connection_id":188073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:56:48] local.INFO: GPS Element Parsed {"raw_longitude":748090112,"raw_latitude":129522144,"longitude_deg":74.8090112,"latitude_deg":12.9522144,"altitude":14,"angle":343,"satellites":47,"speed":24,"hex_longitude":"2c96f300","hex_latitude":"07b859e0","is_valid_coordinates":true} 
[2026-09-19 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187642880001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":346878738694144,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7565414022129352704,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789795495000,"timestamp_ms":1789795495000,"timestamp_seconds":1789795495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fec58"} 
[2026-09-19 10:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:56:48] 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-19 10:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187642880001,"66":28354,"207":206,"9":57344,"24":24,"16":346878738694144,"44":-7565414022129352704},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187642880001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:48] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:56:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":346878738694144,"km_value":346878738694.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7565414022129352704,"description":"Unknown IO ID 44"} 
[2026-09-19 10:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187642880001,"power":28354,"unknown_207":206,"unknown_9":57344,"ignition":24,"odometer":null,"unknown_44":-7565414022129352704}} 
[2026-09-19 10:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":188073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:48] local.INFO: GPS data processed {"connection_id":188073,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:48] local.INFO: Acknowledgment sent {"connection_id":188073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:56:51] local.INFO: TCP Data received {"connection_id":189412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:51] local.INFO: Processing buffer {"connection_id":189412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:56:51] local.INFO: IMEI packet received {"connection_id":189412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":189412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:56:52] local.INFO: TCP Data received {"connection_id":189412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81ef640012d19c8c0071c4008004f00bc23..."} 
[2026-09-19 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81ef640012d19c8c0071c4008004f00bc23..."} 
[2026-09-19 10:56:52] local.INFO: Processing buffer {"connection_id":189412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81ef640012d19c8c0071c4008004f00bc23..."} 
[2026-09-19 10:56:52] local.INFO: Packet analysis {"connection_id":189412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:56:52] local.INFO: Extracted packet for processing {"connection_id":189412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119291912,"longitude_deg":75.6664512,"latitude_deg":11.9291912,"altitude":79,"angle":188,"satellites":35,"speed":10,"hex_longitude":"2d19c8c0","hex_latitude":"071c4008","is_valid_coordinates":true} 
[2026-09-19 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187630336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618163833634816,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983061665792,"note":"Value kept but may cause issues"} 
[2026-09-19 10:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795432000,"timestamp_ms":1789795432000,"timestamp_seconds":1789795432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81ef640"} 
[2026-09-19 10:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:56:52] 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-19 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 10:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:56:52] 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-19 10:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187630336001,"66":13972,"73":206,"83":41984,"24":10,"16":21618163833634816,"45":1857945983061665792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187630336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:56:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618163833634816,"km_value":21618163833634.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983061665792,"description":"Unknown IO ID 45"} 
[2026-09-19 10:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187630336001,"power":13972,"unknown_73":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1857945983061665792}} 
[2026-09-19 10:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":189412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:56:52] local.INFO: GPS data processed {"connection_id":189412,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:56:52] local.INFO: Acknowledgment sent {"connection_id":189412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:09] local.INFO: TCP Data received {"connection_id":186799,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:09] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:09] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:57:09] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:09] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:09] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:57:14] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:14] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:57:14] local.INFO: IMEI packet received {"connection_id":188074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:57:16] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:16] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:16] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:57:16] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:16] 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-19 10:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:57: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-19 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:57:16] 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-19 10:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:16] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:16] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:16] local.INFO: TCP Data received {"connection_id":186799,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:16] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:57:16] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:57:17] local.INFO: TCP Data received {"connection_id":186799,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8202308012c96ea4007b87b50001001562e..."} 
[2026-09-19 10:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8202308012c96ea4007b87b50001001562e..."} 
[2026-09-19 10:57:17] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8202308012c96ea4007b87b50001001562e..."} 
[2026-09-19 10:57:17] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b820"} 
[2026-09-19 10:57:17] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b820"} 
[2026-09-19 10:57:17] local.INFO: GPS Element Parsed {"raw_longitude":748087872,"raw_latitude":129530704,"longitude_deg":74.8087872,"latitude_deg":12.9530704,"altitude":16,"angle":342,"satellites":46,"speed":26,"hex_longitude":"2c96ea40","hex_latitude":"07b87b50","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187646720001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347308235423744,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7569706515522002944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795509000,"timestamp_ms":1789795509000,"timestamp_seconds":1789795509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8202308"} 
[2026-09-19 10: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-19 10:57: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-19 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 10:57:17] 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-19 10: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-19 10: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-19 10:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187646720001,"66":28234,"207":206,"9":57344,"24":26,"16":347308235423744,"44":-7569706515522002944},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-19 10:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187646720001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-19 10:57:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347308235423744,"km_value":347308235423.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7569706515522002944,"description":"Unknown IO ID 44"} 
[2026-09-19 10:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187646720001,"power":28234,"unknown_207":206,"unknown_9":57344,"ignition":26,"odometer":null,"unknown_44":-7569706515522002944}} 
[2026-09-19 10:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:17] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:17] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:23] local.INFO: TCP Data received {"connection_id":189412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81efe10012d19c7c0071c3da8005000c825..."} 
[2026-09-19 10:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81efe10012d19c7c0071c3da8005000c825..."} 
[2026-09-19 10:57:23] local.INFO: Processing buffer {"connection_id":189412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81efe10012d19c7c0071c3da8005000c825..."} 
[2026-09-19 10:57:23] local.INFO: Packet analysis {"connection_id":189412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:57:23] local.INFO: Extracted packet for processing {"connection_id":189412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81e"} 
[2026-09-19 10:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119291304,"longitude_deg":75.6664256,"latitude_deg":11.9291304,"altitude":80,"angle":200,"satellites":37,"speed":14,"hex_longitude":"2d19c7c0","hex_latitude":"071c3da8","is_valid_coordinates":true} 
[2026-09-19 10:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187630592001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618193898405888,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983061592064,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795434000,"timestamp_ms":1789795434000,"timestamp_seconds":1789795434,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81efe10"} 
[2026-09-19 10:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:57:23] 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-19 10:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 10:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:57:23] 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-19 10:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187630592001,"66":13993,"73":206,"83":41984,"24":14,"16":21618193898405888,"45":1857945983061592064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187630592001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618193898405888,"km_value":21618193898405.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983061592064,"description":"Unknown IO ID 45"} 
[2026-09-19 10:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187630592001,"power":13993,"unknown_73":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1857945983061592064}} 
[2026-09-19 10:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:23] local.INFO: GPS data processed {"connection_id":189412,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:23] local.INFO: Acknowledgment sent {"connection_id":189412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:46] local.INFO: TCP Data received {"connection_id":189413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:46] local.INFO: Processing buffer {"connection_id":189413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:46] local.INFO: IMEI packet received {"connection_id":189413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":189413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:57:48] local.INFO: TCP Data received {"connection_id":188074,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:48] local.INFO: Processing buffer {"connection_id":188074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:57:48] local.INFO: Packet analysis {"connection_id":188074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:57:48] local.INFO: Extracted packet for processing {"connection_id":188074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57: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-19 10:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10:57: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-19 10: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-19 10: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-19 10: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-19 10: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-19 10:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:57: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-19 10:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":188074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:48] local.INFO: GPS data processed {"connection_id":188074,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:48] local.INFO: Acknowledgment sent {"connection_id":188074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:49] local.INFO: TCP Data received {"connection_id":186799,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b821b178012c96904007b9ff48000b01552b..."} 
[2026-09-19 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b821b178012c96904007b9ff48000b01552b..."} 
[2026-09-19 10:57:49] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b821b178012c96904007b9ff48000b01552b..."} 
[2026-09-19 10:57:49] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:57:49] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":748064832,"raw_latitude":129630024,"longitude_deg":74.8064832,"latitude_deg":12.9630024,"altitude":11,"angle":341,"satellites":43,"speed":53,"hex_longitude":"2c969040","hex_latitude":"07b9ff48","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187674624001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352260332716032,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7593772626005389312,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789795611000,"timestamp_ms":1789795611000,"timestamp_seconds":1789795611,"priority":1,"record_length":96,"hex_timestamp":"000001a0b821b178"} 
[2026-09-19 10: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-19 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:57:49] 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-19 10: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-19 10: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-19 10:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187674624001,"66":28126,"235":206,"9":57344,"24":53,"16":352260332716032,"44":-7593772626005389312},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,9,24,16,44]} 
[2026-09-19 10:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187674624001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:49] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-19 10:57:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352260332716032,"km_value":352260332716.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7593772626005389312,"description":"Unknown IO ID 44"} 
[2026-09-19 10:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187674624001,"power":28126,"unknown_235":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7593772626005389312}} 
[2026-09-19 10:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:49] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:49] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:57:50] local.INFO: TCP Data received {"connection_id":189413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:50] local.INFO: Processing buffer {"connection_id":189413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:57:50] local.INFO: IMEI packet received {"connection_id":189413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":189413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:57:51] local.INFO: TCP Data received {"connection_id":189413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8218a68012d19b640071c1c78004e00ed24..."} 
[2026-09-19 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8218a68012d19b640071c1c78004e00ed24..."} 
[2026-09-19 10:57:51] local.INFO: Processing buffer {"connection_id":189413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8218a68012d19b640071c1c78004e00ed24..."} 
[2026-09-19 10:57:51] local.INFO: Packet analysis {"connection_id":189413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:57:51] local.INFO: Extracted packet for processing {"connection_id":189413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119282808,"longitude_deg":75.6659776,"latitude_deg":11.9282808,"altitude":78,"angle":237,"satellites":36,"speed":7,"hex_longitude":"2d19b640","hex_latitude":"071c1c78","is_valid_coordinates":true} 
[2026-09-19 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187672832001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618666344808448,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908455258112,"note":"Value kept but may cause issues"} 
[2026-09-19 10:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789795601000,"timestamp_ms":1789795601000,"timestamp_seconds":1789795601,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8218a68"} 
[2026-09-19 10:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:57:51] 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-19 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-19 10:57:51] 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-19 10:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:57:51] 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-19 10:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187672832001,"66":13993,"73":206,"83":41984,"24":7,"16":21618666344808448,"45":1853160908455258112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187672832001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:57:51] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618666344808448,"km_value":21618666344808.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908455258112,"description":"Unknown IO ID 45"} 
[2026-09-19 10:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187672832001,"power":13993,"unknown_73":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1853160908455258112}} 
[2026-09-19 10:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":189413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:57:51] local.INFO: GPS data processed {"connection_id":189413,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:57:51] local.INFO: Acknowledgment sent {"connection_id":189413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:09] local.INFO: TCP Data received {"connection_id":186800,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:09] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:09] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:58:09] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:09] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:09] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:58:14] local.INFO: TCP Data received {"connection_id":186800,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:14] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:58:14] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:58:14] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:14] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:58:14] local.INFO: IMEI packet received {"connection_id":186671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:58:15] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:15] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:15] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:58:15] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58: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-19 10:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10:58: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-19 10:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:58:15] 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-19 10:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:15] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:15] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:15] local.INFO: TCP Data received {"connection_id":186800,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b821ccd0012c9687c007ba2310000b015f2e..."} 
[2026-09-19 10:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b821ccd0012c9687c007ba2310000b015f2e..."} 
[2026-09-19 10:58:15] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b821ccd0012c9687c007ba2310000b015f2e..."} 
[2026-09-19 10:58:15] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:58:15] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:58:15] local.INFO: GPS Element Parsed {"raw_longitude":748062656,"raw_latitude":129639184,"longitude_deg":74.8062656,"latitude_deg":12.9639184,"altitude":11,"angle":351,"satellites":46,"speed":53,"hex_longitude":"2c9687c0","hex_latitude":"07ba2310","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187676416001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":352715599249408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7597502169444562944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795618000,"timestamp_ms":1789795618000,"timestamp_seconds":1789795618,"priority":1,"record_length":96,"hex_timestamp":"000001a0b821ccd0"} 
[2026-09-19 10: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-19 10: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-19 10:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 10:58:15] 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-19 10: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-19 10: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-19 10:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187676416001,"66":28267,"235":206,"9":57344,"24":53,"16":352715599249408,"44":-7597502169444562944},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,9,24,16,44]} 
[2026-09-19 10:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187676416001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":352715599249408,"km_value":352715599249.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7597502169444562944,"description":"Unknown IO ID 44"} 
[2026-09-19 10:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187676416001,"power":28267,"unknown_235":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7597502169444562944}} 
[2026-09-19 10:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:16] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:16] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:22] local.INFO: TCP Data received {"connection_id":189413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8222a90012d19a6c0071c1778004f006524..."} 
[2026-09-19 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8222a90012d19a6c0071c1778004f006524..."} 
[2026-09-19 10:58:22] local.INFO: Processing buffer {"connection_id":189413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8222a90012d19a6c0071c1778004f006524..."} 
[2026-09-19 10:58:22] local.INFO: Packet analysis {"connection_id":189413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:58:22] local.INFO: Extracted packet for processing {"connection_id":189413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119281528,"longitude_deg":75.6655808,"latitude_deg":11.9281528,"altitude":79,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d19a6c0","hex_latitude":"071c1778","is_valid_coordinates":true} 
[2026-09-19 10:58: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-19 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187683840001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618949812649984,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465106604032,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789795642000,"timestamp_ms":1789795642000,"timestamp_seconds":1789795642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8222a90"} 
[2026-09-19 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 10:58:22] 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-19 10:58: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-19 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:58:22] 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-19 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187683840001,"66":12765,"73":206,"83":41984,"24":0,"16":21618949812649984,"45":1848305465106604032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187683840001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618949812649984,"km_value":21618949812649.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465106604032,"description":"Unknown IO ID 45"} 
[2026-09-19 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187683840001,"power":12765,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848305465106604032}} 
[2026-09-19 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":189413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:22] local.INFO: GPS data processed {"connection_id":189413,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:22] local.INFO: Acknowledgment sent {"connection_id":189413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:46] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:46] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:46] local.INFO: IMEI packet received {"connection_id":186672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":186672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:58:47] local.INFO: TCP Data received {"connection_id":186800,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b821e828012c96834007ba4838000a01622d..."} 
[2026-09-19 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b821e828012c96834007ba4838000a01622d..."} 
[2026-09-19 10:58:47] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b821e828012c96834007ba4838000a01622d..."} 
[2026-09-19 10:58:47] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:58:47] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b821"} 
[2026-09-19 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":748061504,"raw_latitude":129648696,"longitude_deg":74.8061504,"latitude_deg":12.9648696,"altitude":10,"angle":354,"satellites":45,"speed":55,"hex_longitude":"2c968340","hex_latitude":"07ba4838","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187678208001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":353179455717376,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7599894706744258560,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795625000,"timestamp_ms":1789795625000,"timestamp_seconds":1789795625,"priority":1,"record_length":96,"hex_timestamp":"000001a0b821e828"} 
[2026-09-19 10: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-19 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 10: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 10:58:47] 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-19 10: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-19 10: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-19 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187678208001,"66":28224,"235":206,"9":57344,"24":55,"16":353179455717376,"44":-7599894706744258560},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,9,24,16,44]} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187678208001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":353179455717376,"km_value":353179455717.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7599894706744258560,"description":"Unknown IO ID 44"} 
[2026-09-19 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187678208001,"power":28224,"unknown_235":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7599894706744258560}} 
[2026-09-19 10:58:47] local.INFO: TCP Data received {"connection_id":186671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:47] local.INFO: Processing buffer {"connection_id":186671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:58:47] local.INFO: Packet analysis {"connection_id":186671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:58:47] local.INFO: Extracted packet for processing {"connection_id":186671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58: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-19 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10:58: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-19 10: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:58: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-19 10: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-19 10: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-19 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:58:47] 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-19 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":186671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:47] local.INFO: GPS data processed {"connection_id":186671,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:47] local.INFO: Acknowledgment sent {"connection_id":186671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:47] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:47] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:58:48] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:48] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:48] local.INFO: IMEI packet received {"connection_id":186672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":186672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:58:52] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:52] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:58:52] local.INFO: IMEI packet received {"connection_id":186672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":186672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:58:52] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8223260012d19a680071c1738004f00df25..."} 
[2026-09-19 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8223260012d19a680071c1738004f00df25..."} 
[2026-09-19 10:58:52] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8223260012d19a680071c1738004f00df25..."} 
[2026-09-19 10:58:52] local.INFO: Packet analysis {"connection_id":186672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:58:52] local.INFO: Extracted packet for processing {"connection_id":186672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119281464,"longitude_deg":75.6655744,"latitude_deg":11.9281464,"altitude":79,"angle":223,"satellites":37,"speed":0,"hex_longitude":"2d19a680","hex_latitude":"071c1738","is_valid_coordinates":true} 
[2026-09-19 10:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187684352001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618958402584576,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848375833850771456,"note":"Value kept but may cause issues"} 
[2026-09-19 10:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795644000,"timestamp_ms":1789795644000,"timestamp_seconds":1789795644,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8223260"} 
[2026-09-19 10:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:58:52] 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-19 10:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 10:58:52] 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-19 10:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:58:52] 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-19 10:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187684352001,"66":12341,"73":206,"83":41984,"24":0,"16":21618958402584576,"45":1848375833850771456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187684352001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:58:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618958402584576,"km_value":21618958402584.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848375833850771456,"description":"Unknown IO ID 45"} 
[2026-09-19 10:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187684352001,"power":12341,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848375833850771456}} 
[2026-09-19 10:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":186672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:58:53] local.INFO: GPS data processed {"connection_id":186672,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:58:53] local.INFO: Acknowledgment sent {"connection_id":186672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:09] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:09] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:09] local.INFO: IMEI packet received {"connection_id":188075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 10:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:59:09] local.INFO: TCP Data received {"connection_id":186673,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:09] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:09] local.INFO: IMEI packet received {"connection_id":186673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 10:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:59:14] local.INFO: TCP Data received {"connection_id":186673,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:14] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 10:59:14] local.INFO: IMEI packet received {"connection_id":186673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:59:14] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:14] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 10:59:14] local.INFO: IMEI packet received {"connection_id":188075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":188075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:59:16] local.INFO: TCP Data received {"connection_id":186673,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8220380012c967e8007ba6ed8000901602c..."} 
[2026-09-19 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8220380012c967e8007ba6ed8000901602c..."} 
[2026-09-19 10:59:16] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8220380012c967e8007ba6ed8000901602c..."} 
[2026-09-19 10:59:16] local.INFO: Packet analysis {"connection_id":186673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:16] local.INFO: Extracted packet for processing {"connection_id":186673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:16] local.INFO: GPS Element Parsed {"raw_longitude":748060288,"raw_latitude":129658584,"longitude_deg":74.8060288,"latitude_deg":12.9658584,"altitude":9,"angle":352,"satellites":44,"speed":56,"hex_longitude":"2c967e80","hex_latitude":"07ba6ed8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187680000001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":353664787021824,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7601161344137021440,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795632000,"timestamp_ms":1789795632000,"timestamp_seconds":1789795632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8220380"} 
[2026-09-19 10: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-19 10:59: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-19 10: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:16] 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-19 10: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-19 10: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-19 10:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187680000001,"66":28267,"235":206,"9":57344,"24":56,"16":353664787021824,"44":-7601161344137021440},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,9,24,16,44]} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187680000001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":353664787021824,"km_value":353664787021.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7601161344137021440,"description":"Unknown IO ID 44"} 
[2026-09-19 10:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187680000001,"power":28267,"unknown_235":206,"unknown_9":57344,"ignition":56,"odometer":null,"unknown_44":-7601161344137021440}} 
[2026-09-19 10:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:16] local.INFO: GPS data processed {"connection_id":186673,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:16] local.INFO: Acknowledgment sent {"connection_id":186673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:16] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:16] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:16] local.INFO: Packet analysis {"connection_id":188075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:59:16] local.INFO: Extracted packet for processing {"connection_id":188075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:16] 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-19 10:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:59:16] 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-19 10:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":188075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:16] local.INFO: GPS data processed {"connection_id":188075,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:16] local.INFO: Acknowledgment sent {"connection_id":188075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:24] local.INFO: TCP Data received {"connection_id":186672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8224200012d19a5c0071c1688004f00f226..."} 
[2026-09-19 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8224200012d19a5c0071c1688004f00f226..."} 
[2026-09-19 10:59:24] local.INFO: Processing buffer {"connection_id":186672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8224200012d19a5c0071c1688004f00f226..."} 
[2026-09-19 10:59:24] local.INFO: Packet analysis {"connection_id":186672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:24] local.INFO: Extracted packet for processing {"connection_id":186672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756655552,"raw_latitude":119281288,"longitude_deg":75.6655552,"latitude_deg":11.9281288,"altitude":79,"angle":242,"satellites":38,"speed":1,"hex_longitude":"2d19a5c0","hex_latitude":"071c1688","is_valid_coordinates":true} 
[2026-09-19 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 10:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187684864001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618966992519168,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465106577408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789795648000,"timestamp_ms":1789795648000,"timestamp_seconds":1789795648,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8224200"} 
[2026-09-19 10:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:59:24] 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-19 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:24] 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-19 10:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 10:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:59:24] 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-19 10:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187684864001,"66":12776,"73":206,"83":41984,"24":1,"16":21618966992519168,"45":1848305465106577408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187684864001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618966992519168,"km_value":21618966992519.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465106577408,"description":"Unknown IO ID 45"} 
[2026-09-19 10:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187684864001,"power":12776,"unknown_73":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1848305465106577408}} 
[2026-09-19 10:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":186672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:24] local.INFO: GPS data processed {"connection_id":186672,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:24] local.INFO: Acknowledgment sent {"connection_id":186672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:47] local.INFO: TCP Data received {"connection_id":186673,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8238a20012c961b0007bc1ce8000901602d..."} 
[2026-09-19 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8238a20012c961b0007bc1ce8000901602d..."} 
[2026-09-19 10:59:47] local.INFO: Processing buffer {"connection_id":186673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8238a20012c961b0007bc1ce8000901602d..."} 
[2026-09-19 10:59:47] local.INFO: Packet analysis {"connection_id":186673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 10:59:47] local.INFO: Extracted packet for processing {"connection_id":186673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 10:59:47] local.INFO: GPS Element Parsed {"raw_longitude":748034816,"raw_latitude":129768680,"longitude_deg":74.8034816,"latitude_deg":12.976868,"altitude":9,"angle":352,"satellites":45,"speed":54,"hex_longitude":"2c961b00","hex_latitude":"07bc1ce8","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187705600001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359158050193408,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7629168104291364864,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795732000,"timestamp_ms":1789795732000,"timestamp_seconds":1789795732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8238a20"} 
[2026-09-19 10: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-19 10:59: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-19 10: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:47] 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-19 10: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-19 10: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-19 10:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 10:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 10:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 10:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 10:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187705600001,"66":27952,"29":206,"9":57344,"24":54,"16":359158050193408,"44":-7629168104291364864},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 10:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 10:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 10:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187705600001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 10:59:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 10:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359158050193408,"km_value":359158050193.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7629168104291364864,"description":"Unknown IO ID 44"} 
[2026-09-19 10:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187705600001,"power":27952,"unknown_29":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7629168104291364864}} 
[2026-09-19 10:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:47] local.INFO: GPS data processed {"connection_id":186673,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:47] local.INFO: Acknowledgment sent {"connection_id":186673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:48] local.INFO: TCP Data received {"connection_id":188075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:48] local.INFO: Processing buffer {"connection_id":188075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 10:59:48] local.INFO: Packet analysis {"connection_id":188075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:59:48] local.INFO: Extracted packet for processing {"connection_id":188075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 10:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 10: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-19 10:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 10:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59: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-19 10:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 10: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-19 10: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-19 10:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 10: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-19 10: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-19 10:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 10:59: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-19 10:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 10:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 10:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 10:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 10:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 10:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 10:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 10:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 10:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":188075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:48] local.INFO: GPS data processed {"connection_id":188075,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:48] local.INFO: Acknowledgment sent {"connection_id":188075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 10:59:51] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:51] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:51] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 10:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 10:59:52] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:52] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:52] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:59:56] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:56] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 10:59:56] local.INFO: IMEI packet received {"connection_id":186674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 10:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":186674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 10:59:57] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8229408012d19a580071c1640004f00f825..."} 
[2026-09-19 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8229408012d19a580071c1640004f00f825..."} 
[2026-09-19 10:59:57] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8229408012d19a580071c1640004f00f825..."} 
[2026-09-19 10:59:57] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:57] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 10:59: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-19 10:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187685888001,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358873999360,"note":"Value kept but may cause issues"} 
[2026-09-19 10:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 10:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789795669000,"timestamp_ms":1789795669000,"timestamp_seconds":1789795669,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8229408"} 
[2026-09-19 10:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 10:59:57] 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-19 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 10:59:57] 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-19 10:59: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-19 10:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 10:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 10:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 10:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 10:59:57] 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-19 10:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 10:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 10:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187685888001,"66":12798,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848094358873999360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 10:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 10:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 10:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187685888001,"description":"Unknown IO ID 0"} 
[2026-09-19 10:59:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 10:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 10:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 10:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358873999360,"description":"Unknown IO ID 45"} 
[2026-09-19 10:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187685888001,"power":12798,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848094358873999360}} 
[2026-09-19 10:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 10:59:57] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-19 10:59:57] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:01] local.INFO: TCP Data received {"connection_id":186674,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b822e610012d19a580071c1640004f00f824..."} 
[2026-09-19 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b822e610012d19a580071c1640004f00f824..."} 
[2026-09-19 11:00:01] local.INFO: Processing buffer {"connection_id":186674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b822e610012d19a580071c1640004f00f824..."} 
[2026-09-19 11:00:01] local.INFO: Packet analysis {"connection_id":186674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 11:00:01] local.INFO: Extracted packet for processing {"connection_id":186674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b822"} 
[2026-09-19 11:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":36,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187691264001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789795690000,"timestamp_ms":1789795690000,"timestamp_seconds":1789795690,"priority":1,"record_length":96,"hex_timestamp":"000001a0b822e610"} 
[2026-09-19 11: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-19 11:00: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-19 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:00: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-19 11:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187691264001,"66":12722,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187691264001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:01] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187691264001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":186674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:01] local.INFO: GPS data processed {"connection_id":186674,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:01] local.INFO: Acknowledgment sent {"connection_id":186674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:14] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:14] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:14] local.INFO: IMEI packet received {"connection_id":188076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":188076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:00:15] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:15] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:15] local.INFO: IMEI packet received {"connection_id":186801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":186801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:00:18] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:18] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:00:18] local.INFO: IMEI packet received {"connection_id":186801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":186801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:00:19] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:19] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:00:19] local.INFO: IMEI packet received {"connection_id":188076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":188076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:00:19] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823a578012c96160007bc4278000801602e..."} 
[2026-09-19 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823a578012c96160007bc4278000801602e..."} 
[2026-09-19 11:00:19] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823a578012c96160007bc4278000801602e..."} 
[2026-09-19 11:00:19] local.INFO: Packet analysis {"connection_id":186801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:19] local.INFO: Extracted packet for processing {"connection_id":186801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:19] local.INFO: GPS Element Parsed {"raw_longitude":748033536,"raw_latitude":129778296,"longitude_deg":74.8033536,"latitude_deg":12.9778296,"altitude":8,"angle":352,"satellites":46,"speed":55,"hex_longitude":"2c961600","hex_latitude":"07bc4278","is_valid_coordinates":true} 
[2026-09-19 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187707392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":359630496595968,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7630505110428391424,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789795739000,"timestamp_ms":1789795739000,"timestamp_seconds":1789795739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823a578"} 
[2026-09-19 11:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00: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-19 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 11:00: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-19 11:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187707392001,"66":28300,"29":206,"9":57344,"24":55,"16":359630496595968,"44":-7630505110428391424},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 11:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187707392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:19] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 11:00:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":359630496595968,"km_value":359630496595.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7630505110428391424,"description":"Unknown IO ID 44"} 
[2026-09-19 11:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187707392001,"power":28300,"unknown_29":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7630505110428391424}} 
[2026-09-19 11:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":186801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:20] local.INFO: GPS data processed {"connection_id":186801,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:20] local.INFO: Acknowledgment sent {"connection_id":186801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:20] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:00:20] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b81fb990012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:00:20] local.INFO: Packet analysis {"connection_id":188076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 11:00:20] local.INFO: Extracted packet for processing {"connection_id":188076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b81f"} 
[2026-09-19 11:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187566336001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:20] 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-19 11:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795482000,"timestamp_ms":1789795482000,"timestamp_seconds":1789795482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b81fb990"} 
[2026-09-19 11:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:20] 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-19 11:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187566336001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187566336001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187566336001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":188076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:20] local.INFO: GPS data processed {"connection_id":188076,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:20] local.INFO: Acknowledgment sent {"connection_id":188076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:21] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823c0d0012c96100007bc69280009015b2e..."} 
[2026-09-19 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823c0d0012c96100007bc69280009015b2e..."} 
[2026-09-19 11:00:21] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823c0d0012c96100007bc69280009015b2e..."} 
[2026-09-19 11:00:21] local.INFO: Packet analysis {"connection_id":186801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:21] local.INFO: Extracted packet for processing {"connection_id":186801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":748032000,"raw_latitude":129788200,"longitude_deg":74.8032,"latitude_deg":12.97882,"altitude":9,"angle":347,"satellites":46,"speed":57,"hex_longitude":"2c961000","hex_latitude":"07bc6928","is_valid_coordinates":true} 
[2026-09-19 11:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187709184001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":360115827900416,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7631912485309483008,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789795746000,"timestamp_ms":1789795746000,"timestamp_seconds":1789795746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823c0d0"} 
[2026-09-19 11:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:21] 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-19 11:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187709184001,"66":28376,"29":206,"9":57344,"24":57,"16":360115827900416,"44":-7631912485309483008},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 11:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187709184001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:21] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 11:00:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":360115827900416,"km_value":360115827900.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7631912485309483008,"description":"Unknown IO ID 44"} 
[2026-09-19 11:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187709184001,"power":28376,"unknown_29":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-7631912485309483008}} 
[2026-09-19 11:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":186801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:21] local.INFO: GPS data processed {"connection_id":186801,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:21] local.INFO: Acknowledgment sent {"connection_id":186801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:22] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:22] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:22] local.INFO: Packet analysis {"connection_id":188076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:00:22] local.INFO: Extracted packet for processing {"connection_id":188076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:22] 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-19 11:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:22] 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-19 11:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":188076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:22] local.INFO: GPS data processed {"connection_id":188076,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:22] local.INFO: Acknowledgment sent {"connection_id":188076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:46] local.INFO: TCP Data received {"connection_id":186802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:46] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:46] local.INFO: IMEI packet received {"connection_id":186802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":186802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:00:51] local.INFO: TCP Data received {"connection_id":186802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:51] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:00:51] local.INFO: IMEI packet received {"connection_id":186802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":186802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:00:52] local.INFO: TCP Data received {"connection_id":186802,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8233818012d19a580071c1640004f00f825..."} 
[2026-09-19 11:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8233818012d19a580071c1640004f00f825..."} 
[2026-09-19 11:00:52] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8233818012d19a580071c1640004f00f825..."} 
[2026-09-19 11:00:52] local.INFO: Packet analysis {"connection_id":186802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:52] local.INFO: Extracted packet for processing {"connection_id":186802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187696640001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795711000,"timestamp_ms":1789795711000,"timestamp_seconds":1789795711,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8233818"} 
[2026-09-19 11:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:52] 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-19 11:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:52] 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-19 11:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:00:52] 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-19 11:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187696640001,"66":12743,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187696640001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187696640001,"power":12743,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:52] local.INFO: GPS data processed {"connection_id":186802,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:52] local.INFO: Acknowledgment sent {"connection_id":186802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:52] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:00:52] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:00:52] local.INFO: Packet analysis {"connection_id":186801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:52] local.INFO: Extracted packet for processing {"connection_id":186801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:00:52] local.INFO: GPS Element Parsed {"raw_longitude":748028672,"raw_latitude":129797552,"longitude_deg":74.8028672,"latitude_deg":12.9797552,"altitude":11,"angle":334,"satellites":46,"speed":54,"hex_longitude":"2c960300","hex_latitude":"07bc8db0","is_valid_coordinates":true} 
[2026-09-19 11:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187710976001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":360596864237568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7633601335167211520,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795753000,"timestamp_ms":1789795753000,"timestamp_seconds":1789795753,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823dc28"} 
[2026-09-19 11:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:52] 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-19 11:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187710976001,"66":28267,"29":206,"9":57344,"24":54,"16":360596864237568,"44":-7633601335167211520},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 11:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187710976001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":360596864237568,"km_value":360596864237.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7633601335167211520,"description":"Unknown IO ID 44"} 
[2026-09-19 11:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187710976001,"power":28267,"unknown_29":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7633601335167211520}} 
[2026-09-19 11:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:52] local.INFO: GPS data processed {"connection_id":186801,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:52] local.INFO: Acknowledgment sent {"connection_id":186801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:00:53] local.INFO: TCP Data received {"connection_id":188076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:53] local.INFO: Processing buffer {"connection_id":188076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:00:53] local.INFO: Packet analysis {"connection_id":188076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:00:53] local.INFO: Extracted packet for processing {"connection_id":188076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:00:53] 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-19 11:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 11:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:00:53] 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-19 11:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":188076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:00:53] local.INFO: GPS data processed {"connection_id":188076,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:00:53] local.INFO: Acknowledgment sent {"connection_id":188076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:07] local.INFO: TCP Data received {"connection_id":186675,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:07] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:07] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:01:09] local.INFO: TCP Data received {"connection_id":186675,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:09] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:09] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:01:09] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:09] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:09] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:01:14] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:14] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:01:14] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:01:15] local.INFO: TCP Data received {"connection_id":186675,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:15] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:01:15] local.INFO: IMEI packet received {"connection_id":186675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:01:16] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:16] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:16] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:01:16] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:16] 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-19 11:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:01: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-19 11:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:16] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:16] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:17] local.INFO: TCP Data received {"connection_id":186675,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:01:17] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823dc28012c96030007bc8db0000b014e2e..."} 
[2026-09-19 11:01:17] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:17] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:17] local.INFO: GPS Element Parsed {"raw_longitude":748028672,"raw_latitude":129797552,"longitude_deg":74.8028672,"latitude_deg":12.9797552,"altitude":11,"angle":334,"satellites":46,"speed":54,"hex_longitude":"2c960300","hex_latitude":"07bc8db0","is_valid_coordinates":true} 
[2026-09-19 11:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187712768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":360596864237568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7637260509862055936,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789795753000,"timestamp_ms":1789795753000,"timestamp_seconds":1789795753,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823dc28"} 
[2026-09-19 11:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:01: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-19 11:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:01:17] 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-19 11:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187712768001,"66":28267,"29":206,"9":57344,"24":54,"16":360596864237568,"44":-7637260509862055936},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 11:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187712768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:17] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 11:01:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":360596864237568,"km_value":360596864237.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7637260509862055936,"description":"Unknown IO ID 44"} 
[2026-09-19 11:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187712768001,"power":28267,"unknown_29":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7637260509862055936}} 
[2026-09-19 11:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:17] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:17] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:23] local.INFO: TCP Data received {"connection_id":186802,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8238a20012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8238a20012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:23] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8238a20012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:23] local.INFO: Packet analysis {"connection_id":186802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:23] local.INFO: Extracted packet for processing {"connection_id":186802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187702016001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795732000,"timestamp_ms":1789795732000,"timestamp_seconds":1789795732,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8238a20"} 
[2026-09-19 11:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:01:23] 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-19 11:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 11:01:23] 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-19 11:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:01:23] 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-19 11:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187702016001,"66":12113,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187702016001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187702016001,"power":12113,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":186802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:23] local.INFO: GPS data processed {"connection_id":186802,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:23] local.INFO: Acknowledgment sent {"connection_id":186802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:46] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:46] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:46] local.INFO: IMEI packet received {"connection_id":186804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":186804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:01:47] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:47] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:01:47] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:01:47] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01: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-19 11:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11: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-19 11:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:01: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-19 11: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-19 11: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-19 11:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:01:47] 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-19 11:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:47] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:47] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:49] local.INFO: TCP Data received {"connection_id":186675,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823f780012c95f10007bcac38001001482f..."} 
[2026-09-19 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823f780012c95f10007bcac38001001482f..."} 
[2026-09-19 11:01:49] local.INFO: Processing buffer {"connection_id":186675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823f780012c95f10007bcac38001001482f..."} 
[2026-09-19 11:01:49] local.INFO: Packet analysis {"connection_id":186675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:49] local.INFO: Extracted packet for processing {"connection_id":186675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":748024064,"raw_latitude":129805368,"longitude_deg":74.8024064,"latitude_deg":12.9805368,"altitude":16,"angle":328,"satellites":47,"speed":47,"hex_longitude":"2c95f100","hex_latitude":"07bcac38","is_valid_coordinates":true} 
[2026-09-19 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187712768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":361034950901760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7637260509862055936,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789795760000,"timestamp_ms":1789795760000,"timestamp_seconds":1789795760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823f780"} 
[2026-09-19 11:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:01:49] 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-19 11:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187712768001,"66":28354,"29":206,"9":57344,"24":47,"16":361034950901760,"44":-7637260509862055936},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 11:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187712768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:49] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 11:01:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":361034950901760,"km_value":361034950901.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7637260509862055936,"description":"Unknown IO ID 44"} 
[2026-09-19 11:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187712768001,"power":28354,"unknown_29":206,"unknown_9":57344,"ignition":47,"odometer":null,"unknown_44":-7637260509862055936}} 
[2026-09-19 11:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":186675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:49] local.INFO: GPS data processed {"connection_id":186675,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:49] local.INFO: Acknowledgment sent {"connection_id":186675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:01:51] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:51] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:01:51] local.INFO: IMEI packet received {"connection_id":186804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":186804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:01:52] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b823dc28012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b823dc28012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:52] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b823dc28012d19a580071c1640004f00f825..."} 
[2026-09-19 11:01:52] local.INFO: Packet analysis {"connection_id":186804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:52] local.INFO: Extracted packet for processing {"connection_id":186804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b823"} 
[2026-09-19 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187707392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795753000,"timestamp_ms":1789795753000,"timestamp_seconds":1789795753,"priority":1,"record_length":96,"hex_timestamp":"000001a0b823dc28"} 
[2026-09-19 11:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-19 11:01:52] 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-19 11:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:01:52] 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-19 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187707392001,"66":12722,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187707392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187707392001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":186804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:01:52] local.INFO: GPS data processed {"connection_id":186804,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:01:52] local.INFO: Acknowledgment sent {"connection_id":186804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:09] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:09] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:09] local.INFO: IMEI packet received {"connection_id":188078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:02:10] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: IMEI packet received {"connection_id":188077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":188077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:02:10] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:10] local.INFO: IMEI packet received {"connection_id":188077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":188077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:02:15] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:15] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:02:15] local.INFO: IMEI packet received {"connection_id":188078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":188078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:02:15] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:15] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:02:15] local.INFO: IMEI packet received {"connection_id":188077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":188077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:02:16] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8259590012c95990007be17f8001801532b..."} 
[2026-09-19 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8259590012c95990007be17f8001801532b..."} 
[2026-09-19 11:02:16] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8259590012c95990007be17f8001801532b..."} 
[2026-09-19 11:02:16] local.INFO: Packet analysis {"connection_id":188077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:16] local.INFO: Extracted packet for processing {"connection_id":188077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":748001536,"raw_latitude":129898488,"longitude_deg":74.8001536,"latitude_deg":12.9898488,"altitude":24,"angle":339,"satellites":43,"speed":23,"hex_longitude":"2c959900","hex_latitude":"07be17f8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187737344001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365725055188992,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7663156207695841280,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795866000,"timestamp_ms":1789795866000,"timestamp_seconds":1789795866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8259590"} 
[2026-09-19 11: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-19 11:02: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-19 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:16] 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-19 11: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-19 11: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-19 11:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187737344001,"66":28332,"89":206,"9":57344,"24":23,"16":365725055188992,"44":-7663156207695841280},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187737344001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365725055188992,"km_value":365725055188.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7663156207695841280,"description":"Unknown IO ID 44"} 
[2026-09-19 11:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187737344001,"power":28332,"unknown_89":206,"unknown_9":57344,"ignition":23,"odometer":null,"unknown_44":-7663156207695841280}} 
[2026-09-19 11:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":188077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:16] local.INFO: GPS data processed {"connection_id":188077,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:16] local.INFO: Acknowledgment sent {"connection_id":188077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:16] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:16] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:16] local.INFO: Packet analysis {"connection_id":188078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:16] local.INFO: Extracted packet for processing {"connection_id":188078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:16] 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-19 11:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11: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-19 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:02: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-19 11:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":188078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:16] local.INFO: GPS data processed {"connection_id":188078,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:16] local.INFO: Acknowledgment sent {"connection_id":188078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:19] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b825cc40012c958c4007be3ac80016015429..."} 
[2026-09-19 11:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b825cc40012c958c4007be3ac80016015429..."} 
[2026-09-19 11:02:19] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b825cc40012c958c4007be3ac80016015429..."} 
[2026-09-19 11:02:19] local.INFO: Packet analysis {"connection_id":188077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:19] local.INFO: Extracted packet for processing {"connection_id":188077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:19] local.INFO: GPS Element Parsed {"raw_longitude":747998272,"raw_latitude":129907400,"longitude_deg":74.7998272,"latitude_deg":12.99074,"altitude":22,"angle":340,"satellites":41,"speed":27,"hex_longitude":"2c958c40","hex_latitude":"07be3ac8","is_valid_coordinates":true} 
[2026-09-19 11:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187741696001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366184616689664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7667096857367545856,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789795880000,"timestamp_ms":1789795880000,"timestamp_seconds":1789795880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b825cc40"} 
[2026-09-19 11:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:02: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-19 11:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:19] 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-19 11:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187741696001,"66":28137,"89":206,"9":57344,"24":27,"16":366184616689664,"44":-7667096857367545856},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 11:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187741696001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 11:02:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366184616689664,"km_value":366184616689.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7667096857367545856,"description":"Unknown IO ID 44"} 
[2026-09-19 11:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187741696001,"power":28137,"unknown_89":206,"unknown_9":57344,"ignition":27,"odometer":null,"unknown_44":-7667096857367545856}} 
[2026-09-19 11:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":188077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:19] local.INFO: GPS data processed {"connection_id":188077,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:19] local.INFO: Acknowledgment sent {"connection_id":188077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:23] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8242e30012d19a580071c1640004f00f824..."} 
[2026-09-19 11:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8242e30012d19a580071c1640004f00f824..."} 
[2026-09-19 11:02:23] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8242e30012d19a580071c1640004f00f824..."} 
[2026-09-19 11:02:23] local.INFO: Packet analysis {"connection_id":186804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:23] local.INFO: Extracted packet for processing {"connection_id":186804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":36,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:02: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-19 11:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187712768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795774000,"timestamp_ms":1789795774000,"timestamp_seconds":1789795774,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8242e30"} 
[2026-09-19 11:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:02:23] 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-19 11:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:23] 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-19 11:02: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-19 11:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:02:23] 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-19 11:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187712768001,"66":12678,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187712768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187712768001,"power":12678,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":186804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:23] local.INFO: GPS data processed {"connection_id":186804,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:23] local.INFO: Acknowledgment sent {"connection_id":186804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:46] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:46] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:46] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:02:47] local.INFO: TCP Data received {"connection_id":188078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:47] local.INFO: Processing buffer {"connection_id":188078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:02:47] local.INFO: Packet analysis {"connection_id":188078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:47] local.INFO: Extracted packet for processing {"connection_id":188078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02: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-19 11:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11: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-19 11:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:02: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-19 11: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-19 11: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-19 11:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:02: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-19 11:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":188078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:47] local.INFO: GPS data processed {"connection_id":188078,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:47] local.INFO: Acknowledgment sent {"connection_id":188078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:51] local.INFO: TCP Data received {"connection_id":188077,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b825f738012c9582c007be5ed00014015c2b..."} 
[2026-09-19 11:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b825f738012c9582c007be5ed00014015c2b..."} 
[2026-09-19 11:02:51] local.INFO: Processing buffer {"connection_id":188077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b825f738012c9582c007be5ed00014015c2b..."} 
[2026-09-19 11:02:51] local.INFO: Packet analysis {"connection_id":188077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:51] local.INFO: Extracted packet for processing {"connection_id":188077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:02:51] local.INFO: GPS Element Parsed {"raw_longitude":747995840,"raw_latitude":129916624,"longitude_deg":74.799584,"latitude_deg":12.9916624,"altitude":20,"angle":348,"satellites":43,"speed":39,"hex_longitude":"2c9582c0","hex_latitude":"07be5ed0","is_valid_coordinates":true} 
[2026-09-19 11:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187745280001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366648473157632,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7670685663318325248,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789795891000,"timestamp_ms":1789795891000,"timestamp_seconds":1789795891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b825f738"} 
[2026-09-19 11:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:51] 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-19 11:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187745280001,"66":28332,"89":206,"9":57344,"24":39,"16":366648473157632,"44":-7670685663318325248},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 11:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187745280001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 11:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366648473157632,"km_value":366648473157.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7670685663318325248,"description":"Unknown IO ID 44"} 
[2026-09-19 11:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187745280001,"power":28332,"unknown_89":206,"unknown_9":57344,"ignition":39,"odometer":null,"unknown_44":-7670685663318325248}} 
[2026-09-19 11:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":188077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:51] local.INFO: GPS data processed {"connection_id":188077,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:51] local.INFO: Acknowledgment sent {"connection_id":188077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:02:53] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:53] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:02:53] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:02:53] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8248038012d19a580071c1640004f00f825..."} 
[2026-09-19 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8248038012d19a580071c1640004f00f825..."} 
[2026-09-19 11:02:53] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8248038012d19a580071c1640004f00f825..."} 
[2026-09-19 11:02:53] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:53] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187718144001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795795000,"timestamp_ms":1789795795000,"timestamp_seconds":1789795795,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8248038"} 
[2026-09-19 11:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:02:53] 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-19 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 11:02:53] 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-19 11:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:02:53] 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-19 11:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187718144001,"66":12722,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187718144001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:02:53] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187718144001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:02:53] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:02:53] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:09] local.INFO: TCP Data received {"connection_id":189415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:09] local.INFO: Processing buffer {"connection_id":189415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:09] local.INFO: IMEI packet received {"connection_id":189415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:03:09] local.INFO: TCP Data received {"connection_id":189414,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:09] local.INFO: Processing buffer {"connection_id":189414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:09] local.INFO: IMEI packet received {"connection_id":189414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:03:10] local.INFO: TCP Data received {"connection_id":189414,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:10] local.INFO: Processing buffer {"connection_id":189414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:10] local.INFO: IMEI packet received {"connection_id":189414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:03:14] local.INFO: TCP Data received {"connection_id":189415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:14] local.INFO: Processing buffer {"connection_id":189415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:03:14] local.INFO: IMEI packet received {"connection_id":189415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:03:15] local.INFO: TCP Data received {"connection_id":189414,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:15] local.INFO: Processing buffer {"connection_id":189414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:03:15] local.INFO: IMEI packet received {"connection_id":189414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:03:15] local.INFO: TCP Data received {"connection_id":189415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:15] local.INFO: Processing buffer {"connection_id":189415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:15] local.INFO: Packet analysis {"connection_id":189415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:15] local.INFO: Extracted packet for processing {"connection_id":189415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03: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-19 11:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:03: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-19 11:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:03: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-19 11:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:15] local.INFO: GPS data processed {"connection_id":189415,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:15] local.INFO: Acknowledgment sent {"connection_id":189415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:16] local.INFO: TCP Data received {"connection_id":189414,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8261a60012c957ac007be83780012015c2c..."} 
[2026-09-19 11:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8261a60012c957ac007be83780012015c2c..."} 
[2026-09-19 11:03:16] local.INFO: Processing buffer {"connection_id":189414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8261a60012c957ac007be83780012015c2c..."} 
[2026-09-19 11:03:16] local.INFO: Packet analysis {"connection_id":189414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:03:16] local.INFO: Extracted packet for processing {"connection_id":189414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:03:16] local.INFO: GPS Element Parsed {"raw_longitude":747993792,"raw_latitude":129926008,"longitude_deg":74.7993792,"latitude_deg":12.9926008,"altitude":18,"angle":348,"satellites":44,"speed":46,"hex_longitude":"2c957ac0","hex_latitude":"07be8378","is_valid_coordinates":true} 
[2026-09-19 11:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187748096001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367112329625600,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7673359675594715136,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789795900000,"timestamp_ms":1789795900000,"timestamp_seconds":1789795900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8261a60"} 
[2026-09-19 11:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:03: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-19 11:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187748096001,"66":28191,"89":206,"9":57344,"24":46,"16":367112329625600,"44":-7673359675594715136},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 11:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187748096001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 11:03:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367112329625600,"km_value":367112329625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7673359675594715136,"description":"Unknown IO ID 44"} 
[2026-09-19 11:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187748096001,"power":28191,"unknown_89":206,"unknown_9":57344,"ignition":46,"odometer":null,"unknown_44":-7673359675594715136}} 
[2026-09-19 11:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:16] local.INFO: GPS data processed {"connection_id":189414,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:16] local.INFO: Acknowledgment sent {"connection_id":189414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:24] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b824d240012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b824d240012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:24] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b824d240012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:24] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:24] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187723520001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789795816000,"timestamp_ms":1789795816000,"timestamp_seconds":1789795816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b824d240"} 
[2026-09-19 11: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-19 11:03:24] 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-19 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:03:24] 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-19 11: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-19 11: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-19 11:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:03:24] 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-19 11:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187723520001,"66":12711,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187723520001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187723520001,"power":12711,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:25] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:25] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:46] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:46] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:46] local.INFO: IMEI packet received {"connection_id":186676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":186676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:03:47] local.INFO: TCP Data received {"connection_id":189415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:47] local.INFO: Processing buffer {"connection_id":189415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:03:47] local.INFO: Packet analysis {"connection_id":189415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:47] local.INFO: Extracted packet for processing {"connection_id":189415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03: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-19 11:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11: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-19 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:03: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-19 11: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-19 11: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-19 11:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:03: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-19 11:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:47] local.INFO: GPS data processed {"connection_id":189415,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:47] local.INFO: Acknowledgment sent {"connection_id":189415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:48] local.INFO: TCP Data received {"connection_id":189414,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82635b8012c95734007bea5a8000f015b2b..."} 
[2026-09-19 11:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82635b8012c95734007bea5a8000f015b2b..."} 
[2026-09-19 11:03:48] local.INFO: Processing buffer {"connection_id":189414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82635b8012c95734007bea5a8000f015b2b..."} 
[2026-09-19 11:03:48] local.INFO: Packet analysis {"connection_id":189414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:03:48] local.INFO: Extracted packet for processing {"connection_id":189414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:03:48] local.INFO: GPS Element Parsed {"raw_longitude":747991872,"raw_latitude":129934760,"longitude_deg":74.7991872,"latitude_deg":12.993476,"altitude":15,"angle":347,"satellites":43,"speed":54,"hex_longitude":"2c957340","hex_latitude":"07bea5a8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187750400001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367546121322496,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7675611475405998080,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789795907000,"timestamp_ms":1789795907000,"timestamp_seconds":1789795907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82635b8"} 
[2026-09-19 11: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-19 11:03: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-19 11: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-19 11:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187750400001,"66":28332,"89":206,"9":57344,"24":54,"16":367546121322496,"44":-7675611475405998080},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 11:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187750400001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 11:03:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367546121322496,"km_value":367546121322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7675611475405998080,"description":"Unknown IO ID 44"} 
[2026-09-19 11:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187750400001,"power":28332,"unknown_89":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7675611475405998080}} 
[2026-09-19 11:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":189414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:48] local.INFO: GPS data processed {"connection_id":189414,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:48] local.INFO: Acknowledgment sent {"connection_id":189414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:03:51] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:51] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:03:51] local.INFO: IMEI packet received {"connection_id":186676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:03:52] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8252448012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8252448012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:52] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8252448012d19a580071c1640004f00f825..."} 
[2026-09-19 11:03:52] local.INFO: Packet analysis {"connection_id":186676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:03:52] local.INFO: Extracted packet for processing {"connection_id":186676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187728896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795837000,"timestamp_ms":1789795837000,"timestamp_seconds":1789795837,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8252448"} 
[2026-09-19 11: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-19 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 11:03:52] 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-19 11: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-19 11: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-19 11:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:03:52] 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-19 11:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187728896001,"66":12689,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187728896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:03:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187728896001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":186676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:03:52] local.INFO: GPS data processed {"connection_id":186676,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:03:52] local.INFO: Acknowledgment sent {"connection_id":186676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:09] local.INFO: TCP Data received {"connection_id":186806,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:09] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:09] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:04:09] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:09] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:09] local.INFO: IMEI packet received {"connection_id":186807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":186807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:04:13] local.INFO: TCP Data received {"connection_id":186806,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:13] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:04:13] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:04:14] local.INFO: TCP Data received {"connection_id":186806,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8276e38012c94f28007bfcb80001201512c..."} 
[2026-09-19 11:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8276e38012c94f28007bfcb80001201512c..."} 
[2026-09-19 11:04:14] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8276e38012c94f28007bfcb80001201512c..."} 
[2026-09-19 11:04:14] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:04:14] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:04:14] local.INFO: GPS Element Parsed {"raw_longitude":747958912,"raw_latitude":130009984,"longitude_deg":74.7958912,"latitude_deg":13.0009984,"altitude":18,"angle":337,"satellites":44,"speed":40,"hex_longitude":"2c94f280","hex_latitude":"07bfcb80","is_valid_coordinates":true} 
[2026-09-19 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187771392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":371643520122880,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7711358797427898368,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789795987000,"timestamp_ms":1789795987000,"timestamp_seconds":1789795987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8276e38"} 
[2026-09-19 11:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:04: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-19 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:04:14] 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-19 11:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187771392001,"66":28267,"51":206,"9":57344,"24":40,"16":371643520122880,"44":-7711358797427898368},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-19 11:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187771392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:14] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-19 11:04:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":371643520122880,"km_value":371643520122.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7711358797427898368,"description":"Unknown IO ID 44"} 
[2026-09-19 11:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187771392001,"power":28267,"unknown_51":206,"unknown_9":57344,"ignition":40,"odometer":null,"unknown_44":-7711358797427898368}} 
[2026-09-19 11:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:14] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:14] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:14] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:14] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:04:14] local.INFO: IMEI packet received {"connection_id":186807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:04:15] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:15] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:15] local.INFO: Packet analysis {"connection_id":186807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:04:15] local.INFO: Extracted packet for processing {"connection_id":186807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04: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-19 11:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11: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-19 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:04: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-19 11: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-19 11: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-19 11:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11: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-19 11:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":186807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:15] local.INFO: GPS data processed {"connection_id":186807,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:15] local.INFO: Acknowledgment sent {"connection_id":186807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:23] local.INFO: TCP Data received {"connection_id":186676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8257650012d19a580071c1640004f00f826..."} 
[2026-09-19 11:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8257650012d19a580071c1640004f00f826..."} 
[2026-09-19 11:04:23] local.INFO: Processing buffer {"connection_id":186676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8257650012d19a580071c1640004f00f826..."} 
[2026-09-19 11:04:23] local.INFO: Packet analysis {"connection_id":186676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:04:23] local.INFO: Extracted packet for processing {"connection_id":186676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187734272001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789795858000,"timestamp_ms":1789795858000,"timestamp_seconds":1789795858,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8257650"} 
[2026-09-19 11:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:04:23] 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-19 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:04:23] 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-19 11:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:04:23] 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-19 11:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187734272001,"66":12689,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187734272001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187734272001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":186676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:23] local.INFO: GPS data processed {"connection_id":186676,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:23] local.INFO: Acknowledgment sent {"connection_id":186676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:45] local.INFO: TCP Data received {"connection_id":186806,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8279160012c94e30007bfee680015014f2d..."} 
[2026-09-19 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8279160012c94e30007bfee680015014f2d..."} 
[2026-09-19 11:04:45] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8279160012c94e30007bfee680015014f2d..."} 
[2026-09-19 11:04:45] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:04:45] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:04:45] local.INFO: GPS Element Parsed {"raw_longitude":747954944,"raw_latitude":130018920,"longitude_deg":74.7954944,"latitude_deg":13.001892,"altitude":21,"angle":335,"satellites":45,"speed":43,"hex_longitude":"2c94e300","hex_latitude":"07bfee68","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187772672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":372115966525440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7713962440961327104,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789795996000,"timestamp_ms":1789795996000,"timestamp_seconds":1789795996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8279160"} 
[2026-09-19 11: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-19 11:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:04:45] 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-19 11: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-19 11: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-19 11:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187772672001,"66":28104,"51":206,"9":57344,"24":43,"16":372115966525440,"44":-7713962440961327104},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-19 11:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187772672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:45] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-19 11:04:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":372115966525440,"km_value":372115966525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7713962440961327104,"description":"Unknown IO ID 44"} 
[2026-09-19 11:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187772672001,"power":28104,"unknown_51":206,"unknown_9":57344,"ignition":43,"odometer":null,"unknown_44":-7713962440961327104}} 
[2026-09-19 11:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:46] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:46] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:46] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:46] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:46] local.INFO: IMEI packet received {"connection_id":188079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":188079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:04:47] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:47] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:04:47] local.INFO: Packet analysis {"connection_id":186807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:04:47] local.INFO: Extracted packet for processing {"connection_id":186807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04: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-19 11:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:04: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-19 11:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:04: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-19 11:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":186807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:47] local.INFO: GPS data processed {"connection_id":186807,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:47] local.INFO: Acknowledgment sent {"connection_id":186807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:04:52] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:52] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:04:52] local.INFO: IMEI packet received {"connection_id":188079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":188079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:04:53] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b825c858012d19a580071c1640004f00f823..."} 
[2026-09-19 11:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b825c858012d19a580071c1640004f00f823..."} 
[2026-09-19 11:04:53] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b825c858012d19a580071c1640004f00f823..."} 
[2026-09-19 11:04:53] local.INFO: Packet analysis {"connection_id":188079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:04:53] local.INFO: Extracted packet for processing {"connection_id":188079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b825"} 
[2026-09-19 11:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:04: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-19 11:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187739648001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789795879000,"timestamp_ms":1789795879000,"timestamp_seconds":1789795879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b825c858"} 
[2026-09-19 11:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:04:53] 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-19 11:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:04:53] 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-19 11:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187739648001,"66":12689,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187739648001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:04:53] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187739648001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":188079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:04:53] local.INFO: GPS data processed {"connection_id":188079,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:04:53] local.INFO: Acknowledgment sent {"connection_id":188079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:09] local.INFO: TCP Data received {"connection_id":186677,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:09] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:09] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:05:13] local.INFO: TCP Data received {"connection_id":186677,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:13] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:05:13] local.INFO: IMEI packet received {"connection_id":186677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":186677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:05:14] local.INFO: TCP Data received {"connection_id":186677,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b827b488012c94d20007c011a00016014e2d..."} 
[2026-09-19 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b827b488012c94d20007c011a00016014e2d..."} 
[2026-09-19 11:05:14] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b827b488012c94d20007c011a00016014e2d..."} 
[2026-09-19 11:05:14] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:05:14] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:05:14] local.INFO: GPS Element Parsed {"raw_longitude":747950592,"raw_latitude":130027936,"longitude_deg":74.7950592,"latitude_deg":13.0027936,"altitude":22,"angle":334,"satellites":45,"speed":44,"hex_longitude":"2c94d200","hex_latitude":"07c011a0","is_valid_coordinates":true} 
[2026-09-19 11:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187774976001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":372597002862592,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7718325303098054656,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789796005000,"timestamp_ms":1789796005000,"timestamp_seconds":1789796005,"priority":1,"record_length":96,"hex_timestamp":"000001a0b827b488"} 
[2026-09-19 11:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05: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-19 11:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187774976001,"66":28191,"51":206,"9":57344,"24":44,"16":372597002862592,"44":-7718325303098054656},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-19 11:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187774976001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:14] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-19 11:05:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":372597002862592,"km_value":372597002862.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7718325303098054656,"description":"Unknown IO ID 44"} 
[2026-09-19 11:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187774976001,"power":28191,"unknown_51":206,"unknown_9":57344,"ignition":44,"odometer":null,"unknown_44":-7718325303098054656}} 
[2026-09-19 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:15] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:15] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:15] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:15] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:15] local.INFO: IMEI packet received {"connection_id":186678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":186678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:05:19] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:19] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:05:19] local.INFO: IMEI packet received {"connection_id":186678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":186678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:05:20] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:05:20] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8245158012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:05:20] local.INFO: Packet analysis {"connection_id":186678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:05:20] local.INFO: Extracted packet for processing {"connection_id":186678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b824"} 
[2026-09-19 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187643392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:20] 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-19 11:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789795783000,"timestamp_ms":1789795783000,"timestamp_seconds":1789795783,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8245158"} 
[2026-09-19 11:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:20] 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-19 11:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187643392001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187643392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187643392001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":186678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:21] local.INFO: GPS data processed {"connection_id":186678,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:21] local.INFO: Acknowledgment sent {"connection_id":186678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:23] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:23] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:23] local.INFO: Packet analysis {"connection_id":186678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:23] local.INFO: Extracted packet for processing {"connection_id":186678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:23] 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-19 11:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:23] 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-19 11:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:23] 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-19 11:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":186678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:23] local.INFO: GPS data processed {"connection_id":186678,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:23] local.INFO: Acknowledgment sent {"connection_id":186678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:24] local.INFO: TCP Data received {"connection_id":188079,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8261a60012d19a580071c1640004f00f821..."} 
[2026-09-19 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8261a60012d19a580071c1640004f00f821..."} 
[2026-09-19 11:05:24] local.INFO: Processing buffer {"connection_id":188079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8261a60012d19a580071c1640004f00f821..."} 
[2026-09-19 11:05:24] local.INFO: Packet analysis {"connection_id":188079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:05:24] local.INFO: Extracted packet for processing {"connection_id":188079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":33,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187745024001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789795900000,"timestamp_ms":1789795900000,"timestamp_seconds":1789795900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8261a60"} 
[2026-09-19 11:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05:24] 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-19 11:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:24] 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-19 11:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:05:24] 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-19 11:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187745024001,"66":12678,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187745024001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187745024001,"power":12678,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":188079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:24] local.INFO: GPS data processed {"connection_id":188079,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:24] local.INFO: Acknowledgment sent {"connection_id":188079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:46] local.INFO: TCP Data received {"connection_id":186677,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e538012c947bc007c16bb0001700012a..."} 
[2026-09-19 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e538012c947bc007c16bb0001700012a..."} 
[2026-09-19 11:05:46] local.INFO: Processing buffer {"connection_id":186677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e538012c947bc007c16bb0001700012a..."} 
[2026-09-19 11:05:46] local.INFO: Packet analysis {"connection_id":186677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:46] local.INFO: Extracted packet for processing {"connection_id":186677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":747928512,"raw_latitude":130116528,"longitude_deg":74.7928512,"latitude_deg":13.0116528,"altitude":23,"angle":1,"satellites":42,"speed":42,"hex_longitude":"2c947bc0","hex_latitude":"07c16bb0","is_valid_coordinates":true} 
[2026-09-19 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187795200001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":377123898392576,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7747457963164987392,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789796083000,"timestamp_ms":1789796083000,"timestamp_seconds":1789796083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e538"} 
[2026-09-19 11:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05: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-19 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:46] 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-19 11:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187795200001,"66":27952,"49":206,"9":57344,"24":42,"16":377123898392576,"44":-7747457963164987392},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,44]} 
[2026-09-19 11:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187795200001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-19 11:05:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":377123898392576,"km_value":377123898392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7747457963164987392,"description":"Unknown IO ID 44"} 
[2026-09-19 11:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187795200001,"power":27952,"unknown_49":206,"unknown_9":57344,"ignition":42,"odometer":null,"unknown_44":-7747457963164987392}} 
[2026-09-19 11:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":186677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:46] local.INFO: GPS data processed {"connection_id":186677,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:46] local.INFO: Acknowledgment sent {"connection_id":186677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:49] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:49] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:49] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:05:51] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:51] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:51] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:05:54] local.INFO: TCP Data received {"connection_id":186678,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:54] local.INFO: Processing buffer {"connection_id":186678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:05:54] local.INFO: Packet analysis {"connection_id":186678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:54] local.INFO: Extracted packet for processing {"connection_id":186678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:54] 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-19 11:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:54] 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-19 11:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:05:54] 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-19 11:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":186678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:54] local.INFO: GPS data processed {"connection_id":186678,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:54] local.INFO: Acknowledgment sent {"connection_id":186678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:05:56] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:56] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:05:56] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:05:57] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8266c68012d19a580071c1640004f00f823..."} 
[2026-09-19 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8266c68012d19a580071c1640004f00f823..."} 
[2026-09-19 11:05:57] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8266c68012d19a580071c1640004f00f823..."} 
[2026-09-19 11:05:57] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:05:57] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:05: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-19 11:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187750400001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789795921000,"timestamp_ms":1789795921000,"timestamp_seconds":1789795921,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8266c68"} 
[2026-09-19 11:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:05:57] 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-19 11:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 11:05:57] 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-19 11:05: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-19 11:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:05:57] 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-19 11:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187750400001,"66":12667,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187750400001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:05:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187750400001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:05:57] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:05:57] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:06:02] local.INFO: TCP Data received {"connection_id":186808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b826be70012d19a580071c1640004f00f825..."} 
[2026-09-19 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b826be70012d19a580071c1640004f00f825..."} 
[2026-09-19 11:06:02] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b826be70012d19a580071c1640004f00f825..."} 
[2026-09-19 11:06:02] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:06:02] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b826"} 
[2026-09-19 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187755776001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789795942000,"timestamp_ms":1789795942000,"timestamp_seconds":1789795942,"priority":1,"record_length":96,"hex_timestamp":"000001a0b826be70"} 
[2026-09-19 11: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-19 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 11:06: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-19 11: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-19 11: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-19 11:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:06: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-19 11:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187755776001,"66":12667,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187755776001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:06:02] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187755776001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:06:02] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:06:02] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:06:09] local.INFO: TCP Data received {"connection_id":189416,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:09] local.INFO: Processing buffer {"connection_id":189416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:09] local.INFO: IMEI packet received {"connection_id":189416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":189416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:06:09] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:09] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:09] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:06:12] local.INFO: TCP Data received {"connection_id":189416,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:12] local.INFO: Processing buffer {"connection_id":189416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:12] local.INFO: IMEI packet received {"connection_id":189416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":189416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:06:14] local.INFO: TCP Data received {"connection_id":189416,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:14] local.INFO: Processing buffer {"connection_id":189416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:06:14] local.INFO: IMEI packet received {"connection_id":189416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":189416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:06:14] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:14] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:06:14] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:06:15] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:15] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:15] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:06:15] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06: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-19 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11: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-19 11:06: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-19 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:06: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-19 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:06:15] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:06:15] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:06:16] local.INFO: TCP Data received {"connection_id":189416,"ip":"117.224.216.130","data_length":93,"data_hex":"00000000000000518e01000001a0b8290860012c947bc007c19298001501642a..."} 
[2026-09-19 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189416,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b8290860012c947bc007c19298001501642a..."} 
[2026-09-19 11:06:16] local.INFO: Processing buffer {"connection_id":189416,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b8290860012c947bc007c19298001501642a..."} 
[2026-09-19 11:06:16] local.INFO: Packet analysis {"connection_id":189416,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b829"} 
[2026-09-19 11:06:16] local.INFO: Extracted packet for processing {"connection_id":189416,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b829"} 
[2026-09-19 11:06:16] local.INFO: GPS Element Parsed {"raw_longitude":747928512,"raw_latitude":130126488,"longitude_deg":74.7928512,"latitude_deg":13.0126488,"altitude":21,"angle":356,"satellites":42,"speed":48,"hex_longitude":"2c947bc0","hex_latitude":"07c19298","is_valid_coordinates":true} 
[2026-09-19 11: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":93,"current_offset":40} 
[2026-09-19 11:06:16] 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-19 11:06:16] 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-19 11:06:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:06:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 11:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189416,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 11:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189416,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-19 11:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189416,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-19 11:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 11:06:16] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 11:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":189416,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 11:06:16] local.ERROR: GPS data processing failed {"connection_id":189416,"error":"No valid data to process"} 
[2026-09-19 11:06:16] local.INFO: Acknowledgment sent {"connection_id":189416,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 11:06:46] local.INFO: TCP Data received {"connection_id":188080,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:46] local.INFO: Processing buffer {"connection_id":188080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:46] local.INFO: IMEI packet received {"connection_id":188080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":188080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:06:47] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:47] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:06:47] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:06:47] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06: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-19 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 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-19 11: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-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:06: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-19 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:06:47] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:06:47] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:06:48] local.INFO: TCP Data received {"connection_id":189416,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82927a0012c947ac007c1b9b0001101652c..."} 
[2026-09-19 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82927a0012c947ac007c1b9b0001101652c..."} 
[2026-09-19 11:06:48] local.INFO: Processing buffer {"connection_id":189416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82927a0012c947ac007c1b9b0001101652c..."} 
[2026-09-19 11:06:48] local.INFO: Packet analysis {"connection_id":189416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b829"} 
[2026-09-19 11:06:48] local.INFO: Extracted packet for processing {"connection_id":189416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b829"} 
[2026-09-19 11:06:48] local.INFO: GPS Element Parsed {"raw_longitude":747928256,"raw_latitude":130136496,"longitude_deg":74.7928256,"latitude_deg":13.0136496,"altitude":17,"angle":357,"satellites":44,"speed":49,"hex_longitude":"2c947ac0","hex_latitude":"07c1b9b0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187799552001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":378090266034176,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7747387594415892480,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789796100000,"timestamp_ms":1789796100000,"timestamp_seconds":1789796100,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82927a0"} 
[2026-09-19 11: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-19 11:06: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-19 11: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 11:06:48] 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-19 11: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-19 11: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-19 11:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187799552001,"66":28256,"49":206,"9":57344,"24":49,"16":378090266034176,"44":-7747387594415892480},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,44]} 
[2026-09-19 11:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187799552001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:06:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-19 11:06:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":378090266034176,"km_value":378090266034.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7747387594415892480,"description":"Unknown IO ID 44"} 
[2026-09-19 11:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187799552001,"power":28256,"unknown_49":206,"unknown_9":57344,"ignition":49,"odometer":null,"unknown_44":-7747387594415892480}} 
[2026-09-19 11:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":189416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:06:48] local.INFO: GPS data processed {"connection_id":189416,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:06:48] local.INFO: Acknowledgment sent {"connection_id":189416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:06:52] local.INFO: TCP Data received {"connection_id":188080,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:52] local.INFO: Processing buffer {"connection_id":188080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:06:52] local.INFO: IMEI packet received {"connection_id":188080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":188080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:06:52] local.INFO: TCP Data received {"connection_id":188080,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8271078012d19a580071c1640004f00f824..."} 
[2026-09-19 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8271078012d19a580071c1640004f00f824..."} 
[2026-09-19 11:06:52] local.INFO: Processing buffer {"connection_id":188080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8271078012d19a580071c1640004f00f824..."} 
[2026-09-19 11:06:52] local.INFO: Packet analysis {"connection_id":188080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:06:52] local.INFO: Extracted packet for processing {"connection_id":188080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":36,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187761152001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789795963000,"timestamp_ms":1789795963000,"timestamp_seconds":1789795963,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8271078"} 
[2026-09-19 11:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 11:06:52] 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-19 11:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:06:52] 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-19 11:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187761152001,"66":12667,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187761152001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:06:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187761152001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":188080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:06:52] local.INFO: GPS data processed {"connection_id":188080,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:06:52] local.INFO: Acknowledgment sent {"connection_id":188080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:09] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:09] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:09] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:07:14] local.INFO: TCP Data received {"connection_id":188081,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:14] local.INFO: Processing buffer {"connection_id":188081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:14] local.INFO: IMEI packet received {"connection_id":188081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":188081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:07:14] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:14] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:07:14] local.INFO: IMEI packet received {"connection_id":186679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:07:15] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:15] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:15] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:07:15] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07: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-19 11:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:07: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-19 11:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:07: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-19 11:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:15] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:15] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:19] local.INFO: TCP Data received {"connection_id":188081,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:19] local.INFO: Processing buffer {"connection_id":188081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:07:19] local.INFO: IMEI packet received {"connection_id":188081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":188081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:07:21] local.INFO: TCP Data received {"connection_id":188081,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82a21a0012c941f0007c30c38000a00122e..."} 
[2026-09-19 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82a21a0012c941f0007c30c38000a00122e..."} 
[2026-09-19 11:07:21] local.INFO: Processing buffer {"connection_id":188081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82a21a0012c941f0007c30c38000a00122e..."} 
[2026-09-19 11:07:21] local.INFO: Packet analysis {"connection_id":188081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:21] local.INFO: Extracted packet for processing {"connection_id":188081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":747904768,"raw_latitude":130223160,"longitude_deg":74.7904768,"latitude_deg":13.022316,"altitude":10,"angle":18,"satellites":46,"speed":41,"hex_longitude":"2c941f00","hex_latitude":"07c30c38","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187817216001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":382479722610688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7774127717179461632,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796164000,"timestamp_ms":1789796164000,"timestamp_seconds":1789796164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82a21a0"} 
[2026-09-19 11: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-19 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:21] 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-19 11: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-19 11: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-19 11:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187817216001,"66":28256,"129":206,"9":57344,"24":41,"16":382479722610688,"44":-7774127717179461632},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187817216001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:07:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":382479722610688,"km_value":382479722610.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7774127717179461632,"description":"Unknown IO ID 44"} 
[2026-09-19 11:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187817216001,"power":28256,"unknown_129":206,"unknown_9":57344,"ignition":41,"odometer":null,"unknown_44":-7774127717179461632}} 
[2026-09-19 11:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":188081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:21] local.INFO: GPS data processed {"connection_id":188081,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:21] local.INFO: Acknowledgment sent {"connection_id":188081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:24] local.INFO: TCP Data received {"connection_id":188080,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8276280012d19a580071c1640004f00f822..."} 
[2026-09-19 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8276280012d19a580071c1640004f00f822..."} 
[2026-09-19 11:07:24] local.INFO: Processing buffer {"connection_id":188080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8276280012d19a580071c1640004f00f822..."} 
[2026-09-19 11:07:24] local.INFO: Packet analysis {"connection_id":188080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:07:24] local.INFO: Extracted packet for processing {"connection_id":188080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b827"} 
[2026-09-19 11:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187766528001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789795984000,"timestamp_ms":1789795984000,"timestamp_seconds":1789795984,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8276280"} 
[2026-09-19 11:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:24] 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-19 11:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:07:24] 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-19 11:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187766528001,"66":12667,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187766528001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187766528001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":188080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:24] local.INFO: GPS data processed {"connection_id":188080,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:24] local.INFO: Acknowledgment sent {"connection_id":188080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:43] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:43] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:43] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:07:46] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:46] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:46] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:07:47] local.INFO: TCP Data received {"connection_id":186679,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:47] local.INFO: Processing buffer {"connection_id":186679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:07:47] local.INFO: Packet analysis {"connection_id":186679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:07:47] local.INFO: Extracted packet for processing {"connection_id":186679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07: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-19 11:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:07:47] 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-19 11:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":186679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:47] local.INFO: GPS data processed {"connection_id":186679,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:47] local.INFO: Acknowledgment sent {"connection_id":186679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:51] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:51] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:07:51] local.INFO: IMEI packet received {"connection_id":186680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":186680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:07:52] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82ae8d8012d19a580071c1640004f00f81f..."} 
[2026-09-19 11:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82ae8d8012d19a580071c1640004f00f81f..."} 
[2026-09-19 11:07:52] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82ae8d8012d19a580071c1640004f00f81f..."} 
[2026-09-19 11:07:52] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:52] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119281216,"longitude_deg":75.6655488,"latitude_deg":11.9281216,"altitude":79,"angle":248,"satellites":31,"speed":0,"hex_longitude":"2d19a580","hex_latitude":"071c1640","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187825664001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618975582453760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796215000,"timestamp_ms":1789796215000,"timestamp_seconds":1789796215,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82ae8d8"} 
[2026-09-19 11: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-19 11:07:52] 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-19 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:52] 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-19 11: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-19 11: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-19 11:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:07:52] 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-19 11:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187825664001,"66":13820,"73":206,"83":41984,"24":0,"16":21618975582453760,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187825664001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618975582453760,"km_value":21618975582453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187825664001,"power":13820,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:52] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:52] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:07:52] local.INFO: TCP Data received {"connection_id":188081,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82a44c8012c94294007c32fc8000c00102b..."} 
[2026-09-19 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82a44c8012c94294007c32fc8000c00102b..."} 
[2026-09-19 11:07:53] local.INFO: Processing buffer {"connection_id":188081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82a44c8012c94294007c32fc8000c00102b..."} 
[2026-09-19 11:07:53] local.INFO: Packet analysis {"connection_id":188081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:53] local.INFO: Extracted packet for processing {"connection_id":188081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:07:53] local.INFO: GPS Element Parsed {"raw_longitude":747907392,"raw_latitude":130232264,"longitude_deg":74.7907392,"latitude_deg":13.0232264,"altitude":12,"angle":16,"satellites":43,"speed":41,"hex_longitude":"2c942940","hex_latitude":"07c32fc8","is_valid_coordinates":true} 
[2026-09-19 11:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187817984001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":382939284111360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7773494398481057792,"note":"Value kept but may cause issues"} 
[2026-09-19 11:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789796173000,"timestamp_ms":1789796173000,"timestamp_seconds":1789796173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82a44c8"} 
[2026-09-19 11:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:07:53] 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-19 11:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187817984001,"66":27952,"129":206,"9":57344,"24":41,"16":382939284111360,"44":-7773494398481057792},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187817984001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:07:53] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:07:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":382939284111360,"km_value":382939284111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7773494398481057792,"description":"Unknown IO ID 44"} 
[2026-09-19 11:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187817984001,"power":27952,"unknown_129":206,"unknown_9":57344,"ignition":41,"odometer":null,"unknown_44":-7773494398481057792}} 
[2026-09-19 11:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":188081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:07:53] local.INFO: GPS data processed {"connection_id":188081,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:07:53] local.INFO: Acknowledgment sent {"connection_id":188081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:09] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:09] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:09] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:08:09] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:09] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:09] local.INFO: IMEI packet received {"connection_id":188083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:08:13] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:13] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:13] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:08:14] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:14] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:08:14] local.INFO: IMEI packet received {"connection_id":188082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:08:15] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:15] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:08:15] local.INFO: IMEI packet received {"connection_id":188083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":188083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:08:15] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82a67f0012c94328007c35268000f000c2a..."} 
[2026-09-19 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82a67f0012c94328007c35268000f000c2a..."} 
[2026-09-19 11:08:15] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82a67f0012c94328007c35268000f000c2a..."} 
[2026-09-19 11:08:15] local.INFO: Packet analysis {"connection_id":188082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:15] local.INFO: Extracted packet for processing {"connection_id":188082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":747909760,"raw_latitude":130241128,"longitude_deg":74.790976,"latitude_deg":13.0241128,"altitude":15,"angle":12,"satellites":42,"speed":39,"hex_longitude":"2c943280","hex_latitude":"07c35268","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187820288001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":383381665742848,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7770609279967442944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796182000,"timestamp_ms":1789796182000,"timestamp_seconds":1789796182,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82a67f0"} 
[2026-09-19 11: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-19 11:08: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-19 11: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":48,"data_length":795,"current_offset":136} 
[2026-09-19 11:08: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-19 11: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-19 11: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-19 11:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187820288001,"66":28300,"129":206,"9":57344,"24":39,"16":383381665742848,"44":-7770609279967442944},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187820288001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":383381665742848,"km_value":383381665742.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7770609279967442944,"description":"Unknown IO ID 44"} 
[2026-09-19 11:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187820288001,"power":28300,"unknown_129":206,"unknown_9":57344,"ignition":39,"odometer":null,"unknown_44":-7770609279967442944}} 
[2026-09-19 11:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":188082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:15] local.INFO: GPS data processed {"connection_id":188082,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:15] local.INFO: Acknowledgment sent {"connection_id":188082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:16] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:16] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:16] local.INFO: Packet analysis {"connection_id":188083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:08:16] local.INFO: Extracted packet for processing {"connection_id":188083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:16] 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-19 11:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08: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-19 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:08: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-19 11:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:08:16] 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-19 11:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":188083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:16] local.INFO: GPS data processed {"connection_id":188083,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:16] local.INFO: Acknowledgment sent {"connection_id":188083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:21] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82a8b18012c94388007c374c0000f00072d..."} 
[2026-09-19 11:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82a8b18012c94388007c374c0000f00072d..."} 
[2026-09-19 11:08:21] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82a8b18012c94388007c374c0000f00072d..."} 
[2026-09-19 11:08:21] local.INFO: Packet analysis {"connection_id":188082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:21] local.INFO: Extracted packet for processing {"connection_id":188082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:21] local.INFO: GPS Element Parsed {"raw_longitude":747911296,"raw_latitude":130249920,"longitude_deg":74.7911296,"latitude_deg":13.024992,"altitude":15,"angle":7,"satellites":45,"speed":40,"hex_longitude":"2c943880","hex_latitude":"07c374c0","is_valid_coordinates":true} 
[2026-09-19 11:08: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-19 11:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187822592001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":383815457439744,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7768005636430600192,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796191000,"timestamp_ms":1789796191000,"timestamp_seconds":1789796191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82a8b18"} 
[2026-09-19 11:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:08: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":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:21] 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-19 11:08: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-19 11:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187822592001,"66":28267,"129":206,"9":57344,"24":40,"16":383815457439744,"44":-7768005636430600192},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187822592001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:08:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":383815457439744,"km_value":383815457439.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7768005636430600192,"description":"Unknown IO ID 44"} 
[2026-09-19 11:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187822592001,"power":28267,"unknown_129":206,"unknown_9":57344,"ignition":40,"odometer":null,"unknown_44":-7768005636430600192}} 
[2026-09-19 11:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":188082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:21] local.INFO: GPS data processed {"connection_id":188082,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:21] local.INFO: Acknowledgment sent {"connection_id":188082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:23] local.INFO: TCP Data received {"connection_id":186680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b0818012d19a680071c14f0005800541e..."} 
[2026-09-19 11:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b0818012d19a680071c14f0005800541e..."} 
[2026-09-19 11:08:23] local.INFO: Processing buffer {"connection_id":186680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b0818012d19a680071c14f0005800541e..."} 
[2026-09-19 11:08:23] local.INFO: Packet analysis {"connection_id":186680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:23] local.INFO: Extracted packet for processing {"connection_id":186680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119280880,"longitude_deg":75.6655744,"latitude_deg":11.928088,"altitude":88,"angle":84,"satellites":30,"speed":2,"hex_longitude":"2d19a680","hex_latitude":"071c14f0","is_valid_coordinates":true} 
[2026-09-19 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187831040001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21618992762322944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990129803264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796223000,"timestamp_ms":1789796223000,"timestamp_seconds":1789796223,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b0818"} 
[2026-09-19 11:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:23] 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-19 11:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:23] 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-19 11:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187831040001,"66":13906,"73":206,"83":41984,"24":2,"16":21618992762322944,"45":1848023990129803264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187831040001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21618992762322944,"km_value":21618992762322.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990129803264,"description":"Unknown IO ID 45"} 
[2026-09-19 11:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187831040001,"power":13906,"unknown_73":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1848023990129803264}} 
[2026-09-19 11:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":186680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:24] local.INFO: GPS data processed {"connection_id":186680,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:24] local.INFO: Acknowledgment sent {"connection_id":186680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:46] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:46] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:46] local.INFO: IMEI packet received {"connection_id":186681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":186681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:08:47] local.INFO: TCP Data received {"connection_id":188083,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:47] local.INFO: Processing buffer {"connection_id":188083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:08:47] local.INFO: Packet analysis {"connection_id":188083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:08:47] local.INFO: Extracted packet for processing {"connection_id":188083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08: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-19 11:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11: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-19 11:08: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-19 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:08:47] 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-19 11:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":188083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:47] local.INFO: GPS data processed {"connection_id":188083,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:47] local.INFO: Acknowledgment sent {"connection_id":188083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:49] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:49] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:49] local.INFO: IMEI packet received {"connection_id":186681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":186681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:08:51] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:51] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:08:51] local.INFO: IMEI packet received {"connection_id":186681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":186681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:08:52] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b0fe8012d19a7c0071c15880058003d22..."} 
[2026-09-19 11:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b0fe8012d19a7c0071c15880058003d22..."} 
[2026-09-19 11:08:52] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b0fe8012d19a7c0071c15880058003d22..."} 
[2026-09-19 11:08:52] local.INFO: Packet analysis {"connection_id":186681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:52] local.INFO: Extracted packet for processing {"connection_id":186681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756656064,"raw_latitude":119281032,"longitude_deg":75.6656064,"latitude_deg":11.9281032,"altitude":88,"angle":61,"satellites":34,"speed":9,"hex_longitude":"2d19a7c0","hex_latitude":"071c1588","is_valid_coordinates":true} 
[2026-09-19 11:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187833088001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619009942192128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465106427904,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796225000,"timestamp_ms":1789796225000,"timestamp_seconds":1789796225,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b0fe8"} 
[2026-09-19 11:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08:52] 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-19 11:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:52] 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-19 11:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:52] 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-19 11:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187833088001,"66":13917,"73":206,"83":41984,"24":9,"16":21619009942192128,"45":1848305465106427904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187833088001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619009942192128,"km_value":21619009942192.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465106427904,"description":"Unknown IO ID 45"} 
[2026-09-19 11:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187833088001,"power":13917,"unknown_73":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1848305465106427904}} 
[2026-09-19 11:08:52] local.INFO: TCP Data received {"connection_id":188082,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82aae40012c943e0007c39938001000092b..."} 
[2026-09-19 11:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82aae40012c943e0007c39938001000092b..."} 
[2026-09-19 11:08:52] local.INFO: Processing buffer {"connection_id":188082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82aae40012c943e0007c39938001000092b..."} 
[2026-09-19 11:08:52] local.INFO: Packet analysis {"connection_id":188082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:52] local.INFO: Extracted packet for processing {"connection_id":188082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:08:52] local.INFO: GPS Element Parsed {"raw_longitude":747912704,"raw_latitude":130259256,"longitude_deg":74.7912704,"latitude_deg":13.0259256,"altitude":16,"angle":9,"satellites":43,"speed":43,"hex_longitude":"2c943e00","hex_latitude":"07c39938","is_valid_coordinates":true} 
[2026-09-19 11:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187824896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384275018940416,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7766316786568085504,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796200000,"timestamp_ms":1789796200000,"timestamp_seconds":1789796200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82aae40"} 
[2026-09-19 11:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:52] 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-19 11:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187824896001,"66":28300,"129":206,"9":57344,"24":43,"16":384275018940416,"44":-7766316786568085504},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187824896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384275018940416,"km_value":384275018940.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7766316786568085504,"description":"Unknown IO ID 44"} 
[2026-09-19 11:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187824896001,"power":28300,"unknown_129":206,"unknown_9":57344,"ignition":43,"odometer":null,"unknown_44":-7766316786568085504}} 
[2026-09-19 11:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":186681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:52] local.INFO: GPS data processed {"connection_id":186681,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:52] local.INFO: Acknowledgment sent {"connection_id":186681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":188082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:52] local.INFO: GPS data processed {"connection_id":188082,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:52] local.INFO: Acknowledgment sent {"connection_id":188082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:08:57] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b3ae0012d19b440071c1b700057004922..."} 
[2026-09-19 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b3ae0012d19b440071c1b700057004922..."} 
[2026-09-19 11:08:57] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b3ae0012d19b440071c1b700057004922..."} 
[2026-09-19 11:08:57] local.INFO: Packet analysis {"connection_id":186681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:57] local.INFO: Extracted packet for processing {"connection_id":186681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119282544,"longitude_deg":75.6659264,"latitude_deg":11.9282544,"altitude":87,"angle":73,"satellites":34,"speed":10,"hex_longitude":"2d19b440","hex_latitude":"071c1b70","is_valid_coordinates":true} 
[2026-09-19 11:08: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-19 11:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187833600001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619177445916672,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848657308827355136,"note":"Value kept but may cause issues"} 
[2026-09-19 11:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789796236000,"timestamp_ms":1789796236000,"timestamp_seconds":1789796236,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b3ae0"} 
[2026-09-19 11:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-19 11:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:08: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-19 11:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:08:57] 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-19 11:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187833600001,"66":13928,"73":206,"83":41984,"24":10,"16":21619177445916672,"45":1848657308827355136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187833600001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:08:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619177445916672,"km_value":21619177445916.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848657308827355136,"description":"Unknown IO ID 45"} 
[2026-09-19 11:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187833600001,"power":13928,"unknown_73":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1848657308827355136}} 
[2026-09-19 11:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":186681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:08:57] local.INFO: GPS data processed {"connection_id":186681,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:08:57] local.INFO: Acknowledgment sent {"connection_id":186681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:10] local.INFO: TCP Data received {"connection_id":189417,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:10] local.INFO: Processing buffer {"connection_id":189417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:10] local.INFO: IMEI packet received {"connection_id":189417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":189417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:09:14] local.INFO: TCP Data received {"connection_id":189417,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:14] local.INFO: Processing buffer {"connection_id":189417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:09:14] local.INFO: IMEI packet received {"connection_id":189417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":189417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:09:14] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:14] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:14] local.INFO: IMEI packet received {"connection_id":188084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:09:15] local.INFO: TCP Data received {"connection_id":189417,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82acd80012c94470007c3bca0000f00132e..."} 
[2026-09-19 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82acd80012c94470007c3bca0000f00132e..."} 
[2026-09-19 11:09:15] local.INFO: Processing buffer {"connection_id":189417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82acd80012c94470007c3bca0000f00132e..."} 
[2026-09-19 11:09:15] local.INFO: Packet analysis {"connection_id":189417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:09:15] local.INFO: Extracted packet for processing {"connection_id":189417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:09:15] local.INFO: GPS Element Parsed {"raw_longitude":747915008,"raw_latitude":130268320,"longitude_deg":74.7915008,"latitude_deg":13.026832,"altitude":15,"angle":19,"satellites":46,"speed":49,"hex_longitude":"2c944700","hex_latitude":"07c3bca0","is_valid_coordinates":true} 
[2026-09-19 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187827200001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384725990506496,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7764768674193786880,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796208000,"timestamp_ms":1789796208000,"timestamp_seconds":1789796208,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82acd80"} 
[2026-09-19 11:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:09: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-19 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:09: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-19 11:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187827200001,"66":28202,"129":206,"9":57344,"24":49,"16":384725990506496,"44":-7764768674193786880},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187827200001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:09:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384725990506496,"km_value":384725990506.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7764768674193786880,"description":"Unknown IO ID 44"} 
[2026-09-19 11:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187827200001,"power":28202,"unknown_129":206,"unknown_9":57344,"ignition":49,"odometer":null,"unknown_44":-7764768674193786880}} 
[2026-09-19 11:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":189417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:15] local.INFO: GPS data processed {"connection_id":189417,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:15] local.INFO: Acknowledgment sent {"connection_id":189417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:19] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:19] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:09:19] local.INFO: IMEI packet received {"connection_id":188084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":188084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:09:21] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:21] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:21] local.INFO: Packet analysis {"connection_id":188084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:09:21] local.INFO: Extracted packet for processing {"connection_id":188084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:21] 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-19 11:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:09:21] 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-19 11:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":188084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:21] local.INFO: GPS data processed {"connection_id":188084,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:21] local.INFO: Acknowledgment sent {"connection_id":188084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:25] local.INFO: TCP Data received {"connection_id":188084,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:25] local.INFO: Processing buffer {"connection_id":188084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:09:25] local.INFO: Packet analysis {"connection_id":188084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:09:25] local.INFO: Extracted packet for processing {"connection_id":188084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:25] 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-19 11:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:09:25] 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-19 11:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:09:25] 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-19 11:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":188084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:25] local.INFO: GPS data processed {"connection_id":188084,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:25] local.INFO: Acknowledgment sent {"connection_id":188084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:28] local.INFO: TCP Data received {"connection_id":186681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b42b0012d19b640071c1c100057005523..."} 
[2026-09-19 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b42b0012d19b640071c1c100057005523..."} 
[2026-09-19 11:09:28] local.INFO: Processing buffer {"connection_id":186681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b42b0012d19b640071c1c100057005523..."} 
[2026-09-19 11:09:28] local.INFO: Packet analysis {"connection_id":186681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:09:28] local.INFO: Extracted packet for processing {"connection_id":186681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119282704,"longitude_deg":75.6659776,"latitude_deg":11.9282704,"altitude":87,"angle":85,"satellites":35,"speed":9,"hex_longitude":"2d19b640","hex_latitude":"071c1c10","is_valid_coordinates":true} 
[2026-09-19 11:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187836416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619203215720448,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746036625408,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789796238000,"timestamp_ms":1789796238000,"timestamp_seconds":1789796238,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b42b0"} 
[2026-09-19 11:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 11:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:09:28] 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-19 11:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187836416001,"66":13961,"73":206,"83":41984,"24":9,"16":21619203215720448,"45":1852175746036625408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187836416001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619203215720448,"km_value":21619203215720.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746036625408,"description":"Unknown IO ID 45"} 
[2026-09-19 11:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187836416001,"power":13961,"unknown_73":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1852175746036625408}} 
[2026-09-19 11:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":186681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:28] local.INFO: GPS data processed {"connection_id":186681,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:28] local.INFO: Acknowledgment sent {"connection_id":186681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:47] local.INFO: TCP Data received {"connection_id":189417,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82ae8d8012c94560007c3dea0000c00172f..."} 
[2026-09-19 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82ae8d8012c94560007c3dea0000c00172f..."} 
[2026-09-19 11:09:47] local.INFO: Processing buffer {"connection_id":189417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82ae8d8012c94560007c3dea0000c00172f..."} 
[2026-09-19 11:09:47] local.INFO: Packet analysis {"connection_id":189417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:09:47] local.INFO: Extracted packet for processing {"connection_id":189417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82a"} 
[2026-09-19 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":747918848,"raw_latitude":130277024,"longitude_deg":74.7918848,"latitude_deg":13.0277024,"altitude":12,"angle":23,"satellites":47,"speed":57,"hex_longitude":"2c945600","hex_latitude":"07c3dea0","is_valid_coordinates":true} 
[2026-09-19 11:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187829248001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385185552007168,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7762235399401070592,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796215000,"timestamp_ms":1789796215000,"timestamp_seconds":1789796215,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82ae8d8"} 
[2026-09-19 11:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 11:09:47] 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-19 11:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187829248001,"66":28234,"129":206,"9":57344,"24":57,"16":385185552007168,"44":-7762235399401070592},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187829248001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385185552007168,"km_value":385185552007.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7762235399401070592,"description":"Unknown IO ID 44"} 
[2026-09-19 11:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187829248001,"power":28234,"unknown_129":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-7762235399401070592}} 
[2026-09-19 11:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":189417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:47] local.INFO: GPS data processed {"connection_id":189417,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:47] local.INFO: Acknowledgment sent {"connection_id":189417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:09:48] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:48] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:48] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:09:51] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:51] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:09:51] local.INFO: IMEI packet received {"connection_id":186682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:09:52] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b4e68012d19b940071c1be80056006923..."} 
[2026-09-19 11:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b4e68012d19b940071c1be80056006923..."} 
[2026-09-19 11:09:52] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b4e68012d19b940071c1be80056006923..."} 
[2026-09-19 11:09:52] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:09:52] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119282664,"longitude_deg":75.6660544,"latitude_deg":11.9282664,"altitude":86,"angle":105,"satellites":35,"speed":7,"hex_longitude":"2d19b940","hex_latitude":"071c1be8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187836928001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619241870426112,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738695990087680,"note":"Value kept but may cause issues"} 
[2026-09-19 11:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796241000,"timestamp_ms":1789796241000,"timestamp_seconds":1789796241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b4e68"} 
[2026-09-19 11: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-19 11:09:52] 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-19 11: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 11:09:52] 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-19 11: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-19 11: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-19 11:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:09:52] 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-19 11:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187836928001,"66":13928,"73":206,"83":41984,"24":7,"16":21619241870426112,"45":1852738695990087680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187836928001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:09:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619241870426112,"km_value":21619241870426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738695990087680,"description":"Unknown IO ID 45"} 
[2026-09-19 11:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187836928001,"power":13928,"unknown_73":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1852738695990087680}} 
[2026-09-19 11:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:09:52] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:09:52] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:10:09] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:09] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:09] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:10:11] local.INFO: TCP Data received {"connection_id":186810,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:11] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:11] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:10:14] local.INFO: TCP Data received {"connection_id":186810,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:14] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:14] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:10:14] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:14] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:10:14] local.INFO: IMEI packet received {"connection_id":186683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:10:15] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:10:15] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b828e920012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:10:15] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:10:15] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b828"} 
[2026-09-19 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187720448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10: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-19 11:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796084000,"timestamp_ms":1789796084000,"timestamp_seconds":1789796084,"priority":1,"record_length":96,"hex_timestamp":"000001a0b828e920"} 
[2026-09-19 11:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 11:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:10: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-19 11:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187720448001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187720448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187720448001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:10:15] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:10:15] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:10:23] local.INFO: TCP Data received {"connection_id":186810,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:23] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:10:23] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:10:23] local.INFO: TCP Data received {"connection_id":186682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b5638012d19ba80071c1b600056008223..."} 
[2026-09-19 11:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b5638012d19ba80071c1b600056008223..."} 
[2026-09-19 11:10:23] local.INFO: Processing buffer {"connection_id":186682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b5638012d19ba80071c1b600056008223..."} 
[2026-09-19 11:10:23] local.INFO: Packet analysis {"connection_id":186682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:10:23] local.INFO: Extracted packet for processing {"connection_id":186682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119282528,"longitude_deg":75.6660864,"latitude_deg":11.9282528,"altitude":86,"angle":130,"satellites":35,"speed":6,"hex_longitude":"2d19ba80","hex_latitude":"071c1b60","is_valid_coordinates":true} 
[2026-09-19 11:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187837696001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619259050295296,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120920209408,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796243000,"timestamp_ms":1789796243000,"timestamp_seconds":1789796243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b5638"} 
[2026-09-19 11:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 11:10:23] 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-19 11:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:10:23] 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-19 11:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187837696001,"66":13961,"73":206,"83":41984,"24":6,"16":21619259050295296,"45":1853583120920209408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187837696001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:10:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619259050295296,"km_value":21619259050295.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120920209408,"description":"Unknown IO ID 45"} 
[2026-09-19 11:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187837696001,"power":13961,"unknown_73":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1853583120920209408}} 
[2026-09-19 11:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":186682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:10:23] local.INFO: GPS data processed {"connection_id":186682,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:10:23] local.INFO: Acknowledgment sent {"connection_id":186682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:10:24] local.INFO: TCP Data received {"connection_id":186810,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82cadf8012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82cadf8012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:10:24] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82cadf8012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:10:24] local.INFO: Packet analysis {"connection_id":186810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82c"} 
[2026-09-19 11:10:24] local.INFO: Extracted packet for processing {"connection_id":186810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82c"} 
[2026-09-19 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187855360001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789796331000,"timestamp_ms":1789796331000,"timestamp_seconds":1789796331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82cadf8"} 
[2026-09-19 11: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-19 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 11:10:24] 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-19 11: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-19 11: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-19 11:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187855360001,"66":28485,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187855360001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:10:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:10:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187855360001,"power":28485,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":186810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:10:25] local.INFO: GPS data processed {"connection_id":186810,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:10:25] local.INFO: Acknowledgment sent {"connection_id":186810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:10:46] local.INFO: TCP Data received {"connection_id":189418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:46] local.INFO: Processing buffer {"connection_id":189418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:46] local.INFO: IMEI packet received {"connection_id":189418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":189418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:10:46] local.INFO: TCP Data received {"connection_id":186683,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:10:46] local.INFO: Processing buffer {"connection_id":186683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:10:46] local.INFO: Packet analysis {"connection_id":186683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:10:46] local.INFO: Extracted packet for processing {"connection_id":186683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:46] 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-19 11:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:10: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-19 11:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:10: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-19 11:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":186683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:10:46] local.INFO: GPS data processed {"connection_id":186683,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:10:46] local.INFO: Acknowledgment sent {"connection_id":186683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:10:51] local.INFO: TCP Data received {"connection_id":189418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:51] local.INFO: Processing buffer {"connection_id":189418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:10:51] local.INFO: IMEI packet received {"connection_id":189418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":189418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:10:52] local.INFO: TCP Data received {"connection_id":189418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b5a20012d19bac0071c1ae00055009723..."} 
[2026-09-19 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b5a20012d19bac0071c1ae00055009723..."} 
[2026-09-19 11:10:52] local.INFO: Processing buffer {"connection_id":189418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b5a20012d19bac0071c1ae00055009723..."} 
[2026-09-19 11:10:52] local.INFO: Packet analysis {"connection_id":189418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:10:52] local.INFO: Extracted packet for processing {"connection_id":189418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119282400,"longitude_deg":75.6660928,"latitude_deg":11.92824,"altitude":85,"angle":151,"satellites":35,"speed":7,"hex_longitude":"2d19bac0","hex_latitude":"071c1ae0","is_valid_coordinates":true} 
[2026-09-19 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187838208001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619263345262592,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964641062912,"note":"Value kept but may cause issues"} 
[2026-09-19 11:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796244000,"timestamp_ms":1789796244000,"timestamp_seconds":1789796244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b5a20"} 
[2026-09-19 11:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:10:52] 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-19 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 11:10:52] 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-19 11:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:10:52] 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-19 11:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187838208001,"66":13961,"73":206,"83":41984,"24":7,"16":21619263345262592,"45":1853934964641062912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187838208001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:10:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619263345262592,"km_value":21619263345262.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964641062912,"description":"Unknown IO ID 45"} 
[2026-09-19 11:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187838208001,"power":13961,"unknown_73":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1853934964641062912}} 
[2026-09-19 11:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":189418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:10:52] local.INFO: GPS data processed {"connection_id":189418,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:10:52] local.INFO: Acknowledgment sent {"connection_id":189418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:11:09] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:09] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:09] local.INFO: IMEI packet received {"connection_id":188086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:11:10] local.INFO: TCP Data received {"connection_id":188085,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:10] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:10] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:11:14] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:14] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:11:14] local.INFO: IMEI packet received {"connection_id":188086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":188086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:11:16] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:16] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:16] local.INFO: Packet analysis {"connection_id":188086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:16] local.INFO: Extracted packet for processing {"connection_id":188086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:16] 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-19 11:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:11:16] 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-19 11:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":188086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:11:16] local.INFO: GPS data processed {"connection_id":188086,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:11:16] local.INFO: Acknowledgment sent {"connection_id":188086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:11:22] local.INFO: TCP Data received {"connection_id":188085,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:22] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:11:22] local.INFO: IMEI packet received {"connection_id":188085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":188085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:11:23] local.INFO: TCP Data received {"connection_id":189418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b5e08012d19bb00071c1a58005500aa23..."} 
[2026-09-19 11:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b5e08012d19bb00071c1a58005500aa23..."} 
[2026-09-19 11:11:23] local.INFO: Processing buffer {"connection_id":189418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b5e08012d19bb00071c1a58005500aa23..."} 
[2026-09-19 11:11:23] local.INFO: Packet analysis {"connection_id":189418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:11:23] local.INFO: Extracted packet for processing {"connection_id":189418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119282264,"longitude_deg":75.6660992,"latitude_deg":11.9282264,"altitude":85,"angle":170,"satellites":35,"speed":5,"hex_longitude":"2d19bb00","hex_latitude":"071c1a58","is_valid_coordinates":true} 
[2026-09-19 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187838464001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619271935197184,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333385207808,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796245000,"timestamp_ms":1789796245000,"timestamp_seconds":1789796245,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b5e08"} 
[2026-09-19 11:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 11:11:23] 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-19 11:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:11:23] 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-19 11:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187838464001,"66":13852,"73":206,"83":41984,"24":5,"16":21619271935197184,"45":1854005333385207808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187838464001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:11:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619271935197184,"km_value":21619271935197.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333385207808,"description":"Unknown IO ID 45"} 
[2026-09-19 11:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187838464001,"power":13852,"unknown_73":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1854005333385207808}} 
[2026-09-19 11:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":189418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:11:24] local.INFO: GPS data processed {"connection_id":189418,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:11:24] local.INFO: Acknowledgment sent {"connection_id":189418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:11:26] local.INFO: TCP Data received {"connection_id":188085,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d0000012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d0000012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:11:26] local.INFO: Processing buffer {"connection_id":188085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d0000012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:11:26] local.INFO: Packet analysis {"connection_id":188085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:26] local.INFO: Extracted packet for processing {"connection_id":188085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187860736001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789796352000,"timestamp_ms":1789796352000,"timestamp_seconds":1789796352,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d0000"} 
[2026-09-19 11:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 11:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187860736001,"66":28495,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187860736001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:11:26] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:11:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:11:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187860736001,"power":28495,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":188085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:11:27] local.INFO: GPS data processed {"connection_id":188085,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:11:27] local.INFO: Acknowledgment sent {"connection_id":188085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:11:46] local.INFO: TCP Data received {"connection_id":186684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:46] local.INFO: Processing buffer {"connection_id":186684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:46] local.INFO: IMEI packet received {"connection_id":186684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":186684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:11:47] local.INFO: TCP Data received {"connection_id":188086,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:47] local.INFO: Processing buffer {"connection_id":188086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:11:47] local.INFO: Packet analysis {"connection_id":188086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:47] local.INFO: Extracted packet for processing {"connection_id":188086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11: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-19 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11: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-19 11: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:11: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-19 11: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-19 11: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-19 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11: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-19 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":188086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:11:47] local.INFO: GPS data processed {"connection_id":188086,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:11:47] local.INFO: Acknowledgment sent {"connection_id":188086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:11:51] local.INFO: TCP Data received {"connection_id":186684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:51] local.INFO: Processing buffer {"connection_id":186684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:11:51] local.INFO: IMEI packet received {"connection_id":186684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":186684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:11:52] local.INFO: TCP Data received {"connection_id":186684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82b69c0012d19bb00071c1840005300b620..."} 
[2026-09-19 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82b69c0012d19bb00071c1840005300b620..."} 
[2026-09-19 11:11:52] local.INFO: Processing buffer {"connection_id":186684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82b69c0012d19bb00071c1840005300b620..."} 
[2026-09-19 11:11:52] local.INFO: Packet analysis {"connection_id":186684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:11:52] local.INFO: Extracted packet for processing {"connection_id":186684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82b"} 
[2026-09-19 11:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119281728,"longitude_deg":75.6660992,"latitude_deg":11.9281728,"altitude":83,"angle":182,"satellites":32,"speed":9,"hex_longitude":"2d19bb00","hex_latitude":"071c1840","is_valid_coordinates":true} 
[2026-09-19 11:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187838720001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619297705000960,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702129350656,"note":"Value kept but may cause issues"} 
[2026-09-19 11:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796248000,"timestamp_ms":1789796248000,"timestamp_seconds":1789796248,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82b69c0"} 
[2026-09-19 11:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:11:52] 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-19 11:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-19 11:11:52] 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-19 11:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:11:52] 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-19 11:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187838720001,"66":13896,"73":206,"83":41984,"24":9,"16":21619297705000960,"45":1854075702129350656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187838720001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:11:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619297705000960,"km_value":21619297705000.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702129350656,"description":"Unknown IO ID 45"} 
[2026-09-19 11:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187838720001,"power":13896,"unknown_73":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1854075702129350656}} 
[2026-09-19 11:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":186684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:11:52] local.INFO: GPS data processed {"connection_id":186684,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:11:52] local.INFO: Acknowledgment sent {"connection_id":186684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:09] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:09] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:09] local.INFO: IMEI packet received {"connection_id":186811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":186811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:12:14] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:14] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:12:14] local.INFO: IMEI packet received {"connection_id":186811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:12:16] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:16] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:16] local.INFO: Packet analysis {"connection_id":186811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:16] local.INFO: Extracted packet for processing {"connection_id":186811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:16] 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-19 11:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11: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-19 11:12: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:12:16] 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-19 11:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":186811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:16] local.INFO: GPS data processed {"connection_id":186811,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:16] local.INFO: Acknowledgment sent {"connection_id":186811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:17] local.INFO: TCP Data received {"connection_id":186812,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:17] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:17] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:12:18] local.INFO: TCP Data received {"connection_id":186812,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:18] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:12:18] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:12:20] local.INFO: TCP Data received {"connection_id":186812,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d5208012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d5208012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:20] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d5208012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:20] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:20] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187866112001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789796373000,"timestamp_ms":1789796373000,"timestamp_seconds":1789796373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d5208"} 
[2026-09-19 11:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:20] 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-19 11:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187866112001,"66":28278,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187866112001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:20] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187866112001,"power":28278,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:20] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:20] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:22] local.INFO: TCP Data received {"connection_id":186812,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82da410012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82da410012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:22] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82da410012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:22] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:22] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187871488001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789796394000,"timestamp_ms":1789796394000,"timestamp_seconds":1789796394,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82da410"} 
[2026-09-19 11:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:22] 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-19 11:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187871488001,"66":28485,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187871488001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:12:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187871488001,"power":28485,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:22] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:22] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:23] local.INFO: TCP Data received {"connection_id":186684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82e9e10012d19bc80071c1290004e002223..."} 
[2026-09-19 11:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82e9e10012d19bc80071c1290004e002223..."} 
[2026-09-19 11:12:23] local.INFO: Processing buffer {"connection_id":186684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82e9e10012d19bc80071c1290004e002223..."} 
[2026-09-19 11:12:23] local.INFO: Packet analysis {"connection_id":186684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:12:23] local.INFO: Extracted packet for processing {"connection_id":186684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187887872001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796458000,"timestamp_ms":1789796458000,"timestamp_seconds":1789796458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82e9e10"} 
[2026-09-19 11:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:23] 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-19 11:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:12:23] 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-19 11:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187887872001,"66":13004,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187887872001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187887872001,"power":13004,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":186684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:23] local.INFO: GPS data processed {"connection_id":186684,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:23] local.INFO: Acknowledgment sent {"connection_id":186684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:47] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:47] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:12:47] local.INFO: Packet analysis {"connection_id":186811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:47] local.INFO: Extracted packet for processing {"connection_id":186811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12: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-19 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11: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-19 11:12: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-19 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:12: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-19 11: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-19 11: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-19 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:12:47] 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-19 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":186811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:47] local.INFO: GPS data processed {"connection_id":186811,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:47] local.INFO: Acknowledgment sent {"connection_id":186811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:51] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:51] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:51] local.INFO: IMEI packet received {"connection_id":186813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":186813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:12:54] local.INFO: TCP Data received {"connection_id":186812,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82df618012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82df618012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:54] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82df618012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:12:54] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:54] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187876864001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789796415000,"timestamp_ms":1789796415000,"timestamp_seconds":1789796415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82df618"} 
[2026-09-19 11:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187876864001,"66":28452,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187876864001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:54] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:12:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187876864001,"power":28452,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:54] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:54] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:12:56] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:56] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:12:56] local.INFO: IMEI packet received {"connection_id":186813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":186813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:12:57] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82ef018012d19bc80071c1290004e002224..."} 
[2026-09-19 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82ef018012d19bc80071c1290004e002224..."} 
[2026-09-19 11:12:57] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82ef018012d19bc80071c1290004e002224..."} 
[2026-09-19 11:12:57] local.INFO: Packet analysis {"connection_id":186813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:12:57] local.INFO: Extracted packet for processing {"connection_id":186813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:12: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-19 11:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187893248001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789796479000,"timestamp_ms":1789796479000,"timestamp_seconds":1789796479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82ef018"} 
[2026-09-19 11:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 11:12:57] 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-19 11:12: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-19 11:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:12:57] 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-19 11:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187893248001,"66":12982,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187893248001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:12:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187893248001,"power":12982,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":186813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:12:57] local.INFO: GPS data processed {"connection_id":186813,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:12:57] local.INFO: Acknowledgment sent {"connection_id":186813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:01] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82f4220012d19bc80071c1290004e002225..."} 
[2026-09-19 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82f4220012d19bc80071c1290004e002225..."} 
[2026-09-19 11:13:01] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82f4220012d19bc80071c1290004e002225..."} 
[2026-09-19 11:13:01] local.INFO: Packet analysis {"connection_id":186813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:13:01] local.INFO: Extracted packet for processing {"connection_id":186813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":37,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187898624001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789796500000,"timestamp_ms":1789796500000,"timestamp_seconds":1789796500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82f4220"} 
[2026-09-19 11: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-19 11:13:01] 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-19 11: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:13: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-19 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187898624001,"66":12961,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187898624001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:01] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187898624001,"power":12961,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":186813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:01] local.INFO: GPS data processed {"connection_id":186813,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:01] local.INFO: Acknowledgment sent {"connection_id":186813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:10] local.INFO: TCP Data received {"connection_id":189419,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:10] local.INFO: Processing buffer {"connection_id":189419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:10] local.INFO: IMEI packet received {"connection_id":189419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":189419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:13:14] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:14] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:14] local.INFO: IMEI packet received {"connection_id":188087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":188087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:13:15] local.INFO: TCP Data received {"connection_id":189419,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:15] local.INFO: Processing buffer {"connection_id":189419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:13:15] local.INFO: IMEI packet received {"connection_id":189419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":189419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:13:16] local.INFO: TCP Data received {"connection_id":189419,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82e4820012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82e4820012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:16] local.INFO: Processing buffer {"connection_id":189419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82e4820012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:16] local.INFO: Packet analysis {"connection_id":189419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:13:16] local.INFO: Extracted packet for processing {"connection_id":189419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:13:16] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187882240001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796436000,"timestamp_ms":1789796436000,"timestamp_seconds":1789796436,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82e4820"} 
[2026-09-19 11:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:13: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-19 11:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:16] 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-19 11:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187882240001,"66":28376,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187882240001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:13:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187882240001,"power":28376,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":189419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:16] local.INFO: GPS data processed {"connection_id":189419,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:16] local.INFO: Acknowledgment sent {"connection_id":189419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:19] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:19] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:13:19] local.INFO: IMEI packet received {"connection_id":188087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":188087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:13:21] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:21] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:21] local.INFO: Packet analysis {"connection_id":188087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:13:21] local.INFO: Extracted packet for processing {"connection_id":188087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:21] 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-19 11:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":188087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:21] local.INFO: GPS data processed {"connection_id":188087,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:21] local.INFO: Acknowledgment sent {"connection_id":188087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:25] local.INFO: TCP Data received {"connection_id":188087,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:25] local.INFO: Processing buffer {"connection_id":188087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:13:25] local.INFO: Packet analysis {"connection_id":188087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:13:25] local.INFO: Extracted packet for processing {"connection_id":188087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:25] 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-19 11:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:13: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-19 11:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":188087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:25] local.INFO: GPS data processed {"connection_id":188087,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:25] local.INFO: Acknowledgment sent {"connection_id":188087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:46] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:46] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:46] local.INFO: IMEI packet received {"connection_id":186685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":186685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:13:48] local.INFO: TCP Data received {"connection_id":189419,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82e9a28012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82e9a28012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:48] local.INFO: Processing buffer {"connection_id":189419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82e9a28012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:13:48] local.INFO: Packet analysis {"connection_id":189419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:13:48] local.INFO: Extracted packet for processing {"connection_id":189419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187887616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789796457000,"timestamp_ms":1789796457000,"timestamp_seconds":1789796457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82e9a28"} 
[2026-09-19 11: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-19 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:48] 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-19 11: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-19 11: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-19 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187887616001,"66":28398,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187887616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187887616001,"power":28398,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":189419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:48] local.INFO: GPS data processed {"connection_id":189419,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:48] local.INFO: Acknowledgment sent {"connection_id":189419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:13:51] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:51] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:13:51] local.INFO: IMEI packet received {"connection_id":186685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":186685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:13:52] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82f9428012d19bc80071c1290004e002223..."} 
[2026-09-19 11:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82f9428012d19bc80071c1290004e002223..."} 
[2026-09-19 11:13:52] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82f9428012d19bc80071c1290004e002223..."} 
[2026-09-19 11:13:52] local.INFO: Packet analysis {"connection_id":186685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:13:52] local.INFO: Extracted packet for processing {"connection_id":186685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187904000001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796521000,"timestamp_ms":1789796521000,"timestamp_seconds":1789796521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82f9428"} 
[2026-09-19 11:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:13:52] 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-19 11:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-19 11:13:52] 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-19 11:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:13:52] 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-19 11:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187904000001,"66":12950,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187904000001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:13:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187904000001,"power":12950,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:13:52] local.INFO: GPS data processed {"connection_id":186685,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:13:52] local.INFO: Acknowledgment sent {"connection_id":186685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:14:09] local.INFO: TCP Data received {"connection_id":186686,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:09] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:09] local.INFO: IMEI packet received {"connection_id":186686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:14:09] local.INFO: TCP Data received {"connection_id":189420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:09] local.INFO: Processing buffer {"connection_id":189420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:09] local.INFO: IMEI packet received {"connection_id":189420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":189420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:14:14] local.INFO: TCP Data received {"connection_id":189420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:14] local.INFO: Processing buffer {"connection_id":189420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:14:14] local.INFO: IMEI packet received {"connection_id":189420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":189420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:14:15] local.INFO: TCP Data received {"connection_id":186686,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:15] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:14:15] local.INFO: IMEI packet received {"connection_id":186686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:14:15] local.INFO: TCP Data received {"connection_id":189420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:15] local.INFO: Processing buffer {"connection_id":189420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:15] local.INFO: Packet analysis {"connection_id":189420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:14:15] local.INFO: Extracted packet for processing {"connection_id":189420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14: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-19 11:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11: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-19 11:14: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-19 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:14: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-19 11: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-19 11: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-19 11:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:14: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-19 11:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":189420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:14:15] local.INFO: GPS data processed {"connection_id":189420,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:14:15] local.INFO: Acknowledgment sent {"connection_id":189420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:14:17] local.INFO: TCP Data received {"connection_id":186686,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82eec30012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82eec30012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:14:17] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82eec30012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:14:17] local.INFO: Packet analysis {"connection_id":186686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:14:17] local.INFO: Extracted packet for processing {"connection_id":186686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82e"} 
[2026-09-19 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:14: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-19 11:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187892992001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789796478000,"timestamp_ms":1789796478000,"timestamp_seconds":1789796478,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82eec30"} 
[2026-09-19 11:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:14: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:14:17] 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-19 11:14: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-19 11:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187892992001,"66":28354,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187892992001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:14:17] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:14:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187892992001,"power":28354,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:14:17] local.INFO: GPS data processed {"connection_id":186686,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:14:17] local.INFO: Acknowledgment sent {"connection_id":186686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:14:23] local.INFO: TCP Data received {"connection_id":186685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82fe630012d19bc80071c1290004e002224..."} 
[2026-09-19 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82fe630012d19bc80071c1290004e002224..."} 
[2026-09-19 11:14:23] local.INFO: Processing buffer {"connection_id":186685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82fe630012d19bc80071c1290004e002224..."} 
[2026-09-19 11:14:23] local.INFO: Packet analysis {"connection_id":186685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:14:23] local.INFO: Extracted packet for processing {"connection_id":186685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187909376001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796542000,"timestamp_ms":1789796542000,"timestamp_seconds":1789796542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82fe630"} 
[2026-09-19 11: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-19 11:14:23] 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-19 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 11:14:23] 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-19 11: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-19 11: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-19 11:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:14:23] 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-19 11:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187909376001,"66":12885,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187909376001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:14:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187909376001,"power":12885,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":186685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:14:23] local.INFO: GPS data processed {"connection_id":186685,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:14:23] local.INFO: Acknowledgment sent {"connection_id":186685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:14:46] local.INFO: TCP Data received {"connection_id":189421,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: Processing buffer {"connection_id":189421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: IMEI packet received {"connection_id":189421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":189421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:14:46] local.INFO: TCP Data received {"connection_id":189421,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: Processing buffer {"connection_id":189421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:46] local.INFO: IMEI packet received {"connection_id":189421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":189421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:14:46] local.INFO: TCP Data received {"connection_id":189420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:46] local.INFO: Processing buffer {"connection_id":189420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:14:46] local.INFO: Packet analysis {"connection_id":189420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:14:46] local.INFO: Extracted packet for processing {"connection_id":189420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:46] 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-19 11:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11: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-19 11:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11: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-19 11: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-19 11: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-19 11:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:14: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-19 11:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":189420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:14:46] local.INFO: GPS data processed {"connection_id":189420,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:14:46] local.INFO: Acknowledgment sent {"connection_id":189420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:14:51] local.INFO: TCP Data received {"connection_id":189421,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:51] local.INFO: Processing buffer {"connection_id":189421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:14:51] local.INFO: IMEI packet received {"connection_id":189421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":189421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:14:52] local.INFO: TCP Data received {"connection_id":189421,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8303838012d19bc80071c1290004e002226..."} 
[2026-09-19 11:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8303838012d19bc80071c1290004e002226..."} 
[2026-09-19 11:14:52] local.INFO: Processing buffer {"connection_id":189421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8303838012d19bc80071c1290004e002226..."} 
[2026-09-19 11:14:52] local.INFO: Packet analysis {"connection_id":189421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:14:52] local.INFO: Extracted packet for processing {"connection_id":189421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187914752001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796563000,"timestamp_ms":1789796563000,"timestamp_seconds":1789796563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8303838"} 
[2026-09-19 11:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:14:52] 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-19 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 11:14:52] 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-19 11:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:14:52] 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-19 11:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187914752001,"66":12885,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187914752001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:14:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187914752001,"power":12885,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":189421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:14:52] local.INFO: GPS data processed {"connection_id":189421,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:14:52] local.INFO: Acknowledgment sent {"connection_id":189421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:01] local.INFO: TCP Data received {"connection_id":186686,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82f3e38012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82f3e38012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:01] local.INFO: Processing buffer {"connection_id":186686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82f3e38012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:01] local.INFO: Packet analysis {"connection_id":186686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:15:01] local.INFO: Extracted packet for processing {"connection_id":186686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187898368001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789796499000,"timestamp_ms":1789796499000,"timestamp_seconds":1789796499,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82f3e38"} 
[2026-09-19 11:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:01] 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-19 11:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187898368001,"66":28398,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187898368001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:15:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187898368001,"power":28398,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":186686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:02] local.INFO: GPS data processed {"connection_id":186686,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:02] local.INFO: Acknowledgment sent {"connection_id":186686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:08] local.INFO: TCP Data received {"connection_id":189422,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:08] local.INFO: Processing buffer {"connection_id":189422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:08] local.INFO: IMEI packet received {"connection_id":189422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":189422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:15:09] local.INFO: TCP Data received {"connection_id":189422,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:09] local.INFO: Processing buffer {"connection_id":189422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:09] local.INFO: IMEI packet received {"connection_id":189422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":189422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:15:10] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:10] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:10] local.INFO: IMEI packet received {"connection_id":188088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":188088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:15:14] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:14] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:15:14] local.INFO: IMEI packet received {"connection_id":188088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:15:15] local.INFO: TCP Data received {"connection_id":189422,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:15] local.INFO: Processing buffer {"connection_id":189422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:15:15] local.INFO: IMEI packet received {"connection_id":189422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":189422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:15:16] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:15:16] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82d80e8012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:15:16] local.INFO: Packet analysis {"connection_id":188088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:15:16] local.INFO: Extracted packet for processing {"connection_id":188088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82d"} 
[2026-09-19 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187797504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:16] 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-19 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796385000,"timestamp_ms":1789796385000,"timestamp_seconds":1789796385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82d80e8"} 
[2026-09-19 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15: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-19 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:15:16] 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-19 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187797504001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187797504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187797504001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":188088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:16] local.INFO: GPS data processed {"connection_id":188088,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:16] local.INFO: Acknowledgment sent {"connection_id":188088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:17] local.INFO: TCP Data received {"connection_id":189422,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b82f9040012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b82f9040012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:17] local.INFO: Processing buffer {"connection_id":189422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b82f9040012c948f4007c4f9f8000700072e..."} 
[2026-09-19 11:15:17] local.INFO: Packet analysis {"connection_id":189422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:15:17] local.INFO: Extracted packet for processing {"connection_id":189422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b82f"} 
[2026-09-19 11:15:17] local.INFO: GPS Element Parsed {"raw_longitude":747933504,"raw_latitude":130349560,"longitude_deg":74.7933504,"latitude_deg":13.034956,"altitude":7,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2c948f40","hex_latitude":"07c4f9f8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187903744001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780439633920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741898832312928256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789796520000,"timestamp_ms":1789796520000,"timestamp_seconds":1789796520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b82f9040"} 
[2026-09-19 11: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-19 11:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:17] 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-19 11: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-19 11: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-19 11:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187903744001,"66":28430,"129":206,"9":57344,"24":0,"16":388780439633920,"44":-7741898832312928256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187903744001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:17] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:15:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780439633920,"km_value":388780439633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741898832312928256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187903744001,"power":28430,"unknown_129":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741898832312928256}} 
[2026-09-19 11:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":189422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:17] local.INFO: GPS data processed {"connection_id":189422,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:17] local.INFO: Acknowledgment sent {"connection_id":189422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:23] local.INFO: TCP Data received {"connection_id":189421,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8308a40012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8308a40012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:23] local.INFO: Processing buffer {"connection_id":189421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8308a40012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:23] local.INFO: Packet analysis {"connection_id":189421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:15:23] local.INFO: Extracted packet for processing {"connection_id":189421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:15: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-19 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187920128001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796584000,"timestamp_ms":1789796584000,"timestamp_seconds":1789796584,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8308a40"} 
[2026-09-19 11:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15:23] 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-19 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:15: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-19 11:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:15:23] 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-19 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187920128001,"66":12885,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187920128001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187920128001,"power":12885,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":189421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:23] local.INFO: GPS data processed {"connection_id":189421,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:23] local.INFO: Acknowledgment sent {"connection_id":189421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:46] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:46] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:46] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:15:47] local.INFO: TCP Data received {"connection_id":188088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:15:47] local.INFO: Processing buffer {"connection_id":188088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:15:47] local.INFO: Packet analysis {"connection_id":188088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:15:47] local.INFO: Extracted packet for processing {"connection_id":188088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15: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-19 11:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15: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-19 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:15: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-19 11:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:15:47] 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-19 11:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":188088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:47] local.INFO: GPS data processed {"connection_id":188088,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:47] local.INFO: Acknowledgment sent {"connection_id":188088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:48] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:48] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:48] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:15:51] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:51] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:15:51] local.INFO: IMEI packet received {"connection_id":186687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":186687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:15:52] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b830dc48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b830dc48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:52] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b830dc48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:15:52] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:15:52] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b830"} 
[2026-09-19 11:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:15: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-19 11:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187925504001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796605000,"timestamp_ms":1789796605000,"timestamp_seconds":1789796605,"priority":1,"record_length":96,"hex_timestamp":"000001a0b830dc48"} 
[2026-09-19 11:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15:52] 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-19 11:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:52] 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-19 11:15: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-19 11:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:15:52] 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-19 11:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187925504001,"66":12841,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187925504001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187925504001,"power":12841,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:52] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:52] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:15:58] local.INFO: TCP Data received {"connection_id":189422,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8323bd8012c94f88007c5cb380009001f2d..."} 
[2026-09-19 11:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8323bd8012c94f88007c5cb380009001f2d..."} 
[2026-09-19 11:15:58] local.INFO: Processing buffer {"connection_id":189422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8323bd8012c94f88007c5cb380009001f2d..."} 
[2026-09-19 11:15:58] local.INFO: Packet analysis {"connection_id":189422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:15:58] local.INFO: Extracted packet for processing {"connection_id":189422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:15:58] local.INFO: GPS Element Parsed {"raw_longitude":747960448,"raw_latitude":130403128,"longitude_deg":74.7960448,"latitude_deg":13.0403128,"altitude":9,"angle":31,"satellites":45,"speed":49,"hex_longitude":"2c94f880","hex_latitude":"07c5cb38","is_valid_coordinates":true} 
[2026-09-19 11:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951872001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391692427460608,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7717903090536730624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789796695000,"timestamp_ms":1789796695000,"timestamp_seconds":1789796695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8323bd8"} 
[2026-09-19 11:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:15:58] 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-19 11:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":189422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":189422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":189422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951872001,"66":28398,"181":206,"9":57344,"24":49,"16":391692427460608,"44":-7717903090536730624},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,9,24,16,44]} 
[2026-09-19 11:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951872001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:15:58] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-19 11:15:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391692427460608,"km_value":391692427460.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7717903090536730624,"description":"Unknown IO ID 44"} 
[2026-09-19 11:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951872001,"power":28398,"unknown_181":206,"unknown_9":57344,"ignition":49,"odometer":null,"unknown_44":-7717903090536730624}} 
[2026-09-19 11:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":189422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:15:58] local.INFO: GPS data processed {"connection_id":189422,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:15:58] local.INFO: Acknowledgment sent {"connection_id":189422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:09] local.INFO: TCP Data received {"connection_id":186814,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:09] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:09] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:16:15] local.INFO: TCP Data received {"connection_id":186814,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:15] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:16:15] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:16:16] local.INFO: TCP Data received {"connection_id":186814,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8325730012c950b0007c5e8f80009001e2e..."} 
[2026-09-19 11:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8325730012c950b0007c5e8f80009001e2e..."} 
[2026-09-19 11:16:16] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8325730012c950b0007c5e8f80009001e2e..."} 
[2026-09-19 11:16:16] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:16] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":747965184,"raw_latitude":130410744,"longitude_deg":74.7965184,"latitude_deg":13.0410744,"altitude":9,"angle":30,"satellites":46,"speed":52,"hex_longitude":"2c950b00","hex_latitude":"07c5e8f8","is_valid_coordinates":true} 
[2026-09-19 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187953920001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":392126219157504,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7712273591000418304,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796702000,"timestamp_ms":1789796702000,"timestamp_seconds":1789796702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8325730"} 
[2026-09-19 11:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:16] 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-19 11:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187953920001,"66":28430,"129":206,"9":57344,"24":52,"16":392126219157504,"44":-7712273591000418304},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187953920001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":392126219157504,"km_value":392126219157.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7712273591000418304,"description":"Unknown IO ID 44"} 
[2026-09-19 11:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187953920001,"power":28430,"unknown_129":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7712273591000418304}} 
[2026-09-19 11:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:17] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:17] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:19] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:19] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:19] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:16:23] local.INFO: TCP Data received {"connection_id":186687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8312e50012d19bc80071c1290004e002221..."} 
[2026-09-19 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8312e50012d19bc80071c1290004e002221..."} 
[2026-09-19 11:16:23] local.INFO: Processing buffer {"connection_id":186687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8312e50012d19bc80071c1290004e002221..."} 
[2026-09-19 11:16:23] local.INFO: Packet analysis {"connection_id":186687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:16:23] local.INFO: Extracted packet for processing {"connection_id":186687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":33,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:16: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-19 11:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187930880001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796626000,"timestamp_ms":1789796626000,"timestamp_seconds":1789796626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8312e50"} 
[2026-09-19 11:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:23] 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-19 11:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:16: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-19 11:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:16:23] 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-19 11:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187930880001,"66":12809,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187930880001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187930880001,"power":12809,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":186687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:23] local.INFO: GPS data processed {"connection_id":186687,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:23] local.INFO: Acknowledgment sent {"connection_id":186687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:24] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:24] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:16:24] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:16:25] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:25] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:25] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:25] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:25] 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-19 11:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:16: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-19 11:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:25] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:25] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:30] local.INFO: TCP Data received {"connection_id":186815,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:30] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:16:30] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:30] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:30] 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-19 11:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:30] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:30] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:46] local.INFO: TCP Data received {"connection_id":189423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:46] local.INFO: Processing buffer {"connection_id":189423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:46] local.INFO: IMEI packet received {"connection_id":189423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":189423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:16:49] local.INFO: TCP Data received {"connection_id":186814,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8327288012c951e4007c60878000a001e2f..."} 
[2026-09-19 11:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8327288012c951e4007c60878000a001e2f..."} 
[2026-09-19 11:16:49] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8327288012c951e4007c60878000a001e2f..."} 
[2026-09-19 11:16:49] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:49] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:16:49] local.INFO: GPS Element Parsed {"raw_longitude":747970112,"raw_latitude":130418808,"longitude_deg":74.7970112,"latitude_deg":13.0418808,"altitude":10,"angle":30,"satellites":47,"speed":54,"hex_longitude":"2c951e40","hex_latitude":"07c60878","is_valid_coordinates":true} 
[2026-09-19 11:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187955712001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":392581485690880,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7707066303929321472,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789796709000,"timestamp_ms":1789796709000,"timestamp_seconds":1789796709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8327288"} 
[2026-09-19 11:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:49] 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-19 11:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187955712001,"66":28354,"129":206,"9":57344,"24":54,"16":392581485690880,"44":-7707066303929321472},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-19 11:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187955712001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:49] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-19 11:16:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":392581485690880,"km_value":392581485690.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7707066303929321472,"description":"Unknown IO ID 44"} 
[2026-09-19 11:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187955712001,"power":28354,"unknown_129":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7707066303929321472}} 
[2026-09-19 11:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:49] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:49] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:16:51] local.INFO: TCP Data received {"connection_id":189423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:51] local.INFO: Processing buffer {"connection_id":189423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:16:51] local.INFO: IMEI packet received {"connection_id":189423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":189423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:16:52] local.INFO: TCP Data received {"connection_id":189423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8318058012d19bc80071c1290004e002225..."} 
[2026-09-19 11:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8318058012d19bc80071c1290004e002225..."} 
[2026-09-19 11:16:52] local.INFO: Processing buffer {"connection_id":189423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8318058012d19bc80071c1290004e002225..."} 
[2026-09-19 11:16:52] local.INFO: Packet analysis {"connection_id":189423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:16:52] local.INFO: Extracted packet for processing {"connection_id":189423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":37,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187936256001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796647000,"timestamp_ms":1789796647000,"timestamp_seconds":1789796647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8318058"} 
[2026-09-19 11:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:16:52] 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-19 11:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090104864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3382229713485937792,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245581523104173,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2022837513625805348,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 11:16:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,220,45,128,18,78,35,10,66,138,56,1,240,85,227,184,28,4,113,205,148,188,144,239,50,2,76,7,164,198],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:16:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529860087644160,"timestamp_seconds":5620529860087644.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:16:52] 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-19 11:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187936256001,"66":12798,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187936256001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:16:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187936256001,"power":12798,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":189423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:16:52] local.INFO: GPS data processed {"connection_id":189423,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:16:52] local.INFO: Acknowledgment sent {"connection_id":189423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:09] local.INFO: TCP Data received {"connection_id":186816,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:09] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:09] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:17:10] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:10] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:10] local.INFO: IMEI packet received {"connection_id":188089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":188089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:17:12] local.INFO: TCP Data received {"connection_id":186816,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:12] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:12] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:17:14] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:14] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:17:14] local.INFO: IMEI packet received {"connection_id":188089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:17:16] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:16] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:16] local.INFO: Packet analysis {"connection_id":188089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:16] local.INFO: Extracted packet for processing {"connection_id":188089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:16] 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-19 11:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17: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-19 11:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:16] 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-19 11:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":188089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:16] local.INFO: GPS data processed {"connection_id":188089,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:16] local.INFO: Acknowledgment sent {"connection_id":188089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:19] local.INFO: TCP Data received {"connection_id":186816,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:19] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:17:19] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:17:20] local.INFO: TCP Data received {"connection_id":186816,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8338010012c952b0007c72b70000901642c..."} 
[2026-09-19 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8338010012c952b0007c72b70000901642c..."} 
[2026-09-19 11:17:20] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8338010012c952b0007c72b70000901642c..."} 
[2026-09-19 11:17:20] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:17:20] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":747973376,"raw_latitude":130493296,"longitude_deg":74.7973376,"latitude_deg":13.0493296,"altitude":9,"angle":356,"satellites":44,"speed":50,"hex_longitude":"2c952b00","hex_latitude":"07c72b70","is_valid_coordinates":true} 
[2026-09-19 11:17: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-19 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187973120001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":396257977696256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7697285048469995520,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789796778000,"timestamp_ms":1789796778000,"timestamp_seconds":1789796778,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8338010"} 
[2026-09-19 11:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:17: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-19 11:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187973120001,"66":28354,"173":206,"9":57344,"24":50,"16":396257977696256,"44":-7697285048469995520},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,44]} 
[2026-09-19 11:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187973120001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-19 11:17:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":396257977696256,"km_value":396257977696.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7697285048469995520,"description":"Unknown IO ID 44"} 
[2026-09-19 11:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187973120001,"power":28354,"unknown_173":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7697285048469995520}} 
[2026-09-19 11:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:20] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:20] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:21] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:21] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:21] local.INFO: Packet analysis {"connection_id":188089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:21] local.INFO: Extracted packet for processing {"connection_id":188089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:21] 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-19 11:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:21] 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-19 11:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":188089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:21] local.INFO: GPS data processed {"connection_id":188089,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:21] local.INFO: Acknowledgment sent {"connection_id":188089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:23] local.INFO: TCP Data received {"connection_id":189423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b831d260012d19bc80071c1290004e002224..."} 
[2026-09-19 11:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b831d260012d19bc80071c1290004e002224..."} 
[2026-09-19 11:17:23] local.INFO: Processing buffer {"connection_id":189423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b831d260012d19bc80071c1290004e002224..."} 
[2026-09-19 11:17:23] local.INFO: Packet analysis {"connection_id":189423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:17:23] local.INFO: Extracted packet for processing {"connection_id":189423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b831"} 
[2026-09-19 11:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187941632001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796668000,"timestamp_ms":1789796668000,"timestamp_seconds":1789796668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b831d260"} 
[2026-09-19 11:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17:23] 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-19 11:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:17:23] 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-19 11:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187941632001,"66":12809,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187941632001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187941632001,"power":12809,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":189423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:23] local.INFO: GPS data processed {"connection_id":189423,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:23] local.INFO: Acknowledgment sent {"connection_id":189423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:46] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:46] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:46] local.INFO: IMEI packet received {"connection_id":188090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":188090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:17:51] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:51] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:17:51] local.INFO: IMEI packet received {"connection_id":188090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":188090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:17:52] local.INFO: TCP Data received {"connection_id":186816,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8339b68012c95288007c74e80000901632e..."} 
[2026-09-19 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8339b68012c95288007c74e80000901632e..."} 
[2026-09-19 11:17:52] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8339b68012c95288007c74e80000901632e..."} 
[2026-09-19 11:17:52] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:17:52] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":747972736,"raw_latitude":130502272,"longitude_deg":74.7972736,"latitude_deg":13.0502272,"altitude":9,"angle":355,"satellites":46,"speed":50,"hex_longitude":"2c952880","hex_latitude":"07c74e80","is_valid_coordinates":true} 
[2026-09-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187975168001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":396691769393152,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7698059104653447168,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796785000,"timestamp_ms":1789796785000,"timestamp_seconds":1789796785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8339b68"} 
[2026-09-19 11:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:52] 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-19 11:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187975168001,"66":28278,"173":206,"9":57344,"24":50,"16":396691769393152,"44":-7698059104653447168},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,44]} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187975168001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":396691769393152,"km_value":396691769393.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7698059104653447168,"description":"Unknown IO ID 44"} 
[2026-09-19 11:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187975168001,"power":28278,"unknown_173":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7698059104653447168}} 
[2026-09-19 11:17:52] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8322468012d19bc80071c1290004e002220..."} 
[2026-09-19 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8322468012d19bc80071c1290004e002220..."} 
[2026-09-19 11:17:52] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8322468012d19bc80071c1290004e002220..."} 
[2026-09-19 11:17:52] local.INFO: Packet analysis {"connection_id":188090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:52] local.INFO: Extracted packet for processing {"connection_id":188090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":32,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187947008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796689000,"timestamp_ms":1789796689000,"timestamp_seconds":1789796689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8322468"} 
[2026-09-19 11:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17:52] 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-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090146864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3428409201852529792,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121345303924307,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2022837513625805347,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,73,83,24,241,157,16,206,160,128,45,18,78,37,10,66,46,33,220,1,240,41,227,184,28,4,113,205,56,188,144,38,239,50,2,76,7,164,198],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:17:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529872972546048,"timestamp_seconds":5620529872972546.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:17:52] 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-19 11:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187947008001,"66":12765,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187947008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187947008001,"power":12765,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:52] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:52] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":188090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:52] local.INFO: GPS data processed {"connection_id":188090,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:52] local.INFO: Acknowledgment sent {"connection_id":188090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:17:52] local.INFO: TCP Data received {"connection_id":188089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:52] local.INFO: Processing buffer {"connection_id":188089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:17:52] local.INFO: Packet analysis {"connection_id":188089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:52] local.INFO: Extracted packet for processing {"connection_id":188089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:17: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-19 11:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:17: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-19 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:17:52] 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-19 11:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":188089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:17:52] local.INFO: GPS data processed {"connection_id":188089,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:17:52] local.INFO: Acknowledgment sent {"connection_id":188089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:10] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:10] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:10] local.INFO: IMEI packet received {"connection_id":186689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":186689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:18:12] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:12] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:12] local.INFO: IMEI packet received {"connection_id":186688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":186688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:18:14] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:14] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:18:14] local.INFO: IMEI packet received {"connection_id":186688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:18:15] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:15] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:15] local.INFO: IMEI packet received {"connection_id":186689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":186689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:18:16] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:16] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:16] local.INFO: Packet analysis {"connection_id":186688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:16] local.INFO: Extracted packet for processing {"connection_id":186688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:16] 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-19 11:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11: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-19 11:18: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18: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-19 11:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:16] local.INFO: GPS data processed {"connection_id":186688,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:16] local.INFO: Acknowledgment sent {"connection_id":186688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:16] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:16] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:18:16] local.INFO: IMEI packet received {"connection_id":186689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":186689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:18:18] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b833baa8012c9525c007c774c8000c01602f..."} 
[2026-09-19 11:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b833baa8012c9525c007c774c8000c01602f..."} 
[2026-09-19 11:18:18] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b833baa8012c9525c007c774c8000c01602f..."} 
[2026-09-19 11:18:18] local.INFO: Packet analysis {"connection_id":186689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:18] local.INFO: Extracted packet for processing {"connection_id":186689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":747972032,"raw_latitude":130512072,"longitude_deg":74.7972032,"latitude_deg":13.0512072,"altitude":12,"angle":352,"satellites":47,"speed":47,"hex_longitude":"2c9525c0","hex_latitude":"07c774c8","is_valid_coordinates":true} 
[2026-09-19 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187976960001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397168510763008,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7698762792092925952,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789796793000,"timestamp_ms":1789796793000,"timestamp_seconds":1789796793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b833baa8"} 
[2026-09-19 11:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:18] 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-19 11:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187976960001,"66":28430,"173":206,"9":57344,"24":47,"16":397168510763008,"44":-7698762792092925952},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,44]} 
[2026-09-19 11:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187976960001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:18] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-19 11:18:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397168510763008,"km_value":397168510763.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7698762792092925952,"description":"Unknown IO ID 44"} 
[2026-09-19 11:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187976960001,"power":28430,"unknown_173":206,"unknown_9":57344,"ignition":47,"odometer":null,"unknown_44":-7698762792092925952}} 
[2026-09-19 11:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":186689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:18] local.INFO: GPS data processed {"connection_id":186689,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:18] local.INFO: Acknowledgment sent {"connection_id":186689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:19] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b833d9e8012c95224007c79820000f016331..."} 
[2026-09-19 11:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b833d9e8012c95224007c79820000f016331..."} 
[2026-09-19 11:18:19] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b833d9e8012c95224007c79820000f016331..."} 
[2026-09-19 11:18:19] local.INFO: Packet analysis {"connection_id":186689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:19] local.INFO: Extracted packet for processing {"connection_id":186689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:19] local.INFO: GPS Element Parsed {"raw_longitude":747971136,"raw_latitude":130521120,"longitude_deg":74.7971136,"latitude_deg":13.052112,"altitude":15,"angle":355,"satellites":49,"speed":43,"hex_longitude":"2c952240","hex_latitude":"07c79820","is_valid_coordinates":true} 
[2026-09-19 11:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187979008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397610892394496,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7699536848276371456,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789796801000,"timestamp_ms":1789796801000,"timestamp_seconds":1789796801,"priority":1,"record_length":96,"hex_timestamp":"000001a0b833d9e8"} 
[2026-09-19 11:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:19] 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-19 11:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187979008001,"66":28332,"59":206,"9":57344,"24":43,"16":397610892394496,"44":-7699536848276371456},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,9,24,16,44]} 
[2026-09-19 11:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187979008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:19] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-19 11:18:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397610892394496,"km_value":397610892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7699536848276371456,"description":"Unknown IO ID 44"} 
[2026-09-19 11:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187979008001,"power":28332,"unknown_59":206,"unknown_9":57344,"ignition":43,"odometer":null,"unknown_44":-7699536848276371456}} 
[2026-09-19 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":186689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:20] local.INFO: GPS data processed {"connection_id":186689,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:20] local.INFO: Acknowledgment sent {"connection_id":186689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:20] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:20] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:20] local.INFO: Packet analysis {"connection_id":186688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:20] local.INFO: Extracted packet for processing {"connection_id":186688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:20] 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-19 11:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18:20] 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-19 11:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":186688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:20] local.INFO: GPS data processed {"connection_id":186688,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:20] local.INFO: Acknowledgment sent {"connection_id":186688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:23] local.INFO: TCP Data received {"connection_id":188090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8327670012d19bc80071c1290004e002222..."} 
[2026-09-19 11:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8327670012d19bc80071c1290004e002222..."} 
[2026-09-19 11:18:23] local.INFO: Processing buffer {"connection_id":188090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8327670012d19bc80071c1290004e002222..."} 
[2026-09-19 11:18:23] local.INFO: Packet analysis {"connection_id":188090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:23] local.INFO: Extracted packet for processing {"connection_id":188090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":34,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187952384001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796710000,"timestamp_ms":1789796710000,"timestamp_seconds":1789796710,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8327670"} 
[2026-09-19 11:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:23] 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-19 11:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:23] 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-19 11:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18:23] 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-19 11:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187952384001,"66":12722,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187952384001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187952384001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":188090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:23] local.INFO: GPS data processed {"connection_id":188090,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:23] local.INFO: Acknowledgment sent {"connection_id":188090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:51] local.INFO: TCP Data received {"connection_id":186689,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8351e20012c95408007c92aa0000a001330..."} 
[2026-09-19 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8351e20012c95408007c92aa0000a001330..."} 
[2026-09-19 11:18:51] local.INFO: Processing buffer {"connection_id":186689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8351e20012c95408007c92aa0000a001330..."} 
[2026-09-19 11:18:51] local.INFO: Packet analysis {"connection_id":186689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:18:51] local.INFO: Extracted packet for processing {"connection_id":186689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:18:51] local.INFO: GPS Element Parsed {"raw_longitude":747978880,"raw_latitude":130624160,"longitude_deg":74.797888,"latitude_deg":13.062416,"altitude":10,"angle":19,"satellites":48,"speed":55,"hex_longitude":"2c954080","hex_latitude":"07c92aa0","is_valid_coordinates":true} 
[2026-09-19 11:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188000512001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402661773934592,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7696018411041179648,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789796884000,"timestamp_ms":1789796884000,"timestamp_seconds":1789796884,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8351e20"} 
[2026-09-19 11:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:51] 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-19 11:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188000512001,"66":28398,"173":206,"9":57344,"24":55,"16":402661773934592,"44":-7696018411041179648},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,44]} 
[2026-09-19 11:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188000512001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:51] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-19 11:18:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402661773934592,"km_value":402661773934.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7696018411041179648,"description":"Unknown IO ID 44"} 
[2026-09-19 11:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188000512001,"power":28398,"unknown_173":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7696018411041179648}} 
[2026-09-19 11:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":186689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:51] local.INFO: GPS data processed {"connection_id":186689,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:51] local.INFO: Acknowledgment sent {"connection_id":186689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:51] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:51] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:51] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:18:52] local.INFO: TCP Data received {"connection_id":186688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:52] local.INFO: Processing buffer {"connection_id":186688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:18:52] local.INFO: Packet analysis {"connection_id":186688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:52] local.INFO: Extracted packet for processing {"connection_id":186688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18: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-19 11:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18: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-19 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:18:52] 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-19 11:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":186688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:52] local.INFO: GPS data processed {"connection_id":186688,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:52] local.INFO: Acknowledgment sent {"connection_id":186688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:56] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:56] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:18:56] local.INFO: IMEI packet received {"connection_id":186690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":186690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:18:57] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b832c878012d19bc80071c1290004e002225..."} 
[2026-09-19 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b832c878012d19bc80071c1290004e002225..."} 
[2026-09-19 11:18:57] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b832c878012d19bc80071c1290004e002225..."} 
[2026-09-19 11:18:57] local.INFO: Packet analysis {"connection_id":186690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:57] local.INFO: Extracted packet for processing {"connection_id":186690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":37,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:18: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-19 11:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187957760001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789796731000,"timestamp_ms":1789796731000,"timestamp_seconds":1789796731,"priority":1,"record_length":96,"hex_timestamp":"000001a0b832c878"} 
[2026-09-19 11:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:57] 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-19 11:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:57] 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-19 11:18: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-19 11:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18:57] 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-19 11:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187957760001,"66":12722,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187957760001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187957760001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":186690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:57] local.INFO: GPS data processed {"connection_id":186690,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:57] local.INFO: Acknowledgment sent {"connection_id":186690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:18:58] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8331a80012d19bc80071c1290004e002226..."} 
[2026-09-19 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8331a80012d19bc80071c1290004e002226..."} 
[2026-09-19 11:18:58] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8331a80012d19bc80071c1290004e002226..."} 
[2026-09-19 11:18:58] local.INFO: Packet analysis {"connection_id":186690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:58] local.INFO: Extracted packet for processing {"connection_id":186690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187963136001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789796752000,"timestamp_ms":1789796752000,"timestamp_seconds":1789796752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8331a80"} 
[2026-09-19 11:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:18:58] 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-19 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:18:58] 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-19 11:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:18: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-19 11:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187963136001,"66":12722,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187963136001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:18:58] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187963136001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":186690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:18:58] local.INFO: GPS data processed {"connection_id":186690,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:18:58] local.INFO: Acknowledgment sent {"connection_id":186690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:19:10] local.INFO: TCP Data received {"connection_id":189424,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:10] local.INFO: Processing buffer {"connection_id":189424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:10] local.INFO: IMEI packet received {"connection_id":189424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":189424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:19:14] local.INFO: TCP Data received {"connection_id":189424,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:14] local.INFO: Processing buffer {"connection_id":189424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:19:14] local.INFO: IMEI packet received {"connection_id":189424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":189424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:19:16] local.INFO: TCP Data received {"connection_id":189424,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:16] local.INFO: Processing buffer {"connection_id":189424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:16] local.INFO: Packet analysis {"connection_id":189424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:19:16] local.INFO: Extracted packet for processing {"connection_id":189424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:16] 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-19 11:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:19: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-19 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:19: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-19 11:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":189424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:19:16] local.INFO: GPS data processed {"connection_id":189424,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:19:16] local.INFO: Acknowledgment sent {"connection_id":189424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:19:24] local.INFO: TCP Data received {"connection_id":188091,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:19:24] local.INFO: Processing buffer {"connection_id":188091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:19:24] local.INFO: IMEI packet received {"connection_id":188091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":188091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:19:26] local.INFO: TCP Data received {"connection_id":188091,"ip":"117.224.216.130","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188091,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:19:26] local.INFO: Processing buffer {"connection_id":188091,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:19:26] local.INFO: IMEI packet received {"connection_id":188091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":188091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:19:28] local.INFO: TCP Data received {"connection_id":186690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8336c88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8336c88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:19:28] local.INFO: Processing buffer {"connection_id":186690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8336c88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:19:28] local.INFO: Packet analysis {"connection_id":186690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:19:28] local.INFO: Extracted packet for processing {"connection_id":186690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187968512001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789796773000,"timestamp_ms":1789796773000,"timestamp_seconds":1789796773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8336c88"} 
[2026-09-19 11:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:19:28] 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-19 11:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187968512001,"66":12743,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187968512001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:19:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187968512001,"power":12743,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":186690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:19:29] local.INFO: GPS data processed {"connection_id":186690,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:19:29] local.INFO: Acknowledgment sent {"connection_id":186690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:19:46] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:46] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:46] local.INFO: IMEI packet received {"connection_id":186817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":186817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:19:47] local.INFO: TCP Data received {"connection_id":189424,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:47] local.INFO: Processing buffer {"connection_id":189424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:19:47] local.INFO: Packet analysis {"connection_id":189424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:19:47] local.INFO: Extracted packet for processing {"connection_id":189424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19: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-19 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:19: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-19 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:19: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-19 11:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:19: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-19 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":189424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:19:47] local.INFO: GPS data processed {"connection_id":189424,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:19:47] local.INFO: Acknowledgment sent {"connection_id":189424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:19:51] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:51] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:19:51] local.INFO: IMEI packet received {"connection_id":186817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":186817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:19:55] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b833be90012d19bc80071c1290004e002227..."} 
[2026-09-19 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b833be90012d19bc80071c1290004e002227..."} 
[2026-09-19 11:19:55] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b833be90012d19bc80071c1290004e002227..."} 
[2026-09-19 11:19:55] local.INFO: Packet analysis {"connection_id":186817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:19:55] local.INFO: Extracted packet for processing {"connection_id":186817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b833"} 
[2026-09-19 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":39,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:19: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-19 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187973888001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789796794000,"timestamp_ms":1789796794000,"timestamp_seconds":1789796794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b833be90"} 
[2026-09-19 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:19: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-19 11:19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 11:19:55] 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-19 11:19: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-19 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:19:55] 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-19 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187973888001,"66":12722,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187973888001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:19:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187973888001,"power":12722,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":186817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:19:55] local.INFO: GPS data processed {"connection_id":186817,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:19:55] local.INFO: Acknowledgment sent {"connection_id":186817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:20:09] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:09] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:09] local.INFO: IMEI packet received {"connection_id":186818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":186818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:20:14] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:14] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:20:14] local.INFO: IMEI packet received {"connection_id":186818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:20:15] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:20:15] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83218b0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:20:15] local.INFO: Packet analysis {"connection_id":186818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:20:15] local.INFO: Extracted packet for processing {"connection_id":186818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b832"} 
[2026-09-19 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187874560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20: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-19 11:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796686000,"timestamp_ms":1789796686000,"timestamp_seconds":1789796686,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83218b0"} 
[2026-09-19 11:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11: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-19 11:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:20:15] 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-19 11:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187874560001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187874560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187874560001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":186818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:20:15] local.INFO: GPS data processed {"connection_id":186818,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:20:15] local.INFO: Acknowledgment sent {"connection_id":186818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:20:26] local.INFO: TCP Data received {"connection_id":186817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8341098012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8341098012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:26] local.INFO: Processing buffer {"connection_id":186817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8341098012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:26] local.INFO: Packet analysis {"connection_id":186817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:20:26] local.INFO: Extracted packet for processing {"connection_id":186817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187979264001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789796815000,"timestamp_ms":1789796815000,"timestamp_seconds":1789796815,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8341098"} 
[2026-09-19 11:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:20:26] 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-19 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 11:20:26] 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-19 11:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:20:26] 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-19 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187979264001,"66":12678,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187979264001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:20:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:20:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187979264001,"power":12678,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":186817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:20:26] local.INFO: GPS data processed {"connection_id":186817,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:20:26] local.INFO: Acknowledgment sent {"connection_id":186817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:20:46] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:20:46] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:20:46] local.INFO: Packet analysis {"connection_id":186818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:20:46] local.INFO: Extracted packet for processing {"connection_id":186818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:46] 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-19 11:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11: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-19 11:20: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:20: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-19 11: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-19 11: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-19 11:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:20: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-19 11:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":186818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:20:46] local.INFO: GPS data processed {"connection_id":186818,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:20:46] local.INFO: Acknowledgment sent {"connection_id":186818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:20:46] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:46] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:46] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:20:51] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:51] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:20:51] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:20:52] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83462a0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83462a0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:52] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83462a0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:20:52] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:20:52] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187984640001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796836000,"timestamp_ms":1789796836000,"timestamp_seconds":1789796836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83462a0"} 
[2026-09-19 11: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-19 11:20:52] 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-19 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 11:20:52] 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-19 11: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-19 11: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-19 11:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:20:52] 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-19 11:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187984640001,"66":12689,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187984640001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:20:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187984640001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:20:52] local.INFO: GPS data processed {"connection_id":186819,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:20:52] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:21:14] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:14] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:14] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:21:19] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:19] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:21:19] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:21:21] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:21] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:21] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:21:21] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:21] 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-19 11:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:21:21] 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-19 11:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:21:21] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:21:21] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:21:24] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b834b4a8012d19bc80071c1290004e002220..."} 
[2026-09-19 11:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b834b4a8012d19bc80071c1290004e002220..."} 
[2026-09-19 11:21:24] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b834b4a8012d19bc80071c1290004e002220..."} 
[2026-09-19 11:21:24] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:21:24] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b834"} 
[2026-09-19 11:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":32,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187990016001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789796857000,"timestamp_ms":1789796857000,"timestamp_seconds":1789796857,"priority":1,"record_length":96,"hex_timestamp":"000001a0b834b4a8"} 
[2026-09-19 11:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:21:24] 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-19 11:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:21:24] 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-19 11:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:21:24] 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-19 11:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187990016001,"66":12689,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187990016001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:21:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187990016001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:21:24] local.INFO: GPS data processed {"connection_id":186819,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:21:24] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:21:25] local.INFO: TCP Data received {"connection_id":186820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:25] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:21:25] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:21:25] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:25] 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-19 11:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:21:25] 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-19 11:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:21:25] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:21:25] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:21:45] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:45] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:45] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:21:46] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:46] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:46] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:21:51] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:51] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:21:51] local.INFO: IMEI packet received {"connection_id":188093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":188093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:21:52] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83506b0012d19bc80071c1290004e002223..."} 
[2026-09-19 11:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83506b0012d19bc80071c1290004e002223..."} 
[2026-09-19 11:21:52] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83506b0012d19bc80071c1290004e002223..."} 
[2026-09-19 11:21:52] local.INFO: Packet analysis {"connection_id":188093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:21:52] local.INFO: Extracted packet for processing {"connection_id":188093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187995392001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796878000,"timestamp_ms":1789796878000,"timestamp_seconds":1789796878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83506b0"} 
[2026-09-19 11:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:21:52] 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-19 11:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:21:52] 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-19 11:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:21:52] 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-19 11:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187995392001,"66":12689,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187995392001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:21:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187995392001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":188093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:21:52] local.INFO: GPS data processed {"connection_id":188093,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:21:52] local.INFO: Acknowledgment sent {"connection_id":188093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:22:09] local.INFO: TCP Data received {"connection_id":189425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:09] local.INFO: Processing buffer {"connection_id":189425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:09] local.INFO: IMEI packet received {"connection_id":189425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":189425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:22:14] local.INFO: TCP Data received {"connection_id":189425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:14] local.INFO: Processing buffer {"connection_id":189425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:22:14] local.INFO: IMEI packet received {"connection_id":189425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":189425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:22:16] local.INFO: TCP Data received {"connection_id":189425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:16] local.INFO: Processing buffer {"connection_id":189425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:16] local.INFO: Packet analysis {"connection_id":189425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:22:16] local.INFO: Extracted packet for processing {"connection_id":189425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:16] 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-19 11:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:22: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-19 11:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:22: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-19 11:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":189425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:22:16] local.INFO: GPS data processed {"connection_id":189425,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:22:16] local.INFO: Acknowledgment sent {"connection_id":189425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:22:23] local.INFO: TCP Data received {"connection_id":188093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83558b8012d19bc80071c1290004e002223..."} 
[2026-09-19 11:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83558b8012d19bc80071c1290004e002223..."} 
[2026-09-19 11:22:23] local.INFO: Processing buffer {"connection_id":188093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83558b8012d19bc80071c1290004e002223..."} 
[2026-09-19 11:22:23] local.INFO: Packet analysis {"connection_id":188093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:22:23] local.INFO: Extracted packet for processing {"connection_id":188093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188000768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796899000,"timestamp_ms":1789796899000,"timestamp_seconds":1789796899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83558b8"} 
[2026-09-19 11:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:22:23] 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-19 11:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:22:23] 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-19 11:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188000768001,"66":11928,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188000768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:22:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188000768001,"power":11928,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":188093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:22:23] local.INFO: GPS data processed {"connection_id":188093,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:22:23] local.INFO: Acknowledgment sent {"connection_id":188093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:22:46] local.INFO: TCP Data received {"connection_id":189426,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:46] local.INFO: Processing buffer {"connection_id":189426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:46] local.INFO: IMEI packet received {"connection_id":189426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":189426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:22:47] local.INFO: TCP Data received {"connection_id":189425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:47] local.INFO: Processing buffer {"connection_id":189425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:22:47] local.INFO: Packet analysis {"connection_id":189425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:22:47] local.INFO: Extracted packet for processing {"connection_id":189425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22: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-19 11:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11: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-19 11:22: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:22: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-19 11: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-19 11: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-19 11:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11: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-19 11:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":189425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:22:47] local.INFO: GPS data processed {"connection_id":189425,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:22:47] local.INFO: Acknowledgment sent {"connection_id":189425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:22:48] local.INFO: TCP Data received {"connection_id":189426,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:48] local.INFO: Processing buffer {"connection_id":189426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:48] local.INFO: IMEI packet received {"connection_id":189426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":189426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:22:51] local.INFO: TCP Data received {"connection_id":189426,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:51] local.INFO: Processing buffer {"connection_id":189426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:22:51] local.INFO: IMEI packet received {"connection_id":189426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":189426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:22:52] local.INFO: TCP Data received {"connection_id":189426,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b835aac0012d19bc80071c1290004e002221..."} 
[2026-09-19 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b835aac0012d19bc80071c1290004e002221..."} 
[2026-09-19 11:22:52] local.INFO: Processing buffer {"connection_id":189426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b835aac0012d19bc80071c1290004e002221..."} 
[2026-09-19 11:22:52] local.INFO: Packet analysis {"connection_id":189426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:22:52] local.INFO: Extracted packet for processing {"connection_id":189426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":33,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188006144001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796920000,"timestamp_ms":1789796920000,"timestamp_seconds":1789796920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b835aac0"} 
[2026-09-19 11:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:22:52] 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-19 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-19 11:22:52] 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-19 11:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:22:52] 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-19 11:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188006144001,"66":12689,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188006144001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:22:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188006144001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":189426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:22:52] local.INFO: GPS data processed {"connection_id":189426,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:22:52] local.INFO: Acknowledgment sent {"connection_id":189426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:23:09] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:09] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:09] local.INFO: IMEI packet received {"connection_id":186692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":186692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:23:14] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:14] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:23:14] local.INFO: IMEI packet received {"connection_id":186692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":186692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:23:15] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:15] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:15] local.INFO: Packet analysis {"connection_id":186692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:15] local.INFO: Extracted packet for processing {"connection_id":186692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23: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-19 11:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 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-19 11:23: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 11:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:23: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-19 11:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":186692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:23:16] local.INFO: GPS data processed {"connection_id":186692,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:23:16] local.INFO: Acknowledgment sent {"connection_id":186692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:23:23] local.INFO: TCP Data received {"connection_id":189426,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b835fcc8012d19bc80071c1290004e002224..."} 
[2026-09-19 11:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b835fcc8012d19bc80071c1290004e002224..."} 
[2026-09-19 11:23:23] local.INFO: Processing buffer {"connection_id":189426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b835fcc8012d19bc80071c1290004e002224..."} 
[2026-09-19 11:23:23] local.INFO: Packet analysis {"connection_id":189426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:23:23] local.INFO: Extracted packet for processing {"connection_id":189426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b835"} 
[2026-09-19 11:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188011520001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796941000,"timestamp_ms":1789796941000,"timestamp_seconds":1789796941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b835fcc8"} 
[2026-09-19 11:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:23:23] 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-19 11:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:23:23] 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-19 11:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188011520001,"66":12678,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188011520001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:23:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188011520001,"power":12678,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":189426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:23:23] local.INFO: GPS data processed {"connection_id":189426,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:23:23] local.INFO: Acknowledgment sent {"connection_id":189426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:23:46] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:46] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:46] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:23:47] local.INFO: TCP Data received {"connection_id":186692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:47] local.INFO: Processing buffer {"connection_id":186692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:23:47] local.INFO: Packet analysis {"connection_id":186692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:47] local.INFO: Extracted packet for processing {"connection_id":186692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23: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-19 11:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11: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-19 11:23: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:23: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-19 11: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-19 11: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-19 11:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:23: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-19 11:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:23:47] local.INFO: GPS data processed {"connection_id":186692,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:23:47] local.INFO: Acknowledgment sent {"connection_id":186692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:23:51] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:51] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:23:51] local.INFO: IMEI packet received {"connection_id":188095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":188095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:23:52] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8364ed0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8364ed0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:23:52] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8364ed0012d19bc80071c1290004e002226..."} 
[2026-09-19 11:23:52] local.INFO: Packet analysis {"connection_id":188095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:52] local.INFO: Extracted packet for processing {"connection_id":188095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:23: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-19 11:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188016896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789796962000,"timestamp_ms":1789796962000,"timestamp_seconds":1789796962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8364ed0"} 
[2026-09-19 11:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:23:52] 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-19 11:23: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 11:23:52] 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-19 11:23: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-19 11:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:23:52] 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-19 11:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188016896001,"66":12667,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188016896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:23:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188016896001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":188095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:23:52] local.INFO: GPS data processed {"connection_id":188095,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:23:52] local.INFO: Acknowledgment sent {"connection_id":188095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:10] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:10] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:10] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:24:14] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:14] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:24:14] local.INFO: IMEI packet received {"connection_id":186693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:24:16] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:16] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:16] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:16] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:16] 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-19 11:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:24: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-19 11:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:24: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-19 11:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:16] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:16] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:23] local.INFO: TCP Data received {"connection_id":188095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836a0d8012d19bc80071c1290004e002225..."} 
[2026-09-19 11:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836a0d8012d19bc80071c1290004e002225..."} 
[2026-09-19 11:24:23] local.INFO: Processing buffer {"connection_id":188095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836a0d8012d19bc80071c1290004e002225..."} 
[2026-09-19 11:24:23] local.INFO: Packet analysis {"connection_id":188095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:23] local.INFO: Extracted packet for processing {"connection_id":188095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":37,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188022272001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789796983000,"timestamp_ms":1789796983000,"timestamp_seconds":1789796983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836a0d8"} 
[2026-09-19 11:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 11:24:23] 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-19 11:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:23] 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-19 11:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188022272001,"66":12667,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188022272001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188022272001,"power":12667,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":188095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:23] local.INFO: GPS data processed {"connection_id":188095,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:23] local.INFO: Acknowledgment sent {"connection_id":188095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:27] local.INFO: TCP Data received {"connection_id":186694,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:24:27] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:24:27] local.INFO: IMEI packet received {"connection_id":186694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":186694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:24:28] local.INFO: TCP Data received {"connection_id":186694,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8390620012c93aac007cd8cb0000d01602b..."} 
[2026-09-19 11:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8390620012c93aac007cd8cb0000d01602b..."} 
[2026-09-19 11:24:28] local.INFO: Processing buffer {"connection_id":186694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8390620012c93aac007cd8cb0000d01602b..."} 
[2026-09-19 11:24:28] local.INFO: Packet analysis {"connection_id":186694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b839"} 
[2026-09-19 11:24:28] local.INFO: Extracted packet for processing {"connection_id":186694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b839"} 
[2026-09-19 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":747875008,"raw_latitude":130911408,"longitude_deg":74.7875008,"latitude_deg":13.0911408,"altitude":13,"angle":352,"satellites":43,"speed":27,"hex_longitude":"2c93aac0","hex_latitude":"07cd8cb0","is_valid_coordinates":true} 
[2026-09-19 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188067328001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":417689864503296,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7806004758115264512,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789797140000,"timestamp_ms":1789797140000,"timestamp_seconds":1789797140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8390620"} 
[2026-09-19 11:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:24:28] 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-19 11:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188067328001,"66":28332,"88":206,"9":57344,"24":27,"16":417689864503296,"44":-7806004758115264512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-19 11:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188067328001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-19 11:24:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":417689864503296,"km_value":417689864503.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7806004758115264512,"description":"Unknown IO ID 44"} 
[2026-09-19 11:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188067328001,"power":28332,"unknown_88":206,"unknown_9":57344,"ignition":27,"odometer":null,"unknown_44":-7806004758115264512}} 
[2026-09-19 11:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":186694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:29] local.INFO: GPS data processed {"connection_id":186694,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:29] local.INFO: Acknowledgment sent {"connection_id":186694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:48] local.INFO: TCP Data received {"connection_id":186693,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:48] local.INFO: Processing buffer {"connection_id":186693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:24:48] local.INFO: Packet analysis {"connection_id":186693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:48] local.INFO: Extracted packet for processing {"connection_id":186693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24: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-19 11:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11: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-19 11:24: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:24: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-19 11: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-19 11: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-19 11:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:24: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-19 11:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:48] local.INFO: GPS data processed {"connection_id":186693,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:48] local.INFO: Acknowledgment sent {"connection_id":186693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:51] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:51] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:51] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:24:54] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:54] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:24:54] local.INFO: IMEI packet received {"connection_id":188096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":188096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:24:55] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83a2730012d19bc80071c1290004e002224..."} 
[2026-09-19 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83a2730012d19bc80071c1290004e002224..."} 
[2026-09-19 11:24:55] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83a2730012d19bc80071c1290004e002224..."} 
[2026-09-19 11:24:55] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:24:55] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188081408001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789797214000,"timestamp_ms":1789797214000,"timestamp_seconds":1789797214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83a2730"} 
[2026-09-19 11:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:24:55] 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-19 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090671864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249835864185639568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,73,83,24,241,157,16,206,160,131,45,128,18,78,36,10,66,49,31,223,1,240,249,227,184,28,4,113,205,59,188,144,33,239,2,76,7,105,70],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:24:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529851497709568,"timestamp_seconds":5620529851497710.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:55] 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-19 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188081408001,"66":12558,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188081408001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188081408001,"power":12558,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:55] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:55] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:24:56] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83a7938012d19bc80071c1290004e002221..."} 
[2026-09-19 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83a7938012d19bc80071c1290004e002221..."} 
[2026-09-19 11:24:56] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83a7938012d19bc80071c1290004e002221..."} 
[2026-09-19 11:24:56] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:24:56] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":33,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:24: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-19 11:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188086784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789797235000,"timestamp_ms":1789797235000,"timestamp_seconds":1789797235,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83a7938"} 
[2026-09-19 11:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:24:56] 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-19 11:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090692864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249835864185639568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 11:24:56] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,213,45,128,18,78,31,10,66,131,36,49,1,240,14,227,184,28,4,113,205,141,188,144,239,2,76,7,105,69],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:24:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529872972546048,"timestamp_seconds":5620529872972546.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:24:56] 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-19 11:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188086784001,"66":12515,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188086784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:24:56] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188086784001,"power":12515,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:24:56] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:24:56] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:09] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:09] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:09] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:25:11] local.INFO: TCP Data received {"connection_id":189427,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:11] local.INFO: Processing buffer {"connection_id":189427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:11] local.INFO: IMEI packet received {"connection_id":189427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":189427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:25:14] local.INFO: TCP Data received {"connection_id":189427,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:14] local.INFO: Processing buffer {"connection_id":189427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:14] local.INFO: IMEI packet received {"connection_id":189427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":189427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:25:15] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:15] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:25:15] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:25:17] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:25:17] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b836b078012d34c14006aa41400008010e2c..."} 
[2026-09-19 11:25:17] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:25:17] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b836"} 
[2026-09-19 11:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458187951616001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:17] 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-19 11:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789796987000,"timestamp_ms":1789796987000,"timestamp_seconds":1789796987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b836b078"} 
[2026-09-19 11: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-19 11:25: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:25: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-19 11: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-19 11: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-19 11:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:25:17] 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-19 11:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458187951616001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458187951616001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458187951616001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:17] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:17] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:19] local.INFO: TCP Data received {"connection_id":189427,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:19] local.INFO: Processing buffer {"connection_id":189427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:25:19] local.INFO: IMEI packet received {"connection_id":189427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":189427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:25:20] local.INFO: TCP Data received {"connection_id":189427,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83a9490012c93d34007cf4340000600042f..."} 
[2026-09-19 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83a9490012c93d34007cf4340000600042f..."} 
[2026-09-19 11:25:20] local.INFO: Processing buffer {"connection_id":189427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83a9490012c93d34007cf4340000600042f..."} 
[2026-09-19 11:25:20] local.INFO: Packet analysis {"connection_id":189427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:20] local.INFO: Extracted packet for processing {"connection_id":189427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":747885376,"raw_latitude":131023680,"longitude_deg":74.7885376,"latitude_deg":13.102368,"altitude":6,"angle":4,"satellites":47,"speed":58,"hex_longitude":"2c93d340","hex_latitude":"07cf4340","is_valid_coordinates":true} 
[2026-09-19 11:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188092416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":423200307544064,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7796293871391963136,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797242000,"timestamp_ms":1789797242000,"timestamp_seconds":1789797242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83a9490"} 
[2026-09-19 11:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:25: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-19 11:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188092416001,"66":28300,"92":206,"9":57344,"24":58,"16":423200307544064,"44":-7796293871391963136},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188092416001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:25:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":423200307544064,"km_value":423200307544.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7796293871391963136,"description":"Unknown IO ID 44"} 
[2026-09-19 11:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188092416001,"power":28300,"unknown_92":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-7796293871391963136}} 
[2026-09-19 11:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":189427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:20] local.INFO: GPS data processed {"connection_id":189427,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:20] local.INFO: Acknowledgment sent {"connection_id":189427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:27] local.INFO: TCP Data received {"connection_id":188096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83acb40012d19bc80071c1290004e002224..."} 
[2026-09-19 11:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83acb40012d19bc80071c1290004e002224..."} 
[2026-09-19 11:25:27] local.INFO: Processing buffer {"connection_id":188096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83acb40012d19bc80071c1290004e002224..."} 
[2026-09-19 11:25:27] local.INFO: Packet analysis {"connection_id":188096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:27] local.INFO: Extracted packet for processing {"connection_id":188096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188092160001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789797256000,"timestamp_ms":1789797256000,"timestamp_seconds":1789797256,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83acb40"} 
[2026-09-19 11:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-19 11:25:27] 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-19 11:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:25:27] 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-19 11:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188092160001,"66":12548,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188092160001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188092160001,"power":12548,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":188096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:28] local.INFO: GPS data processed {"connection_id":188096,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:28] local.INFO: Acknowledgment sent {"connection_id":188096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:46] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:46] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:46] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:25:48] local.INFO: TCP Data received {"connection_id":186822,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:25:48] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:25:48] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:25:48] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25: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-19 11:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11:25: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:25: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-19 11: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-19 11: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-19 11:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:25: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-19 11:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:48] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:48] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:51] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:51] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:25:51] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:25:52] local.INFO: TCP Data received {"connection_id":189427,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83aa818012c93d28007cf5f780007016030..."} 
[2026-09-19 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83aa818012c93d28007cf5f780007016030..."} 
[2026-09-19 11:25:52] local.INFO: Processing buffer {"connection_id":189427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83aa818012c93d28007cf5f780007016030..."} 
[2026-09-19 11:25:52] local.INFO: Packet analysis {"connection_id":189427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:52] local.INFO: Extracted packet for processing {"connection_id":189427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:25:52] local.INFO: GPS Element Parsed {"raw_longitude":747885184,"raw_latitude":131030904,"longitude_deg":74.7885184,"latitude_deg":13.1030904,"altitude":7,"angle":352,"satellites":48,"speed":57,"hex_longitude":"2c93d280","hex_latitude":"07cf5f78","is_valid_coordinates":true} 
[2026-09-19 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188093952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":423548199895040,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7794816127761956864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797247000,"timestamp_ms":1789797247000,"timestamp_seconds":1789797247,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83aa818"} 
[2026-09-19 11:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:25:52] 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-19 11:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188093952001,"66":28376,"92":206,"9":57344,"24":57,"16":423548199895040,"44":-7794816127761956864},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188093952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":423548199895040,"km_value":423548199895.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7794816127761956864,"description":"Unknown IO ID 44"} 
[2026-09-19 11:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188093952001,"power":28376,"unknown_92":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-7794816127761956864}} 
[2026-09-19 11:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":189427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:52] local.INFO: GPS data processed {"connection_id":189427,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:52] local.INFO: Acknowledgment sent {"connection_id":189427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:25:52] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b1d48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b1d48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:25:52] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b1d48012d19bc80071c1290004e002223..."} 
[2026-09-19 11:25:52] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:25:52] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188097536001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797277000,"timestamp_ms":1789797277000,"timestamp_seconds":1789797277,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b1d48"} 
[2026-09-19 11:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:25:52] 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-19 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090734864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:25:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,121,45,128,18,78,33,10,66,39,36,213,1,240,14,227,184,28,4,113,205,49,188,144,31,239,2,76,7,105],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:25:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529872972546048,"timestamp_seconds":5620529872972546.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:25:52] 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-19 11:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188097536001,"66":12548,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188097536001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188097536001,"power":12548,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:25:52] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:25:52] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:10] local.INFO: TCP Data received {"connection_id":186695,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:10] local.INFO: Processing buffer {"connection_id":186695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:10] local.INFO: IMEI packet received {"connection_id":186695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":186695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:26:15] local.INFO: TCP Data received {"connection_id":186695,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:15] local.INFO: Processing buffer {"connection_id":186695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:26:15] local.INFO: IMEI packet received {"connection_id":186695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:26:15] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:15] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:15] local.INFO: IMEI packet received {"connection_id":186696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":186696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:26:16] local.INFO: TCP Data received {"connection_id":186695,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83abf88012c93c9c007cf7f88000a01532f..."} 
[2026-09-19 11:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83abf88012c93c9c007cf7f88000a01532f..."} 
[2026-09-19 11:26:16] local.INFO: Processing buffer {"connection_id":186695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83abf88012c93c9c007cf7f88000a01532f..."} 
[2026-09-19 11:26:16] local.INFO: Packet analysis {"connection_id":186695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:26:16] local.INFO: Extracted packet for processing {"connection_id":186695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:26:16] local.INFO: GPS Element Parsed {"raw_longitude":747882944,"raw_latitude":131039112,"longitude_deg":74.7882944,"latitude_deg":13.1039112,"altitude":10,"angle":339,"satellites":47,"speed":56,"hex_longitude":"2c93c9c0","hex_latitude":"07cf7f88","is_valid_coordinates":true} 
[2026-09-19 11:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188095232001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":423960516755456,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7795027233992640512,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797253000,"timestamp_ms":1789797253000,"timestamp_seconds":1789797253,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83abf88"} 
[2026-09-19 11: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-19 11:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:26: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-19 11: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-19 11: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-19 11:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188095232001,"66":28332,"92":206,"9":57344,"24":56,"16":423960516755456,"44":-7795027233992640512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188095232001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:26:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":423960516755456,"km_value":423960516755.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7795027233992640512,"description":"Unknown IO ID 44"} 
[2026-09-19 11:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188095232001,"power":28332,"unknown_92":206,"unknown_9":57344,"ignition":56,"odometer":null,"unknown_44":-7795027233992640512}} 
[2026-09-19 11:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":186695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:16] local.INFO: GPS data processed {"connection_id":186695,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:16] local.INFO: Acknowledgment sent {"connection_id":186695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:19] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:19] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:26:19] local.INFO: IMEI packet received {"connection_id":186696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":186696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:26:20] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:20] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:20] local.INFO: Packet analysis {"connection_id":186696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:20] local.INFO: Extracted packet for processing {"connection_id":186696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:20] 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-19 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:26:20] 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-19 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":186696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:21] local.INFO: GPS data processed {"connection_id":186696,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:21] local.INFO: Acknowledgment sent {"connection_id":186696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:23] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b6f50012d19bc80071c1290004e002223..."} 
[2026-09-19 11:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b6f50012d19bc80071c1290004e002223..."} 
[2026-09-19 11:26:23] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b6f50012d19bc80071c1290004e002223..."} 
[2026-09-19 11:26:23] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:23] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":35,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188102912001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797298000,"timestamp_ms":1789797298000,"timestamp_seconds":1789797298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b6f50"} 
[2026-09-19 11:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090755864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,203,45,128,18,78,36,10,66,121,33,39,1,240,14,227,184,28,4,113,205,131,188,144,239,49,2,76,7,105],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:26:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529868677578752,"timestamp_seconds":5620529868677579.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:26:23] 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-19 11:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188102912001,"66":12548,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188102912001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188102912001,"power":12548,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:23] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:23] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:25] local.INFO: TCP Data received {"connection_id":186696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:25] local.INFO: Processing buffer {"connection_id":186696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:26:25] local.INFO: Packet analysis {"connection_id":186696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:25] local.INFO: Extracted packet for processing {"connection_id":186696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:26: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-19 11:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:25] 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-19 11:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:26: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-19 11:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:26:25] 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-19 11:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":186696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:25] local.INFO: GPS data processed {"connection_id":186696,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:25] local.INFO: Acknowledgment sent {"connection_id":186696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:46] local.INFO: TCP Data received {"connection_id":189428,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:46] local.INFO: Processing buffer {"connection_id":189428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:46] local.INFO: IMEI packet received {"connection_id":189428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":189428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:26:48] local.INFO: TCP Data received {"connection_id":186695,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83ad6f8012c93ba8007cf9ca0000a01462d..."} 
[2026-09-19 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83ad6f8012c93ba8007cf9ca0000a01462d..."} 
[2026-09-19 11:26:48] local.INFO: Processing buffer {"connection_id":186695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83ad6f8012c93ba8007cf9ca0000a01462d..."} 
[2026-09-19 11:26:48] local.INFO: Packet analysis {"connection_id":186695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:26:48] local.INFO: Extracted packet for processing {"connection_id":186695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":747879040,"raw_latitude":131046560,"longitude_deg":74.787904,"latitude_deg":13.104656,"altitude":10,"angle":326,"satellites":45,"speed":54,"hex_longitude":"2c93ba80","hex_latitude":"07cf9ca0","is_valid_coordinates":true} 
[2026-09-19 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-19 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188096768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":424368538648576,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7797490140036757504,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797259000,"timestamp_ms":1789797259000,"timestamp_seconds":1789797259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83ad6f8"} 
[2026-09-19 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-19 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:26:48] 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-19 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-19 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-19 11:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188096768001,"66":28137,"92":206,"9":57344,"24":54,"16":424368538648576,"44":-7797490140036757504},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188096768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:48] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:26:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":424368538648576,"km_value":424368538648.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7797490140036757504,"description":"Unknown IO ID 44"} 
[2026-09-19 11:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188096768001,"power":28137,"unknown_92":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7797490140036757504}} 
[2026-09-19 11:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":186695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:48] local.INFO: GPS data processed {"connection_id":186695,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:48] local.INFO: Acknowledgment sent {"connection_id":186695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:26:51] local.INFO: TCP Data received {"connection_id":189428,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:51] local.INFO: Processing buffer {"connection_id":189428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:26:51] local.INFO: IMEI packet received {"connection_id":189428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":189428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:26:52] local.INFO: TCP Data received {"connection_id":189428,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83bc158012d19bc80071c1290004e002224..."} 
[2026-09-19 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83bc158012d19bc80071c1290004e002224..."} 
[2026-09-19 11:26:52] local.INFO: Processing buffer {"connection_id":189428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83bc158012d19bc80071c1290004e002224..."} 
[2026-09-19 11:26:52] local.INFO: Packet analysis {"connection_id":189428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:52] local.INFO: Extracted packet for processing {"connection_id":189428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188108288001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797319000,"timestamp_ms":1789797319000,"timestamp_seconds":1789797319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83bc158"} 
[2026-09-19 11:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:26:52] 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-19 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090776864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:26:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,29,45,128,18,78,35,10,66,203,36,121,1,240,227,184,28,4,113,205,213,188,144,31,239,49,2,76,7,105],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:26:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529868677578752,"timestamp_seconds":5620529868677579.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:26:52] 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-19 11:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188108288001,"66":12558,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188108288001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:26:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188108288001,"power":12558,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":189428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:26:52] local.INFO: GPS data processed {"connection_id":189428,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:26:52] local.INFO: Acknowledgment sent {"connection_id":189428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:09] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:09] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:09] local.INFO: IMEI packet received {"connection_id":186697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":186697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:27:10] local.INFO: TCP Data received {"connection_id":188097,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:10] local.INFO: Processing buffer {"connection_id":188097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:10] local.INFO: IMEI packet received {"connection_id":188097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":188097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:27:14] local.INFO: TCP Data received {"connection_id":188097,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:14] local.INFO: Processing buffer {"connection_id":188097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:27:14] local.INFO: IMEI packet received {"connection_id":188097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:27:15] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:15] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:27:15] local.INFO: IMEI packet received {"connection_id":186697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":186697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:27:16] local.INFO: TCP Data received {"connection_id":188097,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83af250012c93a20007cfb980000b013b2c..."} 
[2026-09-19 11:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83af250012c93a20007cfb980000b013b2c..."} 
[2026-09-19 11:27:16] local.INFO: Processing buffer {"connection_id":188097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83af250012c93a20007cfb980000b013b2c..."} 
[2026-09-19 11:27:16] local.INFO: Packet analysis {"connection_id":188097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:27:16] local.INFO: Extracted packet for processing {"connection_id":188097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83a"} 
[2026-09-19 11:27:16] local.INFO: GPS Element Parsed {"raw_longitude":747872768,"raw_latitude":131053952,"longitude_deg":74.7872768,"latitude_deg":13.1053952,"altitude":11,"angle":315,"satellites":44,"speed":54,"hex_longitude":"2c93a200","hex_latitude":"07cfb980","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188098304001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":424832395116544,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7801782633429688320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797266000,"timestamp_ms":1789797266000,"timestamp_seconds":1789797266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83af250"} 
[2026-09-19 11: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-19 11:27: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-19 11: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":233,"data_length":795,"current_offset":136} 
[2026-09-19 11:27:16] 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-19 11: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-19 11: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-19 11:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188098304001,"66":28354,"92":206,"9":57344,"24":54,"16":424832395116544,"44":-7801782633429688320},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188098304001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":424832395116544,"km_value":424832395116.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7801782633429688320,"description":"Unknown IO ID 44"} 
[2026-09-19 11:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188098304001,"power":28354,"unknown_92":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7801782633429688320}} 
[2026-09-19 11:27:16] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:16] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:16] local.INFO: Packet analysis {"connection_id":186697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:16] local.INFO: Extracted packet for processing {"connection_id":186697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:16] 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-19 11:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11:27: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:27: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-19 11:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:16] local.INFO: GPS data processed {"connection_id":186697,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:16] local.INFO: Acknowledgment sent {"connection_id":186697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":188097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:16] local.INFO: GPS data processed {"connection_id":188097,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:16] local.INFO: Acknowledgment sent {"connection_id":188097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:23] local.INFO: TCP Data received {"connection_id":189428,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83c1360012d19bc80071c1290004e002221..."} 
[2026-09-19 11:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83c1360012d19bc80071c1290004e002221..."} 
[2026-09-19 11:27:23] local.INFO: Processing buffer {"connection_id":189428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83c1360012d19bc80071c1290004e002221..."} 
[2026-09-19 11:27:23] local.INFO: Packet analysis {"connection_id":189428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:27:23] local.INFO: Extracted packet for processing {"connection_id":189428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":33,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:27: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-19 11:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188113664001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797340000,"timestamp_ms":1789797340000,"timestamp_seconds":1789797340,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83c1360"} 
[2026-09-19 11:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090797864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249835864185639568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,111,45,128,18,78,35,10,66,29,203,1,240,4,227,184,28,113,205,39,188,144,36,239,49,2,76,7,105,69],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:27:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529872972546048,"timestamp_seconds":5620529872972546.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:27:23] 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-19 11:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188113664001,"66":12548,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188113664001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188113664001,"power":12548,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":189428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:23] local.INFO: GPS data processed {"connection_id":189428,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:23] local.INFO: Acknowledgment sent {"connection_id":189428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:46] local.INFO: TCP Data received {"connection_id":188098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:46] local.INFO: Processing buffer {"connection_id":188098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:46] local.INFO: IMEI packet received {"connection_id":188098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":188098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:27:47] local.INFO: TCP Data received {"connection_id":188097,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b0da8012c93888007cfd2d0000b013a2d..."} 
[2026-09-19 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b0da8012c93888007cfd2d0000b013a2d..."} 
[2026-09-19 11:27:47] local.INFO: Processing buffer {"connection_id":188097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b0da8012c93888007cfd2d0000b013a2d..."} 
[2026-09-19 11:27:47] local.INFO: Packet analysis {"connection_id":188097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:47] local.INFO: Extracted packet for processing {"connection_id":188097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:47] local.INFO: GPS Element Parsed {"raw_longitude":747866240,"raw_latitude":131060432,"longitude_deg":74.786624,"latitude_deg":13.1060432,"altitude":11,"angle":314,"satellites":45,"speed":51,"hex_longitude":"2c938880","hex_latitude":"07cfd2d0","is_valid_coordinates":true} 
[2026-09-19 11:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188100096001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":425274776748032,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7808678770357207040,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797273000,"timestamp_ms":1789797273000,"timestamp_seconds":1789797273,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b0da8"} 
[2026-09-19 11:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:27:47] 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-19 11:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188100096001,"66":28452,"92":206,"9":57344,"24":51,"16":425274776748032,"44":-7808678770357207040},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188100096001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:27:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":425274776748032,"km_value":425274776748.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7808678770357207040,"description":"Unknown IO ID 44"} 
[2026-09-19 11:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188100096001,"power":28452,"unknown_92":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7808678770357207040}} 
[2026-09-19 11:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":188097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:47] local.INFO: GPS data processed {"connection_id":188097,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:47] local.INFO: Acknowledgment sent {"connection_id":188097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:48] local.INFO: TCP Data received {"connection_id":186697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:48] local.INFO: Processing buffer {"connection_id":186697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:27:48] local.INFO: Packet analysis {"connection_id":186697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:48] local.INFO: Extracted packet for processing {"connection_id":186697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27: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-19 11:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:27: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-19 11:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:27: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-19 11:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:27: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-19 11:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":186697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:48] local.INFO: GPS data processed {"connection_id":186697,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:48] local.INFO: Acknowledgment sent {"connection_id":186697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:27:51] local.INFO: TCP Data received {"connection_id":188098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:51] local.INFO: Processing buffer {"connection_id":188098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:27:51] local.INFO: IMEI packet received {"connection_id":188098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":188098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:27:55] local.INFO: TCP Data received {"connection_id":188098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83c6568012d19bc80071c1290004e002222..."} 
[2026-09-19 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83c6568012d19bc80071c1290004e002222..."} 
[2026-09-19 11:27:55] local.INFO: Processing buffer {"connection_id":188098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83c6568012d19bc80071c1290004e002222..."} 
[2026-09-19 11:27:55] local.INFO: Packet analysis {"connection_id":188098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:27:55] local.INFO: Extracted packet for processing {"connection_id":188098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":34,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188119040001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789797361000,"timestamp_ms":1789797361000,"timestamp_seconds":1789797361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83c6568"} 
[2026-09-19 11:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:27:55] 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-19 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3090818864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766392014,"corrected_to":0} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147949586,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480617,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3469082624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5260431223397816320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:27:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,73,83,24,241,157,16,206,160,193,45,128,18,78,36,10,66,111,35,29,1,240,4,227,184,28,113,205,121,188,144,33,239,48,2,76,7,105],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1766392014,"validated":0}]} 
[2026-09-19 11:27:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620529860087644160,"timestamp_seconds":5620529860087644.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:27:55] 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-19 11:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188119040001,"66":12537,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188119040001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:27:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188119040001,"power":12537,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":188098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:27:56] local.INFO: GPS data processed {"connection_id":188098,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:27:56] local.INFO: Acknowledgment sent {"connection_id":188098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:09] local.INFO: TCP Data received {"connection_id":189429,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:09] local.INFO: Processing buffer {"connection_id":189429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:09] local.INFO: IMEI packet received {"connection_id":189429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":189429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:28:09] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:09] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:09] local.INFO: IMEI packet received {"connection_id":186698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:28:14] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:14] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:28:14] local.INFO: IMEI packet received {"connection_id":186698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:28:16] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:16] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:16] local.INFO: Packet analysis {"connection_id":186698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:16] local.INFO: Extracted packet for processing {"connection_id":186698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:16] 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-19 11:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:28: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-19 11:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:28:16] 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-19 11:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:28:16] local.INFO: GPS data processed {"connection_id":186698,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:28:16] local.INFO: Acknowledgment sent {"connection_id":186698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:17] local.INFO: TCP Data received {"connection_id":189429,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:17] local.INFO: Processing buffer {"connection_id":189429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:28:17] local.INFO: IMEI packet received {"connection_id":189429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":189429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:28:20] local.INFO: TCP Data received {"connection_id":189429,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b2900012c936e8007cfebd8000b01392c..."} 
[2026-09-19 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b2900012c936e8007cfebd8000b01392c..."} 
[2026-09-19 11:28:20] local.INFO: Processing buffer {"connection_id":189429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b2900012c936e8007cfebd8000b01392c..."} 
[2026-09-19 11:28:20] local.INFO: Packet analysis {"connection_id":189429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:20] local.INFO: Extracted packet for processing {"connection_id":189429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":747859584,"raw_latitude":131066840,"longitude_deg":74.7859584,"latitude_deg":13.106684,"altitude":11,"angle":313,"satellites":44,"speed":52,"hex_longitude":"2c936e80","hex_latitude":"07cfebd8","is_valid_coordinates":true} 
[2026-09-19 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188101888001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":425717158379520,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7815856382261669888,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797280000,"timestamp_ms":1789797280000,"timestamp_seconds":1789797280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b2900"} 
[2026-09-19 11:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 11:28:20] 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-19 11:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188101888001,"66":28452,"92":206,"9":57344,"24":52,"16":425717158379520,"44":-7815856382261669888},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,9,24,16,44]} 
[2026-09-19 11:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188101888001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:28:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-19 11:28:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":425717158379520,"km_value":425717158379.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7815856382261669888,"description":"Unknown IO ID 44"} 
[2026-09-19 11:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188101888001,"power":28452,"unknown_92":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7815856382261669888}} 
[2026-09-19 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":189429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:28:20] local.INFO: GPS data processed {"connection_id":189429,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:28:20] local.INFO: Acknowledgment sent {"connection_id":189429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:26] local.INFO: TCP Data received {"connection_id":188098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83cb770012d19bc80071c1290004e002226..."} 
[2026-09-19 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83cb770012d19bc80071c1290004e002226..."} 
[2026-09-19 11:28:26] local.INFO: Processing buffer {"connection_id":188098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83cb770012d19bc80071c1290004e002226..."} 
[2026-09-19 11:28:26] local.INFO: Packet analysis {"connection_id":188098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:28:26] local.INFO: Extracted packet for processing {"connection_id":188098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83c"} 
[2026-09-19 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:28: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-19 11:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188124416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789797382000,"timestamp_ms":1789797382000,"timestamp_seconds":1789797382,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83cb770"} 
[2026-09-19 11:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:28:26] 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-19 11:28: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 11:28:26] 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-19 11:28: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-19 11:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:28:26] 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-19 11:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188124416001,"66":12504,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188124416001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:28:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:28:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188124416001,"power":12504,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":188098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:28:26] local.INFO: GPS data processed {"connection_id":188098,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:28:26] local.INFO: Acknowledgment sent {"connection_id":188098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:45] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:45] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:45] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:28:46] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:46] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:46] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:28:47] local.INFO: TCP Data received {"connection_id":186698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:47] local.INFO: Processing buffer {"connection_id":186698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:28:47] local.INFO: Packet analysis {"connection_id":186698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:47] local.INFO: Extracted packet for processing {"connection_id":186698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11: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-19 11:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11:28: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:28: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-19 11: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-19 11: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-19 11:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:28:47] 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-19 11:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":186698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:28:47] local.INFO: GPS data processed {"connection_id":186698,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:28:47] local.INFO: Acknowledgment sent {"connection_id":186698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:51] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:51] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:28:51] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:28:52] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83d0978012d19bc80071c1290004e002222..."} 
[2026-09-19 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83d0978012d19bc80071c1290004e002222..."} 
[2026-09-19 11:28:52] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83d0978012d19bc80071c1290004e002222..."} 
[2026-09-19 11:28:52] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:28:52] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":34,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188129792001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797403000,"timestamp_ms":1789797403000,"timestamp_seconds":1789797403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83d0978"} 
[2026-09-19 11:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:28:52] 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-19 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:28:52] 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-19 11:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:28:52] 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-19 11:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188129792001,"66":12537,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188129792001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:28:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188129792001,"power":12537,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:28:52] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:28:52] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:28:56] local.INFO: TCP Data received {"connection_id":189429,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8414b500100000000000000000000000000..."} 
[2026-09-19 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8414b500100000000000000000000000000..."} 
[2026-09-19 11:28:56] local.INFO: Processing buffer {"connection_id":189429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8414b500100000000000000000000000000..."} 
[2026-09-19 11:28:56] local.INFO: Packet analysis {"connection_id":189429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:28:56] local.INFO: Extracted packet for processing {"connection_id":189429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:28: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-19 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188143104001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":426679231053824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7866662615546368000,"note":"Value kept but may cause issues"} 
[2026-09-19 11:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789797682000,"timestamp_ms":1789797682000,"timestamp_seconds":1789797682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8414b50"} 
[2026-09-19 11:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:28:56] 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-19 11:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":189429,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 11:28:56] local.INFO: GPS data processed {"connection_id":189429,"processed":0,"errors":0,"total":1} 
[2026-09-19 11:28:56] local.INFO: Acknowledgment sent {"connection_id":189429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:09] local.INFO: TCP Data received {"connection_id":189431,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:09] local.INFO: Processing buffer {"connection_id":189431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:09] local.INFO: IMEI packet received {"connection_id":189431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:29:10] local.INFO: TCP Data received {"connection_id":189430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:10] local.INFO: Processing buffer {"connection_id":189430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:10] local.INFO: IMEI packet received {"connection_id":189430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":189430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:29:14] local.INFO: TCP Data received {"connection_id":189431,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:14] local.INFO: Processing buffer {"connection_id":189431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:29:14] local.INFO: IMEI packet received {"connection_id":189431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:29:14] local.INFO: TCP Data received {"connection_id":189430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:14] local.INFO: Processing buffer {"connection_id":189430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:29:14] local.INFO: IMEI packet received {"connection_id":189430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:29:15] local.INFO: TCP Data received {"connection_id":189431,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83dfba8012c9251c007d103580004013b2e..."} 
[2026-09-19 11:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83dfba8012c9251c007d103580004013b2e..."} 
[2026-09-19 11:29:15] local.INFO: Processing buffer {"connection_id":189431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83dfba8012c9251c007d103580004013b2e..."} 
[2026-09-19 11:29:15] local.INFO: Packet analysis {"connection_id":189431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:15] local.INFO: Extracted packet for processing {"connection_id":189431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:15] local.INFO: GPS Element Parsed {"raw_longitude":747786688,"raw_latitude":131138392,"longitude_deg":74.7786688,"latitude_deg":13.1138392,"altitude":4,"angle":315,"satellites":46,"speed":57,"hex_longitude":"2c9251c0","hex_latitude":"07d10358","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":426679231053824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,91,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789797465000,"timestamp_ms":1789797465000,"timestamp_seconds":1789797465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83dfba8"} 
[2026-09-19 11: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-19 11:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:29:15] 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-19 11: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-19 11: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-19 11:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"91":206,"9":57344,"24":57,"16":426679231053824},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,9,24,16]} 
[2026-09-19 11:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":426679231053824,"km_value":426679231053.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_91":206,"unknown_9":57344,"ignition":57,"odometer":null}} 
[2026-09-19 11:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":189431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:15] local.INFO: GPS data processed {"connection_id":189431,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:15] local.INFO: Acknowledgment sent {"connection_id":189431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:16] local.INFO: TCP Data received {"connection_id":189430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:16] local.INFO: Processing buffer {"connection_id":189430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:16] local.INFO: Packet analysis {"connection_id":189430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:29:16] local.INFO: Extracted packet for processing {"connection_id":189430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:16] 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-19 11:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:29: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-19 11:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":189430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:16] local.INFO: GPS data processed {"connection_id":189430,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:16] local.INFO: Acknowledgment sent {"connection_id":189430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:23] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83d5b80012d19bc80071c1290004e002225..."} 
[2026-09-19 11:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83d5b80012d19bc80071c1290004e002225..."} 
[2026-09-19 11:29:23] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83d5b80012d19bc80071c1290004e002225..."} 
[2026-09-19 11:29:23] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:23] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":37,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188135168001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797424000,"timestamp_ms":1789797424000,"timestamp_seconds":1789797424,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83d5b80"} 
[2026-09-19 11:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 11:29:23] 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-19 11:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:29:23] 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-19 11:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188135168001,"66":12537,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188135168001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188135168001,"power":12537,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:23] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:23] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:46] local.INFO: TCP Data received {"connection_id":189432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:46] local.INFO: Processing buffer {"connection_id":189432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:46] local.INFO: IMEI packet received {"connection_id":189432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":189432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:29:47] local.INFO: TCP Data received {"connection_id":189431,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83e4db0012c92120007d141f00003013b2c..."} 
[2026-09-19 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83e4db0012c92120007d141f00003013b2c..."} 
[2026-09-19 11:29:47] local.INFO: Processing buffer {"connection_id":189431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83e4db0012c92120007d141f00003013b2c..."} 
[2026-09-19 11:29:47] local.INFO: Packet analysis {"connection_id":189431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:29:47] local.INFO: Extracted packet for processing {"connection_id":189431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":747770368,"raw_latitude":131154416,"longitude_deg":74.7770368,"latitude_deg":13.1154416,"altitude":3,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2c921200","hex_latitude":"07d141f0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188151040001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":426679231053824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7903324731254548480,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797486000,"timestamp_ms":1789797486000,"timestamp_seconds":1789797486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83e4db0"} 
[2026-09-19 11: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-19 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:29:47] 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-19 11: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-19 11: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-19 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188151040001,"66":28332,"91":206,"9":57344,"24":0,"16":426679231053824,"44":-7903324731254548480},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,9,24,16,44]} 
[2026-09-19 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188151040001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":426679231053824,"km_value":426679231053.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7903324731254548480,"description":"Unknown IO ID 44"} 
[2026-09-19 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188151040001,"power":28332,"unknown_91":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7903324731254548480}} 
[2026-09-19 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":189431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:47] local.INFO: GPS data processed {"connection_id":189431,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:47] local.INFO: Acknowledgment sent {"connection_id":189431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:48] local.INFO: TCP Data received {"connection_id":189430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:48] local.INFO: Processing buffer {"connection_id":189430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:29:48] local.INFO: Packet analysis {"connection_id":189430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:29:48] local.INFO: Extracted packet for processing {"connection_id":189430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29: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-19 11:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:29: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-19 11: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-19 11: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-19 11:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:29: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-19 11:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":189430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:48] local.INFO: GPS data processed {"connection_id":189430,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:48] local.INFO: Acknowledgment sent {"connection_id":189430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:29:48] local.INFO: TCP Data received {"connection_id":189432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:48] local.INFO: Processing buffer {"connection_id":189432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:48] local.INFO: IMEI packet received {"connection_id":189432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":189432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:29:51] local.INFO: TCP Data received {"connection_id":189432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:51] local.INFO: Processing buffer {"connection_id":189432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:29:51] local.INFO: IMEI packet received {"connection_id":189432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":189432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:29:52] local.INFO: TCP Data received {"connection_id":189432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83dad88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83dad88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:29:52] local.INFO: Processing buffer {"connection_id":189432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83dad88012d19bc80071c1290004e002224..."} 
[2026-09-19 11:29:52] local.INFO: Packet analysis {"connection_id":189432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:52] local.INFO: Extracted packet for processing {"connection_id":189432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188140544001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797445000,"timestamp_ms":1789797445000,"timestamp_seconds":1789797445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83dad88"} 
[2026-09-19 11: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-19 11:29:52] 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-19 11: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 11:29:52] 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-19 11: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-19 11: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-19 11:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:29:52] 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-19 11:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188140544001,"66":12526,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188140544001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:29:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188140544001,"power":12526,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":189432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:29:52] local.INFO: GPS data processed {"connection_id":189432,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:29:52] local.INFO: Acknowledgment sent {"connection_id":189432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:09] local.INFO: TCP Data received {"connection_id":188099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:09] local.INFO: Processing buffer {"connection_id":188099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:09] local.INFO: IMEI packet received {"connection_id":188099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:30:12] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:12] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:12] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:30:14] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:14] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:14] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:30:15] local.INFO: TCP Data received {"connection_id":188099,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:15] local.INFO: Processing buffer {"connection_id":188099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:30:15] local.INFO: IMEI packet received {"connection_id":188099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":188099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:30:16] local.INFO: TCP Data received {"connection_id":188099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:30:16] local.INFO: Processing buffer {"connection_id":188099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83b4840012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:30:16] local.INFO: Packet analysis {"connection_id":188099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:30:16] local.INFO: Extracted packet for processing {"connection_id":188099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83b"} 
[2026-09-19 11:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188028672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:16] 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-19 11:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797288000,"timestamp_ms":1789797288000,"timestamp_seconds":1789797288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83b4840"} 
[2026-09-19 11: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-19 11:30: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:30: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-19 11:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188028672001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188028672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188028672001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":188099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:16] local.INFO: GPS data processed {"connection_id":188099,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:16] local.INFO: Acknowledgment sent {"connection_id":188099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:16] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:16] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:30:16] local.INFO: IMEI packet received {"connection_id":186699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":186699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:30:17] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84216700100000000000000000000000000..."} 
[2026-09-19 11:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84216700100000000000000000000000000..."} 
[2026-09-19 11:30:17] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84216700100000000000000000000000000..."} 
[2026-09-19 11:30:17] local.INFO: Packet analysis {"connection_id":186699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b842"} 
[2026-09-19 11:30:17] local.INFO: Extracted packet for processing {"connection_id":186699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b842"} 
[2026-09-19 11:30: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-19 11:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188156416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":426679231053824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7921268761015750656,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789797734000,"timestamp_ms":1789797734000,"timestamp_seconds":1789797734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8421670"} 
[2026-09-19 11:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:30:17] 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-19 11:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":186699,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 11:30:17] local.INFO: GPS data processed {"connection_id":186699,"processed":0,"errors":0,"total":1} 
[2026-09-19 11:30:17] local.INFO: Acknowledgment sent {"connection_id":186699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:19] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83ed280012c91b60007d1f880000a01632e..."} 
[2026-09-19 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83ed280012c91b60007d1f880000a01632e..."} 
[2026-09-19 11:30:19] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83ed280012c91b60007d1f880000a01632e..."} 
[2026-09-19 11:30:19] local.INFO: Packet analysis {"connection_id":186699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:30:19] local.INFO: Extracted packet for processing {"connection_id":186699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":747746816,"raw_latitude":131201152,"longitude_deg":74.7746816,"latitude_deg":13.1201152,"altitude":10,"angle":355,"satellites":46,"speed":54,"hex_longitude":"2c91b600","hex_latitude":"07d1f880","is_valid_coordinates":true} 
[2026-09-19 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":427143087521792,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,91,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789797520000,"timestamp_ms":1789797520000,"timestamp_seconds":1789797520,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83ed280"} 
[2026-09-19 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:30:19] 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-19 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"91":206,"9":57344,"24":54,"16":427143087521792},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,9,24,16]} 
[2026-09-19 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-19 11:30:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":427143087521792,"km_value":427143087521.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_91":206,"unknown_9":57344,"ignition":54,"odometer":null}} 
[2026-09-19 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":186699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:19] local.INFO: GPS data processed {"connection_id":186699,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:19] local.INFO: Acknowledgment sent {"connection_id":186699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:23] local.INFO: TCP Data received {"connection_id":189432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83dff90012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83dff90012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:23] local.INFO: Processing buffer {"connection_id":189432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83dff90012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:23] local.INFO: Packet analysis {"connection_id":189432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:30:23] local.INFO: Extracted packet for processing {"connection_id":189432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83d"} 
[2026-09-19 11:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188145920001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797466000,"timestamp_ms":1789797466000,"timestamp_seconds":1789797466,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83dff90"} 
[2026-09-19 11:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:30:23] 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-19 11:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:30:23] 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-19 11:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188145920001,"66":12537,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188145920001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188145920001,"power":12537,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":189432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:23] local.INFO: GPS data processed {"connection_id":189432,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:23] local.INFO: Acknowledgment sent {"connection_id":189432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:47] local.INFO: TCP Data received {"connection_id":188099,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:30:47] local.INFO: Processing buffer {"connection_id":188099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:30:47] local.INFO: Packet analysis {"connection_id":188099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:30:47] local.INFO: Extracted packet for processing {"connection_id":188099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30: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-19 11:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:30: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:30: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-19 11: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-19 11: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-19 11:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:30: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-19 11:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":188099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:47] local.INFO: GPS data processed {"connection_id":188099,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:47] local.INFO: Acknowledgment sent {"connection_id":188099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:51] local.INFO: TCP Data received {"connection_id":186699,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fff48012c918a8007d384f0000a014c2c..."} 
[2026-09-19 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fff48012c918a8007d384f0000a014c2c..."} 
[2026-09-19 11:30:51] local.INFO: Processing buffer {"connection_id":186699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fff48012c918a8007d384f0000a014c2c..."} 
[2026-09-19 11:30:51] local.INFO: Packet analysis {"connection_id":186699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:30:51] local.INFO: Extracted packet for processing {"connection_id":186699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":747735680,"raw_latitude":131302640,"longitude_deg":74.773568,"latitude_deg":13.130264,"altitude":10,"angle":332,"satellites":44,"speed":55,"hex_longitude":"2c918a80","hex_latitude":"07d384f0","is_valid_coordinates":true} 
[2026-09-19 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188183040001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":432219738865664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7954271701999345664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789797597000,"timestamp_ms":1789797597000,"timestamp_seconds":1789797597,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fff48"} 
[2026-09-19 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:30: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-19 11:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188183040001,"66":28354,"81":206,"9":57344,"24":55,"16":432219738865664,"44":-7954271701999345664},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,9,24,16,44]} 
[2026-09-19 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188183040001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-19 11:30:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":432219738865664,"km_value":432219738865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7954271701999345664,"description":"Unknown IO ID 44"} 
[2026-09-19 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188183040001,"power":28354,"unknown_81":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7954271701999345664}} 
[2026-09-19 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":186699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:51] local.INFO: GPS data processed {"connection_id":186699,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:51] local.INFO: Acknowledgment sent {"connection_id":186699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:30:51] local.INFO: TCP Data received {"connection_id":189433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:51] local.INFO: Processing buffer {"connection_id":189433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:51] local.INFO: IMEI packet received {"connection_id":189433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":189433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:30:52] local.INFO: TCP Data received {"connection_id":189433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:52] local.INFO: Processing buffer {"connection_id":189433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:52] local.INFO: IMEI packet received {"connection_id":189433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":189433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:30:56] local.INFO: TCP Data received {"connection_id":189433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:56] local.INFO: Processing buffer {"connection_id":189433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:30:56] local.INFO: IMEI packet received {"connection_id":189433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":189433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:30:57] local.INFO: TCP Data received {"connection_id":189433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83e5198012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83e5198012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:57] local.INFO: Processing buffer {"connection_id":189433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83e5198012d19bc80071c1290004e002224..."} 
[2026-09-19 11:30:57] local.INFO: Packet analysis {"connection_id":189433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:30:57] local.INFO: Extracted packet for processing {"connection_id":189433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188151296001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789797487000,"timestamp_ms":1789797487000,"timestamp_seconds":1789797487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83e5198"} 
[2026-09-19 11:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:30:57] 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-19 11:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 11:30:57] 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-19 11:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:30:57] 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-19 11:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188151296001,"66":12504,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188151296001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:30:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188151296001,"power":12504,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":189433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:30:57] local.INFO: GPS data processed {"connection_id":189433,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:30:57] local.INFO: Acknowledgment sent {"connection_id":189433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:02] local.INFO: TCP Data received {"connection_id":189433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83ea3a0012d19bc80071c1290004e002222..."} 
[2026-09-19 11:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83ea3a0012d19bc80071c1290004e002222..."} 
[2026-09-19 11:31:02] local.INFO: Processing buffer {"connection_id":189433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83ea3a0012d19bc80071c1290004e002222..."} 
[2026-09-19 11:31:02] local.INFO: Packet analysis {"connection_id":189433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:31:02] local.INFO: Extracted packet for processing {"connection_id":189433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":34,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188156672001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789797508000,"timestamp_ms":1789797508000,"timestamp_seconds":1789797508,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83ea3a0"} 
[2026-09-19 11: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-19 11:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:31: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-19 11: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-19 11: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-19 11:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":189433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":189433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":189433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:31: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-19 11:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188156672001,"66":12537,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188156672001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:02] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188156672001,"power":12537,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":189433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:02] local.INFO: GPS data processed {"connection_id":189433,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:02] local.INFO: Acknowledgment sent {"connection_id":189433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:09] local.INFO: TCP Data received {"connection_id":188100,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:09] local.INFO: Processing buffer {"connection_id":188100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:09] local.INFO: IMEI packet received {"connection_id":188100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:31:10] local.INFO: TCP Data received {"connection_id":188100,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:10] local.INFO: Processing buffer {"connection_id":188100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:31:10] local.INFO: IMEI packet received {"connection_id":188100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":188100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:31:12] local.INFO: TCP Data received {"connection_id":188100,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8401aa0012c91790007d3a700000a014e2d..."} 
[2026-09-19 11:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8401aa0012c91790007d3a700000a014e2d..."} 
[2026-09-19 11:31:12] local.INFO: Processing buffer {"connection_id":188100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8401aa0012c91790007d3a700000a014e2d..."} 
[2026-09-19 11:31:12] local.INFO: Packet analysis {"connection_id":188100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:12] local.INFO: Extracted packet for processing {"connection_id":188100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:12] local.INFO: GPS Element Parsed {"raw_longitude":747731200,"raw_latitude":131311360,"longitude_deg":74.77312,"latitude_deg":13.131136,"altitude":10,"angle":334,"satellites":45,"speed":55,"hex_longitude":"2c917900","hex_latitude":"07d3a700","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188184832001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":432692185268224,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7959408620322099200,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789797604000,"timestamp_ms":1789797604000,"timestamp_seconds":1789797604,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8401aa0"} 
[2026-09-19 11: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-19 11:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:31:12] 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-19 11: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-19 11: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-19 11:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188184832001,"66":28376,"81":206,"9":57344,"24":55,"16":432692185268224,"44":-7959408620322099200},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,9,24,16,44]} 
[2026-09-19 11:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188184832001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-19 11:31:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":432692185268224,"km_value":432692185268.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7959408620322099200,"description":"Unknown IO ID 44"} 
[2026-09-19 11:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188184832001,"power":28376,"unknown_81":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7959408620322099200}} 
[2026-09-19 11:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":188100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:12] local.INFO: GPS data processed {"connection_id":188100,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:12] local.INFO: Acknowledgment sent {"connection_id":188100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:14] local.INFO: TCP Data received {"connection_id":189434,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:14] local.INFO: Processing buffer {"connection_id":189434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:14] local.INFO: IMEI packet received {"connection_id":189434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":189434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:31:15] local.INFO: TCP Data received {"connection_id":188100,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84035f8012c91680007d3c8a0000a014c2d..."} 
[2026-09-19 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84035f8012c91680007d3c8a0000a014c2d..."} 
[2026-09-19 11:31:15] local.INFO: Processing buffer {"connection_id":188100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84035f8012c91680007d3c8a0000a014c2d..."} 
[2026-09-19 11:31:15] local.INFO: Packet analysis {"connection_id":188100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:15] local.INFO: Extracted packet for processing {"connection_id":188100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":747726848,"raw_latitude":131319968,"longitude_deg":74.7726848,"latitude_deg":13.1319968,"altitude":10,"angle":332,"satellites":45,"speed":55,"hex_longitude":"2c916800","hex_latitude":"07d3c8a0","is_valid_coordinates":true} 
[2026-09-19 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188186624001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":433156041736192,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7964334432412303360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789797611000,"timestamp_ms":1789797611000,"timestamp_seconds":1789797611,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84035f8"} 
[2026-09-19 11:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:31:15] 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-19 11:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188186624001,"66":28376,"81":206,"9":57344,"24":55,"16":433156041736192,"44":-7964334432412303360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,9,24,16,44]} 
[2026-09-19 11:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188186624001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":433156041736192,"km_value":433156041736.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7964334432412303360,"description":"Unknown IO ID 44"} 
[2026-09-19 11:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188186624001,"power":28376,"unknown_81":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7964334432412303360}} 
[2026-09-19 11:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":188100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:15] local.INFO: GPS data processed {"connection_id":188100,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:15] local.INFO: Acknowledgment sent {"connection_id":188100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:19] local.INFO: TCP Data received {"connection_id":189434,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:19] local.INFO: Processing buffer {"connection_id":189434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:31:19] local.INFO: IMEI packet received {"connection_id":189434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":189434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:31:20] local.INFO: TCP Data received {"connection_id":189434,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:20] local.INFO: Processing buffer {"connection_id":189434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:20] local.INFO: Packet analysis {"connection_id":189434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:31:20] local.INFO: Extracted packet for processing {"connection_id":189434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:20] 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-19 11:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:31:20] 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-19 11:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":189434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:20] local.INFO: GPS data processed {"connection_id":189434,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:20] local.INFO: Acknowledgment sent {"connection_id":189434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:26] local.INFO: TCP Data received {"connection_id":189434,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:26] local.INFO: Processing buffer {"connection_id":189434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:31:26] local.INFO: Packet analysis {"connection_id":189434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:31:26] local.INFO: Extracted packet for processing {"connection_id":189434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:26] 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-19 11:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:31:26] 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-19 11:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":189434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:26] local.INFO: GPS data processed {"connection_id":189434,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:26] local.INFO: Acknowledgment sent {"connection_id":189434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:45] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:45] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:45] local.INFO: IMEI packet received {"connection_id":186825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":186825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:31:46] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:46] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:46] local.INFO: IMEI packet received {"connection_id":186825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":186825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:31:46] local.INFO: TCP Data received {"connection_id":188100,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8405150012c9155c007d3ea28000b014b2d..."} 
[2026-09-19 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8405150012c9155c007d3ea28000b014b2d..."} 
[2026-09-19 11:31:46] local.INFO: Processing buffer {"connection_id":188100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8405150012c9155c007d3ea28000b014b2d..."} 
[2026-09-19 11:31:46] local.INFO: Packet analysis {"connection_id":188100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:46] local.INFO: Extracted packet for processing {"connection_id":188100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":747722176,"raw_latitude":131328552,"longitude_deg":74.7722176,"latitude_deg":13.1328552,"altitude":11,"angle":331,"satellites":45,"speed":55,"hex_longitude":"2c9155c0","hex_latitude":"07d3ea28","is_valid_coordinates":true} 
[2026-09-19 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188188416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":433628488138752,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7969119507014180864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789797618000,"timestamp_ms":1789797618000,"timestamp_seconds":1789797618,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8405150"} 
[2026-09-19 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:31: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-19 11:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188188416001,"66":28300,"81":206,"9":57344,"24":55,"16":433628488138752,"44":-7969119507014180864},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,9,24,16,44]} 
[2026-09-19 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188188416001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":433628488138752,"km_value":433628488138.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7969119507014180864,"description":"Unknown IO ID 44"} 
[2026-09-19 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188188416001,"power":28300,"unknown_81":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7969119507014180864}} 
[2026-09-19 11:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":188100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:47] local.INFO: GPS data processed {"connection_id":188100,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:47] local.INFO: Acknowledgment sent {"connection_id":188100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:31:51] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:51] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:31:51] local.INFO: IMEI packet received {"connection_id":186825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":186825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:31:52] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83ef5a8012d19bc80071c1290004e002226..."} 
[2026-09-19 11:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83ef5a8012d19bc80071c1290004e002226..."} 
[2026-09-19 11:31:52] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83ef5a8012d19bc80071c1290004e002226..."} 
[2026-09-19 11:31:52] local.INFO: Packet analysis {"connection_id":186825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:31:52] local.INFO: Extracted packet for processing {"connection_id":186825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83e"} 
[2026-09-19 11:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119280272,"longitude_deg":75.6661376,"latitude_deg":11.9280272,"altitude":78,"angle":34,"satellites":38,"speed":0,"hex_longitude":"2d19bc80","hex_latitude":"071c1290","is_valid_coordinates":true} 
[2026-09-19 11:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188162048001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619448028856320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914593906688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797529000,"timestamp_ms":1789797529000,"timestamp_seconds":1789797529,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83ef5a8"} 
[2026-09-19 11:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:31:52] 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-19 11:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 11:31:52] 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-19 11:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:31:52] 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-19 11:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188162048001,"66":12504,"73":206,"83":41984,"24":0,"16":21619448028856320,"45":1854497914593906688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188162048001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:31:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619448028856320,"km_value":21619448028856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914593906688,"description":"Unknown IO ID 45"} 
[2026-09-19 11:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188162048001,"power":12504,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854497914593906688}} 
[2026-09-19 11:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":186825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:31:52] local.INFO: GPS data processed {"connection_id":186825,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:31:52] local.INFO: Acknowledgment sent {"connection_id":186825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:09] local.INFO: TCP Data received {"connection_id":188101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:09] local.INFO: Processing buffer {"connection_id":188101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:09] local.INFO: IMEI packet received {"connection_id":188101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:32:09] local.INFO: TCP Data received {"connection_id":186700,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:09] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:09] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:32:14] local.INFO: TCP Data received {"connection_id":186700,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:14] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:32:14] local.INFO: IMEI packet received {"connection_id":186700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:32:15] local.INFO: TCP Data received {"connection_id":188101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:15] local.INFO: Processing buffer {"connection_id":188101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:32:15] local.INFO: IMEI packet received {"connection_id":188101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":188101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:32:16] local.INFO: TCP Data received {"connection_id":186700,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8406ca8012c9143c007d40bb0000b014b2c..."} 
[2026-09-19 11:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8406ca8012c9143c007d40bb0000b014b2c..."} 
[2026-09-19 11:32:16] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8406ca8012c9143c007d40bb0000b014b2c..."} 
[2026-09-19 11:32:16] local.INFO: Packet analysis {"connection_id":186700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:32:16] local.INFO: Extracted packet for processing {"connection_id":186700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b840"} 
[2026-09-19 11:32:16] local.INFO: GPS Element Parsed {"raw_longitude":747717568,"raw_latitude":131337136,"longitude_deg":74.7717568,"latitude_deg":13.1337136,"altitude":11,"angle":331,"satellites":44,"speed":54,"hex_longitude":"2c9143c0","hex_latitude":"07d40bb0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188190208001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":434096639574016,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7974256425336952832,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797625000,"timestamp_ms":1789797625000,"timestamp_seconds":1789797625,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8406ca8"} 
[2026-09-19 11: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-19 11:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:32: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-19 11: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-19 11: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-19 11:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188190208001,"66":28376,"81":206,"9":57344,"24":54,"16":434096639574016,"44":-7974256425336952832},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,9,24,16,44]} 
[2026-09-19 11:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188190208001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":434096639574016,"km_value":434096639574.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7974256425336952832,"description":"Unknown IO ID 44"} 
[2026-09-19 11:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188190208001,"power":28376,"unknown_81":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7974256425336952832}} 
[2026-09-19 11:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:16] local.INFO: GPS data processed {"connection_id":186700,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:16] local.INFO: Acknowledgment sent {"connection_id":186700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:17] local.INFO: TCP Data received {"connection_id":188101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:17] local.INFO: Processing buffer {"connection_id":188101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:17] local.INFO: Packet analysis {"connection_id":188101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:32:17] local.INFO: Extracted packet for processing {"connection_id":188101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:17] 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-19 11:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:32: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-19 11:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:32:17] 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-19 11:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":188101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:17] local.INFO: GPS data processed {"connection_id":188101,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:17] local.INFO: Acknowledgment sent {"connection_id":188101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:23] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8419588012d19bac0071c1ca00055011426..."} 
[2026-09-19 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8419588012d19bac0071c1ca00055011426..."} 
[2026-09-19 11:32:23] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8419588012d19bac0071c1ca00055011426..."} 
[2026-09-19 11:32:23] local.INFO: Packet analysis {"connection_id":186825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:23] local.INFO: Extracted packet for processing {"connection_id":186825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119282848,"longitude_deg":75.6660928,"latitude_deg":11.9282848,"altitude":85,"angle":276,"satellites":38,"speed":6,"hex_longitude":"2d19bac0","hex_latitude":"071c1ca0","is_valid_coordinates":true} 
[2026-09-19 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188211200001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619628417482752,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070873667584,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797701000,"timestamp_ms":1789797701000,"timestamp_seconds":1789797701,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8419588"} 
[2026-09-19 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:32:23] 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-19 11:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:32:23] 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-19 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188211200001,"66":12711,"73":206,"83":41984,"24":6,"16":21619628417482752,"45":1854146070873667584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188211200001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619628417482752,"km_value":21619628417482.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070873667584,"description":"Unknown IO ID 45"} 
[2026-09-19 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188211200001,"power":12711,"unknown_73":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1854146070873667584}} 
[2026-09-19 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":186825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:23] local.INFO: GPS data processed {"connection_id":186825,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:23] local.INFO: Acknowledgment sent {"connection_id":186825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:46] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:46] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:46] local.INFO: IMEI packet received {"connection_id":186701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":186701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:32:47] local.INFO: TCP Data received {"connection_id":186700,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b841bc98012c91660007d54310001800182d..."} 
[2026-09-19 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b841bc98012c91660007d54310001800182d..."} 
[2026-09-19 11:32:47] local.INFO: Processing buffer {"connection_id":186700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b841bc98012c91660007d54310001800182d..."} 
[2026-09-19 11:32:47] local.INFO: Packet analysis {"connection_id":186700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:47] local.INFO: Extracted packet for processing {"connection_id":186700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":747726336,"raw_latitude":131416848,"longitude_deg":74.7726336,"latitude_deg":13.1416848,"altitude":24,"angle":24,"satellites":45,"speed":32,"hex_longitude":"2c916600","hex_latitude":"07d54310","is_valid_coordinates":true} 
[2026-09-19 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-19 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188211968001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":438279937720320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7973060156664637440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797711000,"timestamp_ms":1789797711000,"timestamp_seconds":1789797711,"priority":1,"record_length":96,"hex_timestamp":"000001a0b841bc98"} 
[2026-09-19 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-19 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:32:47] 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-19 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-19 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-19 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188211968001,"66":28354,"83":206,"9":57344,"24":32,"16":438279937720320,"44":-7973060156664637440},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-19 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188211968001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":438279937720320,"km_value":438279937720.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7973060156664637440,"description":"Unknown IO ID 44"} 
[2026-09-19 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188211968001,"power":28354,"unknown_83":206,"unknown_9":57344,"ignition":32,"odometer":null,"unknown_44":-7973060156664637440}} 
[2026-09-19 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":186700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:47] local.INFO: GPS data processed {"connection_id":186700,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:47] local.INFO: Acknowledgment sent {"connection_id":186700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:48] local.INFO: TCP Data received {"connection_id":188101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:48] local.INFO: Processing buffer {"connection_id":188101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:32:48] local.INFO: Packet analysis {"connection_id":188101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:32:48] local.INFO: Extracted packet for processing {"connection_id":188101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11: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-19 11:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:32:48] 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-19 11:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":188101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:48] local.INFO: GPS data processed {"connection_id":188101,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:48] local.INFO: Acknowledgment sent {"connection_id":188101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:32:51] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:51] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:32:51] local.INFO: IMEI packet received {"connection_id":186701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":186701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:32:52] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8419970012d19ba00071c1cc80055012326..."} 
[2026-09-19 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8419970012d19ba00071c1cc80055012326..."} 
[2026-09-19 11:32:52] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8419970012d19ba00071c1cc80055012326..."} 
[2026-09-19 11:32:52] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:52] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119282888,"longitude_deg":75.6660736,"latitude_deg":11.9282888,"altitude":85,"angle":291,"satellites":38,"speed":5,"hex_longitude":"2d19ba00","hex_latitude":"071c1cc8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188211456001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619632712450048,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333385322496,"note":"Value kept but may cause issues"} 
[2026-09-19 11:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797702000,"timestamp_ms":1789797702000,"timestamp_seconds":1789797702,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8419970"} 
[2026-09-19 11: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-19 11:32:52] 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-19 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 11:32:52] 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-19 11: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-19 11: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-19 11:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:32:52] 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-19 11:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188211456001,"66":12711,"73":206,"83":41984,"24":5,"16":21619632712450048,"45":1854005333385322496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188211456001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:32:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619632712450048,"km_value":21619632712450.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333385322496,"description":"Unknown IO ID 45"} 
[2026-09-19 11:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188211456001,"power":12711,"unknown_73":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1854005333385322496}} 
[2026-09-19 11:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:32:52] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:32:52] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:10] local.INFO: TCP Data received {"connection_id":186703,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:10] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:10] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:33:11] local.INFO: TCP Data received {"connection_id":186703,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:11] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:11] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:33:11] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:11] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:11] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:33:15] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:15] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:33:15] local.INFO: IMEI packet received {"connection_id":186702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:33:16] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:16] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:16] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:16] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:16] 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-19 11:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:33: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33: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-19 11:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:16] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:16] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:20] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:20] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:20] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:20] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:20] 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-19 11:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33:20] 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-19 11:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:20] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:20] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:22] local.INFO: TCP Data received {"connection_id":186703,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:22] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:33:22] local.INFO: IMEI packet received {"connection_id":186703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":186703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:33:23] local.INFO: TCP Data received {"connection_id":186701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8419d58012d19b9c0071c1d080055013126..."} 
[2026-09-19 11:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8419d58012d19b9c0071c1d080055013126..."} 
[2026-09-19 11:33:23] local.INFO: Processing buffer {"connection_id":186701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8419d58012d19b9c0071c1d080055013126..."} 
[2026-09-19 11:33:23] local.INFO: Packet analysis {"connection_id":186701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:23] local.INFO: Extracted packet for processing {"connection_id":186701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119282952,"longitude_deg":75.6660672,"latitude_deg":11.9282952,"altitude":85,"angle":305,"satellites":38,"speed":4,"hex_longitude":"2d19b9c0","hex_latitude":"071c1d08","is_valid_coordinates":true} 
[2026-09-19 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188211712001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619637007417344,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227152799744,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797703000,"timestamp_ms":1789797703000,"timestamp_seconds":1789797703,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8419d58"} 
[2026-09-19 11:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:23] 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-19 11:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:33:23] 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-19 11:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188211712001,"66":12689,"73":206,"83":41984,"24":4,"16":21619637007417344,"45":1853794227152799744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188211712001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619637007417344,"km_value":21619637007417.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227152799744,"description":"Unknown IO ID 45"} 
[2026-09-19 11:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188211712001,"power":12689,"unknown_73":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1853794227152799744}} 
[2026-09-19 11:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:23] local.INFO: GPS data processed {"connection_id":186701,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:23] local.INFO: Acknowledgment sent {"connection_id":186701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:23] local.INFO: TCP Data received {"connection_id":186703,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b841d408012c916d4007d556b80018000d2e..."} 
[2026-09-19 11:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b841d408012c916d4007d556b80018000d2e..."} 
[2026-09-19 11:33:23] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b841d408012c916d4007d556b80018000d2e..."} 
[2026-09-19 11:33:23] local.INFO: Packet analysis {"connection_id":186703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:23] local.INFO: Extracted packet for processing {"connection_id":186703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":747728192,"raw_latitude":131421880,"longitude_deg":74.7728192,"latitude_deg":13.142188,"altitude":24,"angle":13,"satellites":46,"speed":37,"hex_longitude":"2c916d40","hex_latitude":"07d556b8","is_valid_coordinates":true} 
[2026-09-19 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188214016001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":438541930725376,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7969682456942800896,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797717000,"timestamp_ms":1789797717000,"timestamp_seconds":1789797717,"priority":1,"record_length":96,"hex_timestamp":"000001a0b841d408"} 
[2026-09-19 11:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:23] 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-19 11:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188214016001,"66":28398,"83":206,"9":57344,"24":37,"16":438541930725376,"44":-7969682456942800896},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-19 11:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188214016001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":438541930725376,"km_value":438541930725.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7969682456942800896,"description":"Unknown IO ID 44"} 
[2026-09-19 11:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188214016001,"power":28398,"unknown_83":206,"unknown_9":57344,"ignition":37,"odometer":null,"unknown_44":-7969682456942800896}} 
[2026-09-19 11:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:23] local.INFO: GPS data processed {"connection_id":186703,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:23] local.INFO: Acknowledgment sent {"connection_id":186703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:25] local.INFO: TCP Data received {"connection_id":186703,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b841eb78012c91700007d56e28001700002e..."} 
[2026-09-19 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b841eb78012c91700007d56e28001700002e..."} 
[2026-09-19 11:33:25] local.INFO: Processing buffer {"connection_id":186703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b841eb78012c91700007d56e28001700002e..."} 
[2026-09-19 11:33:25] local.INFO: Packet analysis {"connection_id":186703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:25] local.INFO: Extracted packet for processing {"connection_id":186703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":747728896,"raw_latitude":131427880,"longitude_deg":74.7728896,"latitude_deg":13.142788,"altitude":23,"angle":0,"satellites":46,"speed":41,"hex_longitude":"2c917000","hex_latitude":"07d56e28","is_valid_coordinates":true} 
[2026-09-19 11:33: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-19 11:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188215552001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":438833988501504,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7967641763360360448,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789797723000,"timestamp_ms":1789797723000,"timestamp_seconds":1789797723,"priority":1,"record_length":96,"hex_timestamp":"000001a0b841eb78"} 
[2026-09-19 11:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:33: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:25] 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-19 11:33: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-19 11:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188215552001,"66":28234,"83":206,"9":57344,"24":41,"16":438833988501504,"44":-7967641763360360448},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-19 11:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188215552001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-19 11:33:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":438833988501504,"km_value":438833988501.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7967641763360360448,"description":"Unknown IO ID 44"} 
[2026-09-19 11:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188215552001,"power":28234,"unknown_83":206,"unknown_9":57344,"ignition":41,"odometer":null,"unknown_44":-7967641763360360448}} 
[2026-09-19 11:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":186703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:26] local.INFO: GPS data processed {"connection_id":186703,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:26] local.INFO: Acknowledgment sent {"connection_id":186703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:46] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:33:46] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:46] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:33:51] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:51] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:33:51] local.INFO: IMEI packet received {"connection_id":186704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":186704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:33:51] local.INFO: TCP Data received {"connection_id":186702,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:51] local.INFO: Processing buffer {"connection_id":186702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:33:51] local.INFO: Packet analysis {"connection_id":186702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:51] local.INFO: Extracted packet for processing {"connection_id":186702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:51] 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-19 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:33:51] 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-19 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":186702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:51] local.INFO: GPS data processed {"connection_id":186702,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:51] local.INFO: Acknowledgment sent {"connection_id":186702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:33:52] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b841a910012d19b940071c1d500055014228..."} 
[2026-09-19 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b841a910012d19b940071c1d500055014228..."} 
[2026-09-19 11:33:52] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b841a910012d19b940071c1d500055014228..."} 
[2026-09-19 11:33:52] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:52] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119283024,"longitude_deg":75.6660544,"latitude_deg":11.9283024,"altitude":85,"angle":322,"satellites":40,"speed":2,"hex_longitude":"2d19b940","hex_latitude":"071c1d50","is_valid_coordinates":true} 
[2026-09-19 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-19 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188211968001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619645597351936,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858408638464,"note":"Value kept but may cause issues"} 
[2026-09-19 11:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797706000,"timestamp_ms":1789797706000,"timestamp_seconds":1789797706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b841a910"} 
[2026-09-19 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-19 11:33:52] 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-19 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 11:33:52] 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-19 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-19 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-19 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:33:52] 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-19 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188211968001,"66":12645,"73":206,"83":41984,"24":2,"16":21619645597351936,"45":1853723858408638464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188211968001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:33:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619645597351936,"km_value":21619645597351.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858408638464,"description":"Unknown IO ID 45"} 
[2026-09-19 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188211968001,"power":12645,"unknown_73":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1853723858408638464}} 
[2026-09-19 11:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:33:52] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:33:52] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:09] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:09] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:09] local.INFO: IMEI packet received {"connection_id":188102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":188102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:34:09] local.INFO: TCP Data received {"connection_id":186826,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:09] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:09] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:34:12] local.INFO: TCP Data received {"connection_id":186826,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:12] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:34:12] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:34:13] local.INFO: TCP Data received {"connection_id":186826,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8431070012c90f8c007d6d580000901352c..."} 
[2026-09-19 11:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8431070012c90f8c007d6d580000901352c..."} 
[2026-09-19 11:34:13] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8431070012c90f8c007d6d580000901352c..."} 
[2026-09-19 11:34:13] local.INFO: Packet analysis {"connection_id":186826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:13] local.INFO: Extracted packet for processing {"connection_id":186826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:13] local.INFO: GPS Element Parsed {"raw_longitude":747698368,"raw_latitude":131519872,"longitude_deg":74.7698368,"latitude_deg":13.1519872,"altitude":9,"angle":309,"satellites":44,"speed":52,"hex_longitude":"2c90f8c0","hex_latitude":"07d6d580","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188234496001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":443734546186240,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7992552298775769088,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789797798000,"timestamp_ms":1789797798000,"timestamp_seconds":1789797798,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8431070"} 
[2026-09-19 11: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-19 11:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:13] 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-19 11: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-19 11: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-19 11:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188234496001,"66":28278,"83":206,"9":57344,"24":52,"16":443734546186240,"44":-7992552298775769088},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-19 11:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188234496001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-19 11:34:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":443734546186240,"km_value":443734546186.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7992552298775769088,"description":"Unknown IO ID 44"} 
[2026-09-19 11:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188234496001,"power":28278,"unknown_83":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7992552298775769088}} 
[2026-09-19 11:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":186826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:13] local.INFO: GPS data processed {"connection_id":186826,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:13] local.INFO: Acknowledgment sent {"connection_id":186826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:14] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:14] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:34:14] local.INFO: IMEI packet received {"connection_id":188102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:34:16] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:16] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:16] local.INFO: Packet analysis {"connection_id":188102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:34:16] local.INFO: Extracted packet for processing {"connection_id":188102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:16] 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-19 11:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:34: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:34: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-19 11:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":188102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:16] local.INFO: GPS data processed {"connection_id":188102,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:16] local.INFO: Acknowledgment sent {"connection_id":188102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:23] local.INFO: TCP Data received {"connection_id":186704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b841b0e0012d19b900071c1e100055000128..."} 
[2026-09-19 11:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b841b0e0012d19b900071c1e100055000128..."} 
[2026-09-19 11:34:23] local.INFO: Processing buffer {"connection_id":186704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b841b0e0012d19b900071c1e100055000128..."} 
[2026-09-19 11:34:23] local.INFO: Packet analysis {"connection_id":186704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:34:23] local.INFO: Extracted packet for processing {"connection_id":186704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b841"} 
[2026-09-19 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119283216,"longitude_deg":75.666048,"latitude_deg":11.9283216,"altitude":85,"angle":1,"satellites":40,"speed":5,"hex_longitude":"2d19b900","hex_latitude":"071c1e10","is_valid_coordinates":true} 
[2026-09-19 11:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188212736001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619658482253824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120920301568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797708000,"timestamp_ms":1789797708000,"timestamp_seconds":1789797708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b841b0e0"} 
[2026-09-19 11:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:23] 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-19 11:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:23] 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-19 11:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188212736001,"66":12645,"73":206,"83":41984,"24":5,"16":21619658482253824,"45":1853583120920301568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188212736001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619658482253824,"km_value":21619658482253.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120920301568,"description":"Unknown IO ID 45"} 
[2026-09-19 11:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188212736001,"power":12645,"unknown_73":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1853583120920301568}} 
[2026-09-19 11:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":186704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:23] local.INFO: GPS data processed {"connection_id":186704,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:23] local.INFO: Acknowledgment sent {"connection_id":186704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:45] local.INFO: TCP Data received {"connection_id":186826,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8432fb0012c90d88007d6ec580009012d2b..."} 
[2026-09-19 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8432fb0012c90d88007d6ec580009012d2b..."} 
[2026-09-19 11:34:45] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8432fb0012c90d88007d6ec580009012d2b..."} 
[2026-09-19 11:34:45] local.INFO: Packet analysis {"connection_id":186826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:45] local.INFO: Extracted packet for processing {"connection_id":186826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:45] local.INFO: GPS Element Parsed {"raw_longitude":747690112,"raw_latitude":131525720,"longitude_deg":74.7690112,"latitude_deg":13.152572,"altitude":9,"angle":301,"satellites":43,"speed":48,"hex_longitude":"2c90d880","hex_latitude":"07d6ec58","is_valid_coordinates":true} 
[2026-09-19 11:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188236288001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":444215582523392,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8000433598122065920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789797806000,"timestamp_ms":1789797806000,"timestamp_seconds":1789797806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8432fb0"} 
[2026-09-19 11:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:45] 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-19 11:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188236288001,"66":28300,"83":206,"9":57344,"24":48,"16":444215582523392,"44":-8000433598122065920},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-19 11:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188236288001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-19 11:34:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":444215582523392,"km_value":444215582523.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8000433598122065920,"description":"Unknown IO ID 44"} 
[2026-09-19 11:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188236288001,"power":28300,"unknown_83":206,"unknown_9":57344,"ignition":48,"odometer":null,"unknown_44":-8000433598122065920}} 
[2026-09-19 11:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":186826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:45] local.INFO: GPS data processed {"connection_id":186826,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:45] local.INFO: Acknowledgment sent {"connection_id":186826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:46] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:46] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:46] local.INFO: IMEI packet received {"connection_id":189435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":189435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:34:47] local.INFO: TCP Data received {"connection_id":188102,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:47] local.INFO: Processing buffer {"connection_id":188102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:34:47] local.INFO: Packet analysis {"connection_id":188102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:34:47] local.INFO: Extracted packet for processing {"connection_id":188102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34: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-19 11:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:34: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:34: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-19 11: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-19 11: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-19 11:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:34: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-19 11:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":188102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:47] local.INFO: GPS data processed {"connection_id":188102,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:47] local.INFO: Acknowledgment sent {"connection_id":188102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:49] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:49] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:49] local.INFO: IMEI packet received {"connection_id":189435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":189435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:34:51] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:51] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:34:51] local.INFO: IMEI packet received {"connection_id":189435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":189435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:34:52] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8438988012d19b9c0071c23300053013b22..."} 
[2026-09-19 11:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8438988012d19b9c0071c23300053013b22..."} 
[2026-09-19 11:34:52] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8438988012d19b9c0071c23300053013b22..."} 
[2026-09-19 11:34:52] local.INFO: Packet analysis {"connection_id":189435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:52] local.INFO: Extracted packet for processing {"connection_id":189435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119284528,"longitude_deg":75.6660672,"latitude_deg":11.9284528,"altitude":83,"angle":315,"satellites":34,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"071c2330","is_valid_coordinates":true} 
[2026-09-19 11:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188238848001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619735791665152,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858409041920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789797829000,"timestamp_ms":1789797829000,"timestamp_seconds":1789797829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8438988"} 
[2026-09-19 11:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:34:52] 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-19 11:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:52] 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-19 11:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188238848001,"66":14113,"73":206,"83":41984,"24":0,"16":21619735791665152,"45":1853723858409041920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188238848001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619735791665152,"km_value":21619735791665.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858409041920,"description":"Unknown IO ID 45"} 
[2026-09-19 11:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188238848001,"power":14113,"unknown_73":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1853723858409041920}} 
[2026-09-19 11:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":189435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:52] local.INFO: GPS data processed {"connection_id":189435,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:52] local.INFO: Acknowledgment sent {"connection_id":189435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:34:57] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b843b480012d19b980071c23a00053001f24..."} 
[2026-09-19 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b843b480012d19b980071c23a00053001f24..."} 
[2026-09-19 11:34:57] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b843b480012d19b980071c23a00053001f24..."} 
[2026-09-19 11:34:57] local.INFO: Packet analysis {"connection_id":189435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:57] local.INFO: Extracted packet for processing {"connection_id":189435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119284640,"longitude_deg":75.6660608,"latitude_deg":11.928464,"altitude":83,"angle":31,"satellites":36,"speed":2,"hex_longitude":"2d19b980","hex_latitude":"071c23a0","is_valid_coordinates":true} 
[2026-09-19 11:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188244224001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21619744381599744,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858409041920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789797840000,"timestamp_ms":1789797840000,"timestamp_seconds":1789797840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b843b480"} 
[2026-09-19 11:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-19 11:34:57] 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-19 11:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:34:57] 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-19 11:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188244224001,"66":13928,"73":206,"83":41984,"24":2,"16":21619744381599744,"45":1853723858409041920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188244224001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:34:57] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21619744381599744,"km_value":21619744381599.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858409041920,"description":"Unknown IO ID 45"} 
[2026-09-19 11:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188244224001,"power":13928,"unknown_73":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1853723858409041920}} 
[2026-09-19 11:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":189435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:34:57] local.INFO: GPS data processed {"connection_id":189435,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:34:57] local.INFO: Acknowledgment sent {"connection_id":189435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:35:09] local.INFO: TCP Data received {"connection_id":189436,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:09] local.INFO: Processing buffer {"connection_id":189436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:09] local.INFO: IMEI packet received {"connection_id":189436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:35:09] local.INFO: TCP Data received {"connection_id":189437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:09] local.INFO: Processing buffer {"connection_id":189437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:09] local.INFO: IMEI packet received {"connection_id":189437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:35:13] local.INFO: TCP Data received {"connection_id":189436,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:13] local.INFO: Processing buffer {"connection_id":189436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:35:13] local.INFO: IMEI packet received {"connection_id":189436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":189436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:35:14] local.INFO: TCP Data received {"connection_id":189437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:14] local.INFO: Processing buffer {"connection_id":189437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:35:14] local.INFO: IMEI packet received {"connection_id":189437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":189437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:35:14] local.INFO: TCP Data received {"connection_id":189436,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8434ef0012c90b8c007d702f8000801342b..."} 
[2026-09-19 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8434ef0012c90b8c007d702f8000801342b..."} 
[2026-09-19 11:35:14] local.INFO: Processing buffer {"connection_id":189436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8434ef0012c90b8c007d702f8000801342b..."} 
[2026-09-19 11:35:14] local.INFO: Packet analysis {"connection_id":189436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:35:14] local.INFO: Extracted packet for processing {"connection_id":189436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b843"} 
[2026-09-19 11:35:14] local.INFO: GPS Element Parsed {"raw_longitude":747681984,"raw_latitude":131531512,"longitude_deg":74.7681984,"latitude_deg":13.1531512,"altitude":8,"angle":308,"satellites":43,"speed":50,"hex_longitude":"2c90b8c0","hex_latitude":"07d702f8","is_valid_coordinates":true} 
[2026-09-19 11:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188238336001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":444692323893248,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8009511166119487488,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:14] 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-19 11:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789797814000,"timestamp_ms":1789797814000,"timestamp_seconds":1789797814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8434ef0"} 
[2026-09-19 11:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:35:14] 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-19 11:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188238336001,"66":28256,"101":206,"9":57344,"24":50,"16":444692323893248,"44":-8009511166119487488},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-19 11:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188238336001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:35:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:35:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":444692323893248,"km_value":444692323893.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8009511166119487488,"description":"Unknown IO ID 44"} 
[2026-09-19 11:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188238336001,"power":28256,"unknown_101":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-8009511166119487488}} 
[2026-09-19 11:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:35:15] local.INFO: GPS data processed {"connection_id":189436,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:35:15] local.INFO: Acknowledgment sent {"connection_id":189436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:35:16] local.INFO: TCP Data received {"connection_id":189437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:16] local.INFO: Processing buffer {"connection_id":189437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b83fe008012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:16] local.INFO: Packet analysis {"connection_id":189437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:35:16] local.INFO: Extracted packet for processing {"connection_id":189437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b83f"} 
[2026-09-19 11:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188105728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:16] 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-19 11:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797589000,"timestamp_ms":1789797589000,"timestamp_seconds":1789797589,"priority":1,"record_length":96,"hex_timestamp":"000001a0b83fe008"} 
[2026-09-19 11: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-19 11:35: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:35: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-19 11:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188105728001,"66":25712,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188105728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188105728001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":189437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:35:16] local.INFO: GPS data processed {"connection_id":189437,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:35:16] local.INFO: Acknowledgment sent {"connection_id":189437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:35:32] local.INFO: TCP Data received {"connection_id":189435,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8444120012d19c640071c52400059001f26..."} 
[2026-09-19 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8444120012d19c640071c52400059001f26..."} 
[2026-09-19 11:35:32] local.INFO: Processing buffer {"connection_id":189435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8444120012d19c640071c52400059001f26..."} 
[2026-09-19 11:35:32] local.INFO: Packet analysis {"connection_id":189435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:32] local.INFO: Extracted packet for processing {"connection_id":189435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119296576,"longitude_deg":75.6663872,"latitude_deg":11.9296576,"altitude":89,"angle":31,"satellites":38,"speed":15,"hex_longitude":"2d19c640","hex_latitude":"071c5240","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188254976001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21620397216628736,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856116395713624064,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789797876000,"timestamp_ms":1789797876000,"timestamp_seconds":1789797876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8444120"} 
[2026-09-19 11: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-19 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 11:35:32] 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-19 11: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-19 11: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-19 11:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:35: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-19 11:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188254976001,"66":14004,"73":206,"83":41984,"24":15,"16":21620397216628736,"45":1856116395713624064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-09-19 11:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188254976001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:35:32] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-19 11:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21620397216628736,"km_value":21620397216628.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856116395713624064,"description":"Unknown IO ID 45"} 
[2026-09-19 11:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188254976001,"power":14004,"unknown_73":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1856116395713624064}} 
[2026-09-19 11:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":189435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:35:32] local.INFO: GPS data processed {"connection_id":189435,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:35:32] local.INFO: Acknowledgment sent {"connection_id":189435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:35:46] local.INFO: TCP Data received {"connection_id":189436,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84473e8012c8fdcc007d85e60000b015c2d..."} 
[2026-09-19 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84473e8012c8fdcc007d85e60000b015c2d..."} 
[2026-09-19 11:35:46] local.INFO: Processing buffer {"connection_id":189436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84473e8012c8fdcc007d85e60000b015c2d..."} 
[2026-09-19 11:35:46] local.INFO: Packet analysis {"connection_id":189436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:46] local.INFO: Extracted packet for processing {"connection_id":189436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":747625664,"raw_latitude":131620448,"longitude_deg":74.7625664,"latitude_deg":13.1620448,"altitude":11,"angle":348,"satellites":45,"speed":57,"hex_longitude":"2c8fdcc0","hex_latitude":"07d85e60","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188257792001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":449889234321408,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8078120691671023616,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789797889000,"timestamp_ms":1789797889000,"timestamp_seconds":1789797889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84473e8"} 
[2026-09-19 11: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-19 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:35:46] 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-19 11: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-19 11: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-19 11:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188257792001,"66":27984,"103":206,"9":57344,"24":57,"16":449889234321408,"44":-8078120691671023616},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188257792001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:35:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:35:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":449889234321408,"km_value":449889234321.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8078120691671023616,"description":"Unknown IO ID 44"} 
[2026-09-19 11:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188257792001,"power":27984,"unknown_103":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-8078120691671023616}} 
[2026-09-19 11:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":189436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:35:46] local.INFO: GPS data processed {"connection_id":189436,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:35:46] local.INFO: Acknowledgment sent {"connection_id":189436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:35:49] local.INFO: TCP Data received {"connection_id":189437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:49] local.INFO: Processing buffer {"connection_id":189437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:35:49] local.INFO: Packet analysis {"connection_id":189437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:49] local.INFO: Extracted packet for processing {"connection_id":189437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:35: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-19 11:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:35: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-19 11:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:35: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-19 11:35: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:35:49] 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-19 11:35: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-19 11:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":189437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:35:49] local.INFO: GPS data processed {"connection_id":189437,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:35:49] local.INFO: Acknowledgment sent {"connection_id":189437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:36:09] local.INFO: TCP Data received {"connection_id":186705,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:09] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:09] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:36:11] local.INFO: TCP Data received {"connection_id":189438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:11] local.INFO: Processing buffer {"connection_id":189438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:11] local.INFO: IMEI packet received {"connection_id":189438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":189438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:36:15] local.INFO: TCP Data received {"connection_id":186705,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:15] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:36:15] local.INFO: IMEI packet received {"connection_id":186705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":186705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:36:16] local.INFO: TCP Data received {"connection_id":186705,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8448f40012c8fd54007d88588000b015d2e..."} 
[2026-09-19 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8448f40012c8fd54007d88588000b015d2e..."} 
[2026-09-19 11:36:16] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8448f40012c8fd54007d88588000b015d2e..."} 
[2026-09-19 11:36:16] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:16] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:16] local.INFO: GPS Element Parsed {"raw_longitude":747623744,"raw_latitude":131630472,"longitude_deg":74.7623744,"latitude_deg":13.1630472,"altitude":11,"angle":349,"satellites":46,"speed":58,"hex_longitude":"2c8fd540","hex_latitude":"07d88588","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259584001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":450383155560448,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8080372491482144768,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797896000,"timestamp_ms":1789797896000,"timestamp_seconds":1789797896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8448f40"} 
[2026-09-19 11: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-19 11:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 11:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259584001,"66":28300,"103":206,"9":57344,"24":58,"16":450383155560448,"44":-8080372491482144768},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259584001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:36:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:36:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":450383155560448,"km_value":450383155560.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:36:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8080372491482144768,"description":"Unknown IO ID 44"} 
[2026-09-19 11:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259584001,"power":28300,"unknown_103":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8080372491482144768}} 
[2026-09-19 11:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:36:16] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:36:16] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:36:23] local.INFO: TCP Data received {"connection_id":189438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:23] local.INFO: Processing buffer {"connection_id":189438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:36:23] local.INFO: IMEI packet received {"connection_id":189438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":189438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:36:24] local.INFO: TCP Data received {"connection_id":189438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:24] local.INFO: Processing buffer {"connection_id":189438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:24] local.INFO: Packet analysis {"connection_id":189438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:24] local.INFO: Extracted packet for processing {"connection_id":189438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:24] 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-19 11:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:36:24] 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-19 11:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:36:24] 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-19 11:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":189438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:36:24] local.INFO: GPS data processed {"connection_id":189438,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:36:24] local.INFO: Acknowledgment sent {"connection_id":189438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:36:25] local.INFO: TCP Data received {"connection_id":189438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:25] local.INFO: Processing buffer {"connection_id":189438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:36:25] local.INFO: Packet analysis {"connection_id":189438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:25] local.INFO: Extracted packet for processing {"connection_id":189438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:25] 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-19 11:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:36:25] 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-19 11:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:36:25] 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-19 11:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":189438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:36:25] local.INFO: GPS data processed {"connection_id":189438,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:36:25] local.INFO: Acknowledgment sent {"connection_id":189438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:36:48] local.INFO: TCP Data received {"connection_id":186705,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b844aa98012c8fccc007d8ac98000c015b2e..."} 
[2026-09-19 11:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b844aa98012c8fccc007d8ac98000c015b2e..."} 
[2026-09-19 11:36:48] local.INFO: Processing buffer {"connection_id":186705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b844aa98012c8fccc007d8ac98000c015b2e..."} 
[2026-09-19 11:36:48] local.INFO: Packet analysis {"connection_id":186705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:48] local.INFO: Extracted packet for processing {"connection_id":186705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:36:48] local.INFO: GPS Element Parsed {"raw_longitude":747621568,"raw_latitude":131640472,"longitude_deg":74.7621568,"latitude_deg":13.1640472,"altitude":12,"angle":347,"satellites":46,"speed":58,"hex_longitude":"2c8fccc0","hex_latitude":"07d8ac98","is_valid_coordinates":true} 
[2026-09-19 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-19 11:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188261376001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":450877076799488,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8082483553804908544,"note":"Value kept but may cause issues"} 
[2026-09-19 11:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797903000,"timestamp_ms":1789797903000,"timestamp_seconds":1789797903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b844aa98"} 
[2026-09-19 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-19 11:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:36: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-19 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-19 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-19 11:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188261376001,"66":28278,"103":206,"9":57344,"24":58,"16":450877076799488,"44":-8082483553804908544},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188261376001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:36:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:36:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":450877076799488,"km_value":450877076799.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8082483553804908544,"description":"Unknown IO ID 44"} 
[2026-09-19 11:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188261376001,"power":28278,"unknown_103":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8082483553804908544}} 
[2026-09-19 11:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:36:48] local.INFO: GPS data processed {"connection_id":186705,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:36:48] local.INFO: Acknowledgment sent {"connection_id":186705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:37:09] local.INFO: TCP Data received {"connection_id":189440,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:09] local.INFO: Processing buffer {"connection_id":189440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:09] local.INFO: IMEI packet received {"connection_id":189440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":189440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:37:10] local.INFO: TCP Data received {"connection_id":189439,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:10] local.INFO: Processing buffer {"connection_id":189439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:10] local.INFO: IMEI packet received {"connection_id":189439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":189439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:37:10] local.INFO: TCP Data received {"connection_id":189440,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:10] local.INFO: Processing buffer {"connection_id":189440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:10] local.INFO: IMEI packet received {"connection_id":189440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":189440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:37:15] local.INFO: TCP Data received {"connection_id":189440,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:15] local.INFO: Processing buffer {"connection_id":189440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:37:15] local.INFO: IMEI packet received {"connection_id":189440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":189440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:37:15] local.INFO: TCP Data received {"connection_id":189439,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:15] local.INFO: Processing buffer {"connection_id":189439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:37:15] local.INFO: IMEI packet received {"connection_id":189439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":189439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:37:16] local.INFO: TCP Data received {"connection_id":189440,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b845cf90012c8f790007da4e88000c01532a..."} 
[2026-09-19 11:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b845cf90012c8f790007da4e88000c01532a..."} 
[2026-09-19 11:37:16] local.INFO: Processing buffer {"connection_id":189440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b845cf90012c8f790007da4e88000c01532a..."} 
[2026-09-19 11:37:16] local.INFO: Packet analysis {"connection_id":189440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b845"} 
[2026-09-19 11:37:16] local.INFO: Extracted packet for processing {"connection_id":189440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b845"} 
[2026-09-19 11:37:16] local.INFO: GPS Element Parsed {"raw_longitude":747600128,"raw_latitude":131747464,"longitude_deg":74.7600128,"latitude_deg":13.1747464,"altitude":12,"angle":339,"satellites":42,"speed":58,"hex_longitude":"2c8f7900","hex_latitude":"07da4e88","is_valid_coordinates":true} 
[2026-09-19 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188280576001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":456189951344640,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8104790445681760256,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797978000,"timestamp_ms":1789797978000,"timestamp_seconds":1789797978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b845cf90"} 
[2026-09-19 11:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:37: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-19 11:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188280576001,"66":28376,"103":206,"9":57344,"24":58,"16":456189951344640,"44":-8104790445681760256},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188280576001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":456189951344640,"km_value":456189951344.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8104790445681760256,"description":"Unknown IO ID 44"} 
[2026-09-19 11:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188280576001,"power":28376,"unknown_103":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8104790445681760256}} 
[2026-09-19 11:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":189440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:37:16] local.INFO: GPS data processed {"connection_id":189440,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:37:16] local.INFO: Acknowledgment sent {"connection_id":189440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:37:16] local.INFO: TCP Data received {"connection_id":189439,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:16] local.INFO: Processing buffer {"connection_id":189439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:16] local.INFO: Packet analysis {"connection_id":189439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:37:16] local.INFO: Extracted packet for processing {"connection_id":189439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:16] 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-19 11:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:37: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-19 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:37:16] 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-19 11:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:37: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-19 11:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":189439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:37:16] local.INFO: GPS data processed {"connection_id":189439,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:37:16] local.INFO: Acknowledgment sent {"connection_id":189439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:37:26] local.INFO: TCP Data received {"connection_id":189441,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:26] local.INFO: Processing buffer {"connection_id":189441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:26] local.INFO: IMEI packet received {"connection_id":189441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":189441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:37:47] local.INFO: TCP Data received {"connection_id":189440,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b845eae8012c8f6a8007da7378000d01532c..."} 
[2026-09-19 11:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b845eae8012c8f6a8007da7378000d01532c..."} 
[2026-09-19 11:37:47] local.INFO: Processing buffer {"connection_id":189440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b845eae8012c8f6a8007da7378000d01532c..."} 
[2026-09-19 11:37:47] local.INFO: Packet analysis {"connection_id":189440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b845"} 
[2026-09-19 11:37:47] local.INFO: Extracted packet for processing {"connection_id":189440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b845"} 
[2026-09-19 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":747596416,"raw_latitude":131756920,"longitude_deg":74.7596416,"latitude_deg":13.175692,"altitude":13,"angle":339,"satellites":44,"speed":57,"hex_longitude":"2c8f6a80","hex_latitude":"07da7378","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188282368001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":456679577616384,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8108449620376516608,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789797985000,"timestamp_ms":1789797985000,"timestamp_seconds":1789797985,"priority":1,"record_length":96,"hex_timestamp":"000001a0b845eae8"} 
[2026-09-19 11: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-19 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:37: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-19 11: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-19 11: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-19 11:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188282368001,"66":28256,"103":206,"9":57344,"24":57,"16":456679577616384,"44":-8108449620376516608},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188282368001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:37:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:37:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":456679577616384,"km_value":456679577616.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8108449620376516608,"description":"Unknown IO ID 44"} 
[2026-09-19 11:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188282368001,"power":28256,"unknown_103":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-8108449620376516608}} 
[2026-09-19 11:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":189440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:37:48] local.INFO: GPS data processed {"connection_id":189440,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:37:48] local.INFO: Acknowledgment sent {"connection_id":189440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:37:48] local.INFO: TCP Data received {"connection_id":189439,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:48] local.INFO: Processing buffer {"connection_id":189439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:37:48] local.INFO: Packet analysis {"connection_id":189439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:37:48] local.INFO: Extracted packet for processing {"connection_id":189439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:37: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-19 11:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11: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-19 11:37: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-19 11: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:37: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-19 11: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-19 11: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-19 11:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:37: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-19 11:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":189439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:37:48] local.INFO: GPS data processed {"connection_id":189439,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:37:48] local.INFO: Acknowledgment sent {"connection_id":189439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:37:59] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:59] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:37:59] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:38:02] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:02] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:02] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:06] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:06] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:06] local.INFO: IMEI packet received {"connection_id":186706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":186706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:07] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8466bd0012d1a8c40071ca9f8002b002e20..."} 
[2026-09-19 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8466bd0012d1a8c40071ca9f8002b002e20..."} 
[2026-09-19 11:38:07] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8466bd0012d1a8c40071ca9f8002b002e20..."} 
[2026-09-19 11:38:07] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:07] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119319032,"longitude_deg":75.671456,"latitude_deg":11.9319032,"altitude":43,"angle":46,"satellites":32,"speed":18,"hex_longitude":"2d1a8c40","hex_latitude":"071ca9f8","is_valid_coordinates":true} 
[2026-09-19 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-19 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188291584001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21623210420207616,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911426228643301376,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789798018000,"timestamp_ms":1789798018000,"timestamp_seconds":1789798018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8466bd0"} 
[2026-09-19 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-19 11:38: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-19 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38: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-19 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188291584001,"66":14265,"71":206,"83":41984,"24":18,"16":21623210420207616,"45":1911426228643301376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188291584001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21623210420207616,"km_value":21623210420207.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911426228643301376,"description":"Unknown IO ID 45"} 
[2026-09-19 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188291584001,"power":14265,"unknown_71":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1911426228643301376}} 
[2026-09-19 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:07] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:07] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:08] local.INFO: TCP Data received {"connection_id":186706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8468ef8012d1a9480071cb2f8002e001c21..."} 
[2026-09-19 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8468ef8012d1a9480071cb2f8002e001c21..."} 
[2026-09-19 11:38:08] local.INFO: Processing buffer {"connection_id":186706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8468ef8012d1a9480071cb2f8002e001c21..."} 
[2026-09-19 11:38:08] local.INFO: Packet analysis {"connection_id":186706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:08] local.INFO: Extracted packet for processing {"connection_id":186706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756716672,"raw_latitude":119321336,"longitude_deg":75.6716672,"latitude_deg":11.9321336,"altitude":46,"angle":28,"satellites":33,"speed":11,"hex_longitude":"2d1a9480","hex_latitude":"071cb2f8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188292608001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21623360744062976,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341015468032,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789798027000,"timestamp_ms":1789798027000,"timestamp_seconds":1789798027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8468ef8"} 
[2026-09-19 11: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-19 11:38: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-19 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:08] 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-19 11: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-19 11: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-19 11:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":186706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":186706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":186706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38: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-19 11:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188292608001,"66":14341,"71":206,"83":41984,"24":11,"16":21623360744062976,"45":1912974341015468032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188292608001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21623360744062976,"km_value":21623360744062.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341015468032,"description":"Unknown IO ID 45"} 
[2026-09-19 11:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188292608001,"power":14341,"unknown_71":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1912974341015468032}} 
[2026-09-19 11:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":186706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:08] local.INFO: GPS data processed {"connection_id":186706,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:08] local.INFO: Acknowledgment sent {"connection_id":186706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:09] local.INFO: TCP Data received {"connection_id":188103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:09] local.INFO: Processing buffer {"connection_id":188103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:09] local.INFO: IMEI packet received {"connection_id":188103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:38:14] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: IMEI packet received {"connection_id":189442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":189442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:38:14] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:14] local.INFO: IMEI packet received {"connection_id":189442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":189442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:14] local.INFO: TCP Data received {"connection_id":188103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:14] local.INFO: Processing buffer {"connection_id":188103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:38:14] local.INFO: IMEI packet received {"connection_id":188103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:16] local.INFO: TCP Data received {"connection_id":188103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:16] local.INFO: Processing buffer {"connection_id":188103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:16] local.INFO: Packet analysis {"connection_id":188103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:38:16] local.INFO: Extracted packet for processing {"connection_id":188103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:16] 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-19 11:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:38: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-19 11:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:16] 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-19 11:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:38:16] 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-19 11:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":188103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:16] local.INFO: GPS data processed {"connection_id":188103,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:16] local.INFO: Acknowledgment sent {"connection_id":188103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:19] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:19] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:38:19] local.INFO: IMEI packet received {"connection_id":189442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":189442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:20] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8460640012c8f5c8007da9810000d01532c..."} 
[2026-09-19 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8460640012c8f5c8007da9810000d01532c..."} 
[2026-09-19 11:38:20] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8460640012c8f5c8007da9810000d01532c..."} 
[2026-09-19 11:38:20] local.INFO: Packet analysis {"connection_id":189442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:20] local.INFO: Extracted packet for processing {"connection_id":189442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":747592832,"raw_latitude":131766288,"longitude_deg":74.7592832,"latitude_deg":13.1766288,"altitude":13,"angle":339,"satellites":44,"speed":57,"hex_longitude":"2c8f5c80","hex_latitude":"07da9810","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188284160001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":457164908920832,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8112531007536400384,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797992000,"timestamp_ms":1789797992000,"timestamp_seconds":1789797992,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8460640"} 
[2026-09-19 11: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-19 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:20] 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-19 11: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-19 11: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-19 11:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188284160001,"66":28300,"103":206,"9":57344,"24":57,"16":457164908920832,"44":-8112531007536400384},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-19 11:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188284160001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 11:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":457164908920832,"km_value":457164908920.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8112531007536400384,"description":"Unknown IO ID 44"} 
[2026-09-19 11:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188284160001,"power":28300,"unknown_103":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-8112531007536400384}} 
[2026-09-19 11:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":189442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:21] local.INFO: GPS data processed {"connection_id":189442,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:21] local.INFO: Acknowledgment sent {"connection_id":189442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:23] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8462198012c8f4f8007dabdc0000d01572c..."} 
[2026-09-19 11:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8462198012c8f4f8007dabdc0000d01572c..."} 
[2026-09-19 11:38:23] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8462198012c8f4f8007dabdc0000d01572c..."} 
[2026-09-19 11:38:23] local.INFO: Packet analysis {"connection_id":189442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:23] local.INFO: Extracted packet for processing {"connection_id":189442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:23] local.INFO: GPS Element Parsed {"raw_longitude":747589504,"raw_latitude":131775936,"longitude_deg":74.7589504,"latitude_deg":13.1775936,"altitude":13,"angle":343,"satellites":44,"speed":59,"hex_longitude":"2c8f4f80","hex_latitude":"07dabdc0","is_valid_coordinates":true} 
[2026-09-19 11:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188285952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":457658830159872,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8116471657207951360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789797999000,"timestamp_ms":1789797999000,"timestamp_seconds":1789797999,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8462198"} 
[2026-09-19 11:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:23] 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-19 11:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188285952001,"66":28300,"132":206,"9":57344,"24":59,"16":457658830159872,"44":-8116471657207951360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,44]} 
[2026-09-19 11:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188285952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:23] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-19 11:38:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":457658830159872,"km_value":457658830159.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8116471657207951360,"description":"Unknown IO ID 44"} 
[2026-09-19 11:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188285952001,"power":28300,"unknown_132":206,"unknown_9":57344,"ignition":59,"odometer":null,"unknown_44":-8116471657207951360}} 
[2026-09-19 11:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":189442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:23] local.INFO: GPS data processed {"connection_id":189442,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:23] local.INFO: Acknowledgment sent {"connection_id":189442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:25] local.INFO: TCP Data received {"connection_id":189442,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8463cf0012c8f448007dae4a0000d01592d..."} 
[2026-09-19 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8463cf0012c8f448007dae4a0000d01592d..."} 
[2026-09-19 11:38:25] local.INFO: Processing buffer {"connection_id":189442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8463cf0012c8f448007dae4a0000d01592d..."} 
[2026-09-19 11:38:25] local.INFO: Packet analysis {"connection_id":189442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:25] local.INFO: Extracted packet for processing {"connection_id":189442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b846"} 
[2026-09-19 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":747586688,"raw_latitude":131785888,"longitude_deg":74.7586688,"latitude_deg":13.1785888,"altitude":13,"angle":345,"satellites":45,"speed":58,"hex_longitude":"2c8f4480","hex_latitude":"07dae4a0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188287744001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":458161341333504,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8120130831902720000,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789798006000,"timestamp_ms":1789798006000,"timestamp_seconds":1789798006,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8463cf0"} 
[2026-09-19 11: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-19 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:38: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-19 11: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-19 11: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-19 11:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188287744001,"66":28332,"132":206,"9":57344,"24":58,"16":458161341333504,"44":-8120130831902720000},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,44]} 
[2026-09-19 11:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188287744001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-19 11:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":458161341333504,"km_value":458161341333.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8120130831902720000,"description":"Unknown IO ID 44"} 
[2026-09-19 11:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188287744001,"power":28332,"unknown_132":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8120130831902720000}} 
[2026-09-19 11:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":189442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:25] local.INFO: GPS data processed {"connection_id":189442,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:25] local.INFO: Acknowledgment sent {"connection_id":189442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:45] local.INFO: TCP Data received {"connection_id":189443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:45] local.INFO: Processing buffer {"connection_id":189443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:45] local.INFO: IMEI packet received {"connection_id":189443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":189443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:38:46] local.INFO: TCP Data received {"connection_id":189443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:46] local.INFO: Processing buffer {"connection_id":189443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:46] local.INFO: IMEI packet received {"connection_id":189443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":189443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:48] local.INFO: TCP Data received {"connection_id":188103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:48] local.INFO: Processing buffer {"connection_id":188103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:38:48] local.INFO: Packet analysis {"connection_id":188103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:38:48] local.INFO: Extracted packet for processing {"connection_id":188103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38: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-19 11:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11: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-19 11:38: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-19 11: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":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:38: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-19 11: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-19 11: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-19 11:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:38: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-19 11:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":188103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:48] local.INFO: GPS data processed {"connection_id":188103,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:48] local.INFO: Acknowledgment sent {"connection_id":188103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:38:49] local.INFO: TCP Data received {"connection_id":189443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:49] local.INFO: Processing buffer {"connection_id":189443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:38:49] local.INFO: IMEI packet received {"connection_id":189443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":189443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:38:50] local.INFO: TCP Data received {"connection_id":189443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8473ec0012d1ac180071cf4b80027015826..."} 
[2026-09-19 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8473ec0012d1ac180071cf4b80027015826..."} 
[2026-09-19 11:38:50] local.INFO: Processing buffer {"connection_id":189443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8473ec0012d1ac180071cf4b80027015826..."} 
[2026-09-19 11:38:50] local.INFO: Packet analysis {"connection_id":189443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:38:50] local.INFO: Extracted packet for processing {"connection_id":189443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119338168,"longitude_deg":75.6728192,"latitude_deg":11.9338168,"altitude":39,"angle":344,"satellites":38,"speed":24,"hex_longitude":"2d1ac180","hex_latitude":"071cf4b8","is_valid_coordinates":true} 
[2026-09-19 11:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188305408001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21624408716083200,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385095994685440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789798072000,"timestamp_ms":1789798072000,"timestamp_seconds":1789798072,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8473ec0"} 
[2026-09-19 11:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:38:50] 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-19 11:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 11:38:50] 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-19 11:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:38:50] 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-19 11:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188305408001,"66":14407,"71":206,"83":41984,"24":24,"16":21624408716083200,"45":1928385095994685440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188305408001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:38:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21624408716083200,"km_value":21624408716083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385095994685440,"description":"Unknown IO ID 45"} 
[2026-09-19 11:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188305408001,"power":14407,"unknown_71":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928385095994685440}} 
[2026-09-19 11:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":189443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:38:50] local.INFO: GPS data processed {"connection_id":189443,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:38:50] local.INFO: Acknowledgment sent {"connection_id":189443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:06] local.INFO: TCP Data received {"connection_id":186707,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:06] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:06] local.INFO: IMEI packet received {"connection_id":186707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":186707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:39:09] local.INFO: TCP Data received {"connection_id":186707,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:09] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:09] local.INFO: IMEI packet received {"connection_id":186707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:39:14] local.INFO: TCP Data received {"connection_id":186707,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:14] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:39:14] local.INFO: IMEI packet received {"connection_id":186707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:39:14] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:14] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:14] local.INFO: IMEI packet received {"connection_id":186827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:39:15] local.INFO: TCP Data received {"connection_id":186707,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84765d0012c8e9c0007dc6960001001492b..."} 
[2026-09-19 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84765d0012c8e9c0007dc6960001001492b..."} 
[2026-09-19 11:39:15] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84765d0012c8e9c0007dc6960001001492b..."} 
[2026-09-19 11:39:15] local.INFO: Packet analysis {"connection_id":186707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:15] local.INFO: Extracted packet for processing {"connection_id":186707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":747543552,"raw_latitude":131885408,"longitude_deg":74.7543552,"latitude_deg":13.1885408,"altitude":16,"angle":329,"satellites":43,"speed":60,"hex_longitude":"2c8e9c00","hex_latitude":"07dc6960","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188307456001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":463422676271104,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8165518671871283200,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798082000,"timestamp_ms":1789798082000,"timestamp_seconds":1789798082,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84765d0"} 
[2026-09-19 11: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-19 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:39: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-19 11: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-19 11: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-19 11:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188307456001,"66":28354,"131":206,"9":57344,"24":60,"16":463422676271104,"44":-8165518671871283200},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188307456001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":463422676271104,"km_value":463422676271.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8165518671871283200,"description":"Unknown IO ID 44"} 
[2026-09-19 11:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188307456001,"power":28354,"unknown_131":206,"unknown_9":57344,"ignition":60,"odometer":null,"unknown_44":-8165518671871283200}} 
[2026-09-19 11:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":186707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:15] local.INFO: GPS data processed {"connection_id":186707,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:15] local.INFO: Acknowledgment sent {"connection_id":186707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:19] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:19] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:39:19] local.INFO: IMEI packet received {"connection_id":186827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":186827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:39:20] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:20] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:20] local.INFO: Packet analysis {"connection_id":186827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:39:20] local.INFO: Extracted packet for processing {"connection_id":186827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:20] 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-19 11:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:39:20] 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-19 11:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:39: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-19 11:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":186827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:20] local.INFO: GPS data processed {"connection_id":186827,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:20] local.INFO: Acknowledgment sent {"connection_id":186827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:21] local.INFO: TCP Data received {"connection_id":189443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8477958012d1aba80071d17080030015625..."} 
[2026-09-19 11:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8477958012d1aba80071d17080030015625..."} 
[2026-09-19 11:39:21] local.INFO: Processing buffer {"connection_id":189443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8477958012d1aba80071d17080030015625..."} 
[2026-09-19 11:39:21] local.INFO: Packet analysis {"connection_id":189443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:21] local.INFO: Extracted packet for processing {"connection_id":189443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756726400,"raw_latitude":119346952,"longitude_deg":75.67264,"latitude_deg":11.9346952,"altitude":48,"angle":342,"satellites":37,"speed":23,"hex_longitude":"2d1aba80","hex_latitude":"071d1708","is_valid_coordinates":true} 
[2026-09-19 11:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188306432001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21624842507780096,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883530209280,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789798087000,"timestamp_ms":1789798087000,"timestamp_seconds":1789798087,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8477958"} 
[2026-09-19 11:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:39:21] 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-19 11:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 11:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:39:21] 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-19 11:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188306432001,"66":14254,"71":206,"83":41984,"24":23,"16":21624842507780096,"45":1927962883530209280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188306432001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21624842507780096,"km_value":21624842507780.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883530209280,"description":"Unknown IO ID 45"} 
[2026-09-19 11:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188306432001,"power":14254,"unknown_71":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1927962883530209280}} 
[2026-09-19 11:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":189443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:21] local.INFO: GPS data processed {"connection_id":189443,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:21] local.INFO: Acknowledgment sent {"connection_id":189443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:25] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:25] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:39:25] local.INFO: Packet analysis {"connection_id":186827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:39:25] local.INFO: Extracted packet for processing {"connection_id":186827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:39: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-19 11:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:25] 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-19 11:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:39:25] 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-19 11:39: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-19 11:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:39: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-19 11:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":186827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:25] local.INFO: GPS data processed {"connection_id":186827,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:25] local.INFO: Acknowledgment sent {"connection_id":186827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:46] local.INFO: TCP Data received {"connection_id":186707,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8477d40012c8e898007dc87b8000f01492a..."} 
[2026-09-19 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8477d40012c8e898007dc87b8000f01492a..."} 
[2026-09-19 11:39:46] local.INFO: Processing buffer {"connection_id":186707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8477d40012c8e898007dc87b8000f01492a..."} 
[2026-09-19 11:39:46] local.INFO: Packet analysis {"connection_id":186707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:46] local.INFO: Extracted packet for processing {"connection_id":186707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":747538816,"raw_latitude":131893176,"longitude_deg":74.7538816,"latitude_deg":13.1893176,"altitude":15,"angle":329,"satellites":42,"speed":59,"hex_longitude":"2c8e8980","hex_latitude":"07dc87b8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188308992001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":463860762935296,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8170655590194257920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789798088000,"timestamp_ms":1789798088000,"timestamp_seconds":1789798088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8477d40"} 
[2026-09-19 11: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-19 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:39:46] 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-19 11: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-19 11: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-19 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188308992001,"66":28419,"131":206,"9":57344,"24":59,"16":463860762935296,"44":-8170655590194257920},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188308992001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:39:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":463860762935296,"km_value":463860762935.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8170655590194257920,"description":"Unknown IO ID 44"} 
[2026-09-19 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188308992001,"power":28419,"unknown_131":206,"unknown_9":57344,"ignition":59,"odometer":null,"unknown_44":-8170655590194257920}} 
[2026-09-19 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":186707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:46] local.INFO: GPS data processed {"connection_id":186707,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:46] local.INFO: Acknowledgment sent {"connection_id":186707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:39:50] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:50] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:50] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:39:51] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:51] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:51] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:39:55] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:55] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:39:55] local.INFO: IMEI packet received {"connection_id":186708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":186708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:39:56] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84838c0012d1ac480071d62d80048002328..."} 
[2026-09-19 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84838c0012d1ac480071d62d80048002328..."} 
[2026-09-19 11:39:56] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84838c0012d1ac480071d62d80048002328..."} 
[2026-09-19 11:39:56] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b848"} 
[2026-09-19 11:39:56] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b848"} 
[2026-09-19 11:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756728960,"raw_latitude":119366360,"longitude_deg":75.672896,"latitude_deg":11.936636,"altitude":72,"angle":35,"satellites":40,"speed":17,"hex_longitude":"2d1ac480","hex_latitude":"071d62d8","is_valid_coordinates":true} 
[2026-09-19 11:39: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-19 11:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188320768001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21625937724440576,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558699880448,"note":"Value kept but may cause issues"} 
[2026-09-19 11:39:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789798136000,"timestamp_ms":1789798136000,"timestamp_seconds":1789798136,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84838c0"} 
[2026-09-19 11:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:39:56] 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-19 11:39: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 11:39:56] 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-19 11:39: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-19 11:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:39:56] 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-19 11:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188320768001,"66":14298,"83":41984,"24":17,"16":21625937724440576,"45":1925992558699880448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-19 11:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188320768001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21625937724440576,"km_value":21625937724440.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558699880448,"description":"Unknown IO ID 45"} 
[2026-09-19 11:39:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458188320768001,"power":14298,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1925992558699880448}} 
[2026-09-19 11:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:39:56] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:39:56] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:09] local.INFO: TCP Data received {"connection_id":188104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:09] local.INFO: Processing buffer {"connection_id":188104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:09] local.INFO: IMEI packet received {"connection_id":188104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:40:09] local.INFO: TCP Data received {"connection_id":188105,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:09] local.INFO: Processing buffer {"connection_id":188105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:09] local.INFO: IMEI packet received {"connection_id":188105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:40:10] local.INFO: TCP Data received {"connection_id":188105,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:10] local.INFO: Processing buffer {"connection_id":188105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:10] local.INFO: IMEI packet received {"connection_id":188105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":188105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:40:14] local.INFO: TCP Data received {"connection_id":188104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:14] local.INFO: Processing buffer {"connection_id":188104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:40:14] local.INFO: IMEI packet received {"connection_id":188104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:40:14] local.INFO: TCP Data received {"connection_id":188105,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:14] local.INFO: Processing buffer {"connection_id":188105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:40:14] local.INFO: IMEI packet received {"connection_id":188105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:40:15] local.INFO: TCP Data received {"connection_id":188104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:40:15] local.INFO: Processing buffer {"connection_id":188104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84477d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:40:15] local.INFO: Packet analysis {"connection_id":188104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:40:15] local.INFO: Extracted packet for processing {"connection_id":188104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b844"} 
[2026-09-19 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188182784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40: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-19 11:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789797890000,"timestamp_ms":1789797890000,"timestamp_seconds":1789797890,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84477d0"} 
[2026-09-19 11:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:40: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-19 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 11:40: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-19 11:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:40: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-19 11:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188182784001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188182784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188182784001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":188104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:40:15] local.INFO: GPS data processed {"connection_id":188104,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:40:15] local.INFO: Acknowledgment sent {"connection_id":188104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:16] local.INFO: TCP Data received {"connection_id":188105,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8479898012c8e764007dcab00001101512c..."} 
[2026-09-19 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8479898012c8e764007dcab00001101512c..."} 
[2026-09-19 11:40:16] local.INFO: Processing buffer {"connection_id":188105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8479898012c8e764007dcab00001101512c..."} 
[2026-09-19 11:40:16] local.INFO: Packet analysis {"connection_id":188105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:40:16] local.INFO: Extracted packet for processing {"connection_id":188105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b847"} 
[2026-09-19 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":747533888,"raw_latitude":131902208,"longitude_deg":74.7533888,"latitude_deg":13.1902208,"altitude":17,"angle":337,"satellites":44,"speed":58,"hex_longitude":"2c8e7640","hex_latitude":"07dcab00","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188310528001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":464358979141632,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8175862877261416448,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798095000,"timestamp_ms":1789798095000,"timestamp_seconds":1789798095,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8479898"} 
[2026-09-19 11: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-19 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 11:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188310528001,"66":28354,"131":206,"9":57344,"24":58,"16":464358979141632,"44":-8175862877261416448},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188310528001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:40:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:40:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":464358979141632,"km_value":464358979141.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8175862877261416448,"description":"Unknown IO ID 44"} 
[2026-09-19 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188310528001,"power":28354,"unknown_131":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8175862877261416448}} 
[2026-09-19 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":188105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:40:16] local.INFO: GPS data processed {"connection_id":188105,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:40:16] local.INFO: Acknowledgment sent {"connection_id":188105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:27] local.INFO: TCP Data received {"connection_id":186708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8484860012d1ac880071d6aa80048001428..."} 
[2026-09-19 11:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8484860012d1ac880071d6aa80048001428..."} 
[2026-09-19 11:40:27] local.INFO: Processing buffer {"connection_id":186708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8484860012d1ac880071d6aa80048001428..."} 
[2026-09-19 11:40:27] local.INFO: Packet analysis {"connection_id":186708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b848"} 
[2026-09-19 11:40:27] local.INFO: Extracted packet for processing {"connection_id":186708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b848"} 
[2026-09-19 11:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119368360,"longitude_deg":75.6729984,"latitude_deg":11.936836,"altitude":72,"angle":20,"satellites":40,"speed":19,"hex_longitude":"2d1ac880","hex_latitude":"071d6aa8","is_valid_coordinates":true} 
[2026-09-19 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188322816001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21626045098622976,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928807308467558400,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789798140000,"timestamp_ms":1789798140000,"timestamp_seconds":1789798140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8484860"} 
[2026-09-19 11:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:40:27] 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-19 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 11:40:27] 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-19 11:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:40:27] 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-19 11:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188322816001,"66":13863,"83":41984,"24":19,"16":21626045098622976,"45":1928807308467558400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-19 11:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188322816001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21626045098622976,"km_value":21626045098622.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928807308467558400,"description":"Unknown IO ID 45"} 
[2026-09-19 11:40:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458188322816001,"power":13863,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1928807308467558400}} 
[2026-09-19 11:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":186708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:40:27] local.INFO: GPS data processed {"connection_id":186708,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:40:27] local.INFO: Acknowledgment sent {"connection_id":186708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:46] local.INFO: TCP Data received {"connection_id":188104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:40:46] local.INFO: Processing buffer {"connection_id":188104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:40:46] local.INFO: Packet analysis {"connection_id":188104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:40:46] local.INFO: Extracted packet for processing {"connection_id":188104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:46] 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-19 11:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:40: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-19 11: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-19 11: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-19 11:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11: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-19 11:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":188104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:40:46] local.INFO: GPS data processed {"connection_id":188104,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:40:46] local.INFO: Acknowledgment sent {"connection_id":188104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:48] local.INFO: TCP Data received {"connection_id":188105,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8491380012c8e418007dec7b0000a01662d..."} 
[2026-09-19 11:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8491380012c8e418007dec7b0000a01662d..."} 
[2026-09-19 11:40:48] local.INFO: Processing buffer {"connection_id":188105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8491380012c8e418007dec7b0000a01662d..."} 
[2026-09-19 11:40:48] local.INFO: Packet analysis {"connection_id":188105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:40:48] local.INFO: Extracted packet for processing {"connection_id":188105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:40:48] local.INFO: GPS Element Parsed {"raw_longitude":747520384,"raw_latitude":132040624,"longitude_deg":74.7520384,"latitude_deg":13.2040624,"altitude":10,"angle":358,"satellites":45,"speed":57,"hex_longitude":"2c8e4180","hex_latitude":"07dec7b0","is_valid_coordinates":true} 
[2026-09-19 11:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188335360001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":471218041913344,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8196199444293617664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798192000,"timestamp_ms":1789798192000,"timestamp_seconds":1789798192,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8491380"} 
[2026-09-19 11:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:40:48] 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-19 11:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188335360001,"66":28398,"131":206,"9":57344,"24":57,"16":471218041913344,"44":-8196199444293617664},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188335360001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:40:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:40:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":471218041913344,"km_value":471218041913.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8196199444293617664,"description":"Unknown IO ID 44"} 
[2026-09-19 11:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188335360001,"power":28398,"unknown_131":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-8196199444293617664}} 
[2026-09-19 11:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":188105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:40:48] local.INFO: GPS data processed {"connection_id":188105,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:40:48] local.INFO: Acknowledgment sent {"connection_id":188105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:40:57] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:57] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:57] local.INFO: IMEI packet received {"connection_id":186709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":186709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:40:58] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:58] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:40:58] local.INFO: IMEI packet received {"connection_id":186709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":186709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:41:02] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d1aff40071da5c0005200532a..."} 
[2026-09-19 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d1aff40071da5c0005200532a..."} 
[2026-09-19 11:41:02] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d1aff40071da5c0005200532a..."} 
[2026-09-19 11:41:02] local.INFO: Packet analysis {"connection_id":186709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:02] local.INFO: Extracted packet for processing {"connection_id":186709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756744000,"raw_latitude":119383488,"longitude_deg":75.6744,"latitude_deg":11.9383488,"altitude":82,"angle":83,"satellites":42,"speed":8,"hex_longitude":"2d1aff40","hex_latitude":"071da5c0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188334592001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21627123135414272,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942388476098062336,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-19 11:41:02] 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-19 11: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-19 11: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-19 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":186709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":186709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":186709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41: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-19 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188334592001,"66":13906,"71":206,"83":41984,"24":8,"16":21627123135414272,"45":1942388476098062336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188334592001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21627123135414272,"km_value":21627123135414.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942388476098062336,"description":"Unknown IO ID 45"} 
[2026-09-19 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188334592001,"power":13906,"unknown_71":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1942388476098062336}} 
[2026-09-19 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":186709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:02] local.INFO: GPS data processed {"connection_id":186709,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:02] local.INFO: Acknowledgment sent {"connection_id":186709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:04] local.INFO: TCP Data received {"connection_id":186709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8491b50012d1b0200071da668005300452a..."} 
[2026-09-19 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8491b50012d1b0200071da668005300452a..."} 
[2026-09-19 11:41:04] local.INFO: Processing buffer {"connection_id":186709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8491b50012d1b0200071da668005300452a..."} 
[2026-09-19 11:41:04] local.INFO: Packet analysis {"connection_id":186709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:04] local.INFO: Extracted packet for processing {"connection_id":186709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756744704,"raw_latitude":119383656,"longitude_deg":75.6744704,"latitude_deg":11.9383656,"altitude":83,"angle":69,"satellites":42,"speed":8,"hex_longitude":"2d1b0200","hex_latitude":"071da668","is_valid_coordinates":true} 
[2026-09-19 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21627157495152640,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945343963353694208,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789798194000,"timestamp_ms":1789798194000,"timestamp_seconds":1789798194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8491b50"} 
[2026-09-19 11:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-19 11:41:04] 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-19 11:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":186709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":186709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":186709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41:04] 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-19 11:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":13863,"71":206,"83":41984,"24":8,"16":21627157495152640,"45":1945343963353694208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-19 11:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-19 11:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21627157495152640,"km_value":21627157495152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945343963353694208,"description":"Unknown IO ID 45"} 
[2026-09-19 11:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":13863,"unknown_71":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1945343963353694208}} 
[2026-09-19 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":186709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:04] local.INFO: GPS data processed {"connection_id":186709,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:04] local.INFO: Acknowledgment sent {"connection_id":186709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:09] local.INFO: TCP Data received {"connection_id":189444,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:09] local.INFO: Processing buffer {"connection_id":189444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:09] local.INFO: IMEI packet received {"connection_id":189444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":189444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:41:11] local.INFO: TCP Data received {"connection_id":189445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:11] local.INFO: Processing buffer {"connection_id":189445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:11] local.INFO: IMEI packet received {"connection_id":189445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":189445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:41:13] local.INFO: TCP Data received {"connection_id":189444,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:13] local.INFO: Processing buffer {"connection_id":189444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:41:13] local.INFO: IMEI packet received {"connection_id":189444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":189444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:41:14] local.INFO: TCP Data received {"connection_id":189444,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8492ed8012c8e3d0007deef30000a015e2c..."} 
[2026-09-19 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8492ed8012c8e3d0007deef30000a015e2c..."} 
[2026-09-19 11:41:14] local.INFO: Processing buffer {"connection_id":189444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8492ed8012c8e3d0007deef30000a015e2c..."} 
[2026-09-19 11:41:14] local.INFO: Packet analysis {"connection_id":189444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:14] local.INFO: Extracted packet for processing {"connection_id":189444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:14] local.INFO: GPS Element Parsed {"raw_longitude":747519232,"raw_latitude":132050736,"longitude_deg":74.7519232,"latitude_deg":13.2050736,"altitude":10,"angle":350,"satellites":44,"speed":57,"hex_longitude":"2c8e3d00","hex_latitude":"07deef30","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188337152001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":471707668185088,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8196129075546836992,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789798199000,"timestamp_ms":1789798199000,"timestamp_seconds":1789798199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8492ed8"} 
[2026-09-19 11: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-19 11:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188337152001,"66":28354,"131":206,"9":57344,"24":57,"16":471707668185088,"44":-8196129075546836992},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188337152001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:14] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:41:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":471707668185088,"km_value":471707668185.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8196129075546836992,"description":"Unknown IO ID 44"} 
[2026-09-19 11:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188337152001,"power":28354,"unknown_131":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-8196129075546836992}} 
[2026-09-19 11:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":189444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:14] local.INFO: GPS data processed {"connection_id":189444,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:14] local.INFO: Acknowledgment sent {"connection_id":189444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:14] local.INFO: TCP Data received {"connection_id":189445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:14] local.INFO: Processing buffer {"connection_id":189445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:41:14] local.INFO: IMEI packet received {"connection_id":189445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":189445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:41:15] local.INFO: TCP Data received {"connection_id":189445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:15] local.INFO: Processing buffer {"connection_id":189445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:15] local.INFO: Packet analysis {"connection_id":189445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:15] local.INFO: Extracted packet for processing {"connection_id":189445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41: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-19 11:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11: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-19 11:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11: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-19 11:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":189445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:15] local.INFO: GPS data processed {"connection_id":189445,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:15] local.INFO: Acknowledgment sent {"connection_id":189445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:45] local.INFO: TCP Data received {"connection_id":189444,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8494a30012c8e360007df16c0000b015e2d..."} 
[2026-09-19 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8494a30012c8e360007df16c0000b015e2d..."} 
[2026-09-19 11:41:45] local.INFO: Processing buffer {"connection_id":189444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8494a30012c8e360007df16c0000b015e2d..."} 
[2026-09-19 11:41:45] local.INFO: Packet analysis {"connection_id":189444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:45] local.INFO: Extracted packet for processing {"connection_id":189444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":747517440,"raw_latitude":132060864,"longitude_deg":74.751744,"latitude_deg":13.2060864,"altitude":11,"angle":350,"satellites":45,"speed":58,"hex_longitude":"2c8e3600","hex_latitude":"07df16c0","is_valid_coordinates":true} 
[2026-09-19 11:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188338944001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":472205884391424,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8197395712939446272,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789798206000,"timestamp_ms":1789798206000,"timestamp_seconds":1789798206,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8494a30"} 
[2026-09-19 11:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:41:45] 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-19 11:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188338944001,"66":28376,"131":206,"9":57344,"24":58,"16":472205884391424,"44":-8197395712939446272},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 11:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188338944001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 11:41:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-19 11:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":472205884391424,"km_value":472205884391.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8197395712939446272,"description":"Unknown IO ID 44"} 
[2026-09-19 11:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188338944001,"power":28376,"unknown_131":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8197395712939446272}} 
[2026-09-19 11:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":189444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:45] local.INFO: GPS data processed {"connection_id":189444,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:45] local.INFO: Acknowledgment sent {"connection_id":189444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:46] local.INFO: TCP Data received {"connection_id":189446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:46] local.INFO: Processing buffer {"connection_id":189446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:46] local.INFO: IMEI packet received {"connection_id":189446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":189446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:41:47] local.INFO: TCP Data received {"connection_id":189445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:47] local.INFO: Processing buffer {"connection_id":189445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:41:47] local.INFO: Packet analysis {"connection_id":189445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:47] local.INFO: Extracted packet for processing {"connection_id":189445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41: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-19 11:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:41: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:41: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-19 11: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-19 11: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-19 11:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:41:47] 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-19 11:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":189445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:47] local.INFO: GPS data processed {"connection_id":189445,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:47] local.INFO: Acknowledgment sent {"connection_id":189445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:41:47] local.INFO: TCP Data received {"connection_id":189446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:47] local.INFO: Processing buffer {"connection_id":189446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:47] local.INFO: IMEI packet received {"connection_id":189446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":189446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:41:51] local.INFO: TCP Data received {"connection_id":189446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:51] local.INFO: Processing buffer {"connection_id":189446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:41:51] local.INFO: IMEI packet received {"connection_id":189446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":189446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:41:52] local.INFO: TCP Data received {"connection_id":189446,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84a1550012d1b6380071da148004f002427..."} 
[2026-09-19 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84a1550012d1b6380071da148004f002427..."} 
[2026-09-19 11:41:52] local.INFO: Processing buffer {"connection_id":189446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84a1550012d1b6380071da148004f002427..."} 
[2026-09-19 11:41:52] local.INFO: Packet analysis {"connection_id":189446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:41:52] local.INFO: Extracted packet for processing {"connection_id":189446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119382344,"longitude_deg":75.6769664,"latitude_deg":11.9382344,"altitude":79,"angle":36,"satellites":39,"speed":7,"hex_longitude":"2d1b6380","hex_latitude":"071da148","is_valid_coordinates":true} 
[2026-09-19 11:41: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-19 11:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188353792001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21628372970897408,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723536072704,"note":"Value kept but may cause issues"} 
[2026-09-19 11:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798258000,"timestamp_ms":1789798258000,"timestamp_seconds":1789798258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84a1550"} 
[2026-09-19 11:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:41:52] 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-19 11:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 11:41:52] 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-19 11:41: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-19 11:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:41:52] 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-19 11:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188353792001,"66":14243,"109":206,"83":41984,"24":7,"16":21628372970897408,"45":1973350723536072704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188353792001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:41:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21628372970897408,"km_value":21628372970897.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723536072704,"description":"Unknown IO ID 45"} 
[2026-09-19 11:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188353792001,"power":14243,"unknown_109":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1973350723536072704}} 
[2026-09-19 11:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":189446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:41:52] local.INFO: GPS data processed {"connection_id":189446,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:41:52] local.INFO: Acknowledgment sent {"connection_id":189446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:09] local.INFO: TCP Data received {"connection_id":186828,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:09] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:09] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:42:14] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:14] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:14] local.INFO: IMEI packet received {"connection_id":186710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":186710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:42:15] local.INFO: TCP Data received {"connection_id":186828,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:15] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:42:15] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:42:16] local.INFO: TCP Data received {"connection_id":186828,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84a7310012c8dec8007e0c020000e01562a..."} 
[2026-09-19 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84a7310012c8dec8007e0c020000e01562a..."} 
[2026-09-19 11:42:16] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84a7310012c8dec8007e0c020000e01562a..."} 
[2026-09-19 11:42:16] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:16] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:16] local.INFO: GPS Element Parsed {"raw_longitude":747498624,"raw_latitude":132169760,"longitude_deg":74.7498624,"latitude_deg":13.216976,"altitude":14,"angle":342,"satellites":42,"speed":58,"hex_longitude":"2c8dec80","hex_latitude":"07e0c020","is_valid_coordinates":true} 
[2026-09-19 11:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188358656001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":477583183446016,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8217028592536715264,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798282000,"timestamp_ms":1789798282000,"timestamp_seconds":1789798282,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84a7310"} 
[2026-09-19 11:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:42: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-19 11:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188358656001,"66":28354,"219":206,"9":54272,"24":58,"16":477583183446016,"44":-8217028592536715264},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188358656001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:42:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":477583183446016,"km_value":477583183446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8217028592536715264,"description":"Unknown IO ID 44"} 
[2026-09-19 11:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188358656001,"power":28354,"unknown_219":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8217028592536715264}} 
[2026-09-19 11:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:16] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:16] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:19] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:19] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:42:19] local.INFO: IMEI packet received {"connection_id":186710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":186710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:42:21] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:21] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:21] local.INFO: Packet analysis {"connection_id":186710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:42:21] local.INFO: Extracted packet for processing {"connection_id":186710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:21] 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-19 11:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:42:21] 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-19 11:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":186710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:21] local.INFO: GPS data processed {"connection_id":186710,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:21] local.INFO: Acknowledgment sent {"connection_id":186710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:24] local.INFO: TCP Data received {"connection_id":189446,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84a1938012d1b63c0071da1e0004f001328..."} 
[2026-09-19 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84a1938012d1b63c0071da1e0004f001328..."} 
[2026-09-19 11:42:24] local.INFO: Processing buffer {"connection_id":189446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84a1938012d1b63c0071da1e0004f001328..."} 
[2026-09-19 11:42:24] local.INFO: Packet analysis {"connection_id":189446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:24] local.INFO: Extracted packet for processing {"connection_id":189446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756769728,"raw_latitude":119382496,"longitude_deg":75.6769728,"latitude_deg":11.9382496,"altitude":79,"angle":19,"satellites":40,"speed":7,"hex_longitude":"2d1b63c0","hex_latitude":"071da1e0","is_valid_coordinates":true} 
[2026-09-19 11:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188354048001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21628381560832000,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829768644608,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789798259000,"timestamp_ms":1789798259000,"timestamp_seconds":1789798259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84a1938"} 
[2026-09-19 11:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42:24] 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-19 11:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 11:42:24] 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-19 11:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:42:24] 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-19 11:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188354048001,"66":14396,"109":206,"83":41984,"24":7,"16":21628381560832000,"45":1973561829768644608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188354048001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21628381560832000,"km_value":21628381560832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829768644608,"description":"Unknown IO ID 45"} 
[2026-09-19 11:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188354048001,"power":14396,"unknown_109":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1973561829768644608}} 
[2026-09-19 11:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":189446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:24] local.INFO: GPS data processed {"connection_id":189446,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:24] local.INFO: Acknowledgment sent {"connection_id":189446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:25] local.INFO: TCP Data received {"connection_id":186710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:25] local.INFO: Processing buffer {"connection_id":186710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:42:25] local.INFO: Packet analysis {"connection_id":186710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:42:25] local.INFO: Extracted packet for processing {"connection_id":186710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:42: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-19 11:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:25] 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-19 11:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:42: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-19 11:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:42:25] 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-19 11:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":186710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:25] local.INFO: GPS data processed {"connection_id":186710,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:25] local.INFO: Acknowledgment sent {"connection_id":186710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:47] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:47] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:47] local.INFO: IMEI packet received {"connection_id":186711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":186711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:42:48] local.INFO: TCP Data received {"connection_id":186828,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84a8e68012c8de10007e0e658000e01562c..."} 
[2026-09-19 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84a8e68012c8de10007e0e658000e01562c..."} 
[2026-09-19 11:42:48] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84a8e68012c8de10007e0e658000e01562c..."} 
[2026-09-19 11:42:48] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:48] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:48] local.INFO: GPS Element Parsed {"raw_longitude":747495680,"raw_latitude":132179544,"longitude_deg":74.749568,"latitude_deg":13.2179544,"altitude":14,"angle":342,"satellites":44,"speed":57,"hex_longitude":"2c8de100","hex_latitude":"07e0e658","is_valid_coordinates":true} 
[2026-09-19 11:42: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-19 11:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188360192001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":478077104685056,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8220054448534183936,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798289000,"timestamp_ms":1789798289000,"timestamp_seconds":1789798289,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84a8e68"} 
[2026-09-19 11:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42: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-19 11:42: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":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:42:48] 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-19 11:42: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-19 11:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188360192001,"66":28300,"219":206,"9":54272,"24":57,"16":478077104685056,"44":-8220054448534183936},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188360192001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":478077104685056,"km_value":478077104685.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8220054448534183936,"description":"Unknown IO ID 44"} 
[2026-09-19 11:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188360192001,"power":28300,"unknown_219":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8220054448534183936}} 
[2026-09-19 11:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:48] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:48] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:42:52] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:52] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:42:52] local.INFO: IMEI packet received {"connection_id":186711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":186711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:42:53] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84a28d8012d1b6540071da6d80050000827..."} 
[2026-09-19 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84a28d8012d1b6540071da6d80050000827..."} 
[2026-09-19 11:42:53] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84a28d8012d1b6540071da6d80050000827..."} 
[2026-09-19 11:42:53] local.INFO: Packet analysis {"connection_id":186711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:53] local.INFO: Extracted packet for processing {"connection_id":186711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756770112,"raw_latitude":119383768,"longitude_deg":75.6770112,"latitude_deg":11.9383768,"altitude":80,"angle":8,"satellites":39,"speed":17,"hex_longitude":"2d1b6540","hex_latitude":"071da6d8","is_valid_coordinates":true} 
[2026-09-19 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188354304001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21628445985341440,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973632198512861184,"note":"Value kept but may cause issues"} 
[2026-09-19 11:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789798263000,"timestamp_ms":1789798263000,"timestamp_seconds":1789798263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84a28d8"} 
[2026-09-19 11:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:42:53] 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-19 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 11:42:53] 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-19 11:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:42:53] 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-19 11:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188354304001,"66":14374,"109":206,"83":41984,"24":17,"16":21628445985341440,"45":1973632198512861184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188354304001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:42:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21628445985341440,"km_value":21628445985341.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973632198512861184,"description":"Unknown IO ID 45"} 
[2026-09-19 11:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188354304001,"power":14374,"unknown_109":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1973632198512861184}} 
[2026-09-19 11:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":186711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:42:53] local.INFO: GPS data processed {"connection_id":186711,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:42:53] local.INFO: Acknowledgment sent {"connection_id":186711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:09] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:09] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:09] local.INFO: IMEI packet received {"connection_id":186830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":186830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:43:09] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:09] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:09] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:43:13] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:13] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:13] local.INFO: IMEI packet received {"connection_id":186830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":186830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:43:14] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:14] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:43:14] local.INFO: IMEI packet received {"connection_id":186830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":186830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:43:14] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:14] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:43:14] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:43:15] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84aa9c0012c8dd40007e10c20000d01522f..."} 
[2026-09-19 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84aa9c0012c8dd40007e10c20000d01522f..."} 
[2026-09-19 11:43:15] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84aa9c0012c8dd40007e10c20000d01522f..."} 
[2026-09-19 11:43:15] local.INFO: Packet analysis {"connection_id":186830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:15] local.INFO: Extracted packet for processing {"connection_id":186830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":747492352,"raw_latitude":132189216,"longitude_deg":74.7492352,"latitude_deg":13.2189216,"altitude":13,"angle":338,"satellites":47,"speed":58,"hex_longitude":"2c8dd400","hex_latitude":"07e10c20","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188361984001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":478571025924096,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8223291410763851776,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798296000,"timestamp_ms":1789798296000,"timestamp_seconds":1789798296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84aa9c0"} 
[2026-09-19 11: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-19 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:43: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-19 11: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-19 11: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-19 11:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188361984001,"66":28354,"219":206,"9":54272,"24":58,"16":478571025924096,"44":-8223291410763851776},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188361984001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":478571025924096,"km_value":478571025924.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8223291410763851776,"description":"Unknown IO ID 44"} 
[2026-09-19 11:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188361984001,"power":28354,"unknown_219":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8223291410763851776}} 
[2026-09-19 11:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":186830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:15] local.INFO: GPS data processed {"connection_id":186830,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:15] local.INFO: Acknowledgment sent {"connection_id":186830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:15] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:15] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:15] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:43:15] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43: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-19 11:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:43: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-19 11:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:43: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-19 11: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-19 11: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-19 11:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:43: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-19 11:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:16] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:16] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:20] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84ac518012c8dc2c007e13020000c014c2f..."} 
[2026-09-19 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84ac518012c8dc2c007e13020000c014c2f..."} 
[2026-09-19 11:43:20] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84ac518012c8dc2c007e13020000c014c2f..."} 
[2026-09-19 11:43:20] local.INFO: Packet analysis {"connection_id":186830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:20] local.INFO: Extracted packet for processing {"connection_id":186830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":747487936,"raw_latitude":132198432,"longitude_deg":74.7487936,"latitude_deg":13.2198432,"altitude":12,"angle":332,"satellites":47,"speed":57,"hex_longitude":"2c8dc2c0","hex_latitude":"07e13020","is_valid_coordinates":true} 
[2026-09-19 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188363776001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":479064947163136,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8226950585458614272,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789798303000,"timestamp_ms":1789798303000,"timestamp_seconds":1789798303,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84ac518"} 
[2026-09-19 11:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:43: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-19 11:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188363776001,"66":28376,"219":206,"9":54272,"24":57,"16":479064947163136,"44":-8226950585458614272},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188363776001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":479064947163136,"km_value":479064947163.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8226950585458614272,"description":"Unknown IO ID 44"} 
[2026-09-19 11:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188363776001,"power":28376,"unknown_219":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8226950585458614272}} 
[2026-09-19 11:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":186830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:20] local.INFO: GPS data processed {"connection_id":186830,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:20] local.INFO: Acknowledgment sent {"connection_id":186830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:24] local.INFO: TCP Data received {"connection_id":186711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84b78c8012d1b8d80071df208005d000229..."} 
[2026-09-19 11:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84b78c8012d1b8d80071df208005d000229..."} 
[2026-09-19 11:43:24] local.INFO: Processing buffer {"connection_id":186711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84b78c8012d1b8d80071df208005d000229..."} 
[2026-09-19 11:43:24] local.INFO: Packet analysis {"connection_id":186711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:43:24] local.INFO: Extracted packet for processing {"connection_id":186711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756780416,"raw_latitude":119403016,"longitude_deg":75.6780416,"latitude_deg":11.9403016,"altitude":93,"angle":2,"satellites":41,"speed":17,"hex_longitude":"2d1b8d80","hex_latitude":"071df208","is_valid_coordinates":true} 
[2026-09-19 11:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188374784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21629897684287488,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986087466236739584,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789798349000,"timestamp_ms":1789798349000,"timestamp_seconds":1789798349,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84b78c8"} 
[2026-09-19 11:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-19 11:43:24] 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-19 11:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:43:24] 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-19 11:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188374784001,"66":14070,"109":206,"83":41984,"24":17,"16":21629897684287488,"45":1986087466236739584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188374784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21629897684287488,"km_value":21629897684287.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986087466236739584,"description":"Unknown IO ID 45"} 
[2026-09-19 11:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188374784001,"power":14070,"unknown_109":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1986087466236739584}} 
[2026-09-19 11:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":186711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:24] local.INFO: GPS data processed {"connection_id":186711,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:24] local.INFO: Acknowledgment sent {"connection_id":186711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:46] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:46] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:46] local.INFO: IMEI packet received {"connection_id":186831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":186831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:43:48] local.INFO: TCP Data received {"connection_id":186829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:48] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:43:48] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:43:48] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43: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-19 11:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:43: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:43: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-19 11: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-19 11: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-19 11:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:43: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-19 11:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:48] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:48] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:49] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:49] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:49] local.INFO: IMEI packet received {"connection_id":186831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":186831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:43:51] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:51] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:43:51] local.INFO: IMEI packet received {"connection_id":186831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":186831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:43:52] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84ae070012c8db18007e153a8000d01532c..."} 
[2026-09-19 11:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84ae070012c8db18007e153a8000d01532c..."} 
[2026-09-19 11:43:52] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84ae070012c8db18007e153a8000d01532c..."} 
[2026-09-19 11:43:52] local.INFO: Packet analysis {"connection_id":186830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:52] local.INFO: Extracted packet for processing {"connection_id":186830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84a"} 
[2026-09-19 11:43:52] local.INFO: GPS Element Parsed {"raw_longitude":747483520,"raw_latitude":132207528,"longitude_deg":74.748352,"latitude_deg":13.2207528,"altitude":13,"angle":339,"satellites":44,"speed":57,"hex_longitude":"2c8db180","hex_latitude":"07e153a8","is_valid_coordinates":true} 
[2026-09-19 11:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188365568001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":479550278467584,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8231806028804513792,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798310000,"timestamp_ms":1789798310000,"timestamp_seconds":1789798310,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84ae070"} 
[2026-09-19 11:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:43:52] 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-19 11:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188365568001,"66":28485,"219":206,"9":54272,"24":57,"16":479550278467584,"44":-8231806028804513792},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188365568001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:43:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":479550278467584,"km_value":479550278467.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8231806028804513792,"description":"Unknown IO ID 44"} 
[2026-09-19 11:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188365568001,"power":28485,"unknown_219":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8231806028804513792}} 
[2026-09-19 11:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":186830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:52] local.INFO: GPS data processed {"connection_id":186830,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:52] local.INFO: Acknowledgment sent {"connection_id":186830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:43:53] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84ba3c0012d1b8d00071e09100061015f29..."} 
[2026-09-19 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84ba3c0012d1b8d00071e09100061015f29..."} 
[2026-09-19 11:43:53] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84ba3c0012d1b8d00071e09100061015f29..."} 
[2026-09-19 11:43:53] local.INFO: Packet analysis {"connection_id":186831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:43:53] local.INFO: Extracted packet for processing {"connection_id":186831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756780288,"raw_latitude":119408912,"longitude_deg":75.6780288,"latitude_deg":11.9408912,"altitude":97,"angle":351,"satellites":41,"speed":25,"hex_longitude":"2d1b8d00","hex_latitude":"071e0910","is_valid_coordinates":true} 
[2026-09-19 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188377344001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21630185447096320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985383778795784192,"note":"Value kept but may cause issues"} 
[2026-09-19 11:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789798360000,"timestamp_ms":1789798360000,"timestamp_seconds":1789798360,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84ba3c0"} 
[2026-09-19 11:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:43:53] 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-19 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 11:43:53] 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-19 11:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:43:53] 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-19 11:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188377344001,"66":13993,"109":206,"83":41984,"24":25,"16":21630185447096320,"45":1985383778795784192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188377344001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:43:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21630185447096320,"km_value":21630185447096.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985383778795784192,"description":"Unknown IO ID 45"} 
[2026-09-19 11:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188377344001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1985383778795784192}} 
[2026-09-19 11:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":186831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:43:53] local.INFO: GPS data processed {"connection_id":186831,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:43:53] local.INFO: Acknowledgment sent {"connection_id":186831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:09] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:09] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:09] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:44:10] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:10] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:10] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:44:14] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:44:14] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:44:14] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:44:14] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:14] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:44:14] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:44:15] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84c24a8012c8d738007e2ab500011014e2a..."} 
[2026-09-19 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84c24a8012c8d738007e2ab500011014e2a..."} 
[2026-09-19 11:44:15] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84c24a8012c8d738007e2ab500011014e2a..."} 
[2026-09-19 11:44:15] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:15] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":747467648,"raw_latitude":132295504,"longitude_deg":74.7467648,"latitude_deg":13.2295504,"altitude":17,"angle":334,"satellites":42,"speed":43,"hex_longitude":"2c8d7380","hex_latitude":"07e2ab50","is_valid_coordinates":true} 
[2026-09-19 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188386304001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":484008454520832,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8249327846082205696,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798393000,"timestamp_ms":1789798393000,"timestamp_seconds":1789798393,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84c24a8"} 
[2026-09-19 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:15] 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-19 11:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188386304001,"66":28354,"219":206,"9":54272,"24":43,"16":484008454520832,"44":-8249327846082205696},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188386304001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":484008454520832,"km_value":484008454520.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8249327846082205696,"description":"Unknown IO ID 44"} 
[2026-09-19 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188386304001,"power":28354,"unknown_219":206,"unknown_9":54272,"ignition":43,"odometer":null,"unknown_44":-8249327846082205696}} 
[2026-09-19 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:15] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:15] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:16] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:16] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:16] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:44:16] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:16] 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-19 11:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:44: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-19 11:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:44: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-19 11:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:16] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:16] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:20] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84c43e8012c8d644007e2cb300012014f2d..."} 
[2026-09-19 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84c43e8012c8d644007e2cb300012014f2d..."} 
[2026-09-19 11:44:20] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84c43e8012c8d644007e2cb300012014f2d..."} 
[2026-09-19 11:44:20] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:20] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":747463744,"raw_latitude":132303664,"longitude_deg":74.7463744,"latitude_deg":13.2303664,"altitude":18,"angle":335,"satellites":45,"speed":45,"hex_longitude":"2c8d6440","hex_latitude":"07e2cb30","is_valid_coordinates":true} 
[2026-09-19 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188388608001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":484446541185024,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8254112920683982848,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789798401000,"timestamp_ms":1789798401000,"timestamp_seconds":1789798401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84c43e8"} 
[2026-09-19 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:44: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-19 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188388608001,"66":28376,"219":206,"9":54272,"24":45,"16":484446541185024,"44":-8254112920683982848},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188388608001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":484446541185024,"km_value":484446541185.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8254112920683982848,"description":"Unknown IO ID 44"} 
[2026-09-19 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188388608001,"power":28376,"unknown_219":206,"unknown_9":54272,"ignition":45,"odometer":null,"unknown_44":-8254112920683982848}} 
[2026-09-19 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:20] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:20] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:40] local.INFO: TCP Data received {"connection_id":186831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84bb360012d1b8c80071e12880062000429..."} 
[2026-09-19 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84bb360012d1b8c80071e12880062000429..."} 
[2026-09-19 11:44:40] local.INFO: Processing buffer {"connection_id":186831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84bb360012d1b8c80071e12880062000429..."} 
[2026-09-19 11:44:40] local.INFO: Packet analysis {"connection_id":186831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:44:40] local.INFO: Extracted packet for processing {"connection_id":186831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84b"} 
[2026-09-19 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756780160,"raw_latitude":119411336,"longitude_deg":75.678016,"latitude_deg":11.9411336,"altitude":98,"angle":4,"satellites":41,"speed":22,"hex_longitude":"2d1b8c80","hex_latitude":"071e1288","is_valid_coordinates":true} 
[2026-09-19 11:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188380160001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21630301411213312,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985243041308938240,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789798364000,"timestamp_ms":1789798364000,"timestamp_seconds":1789798364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84bb360"} 
[2026-09-19 11:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":186831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":186831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44: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-19 11:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188380160001,"66":12798,"109":206,"83":41984,"24":22,"16":21630301411213312,"45":1985243041308938240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188380160001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21630301411213312,"km_value":21630301411213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985243041308938240,"description":"Unknown IO ID 45"} 
[2026-09-19 11:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188380160001,"power":12798,"unknown_109":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1985243041308938240}} 
[2026-09-19 11:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":186831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:40] local.INFO: GPS data processed {"connection_id":186831,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:40] local.INFO: Acknowledgment sent {"connection_id":186831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:46] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:46] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:46] local.INFO: IMEI packet received {"connection_id":189447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":189447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:44:48] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:48] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:44:48] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:44:48] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44: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-19 11:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:44: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-19 11:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:48] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:48] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:51] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: IMEI packet received {"connection_id":189447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":189447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:44:51] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:44:51] local.INFO: IMEI packet received {"connection_id":189447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":189447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:44:52] local.INFO: TCP Data received {"connection_id":186833,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84c6328012c8d558007e2ece0001201542b..."} 
[2026-09-19 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84c6328012c8d558007e2ece0001201542b..."} 
[2026-09-19 11:44:52] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84c6328012c8d558007e2ece0001201542b..."} 
[2026-09-19 11:44:52] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:52] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":747459968,"raw_latitude":132312288,"longitude_deg":74.7459968,"latitude_deg":13.2312288,"altitude":18,"angle":340,"satellites":43,"speed":49,"hex_longitude":"2c8d5580","hex_latitude":"07e2ece0","is_valid_coordinates":true} 
[2026-09-19 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188390656001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":484901807718400,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8258405414076731392,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798409000,"timestamp_ms":1789798409000,"timestamp_seconds":1789798409,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84c6328"} 
[2026-09-19 11:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:52] 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-19 11:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188390656001,"66":28376,"219":206,"9":54272,"24":49,"16":484901807718400,"44":-8258405414076731392},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188390656001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":484901807718400,"km_value":484901807718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8258405414076731392,"description":"Unknown IO ID 44"} 
[2026-09-19 11:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188390656001,"power":28376,"unknown_219":206,"unknown_9":54272,"ignition":49,"odometer":null,"unknown_44":-8258405414076731392}} 
[2026-09-19 11:44:52] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84ca590012d1bc080071e64880057013c28..."} 
[2026-09-19 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84ca590012d1bc080071e64880057013c28..."} 
[2026-09-19 11:44:52] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84ca590012d1bc080071e64880057013c28..."} 
[2026-09-19 11:44:52] local.INFO: Packet analysis {"connection_id":189447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:52] local.INFO: Extracted packet for processing {"connection_id":189447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756793472,"raw_latitude":119432328,"longitude_deg":75.6793472,"latitude_deg":11.9432328,"altitude":87,"angle":316,"satellites":40,"speed":8,"hex_longitude":"2d1bc080","hex_latitude":"071e6488","is_valid_coordinates":true} 
[2026-09-19 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188396800001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21631529771859968,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999809371359666176,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798426000,"timestamp_ms":1789798426000,"timestamp_seconds":1789798426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84ca590"} 
[2026-09-19 11:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:44:52] 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-19 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3443223808,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3091994864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2147950151,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3646947328,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,83,24,241,157,16,217,160,45,99,86,41,10,66,153,98,85,142,64,1,240,27,227,184,30,4,113,205,19,44,175,40,239,56,2,76,7,91,17],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-19 11:44:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6197325993502769152,"timestamp_seconds":6197325993502769.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44:52] 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-19 11:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188396800001,"66":14080,"109":206,"83":41984,"24":8,"16":21631529771859968,"45":1999809371359666176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188396800001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21631529771859968,"km_value":21631529771859.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999809371359666176,"description":"Unknown IO ID 45"} 
[2026-09-19 11:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188396800001,"power":14080,"unknown_109":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1999809371359666176}} 
[2026-09-19 11:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:52] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:52] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":189447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:52] local.INFO: GPS data processed {"connection_id":189447,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:52] local.INFO: Acknowledgment sent {"connection_id":189447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:44:55] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84ca978012d1bbf40071e65180058012828..."} 
[2026-09-19 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84ca978012d1bbf40071e65180058012828..."} 
[2026-09-19 11:44:55] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84ca978012d1bbf40071e65180058012828..."} 
[2026-09-19 11:44:55] local.INFO: Packet analysis {"connection_id":189447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:55] local.INFO: Extracted packet for processing {"connection_id":189447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756793152,"raw_latitude":119432472,"longitude_deg":75.6793152,"latitude_deg":11.9432472,"altitude":88,"angle":296,"satellites":40,"speed":10,"hex_longitude":"2d1bbf40","hex_latitude":"071e6518","is_valid_coordinates":true} 
[2026-09-19 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-19 11:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188397056001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21631546951729152,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999739002615531520,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789798427000,"timestamp_ms":1789798427000,"timestamp_seconds":1789798427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84ca978"} 
[2026-09-19 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-19 11:44:55] 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-19 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3443223808,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3091999864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148923,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3648454656,"note":"Value kept but may cause issues"} 
[2026-09-19 11:44:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,83,24,241,157,16,217,160,161,45,192,99,86,40,10,66,41,153,1,240,22,227,184,30,4,113,205,9,60,180,239,54,2,76,7,89,18],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-19 11:44:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269358298773323776,"timestamp_seconds":6269358298773324.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 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-19 11:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:44:55] 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-19 11:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188397056001,"66":13961,"109":206,"83":41984,"24":10,"16":21631546951729152,"45":1999739002615531520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188397056001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:44:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21631546951729152,"km_value":21631546951729.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999739002615531520,"description":"Unknown IO ID 45"} 
[2026-09-19 11:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188397056001,"power":13961,"unknown_109":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1999739002615531520}} 
[2026-09-19 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":189447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:44:55] local.INFO: GPS data processed {"connection_id":189447,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:44:55] local.INFO: Acknowledgment sent {"connection_id":189447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:09] local.INFO: TCP Data received {"connection_id":189448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:09] local.INFO: Processing buffer {"connection_id":189448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:09] local.INFO: IMEI packet received {"connection_id":189448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":189448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:45:10] local.INFO: TCP Data received {"connection_id":186834,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:10] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:10] local.INFO: IMEI packet received {"connection_id":186834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":186834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:45:14] local.INFO: TCP Data received {"connection_id":186834,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:14] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:14] local.INFO: IMEI packet received {"connection_id":186834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:45:14] local.INFO: TCP Data received {"connection_id":189448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:14] local.INFO: Processing buffer {"connection_id":189448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:45:14] local.INFO: IMEI packet received {"connection_id":189448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":189448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:45:16] local.INFO: TCP Data received {"connection_id":189448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:45:16] local.INFO: Processing buffer {"connection_id":189448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8490f98012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:45:16] local.INFO: Packet analysis {"connection_id":189448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:45:16] local.INFO: Extracted packet for processing {"connection_id":189448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b849"} 
[2026-09-19 11:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188259840001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:16] 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-19 11:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798191000,"timestamp_ms":1789798191000,"timestamp_seconds":1789798191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8490f98"} 
[2026-09-19 11: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-19 11:45: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:45: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-19 11:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188259840001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188259840001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188259840001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":189448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:45:16] local.INFO: GPS data processed {"connection_id":189448,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:45:16] local.INFO: Acknowledgment sent {"connection_id":189448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:18] local.INFO: TCP Data received {"connection_id":186834,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:18] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:45:18] local.INFO: IMEI packet received {"connection_id":186834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":186834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:45:19] local.INFO: TCP Data received {"connection_id":186834,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84c7a98012c8d4e0007e30ac8001001612c..."} 
[2026-09-19 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84c7a98012c8d4e0007e30ac8001001612c..."} 
[2026-09-19 11:45:19] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84c7a98012c8d4e0007e30ac8001001612c..."} 
[2026-09-19 11:45:19] local.INFO: Packet analysis {"connection_id":186834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:45:19] local.INFO: Extracted packet for processing {"connection_id":186834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":747458048,"raw_latitude":132319944,"longitude_deg":74.7458048,"latitude_deg":13.2319944,"altitude":16,"angle":353,"satellites":44,"speed":55,"hex_longitude":"2c8d4e00","hex_latitude":"07e30ac8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188392704001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":485284059807744,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8262557169981005824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789798415000,"timestamp_ms":1789798415000,"timestamp_seconds":1789798415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84c7a98"} 
[2026-09-19 11: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-19 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:45:19] 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-19 11: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-19 11: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-19 11:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188392704001,"66":28376,"219":206,"9":54272,"24":55,"16":485284059807744,"44":-8262557169981005824},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 11:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188392704001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:45:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 11:45:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":485284059807744,"km_value":485284059807.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8262557169981005824,"description":"Unknown IO ID 44"} 
[2026-09-19 11:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188392704001,"power":28376,"unknown_219":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8262557169981005824}} 
[2026-09-19 11:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":186834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:45:19] local.INFO: GPS data processed {"connection_id":186834,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:45:19] local.INFO: Acknowledgment sent {"connection_id":186834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:43] local.INFO: TCP Data received {"connection_id":189447,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84cad60012d1bbe00071e65600058011b28..."} 
[2026-09-19 11:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84cad60012d1bbe00071e65600058011b28..."} 
[2026-09-19 11:45:43] local.INFO: Processing buffer {"connection_id":189447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84cad60012d1bbe00071e65600058011b28..."} 
[2026-09-19 11:45:43] local.INFO: Packet analysis {"connection_id":189447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:45:43] local.INFO: Extracted packet for processing {"connection_id":189447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84c"} 
[2026-09-19 11:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756792832,"raw_latitude":119432544,"longitude_deg":75.6792832,"latitude_deg":11.9432544,"altitude":88,"angle":283,"satellites":40,"speed":12,"hex_longitude":"2d1bbe00","hex_latitude":"071e6560","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188397312001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21631559836631040,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999387158894680064,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789798428000,"timestamp_ms":1789798428000,"timestamp_seconds":1789798428,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84cad60"} 
[2026-09-19 11: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-19 11:45: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-19 11: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 11:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:45:43] 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-19 11:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188397312001,"66":13961,"109":206,"83":41984,"24":12,"16":21631559836631040,"45":1999387158894680064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-19 11:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188397312001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:45:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 11:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21631559836631040,"km_value":21631559836631.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999387158894680064,"description":"Unknown IO ID 45"} 
[2026-09-19 11:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188397312001,"power":13961,"unknown_109":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1999387158894680064}} 
[2026-09-19 11:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":189447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:45:43] local.INFO: GPS data processed {"connection_id":189447,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:45:43] local.INFO: Acknowledgment sent {"connection_id":189447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:47] local.INFO: TCP Data received {"connection_id":189448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:45:47] local.INFO: Processing buffer {"connection_id":189448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:45:47] local.INFO: Packet analysis {"connection_id":189448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:45:47] local.INFO: Extracted packet for processing {"connection_id":189448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45: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-19 11:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11: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-19 11:45: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-19 11: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:45: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-19 11: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-19 11: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-19 11:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:45:47] 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-19 11:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":189448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:45:47] local.INFO: GPS data processed {"connection_id":189448,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:45:47] local.INFO: Acknowledgment sent {"connection_id":189448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:50] local.INFO: TCP Data received {"connection_id":186834,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84dab48012c8d2d0007e49340000d01552c..."} 
[2026-09-19 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84dab48012c8d2d0007e49340000d01552c..."} 
[2026-09-19 11:45:50] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84dab48012c8d2d0007e49340000d01552c..."} 
[2026-09-19 11:45:50] local.INFO: Packet analysis {"connection_id":186834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:45:50] local.INFO: Extracted packet for processing {"connection_id":186834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:45:50] local.INFO: GPS Element Parsed {"raw_longitude":747449600,"raw_latitude":132420416,"longitude_deg":74.74496,"latitude_deg":13.2420416,"altitude":13,"angle":341,"satellites":44,"speed":56,"hex_longitude":"2c8d2d00","hex_latitude":"07e49340","is_valid_coordinates":true} 
[2026-09-19 11:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188412416001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":490313466511360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8270438469303676928,"note":"Value kept but may cause issues"} 
[2026-09-19 11:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789798493000,"timestamp_ms":1789798493000,"timestamp_seconds":1789798493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84dab48"} 
[2026-09-19 11:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:45: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-19 11:45: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-19 11:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188412416001,"66":28376,"217":206,"9":54272,"24":56,"16":490313466511360,"44":-8270438469303676928},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188412416001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:45:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:45:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":490313466511360,"km_value":490313466511.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8270438469303676928,"description":"Unknown IO ID 44"} 
[2026-09-19 11:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188412416001,"power":28376,"unknown_217":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8270438469303676928}} 
[2026-09-19 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":186834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:45:51] local.INFO: GPS data processed {"connection_id":186834,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:45:51] local.INFO: Acknowledgment sent {"connection_id":186834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:45:59] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:45:59] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:45:59] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:46:00] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:00] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:00] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:01] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:01] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:01] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:02] local.INFO: TCP Data received {"connection_id":186712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:02] local.INFO: Processing buffer {"connection_id":186712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:46:02] local.INFO: IMEI packet received {"connection_id":186712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":186712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:08] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:08] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:08] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:46:09] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:09] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:09] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:09] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:09] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:09] local.INFO: IMEI packet received {"connection_id":188106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":188106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:46:14] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:14] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:46:14] local.INFO: IMEI packet received {"connection_id":188106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":188106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:15] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:15] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:15] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:46:15] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:15] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:15] local.INFO: Packet analysis {"connection_id":188106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:15] local.INFO: Extracted packet for processing {"connection_id":188106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46: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-19 11:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11: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-19 11:46: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-19 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:46: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-19 11: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-19 11: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-19 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:46: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-19 11:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":188106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:46:15] local.INFO: GPS data processed {"connection_id":188106,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:46:15] local.INFO: Acknowledgment sent {"connection_id":188106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:46:17] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84dc6a0012c8d214007e4b798000d01582c..."} 
[2026-09-19 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84dc6a0012c8d214007e4b798000d01582c..."} 
[2026-09-19 11:46:17] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84dc6a0012c8d214007e4b798000d01582c..."} 
[2026-09-19 11:46:17] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:17] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":747446592,"raw_latitude":132429720,"longitude_deg":74.7446592,"latitude_deg":13.242972,"altitude":13,"angle":344,"satellites":44,"speed":53,"hex_longitude":"2c8d2140","hex_latitude":"07e4b798","is_valid_coordinates":true} 
[2026-09-19 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188414208001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":490785912913920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8273956906510106624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789798500000,"timestamp_ms":1789798500000,"timestamp_seconds":1789798500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84dc6a0"} 
[2026-09-19 11:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11: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-19 11:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188414208001,"66":28332,"217":206,"9":54272,"24":53,"16":490785912913920,"44":-8273956906510106624},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188414208001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:46:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:46:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":490785912913920,"km_value":490785912913.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8273956906510106624,"description":"Unknown IO ID 44"} 
[2026-09-19 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188414208001,"power":28332,"unknown_217":206,"unknown_9":54272,"ignition":53,"odometer":null,"unknown_44":-8273956906510106624}} 
[2026-09-19 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:46:17] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:46:17] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:46:18] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84de5e0012c8d184007e4dbc8000d015c2c..."} 
[2026-09-19 11:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84de5e0012c8d184007e4dbc8000d015c2c..."} 
[2026-09-19 11:46:18] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84de5e0012c8d184007e4dbc8000d015c2c..."} 
[2026-09-19 11:46:18] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:18] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":747444288,"raw_latitude":132438984,"longitude_deg":74.7444288,"latitude_deg":13.2438984,"altitude":13,"angle":348,"satellites":44,"speed":46,"hex_longitude":"2c8d1840","hex_latitude":"07e4dbc8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188416000001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":491249769381888,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8277264237484075008,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789798508000,"timestamp_ms":1789798508000,"timestamp_seconds":1789798508,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84de5e0"} 
[2026-09-19 11: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-19 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 11:46:18] 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-19 11: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-19 11: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-19 11:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188416000001,"66":28398,"217":206,"9":54272,"24":46,"16":491249769381888,"44":-8277264237484075008},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188416000001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:46:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:46:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":491249769381888,"km_value":491249769381.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:46:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8277264237484075008,"description":"Unknown IO ID 44"} 
[2026-09-19 11:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188416000001,"power":28398,"unknown_217":206,"unknown_9":54272,"ignition":46,"odometer":null,"unknown_44":-8277264237484075008}} 
[2026-09-19 11:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:46:18] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:46:18] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:46:47] local.INFO: TCP Data received {"connection_id":188106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:47] local.INFO: Processing buffer {"connection_id":188106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:46:47] local.INFO: Packet analysis {"connection_id":188106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:47] local.INFO: Extracted packet for processing {"connection_id":188106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46: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-19 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 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-19 11:46: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:46: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-19 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-19 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-19 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:46:47] 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-19 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":188106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:46:47] local.INFO: GPS data processed {"connection_id":188106,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:46:47] local.INFO: Acknowledgment sent {"connection_id":188106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:46:50] local.INFO: TCP Data received {"connection_id":186835,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84e0520012c8d108007e500d8000e015c2b..."} 
[2026-09-19 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84e0520012c8d108007e500d8000e015c2b..."} 
[2026-09-19 11:46:50] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84e0520012c8d108007e500d8000e015c2b..."} 
[2026-09-19 11:46:50] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84e"} 
[2026-09-19 11:46:50] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84e"} 
[2026-09-19 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":747442304,"raw_latitude":132448472,"longitude_deg":74.7442304,"latitude_deg":13.2448472,"altitude":14,"angle":348,"satellites":43,"speed":49,"hex_longitude":"2c8d1080","hex_latitude":"07e500d8","is_valid_coordinates":true} 
[2026-09-19 11:46: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-19 11:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188418048001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":491717920817152,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8279797512272099328,"note":"Value kept but may cause issues"} 
[2026-09-19 11:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789798516000,"timestamp_ms":1789798516000,"timestamp_seconds":1789798516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84e0520"} 
[2026-09-19 11:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:46: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:46:50] 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-19 11:46: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-19 11:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188418048001,"66":28398,"217":206,"9":54272,"24":49,"16":491717920817152,"44":-8279797512272099328},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188418048001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:46:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:46:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":491717920817152,"km_value":491717920817.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8279797512272099328,"description":"Unknown IO ID 44"} 
[2026-09-19 11:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188418048001,"power":28398,"unknown_217":206,"unknown_9":54272,"ignition":49,"odometer":null,"unknown_44":-8279797512272099328}} 
[2026-09-19 11:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:46:50] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:46:50] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:47:08] local.INFO: TCP Data received {"connection_id":188108,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:08] local.INFO: Processing buffer {"connection_id":188108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:08] local.INFO: IMEI packet received {"connection_id":188108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":188108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:47:09] local.INFO: TCP Data received {"connection_id":188108,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:09] local.INFO: Processing buffer {"connection_id":188108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:09] local.INFO: IMEI packet received {"connection_id":188108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:47:09] local.INFO: TCP Data received {"connection_id":188107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:09] local.INFO: Processing buffer {"connection_id":188107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:09] local.INFO: IMEI packet received {"connection_id":188107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:47:14] local.INFO: TCP Data received {"connection_id":188107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:14] local.INFO: Processing buffer {"connection_id":188107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:47:14] local.INFO: IMEI packet received {"connection_id":188107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":188107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:47:16] local.INFO: TCP Data received {"connection_id":188107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:16] local.INFO: Processing buffer {"connection_id":188107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:16] local.INFO: Packet analysis {"connection_id":188107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:47:16] local.INFO: Extracted packet for processing {"connection_id":188107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:16] 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-19 11:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:47: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-19 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:47:16] 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-19 11:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":188107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:47:16] local.INFO: GPS data processed {"connection_id":188107,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:47:16] local.INFO: Acknowledgment sent {"connection_id":188107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:47:16] local.INFO: TCP Data received {"connection_id":188108,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:16] local.INFO: Processing buffer {"connection_id":188108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:47:16] local.INFO: IMEI packet received {"connection_id":188108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":188108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:47:20] local.INFO: TCP Data received {"connection_id":188108,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:20] local.INFO: Processing buffer {"connection_id":188108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:20] local.INFO: Packet analysis {"connection_id":188108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84f"} 
[2026-09-19 11:47:20] local.INFO: Extracted packet for processing {"connection_id":188108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84f"} 
[2026-09-19 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":747454144,"raw_latitude":132541688,"longitude_deg":74.7454144,"latitude_deg":13.2541688,"altitude":5,"angle":32,"satellites":45,"speed":57,"hex_longitude":"2c8d3ec0","hex_latitude":"07e66cf8","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188435200001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":496335010660352,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8274168012713875456,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789798582000,"timestamp_ms":1789798582000,"timestamp_seconds":1789798582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84f06f0"} 
[2026-09-19 11: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-19 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:47: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-19 11: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-19 11: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-19 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188435200001,"66":28376,"217":206,"9":54272,"24":57,"16":496335010660352,"44":-8274168012713875456},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188435200001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":496335010660352,"km_value":496335010660.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8274168012713875456,"description":"Unknown IO ID 44"} 
[2026-09-19 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188435200001,"power":28376,"unknown_217":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8274168012713875456}} 
[2026-09-19 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":188108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:47:20] local.INFO: GPS data processed {"connection_id":188108,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:47:20] local.INFO: Acknowledgment sent {"connection_id":188108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:47:48] local.INFO: TCP Data received {"connection_id":188107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:48] local.INFO: Processing buffer {"connection_id":188107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:47:48] local.INFO: Packet analysis {"connection_id":188107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:47:48] local.INFO: Extracted packet for processing {"connection_id":188107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47: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-19 11:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11: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-19 11:47: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:47: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-19 11:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":188107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:47:48] local.INFO: GPS data processed {"connection_id":188107,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:47:48] local.INFO: Acknowledgment sent {"connection_id":188107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:47:52] local.INFO: TCP Data received {"connection_id":188108,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:52] local.INFO: Processing buffer {"connection_id":188108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84f06f0012c8d3ec007e66cf8000500202d..."} 
[2026-09-19 11:47:52] local.INFO: Packet analysis {"connection_id":188108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84f"} 
[2026-09-19 11:47:52] local.INFO: Extracted packet for processing {"connection_id":188108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84f"} 
[2026-09-19 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":747454144,"raw_latitude":132541688,"longitude_deg":74.7454144,"latitude_deg":13.2541688,"altitude":5,"angle":32,"satellites":45,"speed":57,"hex_longitude":"2c8d3ec0","hex_latitude":"07e66cf8","is_valid_coordinates":true} 
[2026-09-19 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188436992001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":496335010660352,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8268960725642446848,"note":"Value kept but may cause issues"} 
[2026-09-19 11:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798582000,"timestamp_ms":1789798582000,"timestamp_seconds":1789798582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84f06f0"} 
[2026-09-19 11:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:47:52] 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-19 11:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188436992001,"66":28376,"217":206,"9":54272,"24":57,"16":496335010660352,"44":-8268960725642446848},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188436992001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:47:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:47:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":496335010660352,"km_value":496335010660.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8268960725642446848,"description":"Unknown IO ID 44"} 
[2026-09-19 11:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188436992001,"power":28376,"unknown_217":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8268960725642446848}} 
[2026-09-19 11:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":188108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:47:52] local.INFO: GPS data processed {"connection_id":188108,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:47:52] local.INFO: Acknowledgment sent {"connection_id":188108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:48:10] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:10] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:10] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:48:15] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:15] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:48:15] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:48:19] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:19] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:19] local.INFO: Packet analysis {"connection_id":186836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:48:19] local.INFO: Extracted packet for processing {"connection_id":186836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:19] 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-19 11:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:48:19] 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-19 11:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":186836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:48:19] local.INFO: GPS data processed {"connection_id":186836,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:48:19] local.INFO: Acknowledgment sent {"connection_id":186836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:48:44] local.INFO: TCP Data received {"connection_id":189450,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:44] local.INFO: Processing buffer {"connection_id":189450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:44] local.INFO: IMEI packet received {"connection_id":189450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":189450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:48:48] local.INFO: TCP Data received {"connection_id":189450,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:48] local.INFO: Processing buffer {"connection_id":189450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:48:48] local.INFO: IMEI packet received {"connection_id":189450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":189450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:48:49] local.INFO: TCP Data received {"connection_id":189450,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8502fd0012c8dc5c007e7faf8000700082d..."} 
[2026-09-19 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8502fd0012c8dc5c007e7faf8000700082d..."} 
[2026-09-19 11:48:49] local.INFO: Processing buffer {"connection_id":189450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8502fd0012c8dc5c007e7faf8000700082d..."} 
[2026-09-19 11:48:49] local.INFO: Packet analysis {"connection_id":189450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:48:49] local.INFO: Extracted packet for processing {"connection_id":189450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:48:49] local.INFO: GPS Element Parsed {"raw_longitude":747488704,"raw_latitude":132643576,"longitude_deg":74.7488704,"latitude_deg":13.2643576,"altitude":7,"angle":8,"satellites":45,"speed":46,"hex_longitude":"2c8dc5c0","hex_latitude":"07e7faf8","is_valid_coordinates":true} 
[2026-09-19 11:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188454656001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":501613525467136,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8232791191111278592,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789798658000,"timestamp_ms":1789798658000,"timestamp_seconds":1789798658,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8502fd0"} 
[2026-09-19 11:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:48: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-19 11:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188454656001,"66":28376,"217":206,"9":54272,"24":46,"16":501613525467136,"44":-8232791191111278592},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188454656001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:48:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:48:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":501613525467136,"km_value":501613525467.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8232791191111278592,"description":"Unknown IO ID 44"} 
[2026-09-19 11:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188454656001,"power":28376,"unknown_217":206,"unknown_9":54272,"ignition":46,"odometer":null,"unknown_44":-8232791191111278592}} 
[2026-09-19 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":189450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:48:50] local.INFO: GPS data processed {"connection_id":189450,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:48:50] local.INFO: Acknowledgment sent {"connection_id":189450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:48:50] local.INFO: TCP Data received {"connection_id":186836,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:50] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:48:50] local.INFO: Packet analysis {"connection_id":186836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:48:50] local.INFO: Extracted packet for processing {"connection_id":186836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:48: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-19 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:48:50] 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-19 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:48: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:48: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-19 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:48:50] 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-19 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":186836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:48:50] local.INFO: GPS data processed {"connection_id":186836,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:48:50] local.INFO: Acknowledgment sent {"connection_id":186836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:49:09] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:09] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:09] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:49:14] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:14] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:49:14] local.INFO: IMEI packet received {"connection_id":186714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":186714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:49:15] local.INFO: TCP Data received {"connection_id":188110,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: IMEI packet received {"connection_id":188110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":188110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:49:15] local.INFO: TCP Data received {"connection_id":188110,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:15] local.INFO: IMEI packet received {"connection_id":188110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":188110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:49:16] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:16] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:16] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:49:16] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:16] 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-19 11:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:49: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-19 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:49:16] 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-19 11:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:49:16] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:49:16] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:49:19] local.INFO: TCP Data received {"connection_id":188110,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:19] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:49:19] local.INFO: IMEI packet received {"connection_id":188110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":188110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:49:20] local.INFO: TCP Data received {"connection_id":188110,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8504f10012c8dc8c007e81db8000900032d..."} 
[2026-09-19 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8504f10012c8dc8c007e81db8000900032d..."} 
[2026-09-19 11:49:20] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8504f10012c8dc8c007e81db8000900032d..."} 
[2026-09-19 11:49:20] local.INFO: Packet analysis {"connection_id":188110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:49:20] local.INFO: Extracted packet for processing {"connection_id":188110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:49:20] local.INFO: GPS Element Parsed {"raw_longitude":747489472,"raw_latitude":132652472,"longitude_deg":74.7489472,"latitude_deg":13.2652472,"altitude":9,"angle":3,"satellites":45,"speed":44,"hex_longitude":"2c8dc8c0","hex_latitude":"07e81db8","is_valid_coordinates":true} 
[2026-09-19 11:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188456448001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":502047317164032,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8230961603760424960,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789798666000,"timestamp_ms":1789798666000,"timestamp_seconds":1789798666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8504f10"} 
[2026-09-19 11:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:49:20] 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-19 11:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188456448001,"66":28398,"217":206,"9":54272,"24":44,"16":502047317164032,"44":-8230961603760424960},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 11:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188456448001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:49:20] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 11:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":502047317164032,"km_value":502047317164.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8230961603760424960,"description":"Unknown IO ID 44"} 
[2026-09-19 11:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188456448001,"power":28398,"unknown_217":206,"unknown_9":54272,"ignition":44,"odometer":null,"unknown_44":-8230961603760424960}} 
[2026-09-19 11:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":188110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:49:20] local.INFO: GPS data processed {"connection_id":188110,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:49:20] local.INFO: Acknowledgment sent {"connection_id":188110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:49:48] local.INFO: TCP Data received {"connection_id":186714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:48] local.INFO: Processing buffer {"connection_id":186714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:49:48] local.INFO: Packet analysis {"connection_id":186714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:49:48] local.INFO: Extracted packet for processing {"connection_id":186714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49: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-19 11:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11: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-19 11:49: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-19 11: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-19 11: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-19 11: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-19 11: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-19 11:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:49: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-19 11:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":186714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:49:48] local.INFO: GPS data processed {"connection_id":186714,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:49:48] local.INFO: Acknowledgment sent {"connection_id":186714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:49:52] local.INFO: TCP Data received {"connection_id":188110,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8506e50012c8dc90007e84138000b01652c..."} 
[2026-09-19 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8506e50012c8dc90007e84138000b01652c..."} 
[2026-09-19 11:49:52] local.INFO: Processing buffer {"connection_id":188110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8506e50012c8dc90007e84138000b01652c..."} 
[2026-09-19 11:49:52] local.INFO: Packet analysis {"connection_id":188110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:49:52] local.INFO: Extracted packet for processing {"connection_id":188110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":747489536,"raw_latitude":132661560,"longitude_deg":74.7489536,"latitude_deg":13.266156,"altitude":11,"angle":357,"satellites":44,"speed":46,"hex_longitude":"2c8dc900","hex_latitude":"07e84138","is_valid_coordinates":true} 
[2026-09-19 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188458496001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":502485403828224,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8230117178828015616,"note":"Value kept but may cause issues"} 
[2026-09-19 11:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798674000,"timestamp_ms":1789798674000,"timestamp_seconds":1789798674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8506e50"} 
[2026-09-19 11:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:49:52] 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-19 11:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188458496001,"66":28267,"188":206,"9":54272,"24":46,"16":502485403828224,"44":-8230117178828015616},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188458496001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:49:52] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:49:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":502485403828224,"km_value":502485403828.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8230117178828015616,"description":"Unknown IO ID 44"} 
[2026-09-19 11:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188458496001,"power":28267,"unknown_188":206,"unknown_9":54272,"ignition":46,"odometer":null,"unknown_44":-8230117178828015616}} 
[2026-09-19 11:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":188110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:49:52] local.INFO: GPS data processed {"connection_id":188110,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:49:52] local.INFO: Acknowledgment sent {"connection_id":188110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:50:09] local.INFO: TCP Data received {"connection_id":188111,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:09] local.INFO: Processing buffer {"connection_id":188111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:09] local.INFO: IMEI packet received {"connection_id":188111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:50:10] local.INFO: TCP Data received {"connection_id":186838,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:10] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:10] local.INFO: IMEI packet received {"connection_id":186838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":186838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:50:14] local.INFO: TCP Data received {"connection_id":186838,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:14] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:50:14] local.INFO: IMEI packet received {"connection_id":186838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":186838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:50:14] local.INFO: TCP Data received {"connection_id":188111,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:14] local.INFO: Processing buffer {"connection_id":188111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:50:14] local.INFO: IMEI packet received {"connection_id":188111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:50:16] local.INFO: TCP Data received {"connection_id":186838,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:50:16] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b84da760012d34c14006aa41400008010e2d..."} 
[2026-09-19 11:50:16] local.INFO: Packet analysis {"connection_id":186838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:50:16] local.INFO: Extracted packet for processing {"connection_id":186838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b84d"} 
[2026-09-19 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188336896001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] 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-19 11:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798492000,"timestamp_ms":1789798492000,"timestamp_seconds":1789798492,"priority":1,"record_length":96,"hex_timestamp":"000001a0b84da760"} 
[2026-09-19 11: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-19 11:50: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-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:50: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-19 11:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188336896001,"66":25691,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188336896001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188336896001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":186838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:50:16] local.INFO: GPS data processed {"connection_id":186838,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:50:16] local.INFO: Acknowledgment sent {"connection_id":186838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:50:16] local.INFO: TCP Data received {"connection_id":188111,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8508d90012c8dc54007e86738000a015f2b..."} 
[2026-09-19 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8508d90012c8dc54007e86738000a015f2b..."} 
[2026-09-19 11:50:16] local.INFO: Processing buffer {"connection_id":188111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8508d90012c8dc54007e86738000a015f2b..."} 
[2026-09-19 11:50:16] local.INFO: Packet analysis {"connection_id":188111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:50:16] local.INFO: Extracted packet for processing {"connection_id":188111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b850"} 
[2026-09-19 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":747488576,"raw_latitude":132671288,"longitude_deg":74.7488576,"latitude_deg":13.2671288,"altitude":10,"angle":351,"satellites":43,"speed":51,"hex_longitude":"2c8dc540","hex_latitude":"07e86738","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188460544001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":502962145198080,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8230046810081511424,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798682000,"timestamp_ms":1789798682000,"timestamp_seconds":1789798682,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8508d90"} 
[2026-09-19 11: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-19 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:50:16] 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-19 11: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-19 11: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-19 11:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188460544001,"66":28430,"188":206,"9":54272,"24":51,"16":502962145198080,"44":-8230046810081511424},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188460544001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":502962145198080,"km_value":502962145198.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8230046810081511424,"description":"Unknown IO ID 44"} 
[2026-09-19 11:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188460544001,"power":28430,"unknown_188":206,"unknown_9":54272,"ignition":51,"odometer":null,"unknown_44":-8230046810081511424}} 
[2026-09-19 11:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":188111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:50:16] local.INFO: GPS data processed {"connection_id":188111,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:50:16] local.INFO: Acknowledgment sent {"connection_id":188111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:50:47] local.INFO: TCP Data received {"connection_id":188111,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:50:47] local.INFO: Processing buffer {"connection_id":188111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:50:47] local.INFO: Packet analysis {"connection_id":188111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:50:47] local.INFO: Extracted packet for processing {"connection_id":188111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":747492288,"raw_latitude":132799584,"longitude_deg":74.7492288,"latitude_deg":13.2799584,"altitude":7,"angle":0,"satellites":44,"speed":37,"hex_longitude":"2c8dd3c0","hex_latitude":"07ea5c60","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188489984001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":509305811894272,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8228217222699898880,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798799000,"timestamp_ms":1789798799000,"timestamp_seconds":1789798799,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8525698"} 
[2026-09-19 11: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-19 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:50: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-19 11: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-19 11: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-19 11:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188489984001,"66":28278,"188":206,"9":54272,"24":37,"16":509305811894272,"44":-8228217222699898880},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188489984001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:50:47] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:50:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":509305811894272,"km_value":509305811894.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8228217222699898880,"description":"Unknown IO ID 44"} 
[2026-09-19 11:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188489984001,"power":28278,"unknown_188":206,"unknown_9":54272,"ignition":37,"odometer":null,"unknown_44":-8228217222699898880}} 
[2026-09-19 11:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":188111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:50:48] local.INFO: GPS data processed {"connection_id":188111,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:50:48] local.INFO: Acknowledgment sent {"connection_id":188111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:50:48] local.INFO: TCP Data received {"connection_id":186838,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:50:48] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:50:48] local.INFO: Packet analysis {"connection_id":186838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:50:48] local.INFO: Extracted packet for processing {"connection_id":186838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:50: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-19 11:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11: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-19 11:50: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-19 11: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:50: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-19 11: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-19 11: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-19 11:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:50: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-19 11:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":186838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:50:48] local.INFO: GPS data processed {"connection_id":186838,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:50:48] local.INFO: Acknowledgment sent {"connection_id":186838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:04] local.INFO: TCP Data received {"connection_id":189451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:04] local.INFO: Processing buffer {"connection_id":189451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:04] local.INFO: IMEI packet received {"connection_id":189451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":189451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:51:05] local.INFO: TCP Data received {"connection_id":189451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8526250012d1b9a00071f76f80044004a1e..."} 
[2026-09-19 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8526250012d1b9a00071f76f80044004a1e..."} 
[2026-09-19 11:51:05] local.INFO: Processing buffer {"connection_id":189451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8526250012d1b9a00071f76f80044004a1e..."} 
[2026-09-19 11:51:05] local.INFO: Packet analysis {"connection_id":189451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:05] local.INFO: Extracted packet for processing {"connection_id":189451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756783616,"raw_latitude":119502584,"longitude_deg":75.6783616,"latitude_deg":11.9502584,"altitude":68,"angle":74,"satellites":30,"speed":5,"hex_longitude":"2d1b9a00","hex_latitude":"071f76f8","is_valid_coordinates":true} 
[2026-09-19 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188489984001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640278620241920,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986720784960655360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51: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-19 11:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789798802000,"timestamp_ms":1789798802000,"timestamp_seconds":1789798802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8526250"} 
[2026-09-19 11:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":189451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":189451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":189451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:51:05] 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-19 11:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188489984001,"66":14515,"101":206,"83":41984,"24":5,"16":21640278620241920,"45":1986720784960655360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188489984001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640278620241920,"km_value":21640278620241.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986720784960655360,"description":"Unknown IO ID 45"} 
[2026-09-19 11:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188489984001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1986720784960655360}} 
[2026-09-19 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":189451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:05] local.INFO: GPS data processed {"connection_id":189451,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:05] local.INFO: Acknowledgment sent {"connection_id":189451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:09] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:09] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:09] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:51:09] local.INFO: TCP Data received {"connection_id":186840,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:09] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:09] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:51:10] local.INFO: TCP Data received {"connection_id":186840,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:10] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:10] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:51:14] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:14] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:51:14] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:51:14] local.INFO: TCP Data received {"connection_id":186840,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:14] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:51:14] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:51:15] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:15] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:15] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:15] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51: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-19 11:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51: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-19 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:51:15] 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-19 11:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:16] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:16] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:16] local.INFO: TCP Data received {"connection_id":186840,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:51:16] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8525698012c8dd3c007ea5c60000700002c..."} 
[2026-09-19 11:51:16] local.INFO: Packet analysis {"connection_id":186840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:16] local.INFO: Extracted packet for processing {"connection_id":186840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:16] local.INFO: GPS Element Parsed {"raw_longitude":747492288,"raw_latitude":132799584,"longitude_deg":74.7492288,"latitude_deg":13.2799584,"altitude":7,"angle":0,"satellites":44,"speed":37,"hex_longitude":"2c8dd3c0","hex_latitude":"07ea5c60","is_valid_coordinates":true} 
[2026-09-19 11:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188492544001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":509305811894272,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8227020954046537728,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798799000,"timestamp_ms":1789798799000,"timestamp_seconds":1789798799,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8525698"} 
[2026-09-19 11:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:16] 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-19 11:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188492544001,"66":28278,"188":206,"9":54272,"24":37,"16":509305811894272,"44":-8227020954046537728},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188492544001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":509305811894272,"km_value":509305811894.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8227020954046537728,"description":"Unknown IO ID 44"} 
[2026-09-19 11:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188492544001,"power":28278,"unknown_188":206,"unknown_9":54272,"ignition":37,"odometer":null,"unknown_44":-8227020954046537728}} 
[2026-09-19 11:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:16] local.INFO: GPS data processed {"connection_id":186840,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:16] local.INFO: Acknowledgment sent {"connection_id":186840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:42] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:42] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:42] local.INFO: IMEI packet received {"connection_id":186715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":186715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:51:46] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:46] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:46] local.INFO: IMEI packet received {"connection_id":186715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":186715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:51:47] local.INFO: TCP Data received {"connection_id":186840,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85279c0012c8dd0c007ea7bb8000b015c2a..."} 
[2026-09-19 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85279c0012c8dd0c007ea7bb8000b015c2a..."} 
[2026-09-19 11:51:47] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85279c0012c8dd0c007ea7bb8000b015c2a..."} 
[2026-09-19 11:51:47] local.INFO: Packet analysis {"connection_id":186840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:47] local.INFO: Extracted packet for processing {"connection_id":186840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":747491520,"raw_latitude":132807608,"longitude_deg":74.749152,"latitude_deg":13.2807608,"altitude":11,"angle":348,"satellites":42,"speed":34,"hex_longitude":"2c8dd0c0","hex_latitude":"07ea7bb8","is_valid_coordinates":true} 
[2026-09-19 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188492544001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":509696653918208,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8227020954046537728,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798808000,"timestamp_ms":1789798808000,"timestamp_seconds":1789798808,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85279c0"} 
[2026-09-19 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:47] 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-19 11:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188492544001,"66":28539,"188":206,"9":54272,"24":34,"16":509696653918208,"44":-8227020954046537728},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188492544001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":509696653918208,"km_value":509696653918.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8227020954046537728,"description":"Unknown IO ID 44"} 
[2026-09-19 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188492544001,"power":28539,"unknown_188":206,"unknown_9":54272,"ignition":34,"odometer":null,"unknown_44":-8227020954046537728}} 
[2026-09-19 11:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:48] local.INFO: GPS data processed {"connection_id":186840,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:48] local.INFO: Acknowledgment sent {"connection_id":186840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:50] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:50] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:51:50] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:50] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:50] 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-19 11:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:50] 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-19 11:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:51:50] 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-19 11:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:50] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:50] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:51:51] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:51] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:51:51] local.INFO: IMEI packet received {"connection_id":186715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":186715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:51:52] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852a8a0012d1ba0c0071f75980047009f21..."} 
[2026-09-19 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852a8a0012d1ba0c0071f75980047009f21..."} 
[2026-09-19 11:51:52] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852a8a0012d1ba0c0071f75980047009f21..."} 
[2026-09-19 11:51:52] local.INFO: Packet analysis {"connection_id":186715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:52] local.INFO: Extracted packet for processing {"connection_id":186715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756785344,"raw_latitude":119502232,"longitude_deg":75.6785344,"latitude_deg":11.9502232,"altitude":71,"angle":159,"satellites":33,"speed":3,"hex_longitude":"2d1ba0c0","hex_latitude":"071f7598","is_valid_coordinates":true} 
[2026-09-19 11:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188493312001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640381699457024,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988902216030156800,"note":"Value kept but may cause issues"} 
[2026-09-19 11:51:52] 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-19 11:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798820000,"timestamp_ms":1789798820000,"timestamp_seconds":1789798820,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852a8a0"} 
[2026-09-19 11:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:51:52] 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-19 11:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-19 11:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:51:52] 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-19 11:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188493312001,"66":13167,"101":206,"83":41984,"24":3,"16":21640381699457024,"45":1988902216030156800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188493312001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:51:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640381699457024,"km_value":21640381699457.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988902216030156800,"description":"Unknown IO ID 45"} 
[2026-09-19 11:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188493312001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1988902216030156800}} 
[2026-09-19 11:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":186715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:51:52] local.INFO: GPS data processed {"connection_id":186715,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:51:52] local.INFO: Acknowledgment sent {"connection_id":186715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:09] local.INFO: TCP Data received {"connection_id":189453,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:09] local.INFO: Processing buffer {"connection_id":189453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:09] local.INFO: IMEI packet received {"connection_id":189453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":189453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:52:09] local.INFO: TCP Data received {"connection_id":189452,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:09] local.INFO: Processing buffer {"connection_id":189452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:09] local.INFO: IMEI packet received {"connection_id":189452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":189452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:52:13] local.INFO: TCP Data received {"connection_id":189453,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:13] local.INFO: Processing buffer {"connection_id":189453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:13] local.INFO: IMEI packet received {"connection_id":189453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":189453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:52:14] local.INFO: TCP Data received {"connection_id":189453,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:14] local.INFO: Processing buffer {"connection_id":189453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:52:14] local.INFO: IMEI packet received {"connection_id":189453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":189453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:52:14] local.INFO: TCP Data received {"connection_id":189452,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:14] local.INFO: Processing buffer {"connection_id":189452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:52:14] local.INFO: IMEI packet received {"connection_id":189452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":189452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:52:15] local.INFO: TCP Data received {"connection_id":189453,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852a4b8012c8dc88007ea9d68000f01592b..."} 
[2026-09-19 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852a4b8012c8dc88007ea9d68000f01592b..."} 
[2026-09-19 11:52:15] local.INFO: Processing buffer {"connection_id":189453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852a4b8012c8dc88007ea9d68000f01592b..."} 
[2026-09-19 11:52:15] local.INFO: Packet analysis {"connection_id":189453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:15] local.INFO: Extracted packet for processing {"connection_id":189453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":747489408,"raw_latitude":132816232,"longitude_deg":74.7489408,"latitude_deg":13.2816232,"altitude":15,"angle":345,"satellites":43,"speed":31,"hex_longitude":"2c8dc880","hex_latitude":"07ea9d68","is_valid_coordinates":true} 
[2026-09-19 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-19 11:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188494848001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":510126150647808,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8227865378974615552,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798819000,"timestamp_ms":1789798819000,"timestamp_seconds":1789798819,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852a4b8"} 
[2026-09-19 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-19 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:15] 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-19 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-19 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-19 11:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188494848001,"66":28300,"188":206,"9":54272,"24":31,"16":510126150647808,"44":-8227865378974615552},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188494848001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":510126150647808,"km_value":510126150647.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8227865378974615552,"description":"Unknown IO ID 44"} 
[2026-09-19 11:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188494848001,"power":28300,"unknown_188":206,"unknown_9":54272,"ignition":31,"odometer":null,"unknown_44":-8227865378974615552}} 
[2026-09-19 11:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":189453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:15] local.INFO: GPS data processed {"connection_id":189453,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:15] local.INFO: Acknowledgment sent {"connection_id":189453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:15] local.INFO: TCP Data received {"connection_id":189452,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:15] local.INFO: Processing buffer {"connection_id":189452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:15] local.INFO: Packet analysis {"connection_id":189452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:15] local.INFO: Extracted packet for processing {"connection_id":189452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52: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-19 11:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 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-19 11:52: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-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 11:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:52: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-19 11:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":189452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:15] local.INFO: GPS data processed {"connection_id":189452,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:15] local.INFO: Acknowledgment sent {"connection_id":189452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:23] local.INFO: TCP Data received {"connection_id":186715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852c010012d1ba180071f72b8004800b521..."} 
[2026-09-19 11:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852c010012d1ba180071f72b8004800b521..."} 
[2026-09-19 11:52:23] local.INFO: Processing buffer {"connection_id":186715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852c010012d1ba180071f72b8004800b521..."} 
[2026-09-19 11:52:23] local.INFO: Packet analysis {"connection_id":186715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:23] local.INFO: Extracted packet for processing {"connection_id":186715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756785536,"raw_latitude":119501496,"longitude_deg":75.6785536,"latitude_deg":11.9501496,"altitude":72,"angle":181,"satellites":33,"speed":5,"hex_longitude":"2d1ba180","hex_latitude":"071f72b8","is_valid_coordinates":true} 
[2026-09-19 11:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640420354162688,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990802172122863616,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789798826000,"timestamp_ms":1789798826000,"timestamp_seconds":1789798826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852c010"} 
[2026-09-19 11:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:23] 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-19 11:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:52:23] 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-19 11:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188497920001,"66":13091,"101":206,"83":41984,"24":5,"16":21640420354162688,"45":1990802172122863616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640420354162688,"km_value":21640420354162.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990802172122863616,"description":"Unknown IO ID 45"} 
[2026-09-19 11:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188497920001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1990802172122863616}} 
[2026-09-19 11:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":186715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:23] local.INFO: GPS data processed {"connection_id":186715,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:23] local.INFO: Acknowledgment sent {"connection_id":186715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:45] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:45] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:45] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:52:46] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:46] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:46] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:52:47] local.INFO: TCP Data received {"connection_id":189453,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852d398012c8dbf4007eac1080013015a2c..."} 
[2026-09-19 11:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852d398012c8dbf4007eac1080013015a2c..."} 
[2026-09-19 11:52:47] local.INFO: Processing buffer {"connection_id":189453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852d398012c8dbf4007eac1080013015a2c..."} 
[2026-09-19 11:52:47] local.INFO: Packet analysis {"connection_id":189453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:47] local.INFO: Extracted packet for processing {"connection_id":189453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:47] local.INFO: GPS Element Parsed {"raw_longitude":747487040,"raw_latitude":132825352,"longitude_deg":74.748704,"latitude_deg":13.2825352,"altitude":19,"angle":346,"satellites":44,"speed":31,"hex_longitude":"2c8dbf40","hex_latitude":"07eac108","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":510581417181184,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8230187547530270720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798831000,"timestamp_ms":1789798831000,"timestamp_seconds":1789798831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852d398"} 
[2026-09-19 11: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-19 11:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:47] 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-19 11: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-19 11: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-19 11:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188497664001,"66":28256,"188":206,"9":54272,"24":31,"16":510581417181184,"44":-8230187547530270720},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":510581417181184,"km_value":510581417181.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8230187547530270720,"description":"Unknown IO ID 44"} 
[2026-09-19 11:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188497664001,"power":28256,"unknown_188":206,"unknown_9":54272,"ignition":31,"odometer":null,"unknown_44":-8230187547530270720}} 
[2026-09-19 11:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":189453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:47] local.INFO: GPS data processed {"connection_id":189453,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:47] local.INFO: Acknowledgment sent {"connection_id":189453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:47] local.INFO: TCP Data received {"connection_id":189452,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:47] local.INFO: Processing buffer {"connection_id":189452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:52:47] local.INFO: Packet analysis {"connection_id":189452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:47] local.INFO: Extracted packet for processing {"connection_id":189452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52: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-19 11:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11: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-19 11:52: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-19 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:47] 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-19 11: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-19 11: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-19 11:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:52: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-19 11:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":189452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:47] local.INFO: GPS data processed {"connection_id":189452,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:47] local.INFO: Acknowledgment sent {"connection_id":189452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:52:51] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:51] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:52:51] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:52:52] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852cbc8012d1ba180071f7158004900c621..."} 
[2026-09-19 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852cbc8012d1ba180071f7158004900c621..."} 
[2026-09-19 11:52:52] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852cbc8012d1ba180071f7158004900c621..."} 
[2026-09-19 11:52:52] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:52] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756785536,"raw_latitude":119501144,"longitude_deg":75.6785536,"latitude_deg":11.9501144,"altitude":73,"angle":198,"satellites":33,"speed":4,"hex_longitude":"2d1ba180","hex_latitude":"071f7158","is_valid_coordinates":true} 
[2026-09-19 11:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188499456001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640437534031872,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991013278355208192,"note":"Value kept but may cause issues"} 
[2026-09-19 11:52:52] 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-19 11:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798829000,"timestamp_ms":1789798829000,"timestamp_seconds":1789798829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852cbc8"} 
[2026-09-19 11:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:52:52] 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-19 11:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 11:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:52:52] 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-19 11:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188499456001,"66":13015,"101":206,"83":41984,"24":4,"16":21640437534031872,"45":1991013278355208192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188499456001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:52:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:52:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640437534031872,"km_value":21640437534031.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991013278355208192,"description":"Unknown IO ID 45"} 
[2026-09-19 11:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188499456001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1991013278355208192}} 
[2026-09-19 11:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:52:52] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:52:52] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:09] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:09] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:09] local.INFO: IMEI packet received {"connection_id":188112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:53:14] local.INFO: TCP Data received {"connection_id":188113,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:14] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:14] local.INFO: IMEI packet received {"connection_id":188113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:53:14] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:14] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:53:14] local.INFO: IMEI packet received {"connection_id":188112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:53:16] local.INFO: TCP Data received {"connection_id":188113,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:16] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:53:16] local.INFO: IMEI packet received {"connection_id":188113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":188113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:53:16] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:16] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:16] local.INFO: Packet analysis {"connection_id":188112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:16] local.INFO: Extracted packet for processing {"connection_id":188112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:16] 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-19 11:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11: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-19 11:53: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-19 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:16] 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-19 11: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-19 11: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-19 11:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:53:16] 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-19 11:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":188112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:16] local.INFO: GPS data processed {"connection_id":188112,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:16] local.INFO: Acknowledgment sent {"connection_id":188112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:18] local.INFO: TCP Data received {"connection_id":188113,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85325a0012c8db68007eae0500015015b2d..."} 
[2026-09-19 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85325a0012c8db68007eae0500015015b2d..."} 
[2026-09-19 11:53:18] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85325a0012c8db68007eae0500015015b2d..."} 
[2026-09-19 11:53:18] local.INFO: Packet analysis {"connection_id":188113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:53:18] local.INFO: Extracted packet for processing {"connection_id":188113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:53:18] local.INFO: GPS Element Parsed {"raw_longitude":747484800,"raw_latitude":132833360,"longitude_deg":74.74848,"latitude_deg":13.283336,"altitude":21,"angle":347,"satellites":45,"speed":8,"hex_longitude":"2c8db680","hex_latitude":"07eae050","is_valid_coordinates":true} 
[2026-09-19 11:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188500736001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":510985144107008,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8232791191062509568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789798852000,"timestamp_ms":1789798852000,"timestamp_seconds":1789798852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85325a0"} 
[2026-09-19 11:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:18] 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-19 11:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188500736001,"66":28354,"188":206,"9":54272,"24":8,"16":510985144107008,"44":-8232791191062509568},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188500736001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:18] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:53:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":510985144107008,"km_value":510985144107.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8232791191062509568,"description":"Unknown IO ID 44"} 
[2026-09-19 11:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188500736001,"power":28354,"unknown_188":206,"unknown_9":54272,"ignition":8,"odometer":null,"unknown_44":-8232791191062509568}} 
[2026-09-19 11:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":188113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:18] local.INFO: GPS data processed {"connection_id":188113,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:18] local.INFO: Acknowledgment sent {"connection_id":188113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:21] local.INFO: TCP Data received {"connection_id":188113,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85377a8012c8db1c007eaf2b8001601572c..."} 
[2026-09-19 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85377a8012c8db1c007eaf2b8001601572c..."} 
[2026-09-19 11:53:21] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85377a8012c8db1c007eaf2b8001601572c..."} 
[2026-09-19 11:53:21] local.INFO: Packet analysis {"connection_id":188113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:53:21] local.INFO: Extracted packet for processing {"connection_id":188113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":747483584,"raw_latitude":132838072,"longitude_deg":74.7483584,"latitude_deg":13.2838072,"altitude":22,"angle":343,"satellites":44,"speed":10,"hex_longitude":"2c8db1c0","hex_latitude":"07eaf2b8","is_valid_coordinates":true} 
[2026-09-19 11:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188506112001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":511225662275584,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8235254097106677760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789798873000,"timestamp_ms":1789798873000,"timestamp_seconds":1789798873,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85377a8"} 
[2026-09-19 11:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:21] 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-19 11:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188506112001,"66":28419,"188":206,"9":54272,"24":10,"16":511225662275584,"44":-8235254097106677760},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-19 11:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188506112001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:21] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-19 11:53:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":511225662275584,"km_value":511225662275.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8235254097106677760,"description":"Unknown IO ID 44"} 
[2026-09-19 11:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188506112001,"power":28419,"unknown_188":206,"unknown_9":54272,"ignition":10,"odometer":null,"unknown_44":-8235254097106677760}} 
[2026-09-19 11:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":188113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:21] local.INFO: GPS data processed {"connection_id":188113,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:21] local.INFO: Acknowledgment sent {"connection_id":188113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:23] local.INFO: TCP Data received {"connection_id":186841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852cfb0012d1ba180071f7110004900d721..."} 
[2026-09-19 11:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852cfb0012d1ba180071f7110004900d721..."} 
[2026-09-19 11:53:23] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852cfb0012d1ba180071f7110004900d721..."} 
[2026-09-19 11:53:23] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:23] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756785536,"raw_latitude":119501072,"longitude_deg":75.6785536,"latitude_deg":11.9501072,"altitude":73,"angle":215,"satellites":33,"speed":2,"hex_longitude":"2d1ba180","hex_latitude":"071f7110","is_valid_coordinates":true} 
[2026-09-19 11:53: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-19 11:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188500224001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640437534031872,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991013278355118080,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789798830000,"timestamp_ms":1789798830000,"timestamp_seconds":1789798830,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852cfb0"} 
[2026-09-19 11:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:23] 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-19 11:53: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-19 11:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:23] 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-19 11:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188500224001,"66":13015,"101":206,"83":41984,"24":2,"16":21640437534031872,"45":1991013278355118080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188500224001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640437534031872,"km_value":21640437534031.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991013278355118080,"description":"Unknown IO ID 45"} 
[2026-09-19 11:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188500224001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1991013278355118080}} 
[2026-09-19 11:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:23] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:23] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:46] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:46] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:46] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:53:48] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:48] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:48] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:53:48] local.INFO: TCP Data received {"connection_id":188112,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:48] local.INFO: Processing buffer {"connection_id":188112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:53:48] local.INFO: Packet analysis {"connection_id":188112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:48] local.INFO: Extracted packet for processing {"connection_id":188112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53: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-19 11:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53: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-19 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:53: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-19 11:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:53: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-19 11:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":188112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:48] local.INFO: GPS data processed {"connection_id":188112,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:48] local.INFO: Acknowledgment sent {"connection_id":188112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:51] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:51] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:53:51] local.INFO: IMEI packet received {"connection_id":186716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":186716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:53:52] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852d780012d1ba0c0071f7098004900f021..."} 
[2026-09-19 11:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852d780012d1ba0c0071f7098004900f021..."} 
[2026-09-19 11:53:52] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852d780012d1ba0c0071f7098004900f021..."} 
[2026-09-19 11:53:52] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:52] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756785344,"raw_latitude":119500952,"longitude_deg":75.6785344,"latitude_deg":11.9500952,"altitude":73,"angle":240,"satellites":33,"speed":3,"hex_longitude":"2d1ba0c0","hex_latitude":"071f7098","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188500480001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640450418933760,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991013278355099648,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:52] 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-19 11:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798832000,"timestamp_ms":1789798832000,"timestamp_seconds":1789798832,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852d780"} 
[2026-09-19 11: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-19 11:53:52] 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-19 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:52] 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-19 11: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-19 11: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-19 11:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:52] 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-19 11:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188500480001,"66":12341,"101":206,"83":41984,"24":3,"16":21640450418933760,"45":1991013278355099648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188500480001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640450418933760,"km_value":21640450418933.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991013278355099648,"description":"Unknown IO ID 45"} 
[2026-09-19 11:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188500480001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1991013278355099648}} 
[2026-09-19 11:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:52] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:52] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:54] local.INFO: TCP Data received {"connection_id":188113,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8550de8012c8d3b4007ebf0380005015d2c..."} 
[2026-09-19 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8550de8012c8d3b4007ebf0380005015d2c..."} 
[2026-09-19 11:53:54] local.INFO: Processing buffer {"connection_id":188113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8550de8012c8d3b4007ebf0380005015d2c..."} 
[2026-09-19 11:53:54] local.INFO: Packet analysis {"connection_id":188113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:53:54] local.INFO: Extracted packet for processing {"connection_id":188113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:53:54] local.INFO: GPS Element Parsed {"raw_longitude":747453248,"raw_latitude":132902968,"longitude_deg":74.7453248,"latitude_deg":13.2902968,"altitude":5,"angle":349,"satellites":44,"speed":54,"hex_longitude":"2c8d3b40","hex_latitude":"07ebf038","is_valid_coordinates":true} 
[2026-09-19 11:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188536832001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":514704585785344,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8267975563133130752,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789798977000,"timestamp_ms":1789798977000,"timestamp_seconds":1789798977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8550de8"} 
[2026-09-19 11:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:54] 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-19 11:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188536832001,"66":28256,"18":206,"9":54272,"24":54,"16":514704585785344,"44":-8267975563133130752},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16,44]} 
[2026-09-19 11:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188536832001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-19 11:53:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":514704585785344,"km_value":514704585785.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8267975563133130752,"description":"Unknown IO ID 44"} 
[2026-09-19 11:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188536832001,"power":28256,"unknown_18":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8267975563133130752}} 
[2026-09-19 11:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":188113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:54] local.INFO: GPS data processed {"connection_id":188113,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:54] local.INFO: Acknowledgment sent {"connection_id":188113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:53:57] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b852f2d8012d1ba080071f6f98004a006821..."} 
[2026-09-19 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b852f2d8012d1ba080071f6f98004a006821..."} 
[2026-09-19 11:53:57] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b852f2d8012d1ba080071f6f98004a006821..."} 
[2026-09-19 11:53:57] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:57] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756785280,"raw_latitude":119500696,"longitude_deg":75.678528,"latitude_deg":11.9500696,"altitude":74,"angle":104,"satellites":33,"speed":2,"hex_longitude":"2d1ba080","hex_latitude":"071f6f98","is_valid_coordinates":true} 
[2026-09-19 11:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188500992001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640471893770240,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990802172122535936,"note":"Value kept but may cause issues"} 
[2026-09-19 11:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789798839000,"timestamp_ms":1789798839000,"timestamp_seconds":1789798839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b852f2d8"} 
[2026-09-19 11:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:53:57] 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-19 11:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 11:53:57] 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-19 11:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:53:57] 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-19 11:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188500992001,"66":13135,"101":206,"83":41984,"24":2,"16":21640471893770240,"45":1990802172122535936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188500992001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640471893770240,"km_value":21640471893770.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990802172122535936,"description":"Unknown IO ID 45"} 
[2026-09-19 11:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188500992001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990802172122535936}} 
[2026-09-19 11:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:53:57] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:53:57] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:08] local.INFO: TCP Data received {"connection_id":189454,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:08] local.INFO: Processing buffer {"connection_id":189454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:08] local.INFO: IMEI packet received {"connection_id":189454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":189454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:54:09] local.INFO: TCP Data received {"connection_id":189454,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:09] local.INFO: Processing buffer {"connection_id":189454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:09] local.INFO: IMEI packet received {"connection_id":189454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":189454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:54:09] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:09] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:09] local.INFO: IMEI packet received {"connection_id":188114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:54:14] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:14] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:54:14] local.INFO: IMEI packet received {"connection_id":188114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:54:14] local.INFO: TCP Data received {"connection_id":189454,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:14] local.INFO: Processing buffer {"connection_id":189454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:54:14] local.INFO: IMEI packet received {"connection_id":189454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":189454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:54:15] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:15] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:15] local.INFO: Packet analysis {"connection_id":188114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:54:15] local.INFO: Extracted packet for processing {"connection_id":188114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54: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-19 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:54: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-19 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:54:15] 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-19 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:15] local.INFO: GPS data processed {"connection_id":188114,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:15] local.INFO: Acknowledgment sent {"connection_id":188114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:16] local.INFO: TCP Data received {"connection_id":189454,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8552558012c8d38c007ec10a0000400012d..."} 
[2026-09-19 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8552558012c8d38c007ec10a0000400012d..."} 
[2026-09-19 11:54:16] local.INFO: Processing buffer {"connection_id":189454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8552558012c8d38c007ec10a0000400012d..."} 
[2026-09-19 11:54:16] local.INFO: Packet analysis {"connection_id":189454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:54:16] local.INFO: Extracted packet for processing {"connection_id":189454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":747452608,"raw_latitude":132911264,"longitude_deg":74.7452608,"latitude_deg":13.2911264,"altitude":4,"angle":1,"satellites":45,"speed":56,"hex_longitude":"2c8d38c0","hex_latitude":"07ec10a0","is_valid_coordinates":true} 
[2026-09-19 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188538112001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":515108312711168,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269945887968446464,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798983000,"timestamp_ms":1789798983000,"timestamp_seconds":1789798983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8552558"} 
[2026-09-19 11:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:54: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-19 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 11:54: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-19 11:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188538112001,"66":28354,"18":206,"9":54272,"24":56,"16":515108312711168,"44":-8269945887968446464},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16,44]} 
[2026-09-19 11:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188538112001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:16] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-19 11:54:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":515108312711168,"km_value":515108312711.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269945887968446464,"description":"Unknown IO ID 44"} 
[2026-09-19 11:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188538112001,"power":28354,"unknown_18":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8269945887968446464}} 
[2026-09-19 11:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":189454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:16] local.INFO: GPS data processed {"connection_id":189454,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:16] local.INFO: Acknowledgment sent {"connection_id":189454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:28] local.INFO: TCP Data received {"connection_id":186716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8530278012d1ba1c0071f6f50004a005d20..."} 
[2026-09-19 11:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8530278012d1ba1c0071f6f50004a005d20..."} 
[2026-09-19 11:54:28] local.INFO: Processing buffer {"connection_id":186716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8530278012d1ba1c0071f6f50004a005d20..."} 
[2026-09-19 11:54:28] local.INFO: Packet analysis {"connection_id":186716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:54:28] local.INFO: Extracted packet for processing {"connection_id":186716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500624,"longitude_deg":75.67856,"latitude_deg":11.9500624,"altitude":74,"angle":93,"satellites":32,"speed":2,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f50","is_valid_coordinates":true} 
[2026-09-19 11:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188502784001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640489073639424,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990731803378292736,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54: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-19 11:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789798843000,"timestamp_ms":1789798843000,"timestamp_seconds":1789798843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8530278"} 
[2026-09-19 11:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 11:54:28] 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-19 11:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:54:28] 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-19 11:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188502784001,"66":13102,"101":206,"83":41984,"24":2,"16":21640489073639424,"45":1990731803378292736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188502784001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640489073639424,"km_value":21640489073639.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990731803378292736,"description":"Unknown IO ID 45"} 
[2026-09-19 11:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188502784001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1990731803378292736}} 
[2026-09-19 11:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":186716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:28] local.INFO: GPS data processed {"connection_id":186716,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:28] local.INFO: Acknowledgment sent {"connection_id":186716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:47] local.INFO: TCP Data received {"connection_id":188114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:47] local.INFO: Processing buffer {"connection_id":188114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:54:47] local.INFO: Packet analysis {"connection_id":188114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:54:47] local.INFO: Extracted packet for processing {"connection_id":188114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54: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-19 11:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11: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-19 11: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-19 11: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:54:47] 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-19 11: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-19 11: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-19 11:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:54: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-19 11:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:47] local.INFO: GPS data processed {"connection_id":188114,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:47] local.INFO: Acknowledgment sent {"connection_id":188114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:47] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:47] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:47] local.INFO: IMEI packet received {"connection_id":188115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":188115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:54:49] local.INFO: TCP Data received {"connection_id":189454,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85540b0012c8d3a4007ec3738000400012c..."} 
[2026-09-19 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85540b0012c8d3a4007ec3738000400012c..."} 
[2026-09-19 11:54:49] local.INFO: Processing buffer {"connection_id":189454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85540b0012c8d3a4007ec3738000400012c..."} 
[2026-09-19 11:54:49] local.INFO: Packet analysis {"connection_id":189454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:54:49] local.INFO: Extracted packet for processing {"connection_id":189454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":747452992,"raw_latitude":132921144,"longitude_deg":74.7452992,"latitude_deg":13.2921144,"altitude":4,"angle":1,"satellites":44,"speed":56,"hex_longitude":"2c8d3a40","hex_latitude":"07ec3738","is_valid_coordinates":true} 
[2026-09-19 11:54: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-19 11:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188539648001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":515589349048320,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8270649575408099328,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789798990000,"timestamp_ms":1789798990000,"timestamp_seconds":1789798990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85540b0"} 
[2026-09-19 11:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:54: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-19 11:54: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-19 11:54: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-19 11:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188539648001,"66":28300,"18":206,"9":54272,"24":56,"16":515589349048320,"44":-8270649575408099328},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16,44]} 
[2026-09-19 11:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188539648001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:49] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-19 11:54:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":515589349048320,"km_value":515589349048.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8270649575408099328,"description":"Unknown IO ID 44"} 
[2026-09-19 11:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188539648001,"power":28300,"unknown_18":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8270649575408099328}} 
[2026-09-19 11:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":189454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:49] local.INFO: GPS data processed {"connection_id":189454,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:49] local.INFO: Acknowledgment sent {"connection_id":189454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:54:51] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:51] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:54:51] local.INFO: IMEI packet received {"connection_id":188115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":188115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:54:52] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8535480012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8535480012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:54:52] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8535480012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:54:52] local.INFO: Packet analysis {"connection_id":188115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:54:52] local.INFO: Extracted packet for processing {"connection_id":188115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188503808001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099162624,"note":"Value kept but may cause issues"} 
[2026-09-19 11:54:52] 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-19 11:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798864000,"timestamp_ms":1789798864000,"timestamp_seconds":1789798864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8535480"} 
[2026-09-19 11:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:54:52] 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-19 11:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 11:54:52] 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-19 11:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:54:52] 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-19 11:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188503808001,"66":13059,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099162624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188503808001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:54:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099162624,"description":"Unknown IO ID 45"} 
[2026-09-19 11:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188503808001,"power":13059,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099162624}} 
[2026-09-19 11:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":188115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:54:52] local.INFO: GPS data processed {"connection_id":188115,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:54:52] local.INFO: Acknowledgment sent {"connection_id":188115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:08] local.INFO: TCP Data received {"connection_id":189455,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:08] local.INFO: Processing buffer {"connection_id":189455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:08] local.INFO: IMEI packet received {"connection_id":189455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":189455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:55:09] local.INFO: TCP Data received {"connection_id":189455,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:09] local.INFO: Processing buffer {"connection_id":189455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:09] local.INFO: IMEI packet received {"connection_id":189455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":189455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:55:14] local.INFO: TCP Data received {"connection_id":189455,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:14] local.INFO: Processing buffer {"connection_id":189455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:55:14] local.INFO: IMEI packet received {"connection_id":189455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":189455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:55:15] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:15] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:15] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:55:16] local.INFO: TCP Data received {"connection_id":189455,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8555c08012c8d3bc007ec5ea0000400022c..."} 
[2026-09-19 11:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8555c08012c8d3bc007ec5ea0000400022c..."} 
[2026-09-19 11:55:16] local.INFO: Processing buffer {"connection_id":189455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8555c08012c8d3bc007ec5ea0000400022c..."} 
[2026-09-19 11:55:16] local.INFO: Packet analysis {"connection_id":189455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:55:16] local.INFO: Extracted packet for processing {"connection_id":189455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:55:16] local.INFO: GPS Element Parsed {"raw_longitude":747453376,"raw_latitude":132931232,"longitude_deg":74.7453376,"latitude_deg":13.2931232,"altitude":4,"angle":2,"satellites":44,"speed":58,"hex_longitude":"2c8d3bc0","hex_latitude":"07ec5ea0","is_valid_coordinates":true} 
[2026-09-19 11:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188541440001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":516078975320064,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8270227362940504064,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789798997000,"timestamp_ms":1789798997000,"timestamp_seconds":1789798997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8555c08"} 
[2026-09-19 11:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:55: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-19 11:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:55: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-19 11:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188541440001,"66":28234,"18":206,"9":54272,"24":58,"16":516078975320064,"44":-8270227362940504064},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16,44]} 
[2026-09-19 11:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188541440001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:16] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-19 11:55:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":516078975320064,"km_value":516078975320.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8270227362940504064,"description":"Unknown IO ID 44"} 
[2026-09-19 11:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188541440001,"power":28234,"unknown_18":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8270227362940504064}} 
[2026-09-19 11:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":189455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:16] local.INFO: GPS data processed {"connection_id":189455,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:16] local.INFO: Acknowledgment sent {"connection_id":189455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:19] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:19] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:55:19] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:55:20] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:20] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:20] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:55:20] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:20] 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-19 11:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:55:20] 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-19 11:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:55:20] 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-19 11:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:20] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:20] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:23] local.INFO: TCP Data received {"connection_id":188115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b853a688012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b853a688012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:55:23] local.INFO: Processing buffer {"connection_id":188115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b853a688012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:55:23] local.INFO: Packet analysis {"connection_id":188115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:55:23] local.INFO: Extracted packet for processing {"connection_id":188115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":33,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:55: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-19 11:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188509184001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789798885000,"timestamp_ms":1789798885000,"timestamp_seconds":1789798885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b853a688"} 
[2026-09-19 11:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732216,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":101,"raw_value":58075809043709957,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3092430864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 11:55:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3355520283,"corrected_to":0} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2147950449,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154040,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3789357056,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,225,160,2,45,192,111,74,32,10,66,242,128,33,215,1,240,53,227,184,31,4,113,205,203,161,88,239,50,76,7,72,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":203,"original":3355520283,"validated":0}]} 
[2026-09-19 11:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332359952780492800,"timestamp_seconds":5332359952780493.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:55:23] 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-19 11:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188509184001,"66":13004,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188509184001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188509184001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":188115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:23] local.INFO: GPS data processed {"connection_id":188115,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:23] local.INFO: Acknowledgment sent {"connection_id":188115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:25] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:25] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8523f28012d34c14006aa41400008010e2e..."} 
[2026-09-19 11:55:25] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:55:25] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b852"} 
[2026-09-19 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188413952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:25] 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-19 11:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789798793000,"timestamp_ms":1789798793000,"timestamp_seconds":1789798793,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8523f28"} 
[2026-09-19 11: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-19 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 11:55:25] 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-19 11: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-19 11: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-19 11:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:55:25] 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-19 11:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188413952001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188413952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188413952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:25] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:25] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:46] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:46] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:46] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:55:48] local.INFO: TCP Data received {"connection_id":189455,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856bf80012c8d0a4007ee26c0000701612e..."} 
[2026-09-19 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856bf80012c8d0a4007ee26c0000701612e..."} 
[2026-09-19 11:55:48] local.INFO: Processing buffer {"connection_id":189455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856bf80012c8d0a4007ee26c0000701612e..."} 
[2026-09-19 11:55:48] local.INFO: Packet analysis {"connection_id":189455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:55:48] local.INFO: Extracted packet for processing {"connection_id":189455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:55:48] local.INFO: GPS Element Parsed {"raw_longitude":747440704,"raw_latitude":133048000,"longitude_deg":74.7440704,"latitude_deg":13.3048,"altitude":7,"angle":353,"satellites":46,"speed":43,"hex_longitude":"2c8d0a40","hex_latitude":"07ee26c0","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188564224001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":521782691889152,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8282541893141524480,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799088000,"timestamp_ms":1789799088000,"timestamp_seconds":1789799088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856bf80"} 
[2026-09-19 11: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-19 11:55: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-19 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:55: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-19 11: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-19 11: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-19 11:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188564224001,"66":28430,"17":206,"9":54272,"24":43,"16":521782691889152,"44":-8282541893141524480},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-19 11:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188564224001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":521782691889152,"km_value":521782691889.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8282541893141524480,"description":"Unknown IO ID 44"} 
[2026-09-19 11:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188564224001,"power":28430,"axis_x":206,"unknown_9":54272,"ignition":43,"odometer":null,"unknown_44":-8282541893141524480}} 
[2026-09-19 11:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:48] local.INFO: GPS data processed {"connection_id":189455,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:48] local.INFO: Acknowledgment sent {"connection_id":189455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:55:51] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:51] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:55:51] local.INFO: IMEI packet received {"connection_id":188116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":188116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:55:52] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b853f890012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b853f890012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:55:52] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b853f890012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:55:52] local.INFO: Packet analysis {"connection_id":188116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:55:52] local.INFO: Extracted packet for processing {"connection_id":188116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b853"} 
[2026-09-19 11:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188514560001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:55:52] 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-19 11:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798906000,"timestamp_ms":1789798906000,"timestamp_seconds":1789798906,"priority":1,"record_length":96,"hex_timestamp":"000001a0b853f890"} 
[2026-09-19 11:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:55:52] 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-19 11:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 11:55:52] 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-19 11:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:55:52] 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-19 11:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188514560001,"66":12950,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188514560001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:55:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188514560001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":188116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:55:52] local.INFO: GPS data processed {"connection_id":188116,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:55:52] local.INFO: Acknowledgment sent {"connection_id":188116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:09] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:09] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:09] local.INFO: IMEI packet received {"connection_id":186843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":186843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:56:09] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:09] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:09] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:56:14] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:14] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:56:14] local.INFO: IMEI packet received {"connection_id":186717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:56:15] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:15] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:56:15] local.INFO: IMEI packet received {"connection_id":186843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":186843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:56:15] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856dec0012c8d06c007ee49d0000701622e..."} 
[2026-09-19 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856dec0012c8d06c007ee49d0000701622e..."} 
[2026-09-19 11:56:15] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856dec0012c8d06c007ee49d0000701622e..."} 
[2026-09-19 11:56:15] local.INFO: Packet analysis {"connection_id":186843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:15] local.INFO: Extracted packet for processing {"connection_id":186843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":747439808,"raw_latitude":133056976,"longitude_deg":74.7439808,"latitude_deg":13.3056976,"altitude":7,"angle":354,"satellites":46,"speed":46,"hex_longitude":"2c8d06c0","hex_latitude":"07ee49d0","is_valid_coordinates":true} 
[2026-09-19 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188566528001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":522220778553344,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8283738161790140416,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799096000,"timestamp_ms":1789799096000,"timestamp_seconds":1789799096,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856dec0"} 
[2026-09-19 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 11:56:15] 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-19 11:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188566528001,"66":27984,"17":206,"9":54272,"24":46,"16":522220778553344,"44":-8283738161790140416},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-19 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188566528001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":522220778553344,"km_value":522220778553.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8283738161790140416,"description":"Unknown IO ID 44"} 
[2026-09-19 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188566528001,"power":27984,"axis_x":206,"unknown_9":54272,"ignition":46,"odometer":null,"unknown_44":-8283738161790140416}} 
[2026-09-19 11:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:16] local.INFO: GPS data processed {"connection_id":186843,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:16] local.INFO: Acknowledgment sent {"connection_id":186843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:16] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:16] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:16] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:16] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:16] 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-19 11:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 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-19 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 11:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:56:16] 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-19 11:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:16] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:16] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:23] local.INFO: TCP Data received {"connection_id":188116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8544a98012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8544a98012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:56:23] local.INFO: Processing buffer {"connection_id":188116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8544a98012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:56:23] local.INFO: Packet analysis {"connection_id":188116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:56:23] local.INFO: Extracted packet for processing {"connection_id":188116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:56: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-19 11:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188519936001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789798927000,"timestamp_ms":1789798927000,"timestamp_seconds":1789798927,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8544a98"} 
[2026-09-19 11:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 11:56:23] 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-19 11:56: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-19 11:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:56:23] 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-19 11:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188519936001,"66":12917,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188519936001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188519936001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":188116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:23] local.INFO: GPS data processed {"connection_id":188116,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:23] local.INFO: Acknowledgment sent {"connection_id":188116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:46] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:46] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:46] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:56:47] local.INFO: TCP Data received {"connection_id":186717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:47] local.INFO: Processing buffer {"connection_id":186717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:56:47] local.INFO: Packet analysis {"connection_id":186717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:47] local.INFO: Extracted packet for processing {"connection_id":186717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56: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-19 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 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-19 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:56: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-19 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-19 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-19 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:56:47] 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-19 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":186717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:47] local.INFO: GPS data processed {"connection_id":186717,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:47] local.INFO: Acknowledgment sent {"connection_id":186717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:48] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856fe00012c8d034007ee6f20000701622e..."} 
[2026-09-19 11:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856fe00012c8d034007ee6f20000701622e..."} 
[2026-09-19 11:56:48] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856fe00012c8d034007ee6f20000701622e..."} 
[2026-09-19 11:56:48] local.INFO: Packet analysis {"connection_id":186843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:48] local.INFO: Extracted packet for processing {"connection_id":186843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:56:48] local.INFO: GPS Element Parsed {"raw_longitude":747438912,"raw_latitude":133066528,"longitude_deg":74.7438912,"latitude_deg":13.3066528,"altitude":7,"angle":354,"satellites":46,"speed":49,"hex_longitude":"2c8d0340","hex_latitude":"07ee6f20","is_valid_coordinates":true} 
[2026-09-19 11:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568576001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":522684635021312,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8284723324206329856,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799104000,"timestamp_ms":1789799104000,"timestamp_seconds":1789799104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856fe00"} 
[2026-09-19 11:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:56: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-19 11:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 11:56:48] 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-19 11:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568576001,"66":28354,"17":206,"9":54272,"24":49,"16":522684635021312,"44":-8284723324206329856},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-19 11:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568576001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":522684635021312,"km_value":522684635021.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8284723324206329856,"description":"Unknown IO ID 44"} 
[2026-09-19 11:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568576001,"power":28354,"axis_x":206,"unknown_9":54272,"ignition":49,"odometer":null,"unknown_44":-8284723324206329856}} 
[2026-09-19 11:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":186843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:48] local.INFO: GPS data processed {"connection_id":186843,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:48] local.INFO: Acknowledgment sent {"connection_id":186843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:56:51] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:51] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:56:51] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:56:52] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8549ca0012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8549ca0012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:56:52] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8549ca0012d1ba1c0071f6f30004a005921..."} 
[2026-09-19 11:56:52] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:56:52] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":33,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188525312001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:56:52] 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-19 11:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789798948000,"timestamp_ms":1789798948000,"timestamp_seconds":1789798948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8549ca0"} 
[2026-09-19 11:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:56:52] 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-19 11:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-19 11:56:52] 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-19 11:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:56:52] 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-19 11:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188525312001,"66":12852,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188525312001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:56:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188525312001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:56:52] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:56:52] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:09] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:09] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:09] local.INFO: IMEI packet received {"connection_id":188117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:57:12] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:12] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:12] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:57:14] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:14] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:14] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:57:14] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:14] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:57:14] local.INFO: IMEI packet received {"connection_id":188117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:57:15] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:15] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:57:15] local.INFO: IMEI packet received {"connection_id":186718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":186718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:57:16] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:16] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:16] local.INFO: Packet analysis {"connection_id":188117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:57:16] local.INFO: Extracted packet for processing {"connection_id":188117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] 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-19 11:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:57:16] 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-19 11:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":188117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:16] local.INFO: GPS data processed {"connection_id":188117,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:16] local.INFO: Acknowledgment sent {"connection_id":188117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:16] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8583a68012c8c5d8007efad28001001462f..."} 
[2026-09-19 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8583a68012c8c5d8007efad28001001462f..."} 
[2026-09-19 11:57:16] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8583a68012c8c5d8007efad28001001462f..."} 
[2026-09-19 11:57:16] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:16] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":747396480,"raw_latitude":133147944,"longitude_deg":74.739648,"latitude_deg":13.3147944,"altitude":16,"angle":326,"satellites":47,"speed":51,"hex_longitude":"2c8c5d80","hex_latitude":"07efad28","is_valid_coordinates":true} 
[2026-09-19 11:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188589568001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":527194350682112,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8326522358226452480,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799185000,"timestamp_ms":1789799185000,"timestamp_seconds":1789799185,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8583a68"} 
[2026-09-19 11:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:57:16] local.INFO: IO Element 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-19 11:57:16] 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-19 11:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188589568001,"66":28376,"21":206,"9":54272,"24":51,"16":527194350682112,"44":-8326522358226452480},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-19 11:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188589568001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":527194350682112,"km_value":527194350682.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8326522358226452480,"description":"Unknown IO ID 44"} 
[2026-09-19 11:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188589568001,"power":28376,"unknown_21":206,"unknown_9":54272,"ignition":51,"odometer":null,"unknown_44":-8326522358226452480}} 
[2026-09-19 11:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:16] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:16] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:21] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8585d90012c8c4d0007efcde0000d014f2c..."} 
[2026-09-19 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8585d90012c8c4d0007efcde0000d014f2c..."} 
[2026-09-19 11:57:21] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8585d90012c8c4d0007efcde0000d014f2c..."} 
[2026-09-19 11:57:21] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:21] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:21] local.INFO: GPS Element Parsed {"raw_longitude":747392256,"raw_latitude":133156320,"longitude_deg":74.7392256,"latitude_deg":13.315632,"altitude":13,"angle":335,"satellites":44,"speed":36,"hex_longitude":"2c8c4d00","hex_latitude":"07efcde0","is_valid_coordinates":true} 
[2026-09-19 11:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188591360001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":527645322248192,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8332362963991320576,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789799194000,"timestamp_ms":1789799194000,"timestamp_seconds":1789799194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8585d90"} 
[2026-09-19 11:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:57:21] 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-19 11:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188591360001,"66":28354,"21":206,"9":54272,"24":36,"16":527645322248192,"44":-8332362963991320576},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-19 11:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188591360001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:21] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-19 11:57:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":527645322248192,"km_value":527645322248.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8332362963991320576,"description":"Unknown IO ID 44"} 
[2026-09-19 11:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188591360001,"power":28354,"unknown_21":206,"unknown_9":54272,"ignition":36,"odometer":null,"unknown_44":-8332362963991320576}} 
[2026-09-19 11:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:21] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:21] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:23] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b854eea8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b854eea8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:57:23] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b854eea8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 11:57:23] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:57:23] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b854"} 
[2026-09-19 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188530688001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789798969000,"timestamp_ms":1789798969000,"timestamp_seconds":1789798969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b854eea8"} 
[2026-09-19 11:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-19 11:57:23] 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-19 11:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:57:23] 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-19 11:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188530688001,"66":12819,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188530688001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188530688001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:23] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:23] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:47] local.INFO: TCP Data received {"connection_id":188117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:47] local.INFO: Processing buffer {"connection_id":188117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:57:47] local.INFO: Packet analysis {"connection_id":188117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:57:47] local.INFO: Extracted packet for processing {"connection_id":188117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57: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-19 11:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:57: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-19 11:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:57:47] 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-19 11:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":188117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:47] local.INFO: GPS data processed {"connection_id":188117,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:47] local.INFO: Acknowledgment sent {"connection_id":188117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:51] local.INFO: TCP Data received {"connection_id":189456,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:51] local.INFO: Processing buffer {"connection_id":189456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:51] local.INFO: IMEI packet received {"connection_id":189456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":189456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:57:53] local.INFO: TCP Data received {"connection_id":186718,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8586948012c8c498007efd858000d015d2e..."} 
[2026-09-19 11:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8586948012c8c498007efd858000d015d2e..."} 
[2026-09-19 11:57:53] local.INFO: Processing buffer {"connection_id":186718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8586948012c8c498007efd858000d015d2e..."} 
[2026-09-19 11:57:53] local.INFO: Packet analysis {"connection_id":186718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:53] local.INFO: Extracted packet for processing {"connection_id":186718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:57:53] local.INFO: GPS Element Parsed {"raw_longitude":747391360,"raw_latitude":133159000,"longitude_deg":74.739136,"latitude_deg":13.3159,"altitude":13,"angle":349,"satellites":46,"speed":39,"hex_longitude":"2c8c4980","hex_latitude":"07efd858","is_valid_coordinates":true} 
[2026-09-19 11:57: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-19 11:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188593664001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":527782761201664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8337007301104902144,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789799197000,"timestamp_ms":1789799197000,"timestamp_seconds":1789799197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8586948"} 
[2026-09-19 11:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:57: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:57:53] 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-19 11:57: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-19 11:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188593664001,"66":27952,"21":206,"9":54272,"24":39,"16":527782761201664,"44":-8337007301104902144},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-19 11:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188593664001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:53] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-19 11:57:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":527782761201664,"km_value":527782761201.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8337007301104902144,"description":"Unknown IO ID 44"} 
[2026-09-19 11:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188593664001,"power":27952,"unknown_21":206,"unknown_9":54272,"ignition":39,"odometer":null,"unknown_44":-8337007301104902144}} 
[2026-09-19 11:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":186718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:53] local.INFO: GPS data processed {"connection_id":186718,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:53] local.INFO: Acknowledgment sent {"connection_id":186718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:57:56] local.INFO: TCP Data received {"connection_id":189456,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:56] local.INFO: Processing buffer {"connection_id":189456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:57:56] local.INFO: IMEI packet received {"connection_id":189456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":189456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:57:57] local.INFO: TCP Data received {"connection_id":189456,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85540b0012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85540b0012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:57:57] local.INFO: Processing buffer {"connection_id":189456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85540b0012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:57:57] local.INFO: Packet analysis {"connection_id":189456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:57:57] local.INFO: Extracted packet for processing {"connection_id":189456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:57: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-19 11:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188536064001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789798990000,"timestamp_ms":1789798990000,"timestamp_seconds":1789798990,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85540b0"} 
[2026-09-19 11:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:57:57] 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-19 11:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3092447864,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503929834766336,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":184,"raw_value":5977077155037421696,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147560731,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3221692271,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182152400208128,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875242719006291,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3790209024,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2265196264599611425,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84754345220317040,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.WARNING: Large IO value detected {"io_id":152,"raw_value":20548704645677824,"note":"Value kept but may cause issues"} 
[2026-09-19 11:57:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,225,160,156,45,192,111,74,33,10,66,35,248,1,240,150,227,184,31,4,113,205,84,161,48,32,239,51,2,76,7,164,233,69,128,152],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-19 11:57:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332359965665394688,"timestamp_seconds":5332359965665395.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 11:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:57:57] 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-19 11:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188536064001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188536064001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:57:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188536064001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":189456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:57:57] local.INFO: GPS data processed {"connection_id":189456,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:57:57] local.INFO: Acknowledgment sent {"connection_id":189456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:58:01] local.INFO: TCP Data received {"connection_id":189456,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85592b8012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85592b8012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:58:01] local.INFO: Processing buffer {"connection_id":189456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85592b8012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:58:01] local.INFO: Packet analysis {"connection_id":189456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:58:01] local.INFO: Extracted packet for processing {"connection_id":189456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b855"} 
[2026-09-19 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188541440001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789799011000,"timestamp_ms":1789799011000,"timestamp_seconds":1789799011,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85592b8"} 
[2026-09-19 11: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-19 11:58:01] 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-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 11:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":189456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":189456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":189456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:58: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-19 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188541440001,"66":12765,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188541440001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:58:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188541440001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":189456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:58:01] local.INFO: GPS data processed {"connection_id":189456,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:58:01] local.INFO: Acknowledgment sent {"connection_id":189456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:58:06] local.INFO: TCP Data received {"connection_id":186719,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:06] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:06] local.INFO: IMEI packet received {"connection_id":186719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":186719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:58:09] local.INFO: TCP Data received {"connection_id":186719,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:09] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:09] local.INFO: IMEI packet received {"connection_id":186719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:58:09] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:09] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:09] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:58:15] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:15] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:58:15] local.INFO: IMEI packet received {"connection_id":186720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":186720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:58:16] local.INFO: TCP Data received {"connection_id":186719,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:16] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:58:16] local.INFO: IMEI packet received {"connection_id":186719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":186719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:58:17] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:17] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:17] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:58:17] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:17] 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-19 11:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:58: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-19 11:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:58:17] 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-19 11:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:58:18] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:58:18] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:58:18] local.INFO: TCP Data received {"connection_id":186719,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8588888012c8c460007effaf0000a01672f..."} 
[2026-09-19 11:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8588888012c8c460007effaf0000a01672f..."} 
[2026-09-19 11:58:18] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8588888012c8c460007effaf0000a01672f..."} 
[2026-09-19 11:58:18] local.INFO: Packet analysis {"connection_id":186719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:58:18] local.INFO: Extracted packet for processing {"connection_id":186719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":747390464,"raw_latitude":133167856,"longitude_deg":74.7390464,"latitude_deg":13.3167856,"altitude":10,"angle":359,"satellites":47,"speed":48,"hex_longitude":"2c8c4600","hex_latitude":"07effaf0","is_valid_coordinates":true} 
[2026-09-19 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188594432001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":528216552898560,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8337992463522703360,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789799205000,"timestamp_ms":1789799205000,"timestamp_seconds":1789799205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8588888"} 
[2026-09-19 11:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 11:58:18] 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-19 11:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188594432001,"66":28278,"21":206,"9":54272,"24":48,"16":528216552898560,"44":-8337992463522703360},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-19 11:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188594432001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:58:18] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-19 11:58:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":528216552898560,"km_value":528216552898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:58:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8337992463522703360,"description":"Unknown IO ID 44"} 
[2026-09-19 11:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188594432001,"power":28278,"unknown_21":206,"unknown_9":54272,"ignition":48,"odometer":null,"unknown_44":-8337992463522703360}} 
[2026-09-19 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":186719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:58:18] local.INFO: GPS data processed {"connection_id":186719,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:58:18] local.INFO: Acknowledgment sent {"connection_id":186719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:58:46] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:46] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:46] local.INFO: IMEI packet received {"connection_id":188118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":188118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:58:49] local.INFO: TCP Data received {"connection_id":186720,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:49] local.INFO: Processing buffer {"connection_id":186720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:58:49] local.INFO: Packet analysis {"connection_id":186720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:58:49] local.INFO: Extracted packet for processing {"connection_id":186720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58: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-19 11:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:58: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-19 11:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:58: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-19 11:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":186720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:58:49] local.INFO: GPS data processed {"connection_id":186720,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:58:49] local.INFO: Acknowledgment sent {"connection_id":186720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:58:51] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:51] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:58:51] local.INFO: IMEI packet received {"connection_id":188118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":188118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:58:52] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8591910012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8591910012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 11:58:52] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8591910012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 11:58:52] local.INFO: Packet analysis {"connection_id":188118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:58:52] local.INFO: Extracted packet for processing {"connection_id":188118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188600576001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:58:52] 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-19 11:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799242000,"timestamp_ms":1789799242000,"timestamp_seconds":1789799242,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8591910"} 
[2026-09-19 11:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:58:52] 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-19 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:58:52] 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-19 11:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:58:52] 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-19 11:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188600576001,"66":11852,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188600576001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:58:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188600576001,"power":11852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":188118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:58:52] local.INFO: GPS data processed {"connection_id":188118,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:58:52] local.INFO: Acknowledgment sent {"connection_id":188118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:03] local.INFO: TCP Data received {"connection_id":186719,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b858a7c8012c8c484007f02288000900042e..."} 
[2026-09-19 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b858a7c8012c8c484007f02288000900042e..."} 
[2026-09-19 11:59:03] local.INFO: Processing buffer {"connection_id":186719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b858a7c8012c8c484007f02288000900042e..."} 
[2026-09-19 11:59:03] local.INFO: Packet analysis {"connection_id":186719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:59:03] local.INFO: Extracted packet for processing {"connection_id":186719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b858"} 
[2026-09-19 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":747391040,"raw_latitude":133177992,"longitude_deg":74.739104,"latitude_deg":13.3177992,"altitude":9,"angle":4,"satellites":46,"speed":52,"hex_longitude":"2c8c4840","hex_latitude":"07f02288","is_valid_coordinates":true} 
[2026-09-19 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-19 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188596480001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":528706179170304,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8338977625938923520,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789799213000,"timestamp_ms":1789799213000,"timestamp_seconds":1789799213,"priority":1,"record_length":96,"hex_timestamp":"000001a0b858a7c8"} 
[2026-09-19 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-19 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:03] 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-19 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-19 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-19 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":186719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":186719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":186719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188596480001,"66":28354,"8":206,"9":54272,"24":52,"16":528706179170304,"44":-8338977625938923520},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,9,24,16,44]} 
[2026-09-19 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188596480001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-19 11:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":528706179170304,"km_value":528706179170.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8338977625938923520,"description":"Unknown IO ID 44"} 
[2026-09-19 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188596480001,"power":28354,"unknown_8":206,"unknown_9":54272,"ignition":52,"odometer":null,"unknown_44":-8338977625938923520}} 
[2026-09-19 11:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":186719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:04] local.INFO: GPS data processed {"connection_id":186719,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:04] local.INFO: Acknowledgment sent {"connection_id":186719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:09] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:09] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:09] local.INFO: IMEI packet received {"connection_id":186721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:59:14] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:14] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 11:59:14] local.INFO: IMEI packet received {"connection_id":186721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 11:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:15] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:15] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:15] local.INFO: Packet analysis {"connection_id":186721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:59:15] local.INFO: Extracted packet for processing {"connection_id":186721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59: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-19 11:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11: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-19 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11: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-19 11: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-19 11:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:59: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-19 11:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":186721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:15] local.INFO: GPS data processed {"connection_id":186721,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:15] local.INFO: Acknowledgment sent {"connection_id":186721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:19] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:59:19] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:59:19] local.INFO: IMEI packet received {"connection_id":186722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":186722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:59:19] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:59:20] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:59:20] local.INFO: IMEI packet received {"connection_id":186722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":186722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:23] local.INFO: TCP Data received {"connection_id":188118,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8596b18012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8596b18012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:59:23] local.INFO: Processing buffer {"connection_id":188118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8596b18012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 11:59:23] local.INFO: Packet analysis {"connection_id":188118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:23] local.INFO: Extracted packet for processing {"connection_id":188118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188605952001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 11:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799263000,"timestamp_ms":1789799263000,"timestamp_seconds":1789799263,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8596b18"} 
[2026-09-19 11:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 11:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:59:23] 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-19 11:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188605952001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188605952001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188605952001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":188118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:23] local.INFO: GPS data processed {"connection_id":188118,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:23] local.INFO: Acknowledgment sent {"connection_id":188118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:24] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 11:59:24] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 11:59:24] local.INFO: IMEI packet received {"connection_id":186722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":186722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:26] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b859ccc0012c8c2a8007f1b9f0000c01582c..."} 
[2026-09-19 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b859ccc0012c8c2a8007f1b9f0000c01582c..."} 
[2026-09-19 11:59:26] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0b8..."} 
[2026-09-19 11:59:26] local.INFO: IMEI packet received {"connection_id":186722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":186722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:27] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b859e430012c8c214007f1dbb0000a01572f..."} 
[2026-09-19 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b859e430012c8c214007f1dbb0000a01572f..."} 
[2026-09-19 11:59:27] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b859ccc0012c8c2a8007f1b9f0000c01582c..."} 
[2026-09-19 11:59:27] local.INFO: Packet analysis {"connection_id":186722,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:27] local.INFO: Extracted packet for processing {"connection_id":186722,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":747383424,"raw_latitude":133282288,"longitude_deg":74.7383424,"latitude_deg":13.3282288,"altitude":12,"angle":344,"satellites":44,"speed":59,"hex_longitude":"2c8c2a80","hex_latitude":"07f1b9f0","is_valid_coordinates":true} 
[2026-09-19 11:59: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-19 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188616192001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":533864434892800,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8343833069260091392,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789799288000,"timestamp_ms":1789799288000,"timestamp_seconds":1789799288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b859ccc0"} 
[2026-09-19 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:59: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":140,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:27] 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-19 11:59: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-19 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188616192001,"66":28398,"9":54272,"24":59,"16":533864434892800,"44":-8343833069260091392},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,44]} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188616192001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":533864434892800,"km_value":533864434892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8343833069260091392,"description":"Unknown IO ID 44"} 
[2026-09-19 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458188616192001,"power":28398,"unknown_9":54272,"ignition":59,"odometer":null,"unknown_44":-8343833069260091392}} 
[2026-09-19 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":186722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:27] local.INFO: GPS data processed {"connection_id":186722,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:27] local.INFO: Acknowledgment sent {"connection_id":186722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:27] local.INFO: Packet analysis {"connection_id":186722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:27] local.INFO: Extracted packet for processing {"connection_id":186722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":747381056,"raw_latitude":133290928,"longitude_deg":74.7381056,"latitude_deg":13.3290928,"altitude":10,"angle":343,"satellites":47,"speed":59,"hex_longitude":"2c8c2140","hex_latitude":"07f1dbb0","is_valid_coordinates":true} 
[2026-09-19 11:59: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-19 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188617728001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":534298226589696,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8346718187769171968,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789799294000,"timestamp_ms":1789799294000,"timestamp_seconds":1789799294,"priority":1,"record_length":96,"hex_timestamp":"000001a0b859e430"} 
[2026-09-19 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 11:59: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:27] 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-19 11:59: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-19 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188617728001,"66":28354,"9":54272,"24":59,"16":534298226589696,"44":-8346718187769171968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,44]} 
[2026-09-19 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188617728001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":534298226589696,"km_value":534298226589.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8346718187769171968,"description":"Unknown IO ID 44"} 
[2026-09-19 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458188617728001,"power":28354,"unknown_9":54272,"ignition":59,"odometer":null,"unknown_44":-8346718187769171968}} 
[2026-09-19 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":186722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:27] local.INFO: GPS data processed {"connection_id":186722,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:27] local.INFO: Acknowledgment sent {"connection_id":186722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:29] local.INFO: TCP Data received {"connection_id":186722,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b859fba0012c8c150007f1fc38000901512e..."} 
[2026-09-19 11:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b859fba0012c8c150007f1fc38000901512e..."} 
[2026-09-19 11:59:29] local.INFO: Processing buffer {"connection_id":186722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b859fba0012c8c150007f1fc38000901512e..."} 
[2026-09-19 11:59:29] local.INFO: Packet analysis {"connection_id":186722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:29] local.INFO: Extracted packet for processing {"connection_id":186722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:29] local.INFO: GPS Element Parsed {"raw_longitude":747377920,"raw_latitude":133299256,"longitude_deg":74.737792,"latitude_deg":13.3299256,"altitude":9,"angle":337,"satellites":46,"speed":57,"hex_longitude":"2c8c1500","hex_latitude":"07f1fc38","is_valid_coordinates":true} 
[2026-09-19 11:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188619264001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":534727723319296,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8349321831301533696,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 11:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789799300000,"timestamp_ms":1789799300000,"timestamp_seconds":1789799300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b859fba0"} 
[2026-09-19 11:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 11:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:29] 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-19 11:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 11:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 11:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 11:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 11:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188619264001,"66":28354,"9":54272,"24":57,"16":534727723319296,"44":-8349321831301533696},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,44]} 
[2026-09-19 11:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 11:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 11:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188619264001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 11:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":534727723319296,"km_value":534727723319.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8349321831301533696,"description":"Unknown IO ID 44"} 
[2026-09-19 11:59:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458188619264001,"power":28354,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8349321831301533696}} 
[2026-09-19 11:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":186722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:30] local.INFO: GPS data processed {"connection_id":186722,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:30] local.INFO: Acknowledgment sent {"connection_id":186722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:46] local.INFO: TCP Data received {"connection_id":188119,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:46] local.INFO: Processing buffer {"connection_id":188119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:46] local.INFO: IMEI packet received {"connection_id":188119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":188119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 11:59:46] local.INFO: TCP Data received {"connection_id":186721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:46] local.INFO: Processing buffer {"connection_id":186721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 11:59:46] local.INFO: Packet analysis {"connection_id":186721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:59:46] local.INFO: Extracted packet for processing {"connection_id":186721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 11: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-19 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:46] 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-19 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 11: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-19 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 11:59: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-19 11: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-19 11: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-19 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 11:59: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-19 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 11:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:47] local.INFO: GPS data processed {"connection_id":186721,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:47] local.INFO: Acknowledgment sent {"connection_id":186721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 11:59:47] local.INFO: TCP Data received {"connection_id":188119,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:47] local.INFO: Processing buffer {"connection_id":188119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:47] local.INFO: IMEI packet received {"connection_id":188119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":188119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:51] local.INFO: TCP Data received {"connection_id":188119,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:51] local.INFO: Processing buffer {"connection_id":188119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 11:59:51] local.INFO: IMEI packet received {"connection_id":188119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":188119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 11:59:52] local.INFO: TCP Data received {"connection_id":188119,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b859bd20012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b859bd20012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:59:52] local.INFO: Processing buffer {"connection_id":188119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b859bd20012d1ba1c0071f6f30004a005920..."} 
[2026-09-19 11:59:52] local.INFO: Packet analysis {"connection_id":188119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:52] local.INFO: Extracted packet for processing {"connection_id":188119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b859"} 
[2026-09-19 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 11:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188611328001,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 11:59:52] 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-19 11:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799284000,"timestamp_ms":1789799284000,"timestamp_seconds":1789799284,"priority":1,"record_length":96,"hex_timestamp":"000001a0b859bd20"} 
[2026-09-19 11:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 11:59:52] 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-19 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 11:59:52] 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-19 11:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 11:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 11:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 11:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 11:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 11:59:52] 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-19 11:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 11:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 11:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188611328001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 11:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 11:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 11:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188611328001,"description":"Unknown IO ID 0"} 
[2026-09-19 11:59:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 11:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 11:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 11:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 11:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188611328001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 11:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":188119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 11:59:52] local.INFO: GPS data processed {"connection_id":188119,"processed":1,"errors":0,"total":1} 
[2026-09-19 11:59:52] local.INFO: Acknowledgment sent {"connection_id":188119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:10] local.INFO: TCP Data received {"connection_id":186845,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:10] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:10] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:00:14] local.INFO: TCP Data received {"connection_id":186845,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:14] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:00:14] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:00:14] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:14] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:14] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:00:15] local.INFO: TCP Data received {"connection_id":186845,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85a16f8012c8c050007f22078000901502e..."} 
[2026-09-19 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85a16f8012c8c050007f22078000901502e..."} 
[2026-09-19 12:00:15] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85a16f8012c8c050007f22078000901502e..."} 
[2026-09-19 12:00:15] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:15] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:15] local.INFO: GPS Element Parsed {"raw_longitude":747373824,"raw_latitude":133308536,"longitude_deg":74.7373824,"latitude_deg":13.3308536,"altitude":9,"angle":336,"satellites":46,"speed":57,"hex_longitude":"2c8c0500","hex_latitude":"07f22078","is_valid_coordinates":true} 
[2026-09-19 12:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188620800001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":535217349591040,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8352769899764107264,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799307000,"timestamp_ms":1789799307000,"timestamp_seconds":1789799307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85a16f8"} 
[2026-09-19 12:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:00: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-19 12:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188620800001,"66":28234,"7":206,"9":54272,"24":57,"16":535217349591040,"44":-8352769899764107264},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,9,24,16,44]} 
[2026-09-19 12:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188620800001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-19 12:00:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":535217349591040,"km_value":535217349591.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8352769899764107264,"description":"Unknown IO ID 44"} 
[2026-09-19 12:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188620800001,"power":28234,"unknown_7":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8352769899764107264}} 
[2026-09-19 12:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:15] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:15] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:19] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:19] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:00:19] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:00:21] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:21] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:21] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 12:00:21] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 12:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:21] 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-19 12:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 12:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:21] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:21] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:23] local.INFO: TCP Data received {"connection_id":188119,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85a0f28012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85a0f28012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:00:23] local.INFO: Processing buffer {"connection_id":188119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85a0f28012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:00:23] local.INFO: Packet analysis {"connection_id":188119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:23] local.INFO: Extracted packet for processing {"connection_id":188119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188616704001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799305000,"timestamp_ms":1789799305000,"timestamp_seconds":1789799305,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85a0f28"} 
[2026-09-19 12:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:23] 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-19 12:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:23] 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-19 12:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188616704001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188616704001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188616704001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":188119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:23] local.INFO: GPS data processed {"connection_id":188119,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:23] local.INFO: Acknowledgment sent {"connection_id":188119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:25] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:25] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b856d6f0012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:00:25] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 12:00:25] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b856"} 
[2026-09-19 12:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188491008001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:25] 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-19 12:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789799094000,"timestamp_ms":1789799094000,"timestamp_seconds":1789799094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b856d6f0"} 
[2026-09-19 12:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:00: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-19 12:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188491008001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188491008001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188491008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:25] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:25] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:46] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:46] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:46] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:00:50] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:50] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:50] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:00:51] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:51] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:00:51] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:00:51] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85a6130012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85a6130012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:00:51] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85a6130012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:00:51] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:51] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188622080001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:51] 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-19 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789799326000,"timestamp_ms":1789799326000,"timestamp_seconds":1789799326,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85a6130"} 
[2026-09-19 12: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-19 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:51] 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-19 12: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-19 12: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-19 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:51] 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-19 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188622080001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188622080001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188622080001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:52] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:52] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:57] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ab338012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ab338012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:00:57] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ab338012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:00:57] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:57] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85a"} 
[2026-09-19 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":34,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:00: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-19 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188627456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789799347000,"timestamp_ms":1789799347000,"timestamp_seconds":1789799347,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ab338"} 
[2026-09-19 12:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:57] 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-19 12:00: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:57] 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-19 12:00: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-19 12:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:00:57] 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-19 12:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188627456001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188627456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188627456001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:57] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:57] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:00:58] local.INFO: TCP Data received {"connection_id":186845,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b5748012c8bd88007f38e38001101622f..."} 
[2026-09-19 12:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b5748012c8bd88007f38e38001101622f..."} 
[2026-09-19 12:00:58] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b5748012c8bd88007f38e38001101622f..."} 
[2026-09-19 12:00:58] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:00:58] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":747362432,"raw_latitude":133402168,"longitude_deg":74.7362432,"latitude_deg":13.3402168,"altitude":17,"angle":354,"satellites":47,"speed":57,"hex_longitude":"2c8bd880","hex_latitude":"07f38e38","is_valid_coordinates":true} 
[2026-09-19 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188641792001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":539830144466944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8368884342156986368,"note":"Value kept but may cause issues"} 
[2026-09-19 12:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789799389000,"timestamp_ms":1789799389000,"timestamp_seconds":1789799389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b5748"} 
[2026-09-19 12:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:00:58] 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-19 12:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188641792001,"66":28300,"130":206,"9":54272,"24":57,"16":539830144466944,"44":-8368884342156986368},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,44]} 
[2026-09-19 12:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188641792001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:00:58] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-19 12:00:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":539830144466944,"km_value":539830144466.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:00:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8368884342156986368,"description":"Unknown IO ID 44"} 
[2026-09-19 12:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188641792001,"power":28300,"unknown_130":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8368884342156986368}} 
[2026-09-19 12:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:00:58] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:00:58] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:09] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:09] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:09] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:01:09] local.INFO: TCP Data received {"connection_id":189457,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:09] local.INFO: Processing buffer {"connection_id":189457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:09] local.INFO: IMEI packet received {"connection_id":189457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:01:11] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:11] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:11] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:01:14] local.INFO: TCP Data received {"connection_id":189457,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:14] local.INFO: Processing buffer {"connection_id":189457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:01:14] local.INFO: IMEI packet received {"connection_id":189457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":189457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:01:16] local.INFO: TCP Data received {"connection_id":189457,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:16] local.INFO: Processing buffer {"connection_id":189457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:16] local.INFO: Packet analysis {"connection_id":189457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:16] local.INFO: Extracted packet for processing {"connection_id":189457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:16] 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-19 12:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:01: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-19 12:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":189457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:16] local.INFO: GPS data processed {"connection_id":189457,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:16] local.INFO: Acknowledgment sent {"connection_id":189457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:18] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:18] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:01:18] local.INFO: IMEI packet received {"connection_id":186723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":186723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:01:20] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012c8bd54007f3b100000e01622a..."} 
[2026-09-19 12:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012c8bd54007f3b100000e01622a..."} 
[2026-09-19 12:01:20] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012c8bd54007f3b100000e01622a..."} 
[2026-09-19 12:01:20] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:20] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:20] local.INFO: GPS Element Parsed {"raw_longitude":747361600,"raw_latitude":133411072,"longitude_deg":74.73616,"latitude_deg":13.3411072,"altitude":14,"angle":354,"satellites":42,"speed":60,"hex_longitude":"2c8bd540","hex_latitude":"07f3b100","is_valid_coordinates":true} 
[2026-09-19 12:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188643584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":540263936163840,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8369799135828756480,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:20] 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-19 12:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188643584001,"66":28267,"130":206,"9":54272,"24":60,"16":540263936163840,"44":-8369799135828756480},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,44]} 
[2026-09-19 12:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188643584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-19 12:01:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":540263936163840,"km_value":540263936163.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8369799135828756480,"description":"Unknown IO ID 44"} 
[2026-09-19 12:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188643584001,"power":28267,"unknown_130":206,"unknown_9":54272,"ignition":60,"odometer":null,"unknown_44":-8369799135828756480}} 
[2026-09-19 12:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:20] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:20] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:22] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b8628012c8bd20007f3d410000c01622d..."} 
[2026-09-19 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b8628012c8bd20007f3d410000c01622d..."} 
[2026-09-19 12:01:22] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b8628012c8bd20007f3d410000c01622d..."} 
[2026-09-19 12:01:22] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:22] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":747360768,"raw_latitude":133420048,"longitude_deg":74.7360768,"latitude_deg":13.3420048,"altitude":12,"angle":354,"satellites":45,"speed":59,"hex_longitude":"2c8bd200","hex_latitude":"07f3d410","is_valid_coordinates":true} 
[2026-09-19 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":540697727860736,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8370713929500786688,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789799401000,"timestamp_ms":1789799401000,"timestamp_seconds":1789799401,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b8628"} 
[2026-09-19 12:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:22] 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-19 12:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":28376,"130":206,"9":54272,"24":59,"16":540697727860736,"44":-8370713929500786688},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,44]} 
[2026-09-19 12:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:22] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-19 12:01:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":540697727860736,"km_value":540697727860.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8370713929500786688,"description":"Unknown IO ID 44"} 
[2026-09-19 12:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":28376,"unknown_130":206,"unknown_9":54272,"ignition":59,"odometer":null,"unknown_44":-8370713929500786688}} 
[2026-09-19 12:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:22] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:22] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:28] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b0540012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b0540012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:01:28] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b0540012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:01:28] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:28] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188632832001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01: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-19 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789799368000,"timestamp_ms":1789799368000,"timestamp_seconds":1789799368,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b0540"} 
[2026-09-19 12:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:01:28] 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-19 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188632832001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188632832001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188632832001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:28] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:28] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:46] local.INFO: TCP Data received {"connection_id":189458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:46] local.INFO: Processing buffer {"connection_id":189458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:46] local.INFO: IMEI packet received {"connection_id":189458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":189458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:01:49] local.INFO: TCP Data received {"connection_id":189457,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:49] local.INFO: Processing buffer {"connection_id":189457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:01:49] local.INFO: Packet analysis {"connection_id":189457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:49] local.INFO: Extracted packet for processing {"connection_id":189457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01: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-19 12:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:01: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-19 12:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:01: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-19 12:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":189457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:49] local.INFO: GPS data processed {"connection_id":189457,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:49] local.INFO: Acknowledgment sent {"connection_id":189457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:51] local.INFO: TCP Data received {"connection_id":189458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:51] local.INFO: Processing buffer {"connection_id":189458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:01:51] local.INFO: IMEI packet received {"connection_id":189458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":189458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:01:52] local.INFO: TCP Data received {"connection_id":189458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b5748012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b5748012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:01:52] local.INFO: Processing buffer {"connection_id":189458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b5748012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:01:52] local.INFO: Packet analysis {"connection_id":189458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:52] local.INFO: Extracted packet for processing {"connection_id":189458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188638208001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:52] 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-19 12:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799389000,"timestamp_ms":1789799389000,"timestamp_seconds":1789799389,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b5748"} 
[2026-09-19 12:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:52] 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-19 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:52] 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-19 12:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:01:52] 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-19 12:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188638208001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188638208001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188638208001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":189458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:52] local.INFO: GPS data processed {"connection_id":189458,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:52] local.INFO: Acknowledgment sent {"connection_id":189458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:01:55] local.INFO: TCP Data received {"connection_id":186723,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ba180012c8bcd4007f3fbd8000b01602e..."} 
[2026-09-19 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ba180012c8bcd4007f3fbd8000b01602e..."} 
[2026-09-19 12:01:55] local.INFO: Processing buffer {"connection_id":186723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ba180012c8bcd4007f3fbd8000b01602e..."} 
[2026-09-19 12:01:55] local.INFO: Packet analysis {"connection_id":186723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:55] local.INFO: Extracted packet for processing {"connection_id":186723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":747359552,"raw_latitude":133430232,"longitude_deg":74.7359552,"latitude_deg":13.3430232,"altitude":11,"angle":352,"satellites":46,"speed":57,"hex_longitude":"2c8bcd40","hex_latitude":"07f3fbd8","is_valid_coordinates":true} 
[2026-09-19 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188646656001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":541195944067072,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8371628723172798464,"note":"Value kept but may cause issues"} 
[2026-09-19 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789799408000,"timestamp_ms":1789799408000,"timestamp_seconds":1789799408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ba180"} 
[2026-09-19 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:01:55] 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-19 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188646656001,"66":28343,"130":206,"9":54272,"24":57,"16":541195944067072,"44":-8371628723172798464},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,44]} 
[2026-09-19 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188646656001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:01:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-19 12:01:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":541195944067072,"km_value":541195944067.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:01:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8371628723172798464,"description":"Unknown IO ID 44"} 
[2026-09-19 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188646656001,"power":28343,"unknown_130":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8371628723172798464}} 
[2026-09-19 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":186723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:01:55] local.INFO: GPS data processed {"connection_id":186723,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:01:55] local.INFO: Acknowledgment sent {"connection_id":186723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:09] local.INFO: TCP Data received {"connection_id":186846,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:09] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:09] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:02:09] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:09] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:09] local.INFO: IMEI packet received {"connection_id":188122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:02:12] local.INFO: TCP Data received {"connection_id":186846,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:12] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:12] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:02:14] local.INFO: TCP Data received {"connection_id":186846,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:14] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:02:14] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:02:15] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:15] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:02:15] local.INFO: IMEI packet received {"connection_id":188122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":188122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:02:15] local.INFO: TCP Data received {"connection_id":186846,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85cbac0012c8c310007f579d80007001e2f..."} 
[2026-09-19 12:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85cbac0012c8c310007f579d80007001e2f..."} 
[2026-09-19 12:02:15] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85cbac0012c8c310007f579d80007001e2f..."} 
[2026-09-19 12:02:15] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:15] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":747385088,"raw_latitude":133528024,"longitude_deg":74.7385088,"latitude_deg":13.3528024,"altitude":7,"angle":30,"satellites":47,"speed":58,"hex_longitude":"2c8c3100","hex_latitude":"07f579d8","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188665088001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":546216760836096,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8350166256173252608,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799480000,"timestamp_ms":1789799480000,"timestamp_seconds":1789799480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85cbac0"} 
[2026-09-19 12: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-19 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:02: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-19 12: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-19 12: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-19 12:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188665088001,"66":28430,"82":206,"9":54272,"24":58,"16":546216760836096,"44":-8350166256173252608},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,9,24,16,44]} 
[2026-09-19 12:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188665088001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-19 12:02:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":546216760836096,"km_value":546216760836.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8350166256173252608,"description":"Unknown IO ID 44"} 
[2026-09-19 12:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188665088001,"power":28430,"unknown_82":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8350166256173252608}} 
[2026-09-19 12:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:15] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:15] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:16] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:16] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:16] local.INFO: Packet analysis {"connection_id":188122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:16] local.INFO: Extracted packet for processing {"connection_id":188122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:16] 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-19 12:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12: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-19 12:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:02:16] 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-19 12:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":188122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:16] local.INFO: GPS data processed {"connection_id":188122,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:16] local.INFO: Acknowledgment sent {"connection_id":188122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:23] local.INFO: TCP Data received {"connection_id":189458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ba950012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ba950012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:02:23] local.INFO: Processing buffer {"connection_id":189458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ba950012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:02:23] local.INFO: Packet analysis {"connection_id":189458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:23] local.INFO: Extracted packet for processing {"connection_id":189458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:02: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-19 12:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188643584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799410000,"timestamp_ms":1789799410000,"timestamp_seconds":1789799410,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ba950"} 
[2026-09-19 12:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:02:23] 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-19 12:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:02:23] 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-19 12:02: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-19 12:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:23] 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-19 12:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188643584001,"66":11678,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188643584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188643584001,"power":11678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":189458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:23] local.INFO: GPS data processed {"connection_id":189458,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:23] local.INFO: Acknowledgment sent {"connection_id":189458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:48] local.INFO: TCP Data received {"connection_id":186846,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85cd618012c8c460007f59c900007001d2d..."} 
[2026-09-19 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85cd618012c8c460007f59c900007001d2d..."} 
[2026-09-19 12:02:48] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85cd618012c8c460007f59c900007001d2d..."} 
[2026-09-19 12:02:48] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:48] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":747390464,"raw_latitude":133536912,"longitude_deg":74.7390464,"latitude_deg":13.3536912,"altitude":7,"angle":29,"satellites":45,"speed":57,"hex_longitude":"2c8c4600","hex_latitude":"07f59c90","is_valid_coordinates":true} 
[2026-09-19 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188666880001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":546714977042432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8344888600357644288,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799487000,"timestamp_ms":1789799487000,"timestamp_seconds":1789799487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85cd618"} 
[2026-09-19 12:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:02:48] 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-19 12:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188666880001,"66":28398,"82":206,"9":54272,"24":57,"16":546714977042432,"44":-8344888600357644288},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,9,24,16,44]} 
[2026-09-19 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188666880001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:48] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-19 12:02:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":546714977042432,"km_value":546714977042.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8344888600357644288,"description":"Unknown IO ID 44"} 
[2026-09-19 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188666880001,"power":28398,"unknown_82":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8344888600357644288}} 
[2026-09-19 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:48] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:48] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:49] local.INFO: TCP Data received {"connection_id":188122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:49] local.INFO: Processing buffer {"connection_id":188122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:02:49] local.INFO: Packet analysis {"connection_id":188122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:49] local.INFO: Extracted packet for processing {"connection_id":188122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02: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-19 12:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12: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-19 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12: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-19 12: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-19 12: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-19 12:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:02:49] 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-19 12:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":188122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:49] local.INFO: GPS data processed {"connection_id":188122,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:49] local.INFO: Acknowledgment sent {"connection_id":188122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:51] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:51] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:51] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:02:54] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:54] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:02:54] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:02:55] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85bfb58012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85bfb58012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:02:55] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85bfb58012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:02:55] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:55] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:02: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-19 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188648960001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:55] 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-19 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789799431000,"timestamp_ms":1789799431000,"timestamp_seconds":1789799431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85bfb58"} 
[2026-09-19 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:02: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-19 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:02: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-19 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:55] 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-19 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188648960001,"66":12504,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188648960001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188648960001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:55] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:55] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:02:56] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85c4d60012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85c4d60012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:02:56] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85c4d60012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:02:56] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:56] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188654336001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789799452000,"timestamp_ms":1789799452000,"timestamp_seconds":1789799452,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85c4d60"} 
[2026-09-19 12:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:02:56] 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-19 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:02:56] 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-19 12:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:02:56] 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-19 12:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188654336001,"66":12439,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188654336001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:02:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188654336001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:02:56] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:02:56] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:09] local.INFO: TCP Data received {"connection_id":189459,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:09] local.INFO: Processing buffer {"connection_id":189459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:09] local.INFO: IMEI packet received {"connection_id":189459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:03:12] local.INFO: TCP Data received {"connection_id":189459,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:12] local.INFO: Processing buffer {"connection_id":189459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:12] local.INFO: IMEI packet received {"connection_id":189459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":189459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:03:14] local.INFO: TCP Data received {"connection_id":189459,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:14] local.INFO: Processing buffer {"connection_id":189459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:03:14] local.INFO: IMEI packet received {"connection_id":189459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:03:14] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:14] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:14] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:03:15] local.INFO: TCP Data received {"connection_id":189459,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85cf170012c8c594007f5bf800008001c2e..."} 
[2026-09-19 12:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85cf170012c8c594007f5bf800008001c2e..."} 
[2026-09-19 12:03:15] local.INFO: Processing buffer {"connection_id":189459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85cf170012c8c594007f5bf800008001c2e..."} 
[2026-09-19 12:03:15] local.INFO: Packet analysis {"connection_id":189459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:15] local.INFO: Extracted packet for processing {"connection_id":189459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":747395392,"raw_latitude":133545856,"longitude_deg":74.7395392,"latitude_deg":13.3545856,"altitude":8,"angle":28,"satellites":46,"speed":57,"hex_longitude":"2c8c5940","hex_latitude":"07f5bf80","is_valid_coordinates":true} 
[2026-09-19 12:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188668672001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":547208898281472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8338977625844445184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799494000,"timestamp_ms":1789799494000,"timestamp_seconds":1789799494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85cf170"} 
[2026-09-19 12:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:15] 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-19 12:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188668672001,"66":28234,"82":206,"9":54272,"24":57,"16":547208898281472,"44":-8338977625844445184},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,9,24,16,44]} 
[2026-09-19 12:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188668672001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":547208898281472,"km_value":547208898281.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8338977625844445184,"description":"Unknown IO ID 44"} 
[2026-09-19 12:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188668672001,"power":28234,"unknown_82":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8338977625844445184}} 
[2026-09-19 12:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:15] local.INFO: GPS data processed {"connection_id":189459,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:15] local.INFO: Acknowledgment sent {"connection_id":189459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:19] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:19] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:03:19] local.INFO: IMEI packet received {"connection_id":186724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":186724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:03:21] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:21] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:21] local.INFO: Packet analysis {"connection_id":186724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:03:21] local.INFO: Extracted packet for processing {"connection_id":186724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:21] 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-19 12:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":186724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:21] local.INFO: GPS data processed {"connection_id":186724,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:21] local.INFO: Acknowledgment sent {"connection_id":186724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:27] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85c9f68012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85c9f68012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:27] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85c9f68012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:27] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:27] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188659712001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:27] 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-19 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789799473000,"timestamp_ms":1789799473000,"timestamp_seconds":1789799473,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85c9f68"} 
[2026-09-19 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:27] 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-19 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:03:27] 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-19 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188659712001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188659712001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188659712001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:27] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:27] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:29] local.INFO: TCP Data received {"connection_id":186724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:29] local.INFO: Processing buffer {"connection_id":186724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:03:29] local.INFO: Packet analysis {"connection_id":186724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:03:29] local.INFO: Extracted packet for processing {"connection_id":186724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:29] 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-19 12:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":186724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:29] local.INFO: GPS data processed {"connection_id":186724,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:29] local.INFO: Acknowledgment sent {"connection_id":186724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:46] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:46] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:46] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:03:47] local.INFO: TCP Data received {"connection_id":189459,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85d0cc8012c8c6c4007f5e2400008001b2d..."} 
[2026-09-19 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85d0cc8012c8c6c4007f5e2400008001b2d..."} 
[2026-09-19 12:03:47] local.INFO: Processing buffer {"connection_id":189459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85d0cc8012c8c6c4007f5e2400008001b2d..."} 
[2026-09-19 12:03:47] local.INFO: Packet analysis {"connection_id":189459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:03:47] local.INFO: Extracted packet for processing {"connection_id":189459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":747400256,"raw_latitude":133554752,"longitude_deg":74.7400256,"latitude_deg":13.3554752,"altitude":8,"angle":27,"satellites":45,"speed":56,"hex_longitude":"2c8c6c40","hex_latitude":"07f5e240","is_valid_coordinates":true} 
[2026-09-19 12:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188670464001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":547698524553216,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8333559232540475392,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799501000,"timestamp_ms":1789799501000,"timestamp_seconds":1789799501,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85d0cc8"} 
[2026-09-19 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-19 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:47] 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-19 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-19 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-19 12:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188670464001,"66":28343,"82":206,"9":54272,"24":56,"16":547698524553216,"44":-8333559232540475392},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,9,24,16,44]} 
[2026-09-19 12:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188670464001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":547698524553216,"km_value":547698524553.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8333559232540475392,"description":"Unknown IO ID 44"} 
[2026-09-19 12:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188670464001,"power":28343,"unknown_82":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8333559232540475392}} 
[2026-09-19 12:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:47] local.INFO: GPS data processed {"connection_id":189459,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:47] local.INFO: Acknowledgment sent {"connection_id":189459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:03:51] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:51] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:03:51] local.INFO: IMEI packet received {"connection_id":188124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":188124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:03:52] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85cf170012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85cf170012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:52] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85cf170012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:03:52] local.INFO: Packet analysis {"connection_id":188124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:52] local.INFO: Extracted packet for processing {"connection_id":188124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85c"} 
[2026-09-19 12:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188665088001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:03:52] 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-19 12:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799494000,"timestamp_ms":1789799494000,"timestamp_seconds":1789799494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85cf170"} 
[2026-09-19 12: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-19 12:03:52] 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-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:03:52] 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-19 12: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-19 12: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-19 12:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:03:52] 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-19 12:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188665088001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188665088001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:03:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188665088001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":188124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:03:52] local.INFO: GPS data processed {"connection_id":188124,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:03:52] local.INFO: Acknowledgment sent {"connection_id":188124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:09] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:09] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:09] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:04:11] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:11] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:11] local.INFO: IMEI packet received {"connection_id":186725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":186725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:04:14] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:14] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:14] local.INFO: IMEI packet received {"connection_id":186725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:04:14] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:14] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:04:14] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:04:17] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:17] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:17] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:04:17] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:17] 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-19 12:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:04: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-19 12:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:04:17] 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-19 12:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:17] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:17] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:19] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:19] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:04:19] local.INFO: IMEI packet received {"connection_id":186725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":186725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:04:20] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85e8b98012c8d164007f74dd80014000e2e..."} 
[2026-09-19 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85e8b98012c8d164007f74dd80014000e2e..."} 
[2026-09-19 12:04:20] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85e8b98012c8d164007f74dd80014000e2e..."} 
[2026-09-19 12:04:20] local.INFO: Packet analysis {"connection_id":186725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:20] local.INFO: Extracted packet for processing {"connection_id":186725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:20] local.INFO: GPS Element Parsed {"raw_longitude":747443776,"raw_latitude":133647832,"longitude_deg":74.7443776,"latitude_deg":13.3647832,"altitude":20,"angle":14,"satellites":46,"speed":49,"hex_longitude":"2c8d1640","hex_latitude":"07f74dd8","is_valid_coordinates":true} 
[2026-09-19 12:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188695296001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":552680686616576,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8283245580429772800,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789799599000,"timestamp_ms":1789799599000,"timestamp_seconds":1789799599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85e8b98"} 
[2026-09-19 12:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:04:20] 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-19 12:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188695296001,"66":28278,"95":206,"9":54272,"24":49,"16":552680686616576,"44":-8283245580429772800},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-19 12:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188695296001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-19 12:04:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":552680686616576,"km_value":552680686616.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8283245580429772800,"description":"Unknown IO ID 44"} 
[2026-09-19 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188695296001,"power":28278,"unknown_95":206,"unknown_9":54272,"ignition":49,"odometer":null,"unknown_44":-8283245580429772800}} 
[2026-09-19 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":186725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865572,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:21] local.INFO: GPS data processed {"connection_id":186725,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:21] local.INFO: Acknowledgment sent {"connection_id":186725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:22] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ea6f0012c8d1f4007f76f800014000e2f..."} 
[2026-09-19 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ea6f0012c8d1f4007f76f800014000e2f..."} 
[2026-09-19 12:04:22] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ea6f0012c8d1f4007f76f800014000e2f..."} 
[2026-09-19 12:04:22] local.INFO: Packet analysis {"connection_id":186725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:22] local.INFO: Extracted packet for processing {"connection_id":186725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":747446080,"raw_latitude":133656448,"longitude_deg":74.744608,"latitude_deg":13.3656448,"altitude":20,"angle":14,"satellites":47,"speed":51,"hex_longitude":"2c8d1f40","hex_latitude":"07f76f80","is_valid_coordinates":true} 
[2026-09-19 12:04: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-19 12:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188697344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":553110183346176,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8280360461916055552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789799606000,"timestamp_ms":1789799606000,"timestamp_seconds":1789799606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ea6f0"} 
[2026-09-19 12:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:04: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:04:22] 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-19 12:04: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-19 12:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188697344001,"66":28267,"93":206,"9":54272,"24":51,"16":553110183346176,"44":-8280360461916055552},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 12:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188697344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:22] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 12:04:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":553110183346176,"km_value":553110183346.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8280360461916055552,"description":"Unknown IO ID 44"} 
[2026-09-19 12:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188697344001,"power":28267,"unknown_93":206,"unknown_9":54272,"ignition":51,"odometer":null,"unknown_44":-8280360461916055552}} 
[2026-09-19 12:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:22] local.INFO: GPS data processed {"connection_id":186725,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:22] local.INFO: Acknowledgment sent {"connection_id":186725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:23] local.INFO: TCP Data received {"connection_id":188124,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85d4378012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85d4378012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:23] local.INFO: Processing buffer {"connection_id":188124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85d4378012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:23] local.INFO: Packet analysis {"connection_id":188124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:04:23] local.INFO: Extracted packet for processing {"connection_id":188124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188670464001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799515000,"timestamp_ms":1789799515000,"timestamp_seconds":1789799515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85d4378"} 
[2026-09-19 12:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:04:23] 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-19 12:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:04:23] 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-19 12:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188670464001,"66":11993,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188670464001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188670464001,"power":11993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":188124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:23] local.INFO: GPS data processed {"connection_id":188124,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:23] local.INFO: Acknowledgment sent {"connection_id":188124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:46] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:46] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:46] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:04:49] local.INFO: TCP Data received {"connection_id":186847,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:49] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:04:49] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:04:49] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04: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-19 12:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:04: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-19 12:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:04:49] 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-19 12:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:49] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:49] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:51] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:51] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:04:51] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:04:52] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85d9580012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85d9580012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:52] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85d9580012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:04:52] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:04:52] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188675840001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:52] 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-19 12:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799536000,"timestamp_ms":1789799536000,"timestamp_seconds":1789799536,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85d9580"} 
[2026-09-19 12: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-19 12:04:52] 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-19 12: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-19 12:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:04:52] 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-19 12:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188675840001,"66":11711,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188675840001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188675840001,"power":11711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:52] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:52] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:04:53] local.INFO: TCP Data received {"connection_id":186725,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ec248012c8d288007f791e00014000f2e..."} 
[2026-09-19 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ec248012c8d288007f791e00014000f2e..."} 
[2026-09-19 12:04:53] local.INFO: Processing buffer {"connection_id":186725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ec248012c8d288007f791e00014000f2e..."} 
[2026-09-19 12:04:53] local.INFO: Packet analysis {"connection_id":186725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:53] local.INFO: Extracted packet for processing {"connection_id":186725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:04:53] local.INFO: GPS Element Parsed {"raw_longitude":747448448,"raw_latitude":133665248,"longitude_deg":74.7448448,"latitude_deg":13.3665248,"altitude":20,"angle":15,"satellites":46,"speed":52,"hex_longitude":"2c8d2880","hex_latitude":"07f791e0","is_valid_coordinates":true} 
[2026-09-19 12:04: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-19 12:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188699136001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":553552564977664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8277827187123453952,"note":"Value kept but may cause issues"} 
[2026-09-19 12:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789799613000,"timestamp_ms":1789799613000,"timestamp_seconds":1789799613,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ec248"} 
[2026-09-19 12:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:04:53] 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-19 12:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188699136001,"66":28278,"93":206,"9":54272,"24":52,"16":553552564977664,"44":-8277827187123453952},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 12:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188699136001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:04:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 12:04:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":553552564977664,"km_value":553552564977.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:04:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8277827187123453952,"description":"Unknown IO ID 44"} 
[2026-09-19 12:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188699136001,"power":28278,"unknown_93":206,"unknown_9":54272,"ignition":52,"odometer":null,"unknown_44":-8277827187123453952}} 
[2026-09-19 12:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":186725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:04:53] local.INFO: GPS data processed {"connection_id":186725,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:04:53] local.INFO: Acknowledgment sent {"connection_id":186725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:09] local.INFO: TCP Data received {"connection_id":189460,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:09] local.INFO: Processing buffer {"connection_id":189460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:09] local.INFO: IMEI packet received {"connection_id":189460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":189460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:05:10] local.INFO: TCP Data received {"connection_id":186726,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:10] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:10] local.INFO: IMEI packet received {"connection_id":186726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":186726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:05:11] local.INFO: TCP Data received {"connection_id":186726,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:11] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:05:11] local.INFO: IMEI packet received {"connection_id":186726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":186726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:05:13] local.INFO: TCP Data received {"connection_id":186726,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85edda0012c8d324007f7b4580015000f2e..."} 
[2026-09-19 12:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85edda0012c8d324007f7b4580015000f2e..."} 
[2026-09-19 12:05:13] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85edda0012c8d324007f7b4580015000f2e..."} 
[2026-09-19 12:05:13] local.INFO: Packet analysis {"connection_id":186726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:13] local.INFO: Extracted packet for processing {"connection_id":186726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":747450944,"raw_latitude":133674072,"longitude_deg":74.7450944,"latitude_deg":13.3674072,"altitude":21,"angle":15,"satellites":46,"speed":51,"hex_longitude":"2c8d3240","hex_latitude":"07f7b458","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188700928001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":553994946609152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8275223543586627584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789799620000,"timestamp_ms":1789799620000,"timestamp_seconds":1789799620,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85edda0"} 
[2026-09-19 12: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-19 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:05:13] 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-19 12: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-19 12: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-19 12:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188700928001,"66":28354,"93":206,"9":54272,"24":51,"16":553994946609152,"44":-8275223543586627584},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 12:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188700928001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:13] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 12:05:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":553994946609152,"km_value":553994946609.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8275223543586627584,"description":"Unknown IO ID 44"} 
[2026-09-19 12:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188700928001,"power":28354,"unknown_93":206,"unknown_9":54272,"ignition":51,"odometer":null,"unknown_44":-8275223543586627584}} 
[2026-09-19 12:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":186726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:13] local.INFO: GPS data processed {"connection_id":186726,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:13] local.INFO: Acknowledgment sent {"connection_id":186726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:14] local.INFO: TCP Data received {"connection_id":189460,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:14] local.INFO: Processing buffer {"connection_id":189460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:05:14] local.INFO: IMEI packet received {"connection_id":189460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":189460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:05:15] local.INFO: TCP Data received {"connection_id":186726,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85ef8f8012c8d3bc007f7d6300016000f2e..."} 
[2026-09-19 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85ef8f8012c8d3bc007f7d6300016000f2e..."} 
[2026-09-19 12:05:15] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85ef8f8012c8d3bc007f7d6300016000f2e..."} 
[2026-09-19 12:05:15] local.INFO: Packet analysis {"connection_id":186726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:15] local.INFO: Extracted packet for processing {"connection_id":186726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":747453376,"raw_latitude":133682736,"longitude_deg":74.7453376,"latitude_deg":13.3682736,"altitude":22,"angle":15,"satellites":46,"speed":50,"hex_longitude":"2c8d3bc0","hex_latitude":"07f7d630","is_valid_coordinates":true} 
[2026-09-19 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188702720001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":554433033273344,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8272479162561439744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799627000,"timestamp_ms":1789799627000,"timestamp_seconds":1789799627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85ef8f8"} 
[2026-09-19 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:05: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-19 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188702720001,"66":28354,"93":206,"9":54272,"24":50,"16":554433033273344,"44":-8272479162561439744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188702720001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":554433033273344,"km_value":554433033273.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8272479162561439744,"description":"Unknown IO ID 44"} 
[2026-09-19 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188702720001,"power":28354,"unknown_93":206,"unknown_9":54272,"ignition":50,"odometer":null,"unknown_44":-8272479162561439744}} 
[2026-09-19 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":186726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:15] local.INFO: GPS data processed {"connection_id":186726,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:15] local.INFO: Acknowledgment sent {"connection_id":186726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:17] local.INFO: TCP Data received {"connection_id":189460,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:17] local.INFO: Processing buffer {"connection_id":189460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85b6eb8012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:17] local.INFO: Packet analysis {"connection_id":189460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:05:17] local.INFO: Extracted packet for processing {"connection_id":189460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85b"} 
[2026-09-19 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188568064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:17] 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-19 12:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789799395000,"timestamp_ms":1789799395000,"timestamp_seconds":1789799395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85b6eb8"} 
[2026-09-19 12:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:05: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-19 12:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:05:17] 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-19 12:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188568064001,"66":25702,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188568064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188568064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":189460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:17] local.INFO: GPS data processed {"connection_id":189460,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:17] local.INFO: Acknowledgment sent {"connection_id":189460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:23] local.INFO: TCP Data received {"connection_id":186848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85de788012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85de788012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:05:23] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85de788012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:05:23] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:05:23] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85d"} 
[2026-09-19 12:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188681216001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799557000,"timestamp_ms":1789799557000,"timestamp_seconds":1789799557,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85de788"} 
[2026-09-19 12:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05:23] 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-19 12:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-19 12:05:23] 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-19 12:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:05:23] 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-19 12:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188681216001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188681216001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188681216001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:23] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:23] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:46] local.INFO: TCP Data received {"connection_id":189461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:46] local.INFO: Processing buffer {"connection_id":189461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:46] local.INFO: IMEI packet received {"connection_id":189461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":189461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:05:48] local.INFO: TCP Data received {"connection_id":186726,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85f1450012c8d458007f7f8080017000f2b..."} 
[2026-09-19 12:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85f1450012c8d458007f7f8080017000f2b..."} 
[2026-09-19 12:05:48] local.INFO: Processing buffer {"connection_id":186726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85f1450012c8d458007f7f8080017000f2b..."} 
[2026-09-19 12:05:48] local.INFO: Packet analysis {"connection_id":186726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:05:48] local.INFO: Extracted packet for processing {"connection_id":186726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:05:48] local.INFO: GPS Element Parsed {"raw_longitude":747455872,"raw_latitude":133691400,"longitude_deg":74.7455872,"latitude_deg":13.36914,"altitude":23,"angle":15,"satellites":43,"speed":52,"hex_longitude":"2c8d4580","hex_latitude":"07f7f808","is_valid_coordinates":true} 
[2026-09-19 12:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188704512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":554866824970240,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269805150280470528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799634000,"timestamp_ms":1789799634000,"timestamp_seconds":1789799634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85f1450"} 
[2026-09-19 12:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05: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-19 12:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:05:48] 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-19 12:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188704512001,"66":28224,"93":206,"9":54272,"24":52,"16":554866824970240,"44":-8269805150280470528},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188704512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":554866824970240,"km_value":554866824970.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269805150280470528,"description":"Unknown IO ID 44"} 
[2026-09-19 12:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188704512001,"power":28224,"unknown_93":206,"unknown_9":54272,"ignition":52,"odometer":null,"unknown_44":-8269805150280470528}} 
[2026-09-19 12:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":186726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:48] local.INFO: GPS data processed {"connection_id":186726,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:48] local.INFO: Acknowledgment sent {"connection_id":186726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:48] local.INFO: TCP Data received {"connection_id":189460,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:48] local.INFO: Processing buffer {"connection_id":189460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:05:48] local.INFO: Packet analysis {"connection_id":189460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:05:48] local.INFO: Extracted packet for processing {"connection_id":189460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05: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-19 12:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05: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-19 12:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:05: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-19 12:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:05: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-19 12:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":189460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:48] local.INFO: GPS data processed {"connection_id":189460,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:48] local.INFO: Acknowledgment sent {"connection_id":189460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:05:51] local.INFO: TCP Data received {"connection_id":189461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:51] local.INFO: Processing buffer {"connection_id":189461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:05:51] local.INFO: IMEI packet received {"connection_id":189461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":189461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:05:52] local.INFO: TCP Data received {"connection_id":189461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85e3990012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85e3990012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:05:52] local.INFO: Processing buffer {"connection_id":189461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85e3990012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:05:52] local.INFO: Packet analysis {"connection_id":189461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:52] local.INFO: Extracted packet for processing {"connection_id":189461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188686592001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:05:52] 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-19 12:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799578000,"timestamp_ms":1789799578000,"timestamp_seconds":1789799578,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85e3990"} 
[2026-09-19 12:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:05:52] 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-19 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:05:52] 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-19 12:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:05:52] 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-19 12:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188686592001,"66":12439,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188686592001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:05:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188686592001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":189461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:05:52] local.INFO: GPS data processed {"connection_id":189461,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:05:52] local.INFO: Acknowledgment sent {"connection_id":189461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:09] local.INFO: TCP Data received {"connection_id":188125,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:09] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:09] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:06:09] local.INFO: TCP Data received {"connection_id":188126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:09] local.INFO: Processing buffer {"connection_id":188126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:09] local.INFO: IMEI packet received {"connection_id":188126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:06:14] local.INFO: TCP Data received {"connection_id":188126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:14] local.INFO: Processing buffer {"connection_id":188126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:06:14] local.INFO: IMEI packet received {"connection_id":188126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:06:15] local.INFO: TCP Data received {"connection_id":188126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:15] local.INFO: Processing buffer {"connection_id":188126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:15] local.INFO: Packet analysis {"connection_id":188126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:15] local.INFO: Extracted packet for processing {"connection_id":188126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06: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-19 12:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12: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-19 12:06: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-19 12:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:06: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-19 12: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-19 12: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-19 12:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:06: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-19 12:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":188126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:15] local.INFO: GPS data processed {"connection_id":188126,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:15] local.INFO: Acknowledgment sent {"connection_id":188126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:16] local.INFO: TCP Data received {"connection_id":188125,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:16] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:06:16] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:06:17] local.INFO: TCP Data received {"connection_id":188125,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8604118012c8c988007f92f00001801372e..."} 
[2026-09-19 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8604118012c8c988007f92f00001801372e..."} 
[2026-09-19 12:06:17] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8604118012c8c988007f92f00001801372e..."} 
[2026-09-19 12:06:17] local.INFO: Packet analysis {"connection_id":188125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:17] local.INFO: Extracted packet for processing {"connection_id":188125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":747411584,"raw_latitude":133771008,"longitude_deg":74.7411584,"latitude_deg":13.3771008,"altitude":24,"angle":311,"satellites":46,"speed":44,"hex_longitude":"2c8c9880","hex_latitude":"07f92f00","is_valid_coordinates":true} 
[2026-09-19 12:06: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-19 12:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188723712001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":559677188341760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8307030215929262080,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789799711000,"timestamp_ms":1789799711000,"timestamp_seconds":1789799711,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8604118"} 
[2026-09-19 12:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:06: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":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:06:17] 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-19 12:06: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-19 12:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188723712001,"66":28224,"88":206,"9":54272,"24":44,"16":559677188341760,"44":-8307030215929262080},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-19 12:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188723712001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-19 12:06:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":559677188341760,"km_value":559677188341.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8307030215929262080,"description":"Unknown IO ID 44"} 
[2026-09-19 12:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188723712001,"power":28224,"unknown_88":206,"unknown_9":54272,"ignition":44,"odometer":null,"unknown_44":-8307030215929262080}} 
[2026-09-19 12:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":188125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:17] local.INFO: GPS data processed {"connection_id":188125,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:17] local.INFO: Acknowledgment sent {"connection_id":188125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:23] local.INFO: TCP Data received {"connection_id":189461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85e8b98012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85e8b98012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:06:23] local.INFO: Processing buffer {"connection_id":189461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85e8b98012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:06:23] local.INFO: Packet analysis {"connection_id":189461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:06:23] local.INFO: Extracted packet for processing {"connection_id":189461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188691968001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799599000,"timestamp_ms":1789799599000,"timestamp_seconds":1789799599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85e8b98"} 
[2026-09-19 12:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:06:23] 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-19 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 12:06:23] 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-19 12:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:06:23] 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-19 12:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188691968001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188691968001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188691968001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":189461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:23] local.INFO: GPS data processed {"connection_id":189461,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:23] local.INFO: Acknowledgment sent {"connection_id":189461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:45] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:45] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:45] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:06:46] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:46] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:46] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:06:47] local.INFO: TCP Data received {"connection_id":188126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:47] local.INFO: Processing buffer {"connection_id":188126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:06:47] local.INFO: Packet analysis {"connection_id":188126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:47] local.INFO: Extracted packet for processing {"connection_id":188126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12: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-19 12: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:06: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-19 12: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-19 12: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-19 12:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:06: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-19 12:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":188126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:47] local.INFO: GPS data processed {"connection_id":188126,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:47] local.INFO: Acknowledgment sent {"connection_id":188126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:51] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:51] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:06:51] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:06:52] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85edda0012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85edda0012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:06:52] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85edda0012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:06:52] local.INFO: Packet analysis {"connection_id":186849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:06:52] local.INFO: Extracted packet for processing {"connection_id":186849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85e"} 
[2026-09-19 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188697344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:52] 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-19 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799620000,"timestamp_ms":1789799620000,"timestamp_seconds":1789799620,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85edda0"} 
[2026-09-19 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:06:52] 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-19 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:06:52] 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-19 12:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:06:52] 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-19 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188697344001,"66":12461,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188697344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188697344001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":186849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:52] local.INFO: GPS data processed {"connection_id":186849,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:52] local.INFO: Acknowledgment sent {"connection_id":186849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:06:57] local.INFO: TCP Data received {"connection_id":188125,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8606058012c8c7f8007f949000018013f2e..."} 
[2026-09-19 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8606058012c8c7f8007f949000018013f2e..."} 
[2026-09-19 12:06:57] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8606058012c8c7f8007f949000018013f2e..."} 
[2026-09-19 12:06:57] local.INFO: Packet analysis {"connection_id":188125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:57] local.INFO: Extracted packet for processing {"connection_id":188125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":747405184,"raw_latitude":133777664,"longitude_deg":74.7405184,"latitude_deg":13.3777664,"altitude":24,"angle":319,"satellites":46,"speed":47,"hex_longitude":"2c8c7f80","hex_latitude":"07f94900","is_valid_coordinates":true} 
[2026-09-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188726016001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":560119569973248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8315755940205887488,"note":"Value kept but may cause issues"} 
[2026-09-19 12:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789799719000,"timestamp_ms":1789799719000,"timestamp_seconds":1789799719,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8606058"} 
[2026-09-19 12:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 12:06:57] 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-19 12:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188726016001,"66":28354,"88":206,"9":54272,"24":47,"16":560119569973248,"44":-8315755940205887488},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-19 12:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188726016001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":560119569973248,"km_value":560119569973.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:06:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8315755940205887488,"description":"Unknown IO ID 44"} 
[2026-09-19 12:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188726016001,"power":28354,"unknown_88":206,"unknown_9":54272,"ignition":47,"odometer":null,"unknown_44":-8315755940205887488}} 
[2026-09-19 12:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":188125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:06:57] local.INFO: GPS data processed {"connection_id":188125,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:06:57] local.INFO: Acknowledgment sent {"connection_id":188125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:07:14] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:14] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:14] local.INFO: IMEI packet received {"connection_id":186727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:07:19] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:19] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:07:19] local.INFO: IMEI packet received {"connection_id":186727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":186727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:07:20] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:20] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:20] local.INFO: Packet analysis {"connection_id":186727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:07:20] local.INFO: Extracted packet for processing {"connection_id":186727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:07:20] 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-19 12:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":186727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:07:20] local.INFO: GPS data processed {"connection_id":186727,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:07:20] local.INFO: Acknowledgment sent {"connection_id":186727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:07:23] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85f2fa8012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85f2fa8012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:07:23] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85f2fa8012d1ba1c0071f6f30004a005927..."} 
[2026-09-19 12:07:23] local.INFO: Packet analysis {"connection_id":186849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:07:23] local.INFO: Extracted packet for processing {"connection_id":186849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188702720001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799641000,"timestamp_ms":1789799641000,"timestamp_seconds":1789799641,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85f2fa8"} 
[2026-09-19 12:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:07:23] 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-19 12:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:07:23] 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-19 12:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:07:23] 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-19 12:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188702720001,"66":12428,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188702720001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:07:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188702720001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":186849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:07:23] local.INFO: GPS data processed {"connection_id":186849,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:07:23] local.INFO: Acknowledgment sent {"connection_id":186849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:07:24] local.INFO: TCP Data received {"connection_id":188127,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:24] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:24] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:07:25] local.INFO: TCP Data received {"connection_id":186727,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:25] local.INFO: Processing buffer {"connection_id":186727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:07:25] local.INFO: Packet analysis {"connection_id":186727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:07:25] local.INFO: Extracted packet for processing {"connection_id":186727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:07: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-19 12:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:07: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-19 12:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:07:25] 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-19 12:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":186727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:07:25] local.INFO: GPS data processed {"connection_id":186727,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:07:25] local.INFO: Acknowledgment sent {"connection_id":186727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:07:27] local.INFO: TCP Data received {"connection_id":188127,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:27] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:27] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:07:30] local.INFO: TCP Data received {"connection_id":188127,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:30] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:07:30] local.INFO: IMEI packet received {"connection_id":188127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":188127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:07:31] local.INFO: TCP Data received {"connection_id":188127,"ip":"117.224.216.130","data_length":1360,"data_hex":"000000000000030f8e0a000001a0b8619108012c8c4f8007fab5980019002527..."} 
[2026-09-19 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188127,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0b8619108012c8c4f8007fab5980019002527..."} 
[2026-09-19 12:07:31] local.INFO: Processing buffer {"connection_id":188127,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0b8619108012c8c4f8007fab5980019002527..."} 
[2026-09-19 12:07:31] local.INFO: Packet analysis {"connection_id":188127,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:07:31] local.INFO: Extracted packet for processing {"connection_id":188127,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":747392896,"raw_latitude":133871000,"longitude_deg":74.7392896,"latitude_deg":13.3871,"altitude":25,"angle":37,"satellites":39,"speed":58,"hex_longitude":"2c8c4f80","hex_latitude":"07fab598","is_valid_coordinates":true} 
[2026-09-19 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188746240001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":564955703148544,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8342214587993339904,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789799797000,"timestamp_ms":1789799797000,"timestamp_seconds":1789799797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8619108"} 
[2026-09-19 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:07: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-19 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:07:31] 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-19 12:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188746240001,"66":28300,"89":206,"9":54272,"24":58,"16":564955703148544,"44":-8342214587993339904},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-19 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188746240001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:07:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-19 12:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":564955703148544,"km_value":564955703148.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8342214587993339904,"description":"Unknown IO ID 44"} 
[2026-09-19 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188746240001,"power":28300,"unknown_89":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8342214587993339904}} 
[2026-09-19 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":188127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:07:31] local.INFO: GPS data processed {"connection_id":188127,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:07:31] local.INFO: Acknowledgment sent {"connection_id":188127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:07:31] local.INFO: Packet analysis {"connection_id":188127,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:07:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":188127,"needed":795,"available":565} 
[2026-09-19 12:07:46] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:46] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:46] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:07:48] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:48] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:48] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:07:51] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:51] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:07:51] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:07:52] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85f81b0012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85f81b0012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:07:52] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85f81b0012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:07:52] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:07:52] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188708096001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:07:52] 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-19 12:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799662000,"timestamp_ms":1789799662000,"timestamp_seconds":1789799662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85f81b0"} 
[2026-09-19 12: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-19 12:07:52] 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-19 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:07:52] 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-19 12: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-19 12: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-19 12:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:07:52] 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-19 12:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188708096001,"66":12385,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188708096001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:07:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188708096001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:07:52] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:07:52] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:09] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:09] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:09] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:08:14] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:14] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:14] local.INFO: IMEI packet received {"connection_id":186728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":186728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:08:14] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:14] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:08:14] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:08:15] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:15] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:15] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:15] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08: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-19 12:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12: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-19 12:08: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-19 12:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:08: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-19 12:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:15] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:15] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:21] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:21] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:08:21] local.INFO: IMEI packet received {"connection_id":186728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":186728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:08:23] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b85fd3b8012d1ba1c0071f6f30004a00591f..."} 
[2026-09-19 12:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b85fd3b8012d1ba1c0071f6f30004a00591f..."} 
[2026-09-19 12:08:23] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b85fd3b8012d1ba1c0071f6f30004a00591f..."} 
[2026-09-19 12:08:23] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:08:23] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b85f"} 
[2026-09-19 12:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":31,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188713472001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799683000,"timestamp_ms":1789799683000,"timestamp_seconds":1789799683,"priority":1,"record_length":96,"hex_timestamp":"000001a0b85fd3b8"} 
[2026-09-19 12:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:08:23] 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-19 12:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:23] 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-19 12:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:08:23] 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-19 12:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188713472001,"66":12428,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188713472001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188713472001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:23] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:23] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:24] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 12:08:24] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 12:08:24] local.INFO: IMEI packet received {"connection_id":186728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":186728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:08:27] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b861b818012c8c7b8007fad9c00015003d2b..."} 
[2026-09-19 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b861b818012c8c7b8007fad9c00015003d2b..."} 
[2026-09-19 12:08:27] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0b8..."} 
[2026-09-19 12:08:27] local.INFO: IMEI packet received {"connection_id":186728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":186728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:08:30] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b861c7b8012c8c918007fae290001300492b..."} 
[2026-09-19 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b861c7b8012c8c918007fae290001300492b..."} 
[2026-09-19 12:08:30] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b861b818012c8c7b8007fad9c00015003d2b..."} 
[2026-09-19 12:08:30] local.INFO: Packet analysis {"connection_id":186728,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:30] local.INFO: Extracted packet for processing {"connection_id":186728,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":747404160,"raw_latitude":133880256,"longitude_deg":74.740416,"latitude_deg":13.3880256,"altitude":21,"angle":61,"satellites":43,"speed":58,"hex_longitude":"2c8c7b80","hex_latitude":"07fad9c0","is_valid_coordinates":true} 
[2026-09-19 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188749312001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":565655782817792,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8330603745200457728,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789799807000,"timestamp_ms":1789799807000,"timestamp_seconds":1789799807,"priority":1,"record_length":96,"hex_timestamp":"000001a0b861b818"} 
[2026-09-19 12:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:08: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-19 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:30] 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-19 12:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188749312001,"66":28332,"195":206,"9":54272,"24":58,"16":565655782817792,"44":-8330603745200457728},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188749312001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":565655782817792,"km_value":565655782817.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8330603745200457728,"description":"Unknown IO ID 44"} 
[2026-09-19 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188749312001,"power":28332,"unknown_195":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8330603745200457728}} 
[2026-09-19 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":186728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:30] local.INFO: GPS data processed {"connection_id":186728,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:30] local.INFO: Acknowledgment sent {"connection_id":186728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:30] local.INFO: Packet analysis {"connection_id":186728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:30] local.INFO: Extracted packet for processing {"connection_id":186728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":747409792,"raw_latitude":133882512,"longitude_deg":74.7409792,"latitude_deg":13.3882512,"altitude":19,"angle":73,"satellites":43,"speed":59,"hex_longitude":"2c8c9180","hex_latitude":"07fae290","is_valid_coordinates":true} 
[2026-09-19 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188750592001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":565943545626624,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8323918714502529024,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789799811000,"timestamp_ms":1789799811000,"timestamp_seconds":1789799811,"priority":1,"record_length":96,"hex_timestamp":"000001a0b861c7b8"} 
[2026-09-19 12:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:08: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-19 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:30] 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-19 12:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188750592001,"66":28234,"195":206,"9":54272,"24":59,"16":565943545626624,"44":-8323918714502529024},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-19 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188750592001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":565943545626624,"km_value":565943545626.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8323918714502529024,"description":"Unknown IO ID 44"} 
[2026-09-19 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188750592001,"power":28234,"unknown_195":206,"unknown_9":54272,"ignition":59,"odometer":null,"unknown_44":-8323918714502529024}} 
[2026-09-19 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":186728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:30] local.INFO: GPS data processed {"connection_id":186728,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:30] local.INFO: Acknowledgment sent {"connection_id":186728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:33] local.INFO: TCP Data received {"connection_id":186728,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b861db40012c8caf8007fae7e8000f005426..."} 
[2026-09-19 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b861db40012c8caf8007fae7e8000f005426..."} 
[2026-09-19 12:08:33] local.INFO: Processing buffer {"connection_id":186728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b861db40012c8caf8007fae7e8000f005426..."} 
[2026-09-19 12:08:33] local.INFO: Packet analysis {"connection_id":186728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:33] local.INFO: Extracted packet for processing {"connection_id":186728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":747417472,"raw_latitude":133883880,"longitude_deg":74.7417472,"latitude_deg":13.388388,"altitude":15,"angle":84,"satellites":38,"speed":61,"hex_longitude":"2c8caf80","hex_latitude":"07fae7e8","is_valid_coordinates":true} 
[2026-09-19 12:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188751616001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":566312912814080,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8317726265014317056,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789799816000,"timestamp_ms":1789799816000,"timestamp_seconds":1789799816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b861db40"} 
[2026-09-19 12:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:08: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-19 12:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:33] 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-19 12:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":186728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":186728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188751616001,"66":28343,"251":206,"9":54272,"24":61,"16":566312912814080,"44":-8317726265014317056},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,9,24,16,44]} 
[2026-09-19 12:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188751616001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-19 12:08:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":566312912814080,"km_value":566312912814.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8317726265014317056,"description":"Unknown IO ID 44"} 
[2026-09-19 12:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188751616001,"power":28343,"unknown_251":206,"unknown_9":54272,"ignition":61,"odometer":null,"unknown_44":-8317726265014317056}} 
[2026-09-19 12:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":186728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:33] local.INFO: GPS data processed {"connection_id":186728,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:33] local.INFO: Acknowledgment sent {"connection_id":186728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:46] local.INFO: TCP Data received {"connection_id":189462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:46] local.INFO: Processing buffer {"connection_id":189462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:46] local.INFO: IMEI packet received {"connection_id":189462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":189462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:08:47] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:47] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:08:47] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:47] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08: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-19 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 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-19 12:08: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:08: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-19 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-19 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-19 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:08: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-19 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:47] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:47] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:08:51] local.INFO: TCP Data received {"connection_id":189462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:51] local.INFO: Processing buffer {"connection_id":189462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:08:51] local.INFO: IMEI packet received {"connection_id":189462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":189462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:08:52] local.INFO: TCP Data received {"connection_id":189462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86025c0012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86025c0012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:08:52] local.INFO: Processing buffer {"connection_id":189462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86025c0012d1ba1c0071f6f30004a005924..."} 
[2026-09-19 12:08:52] local.INFO: Packet analysis {"connection_id":189462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:52] local.INFO: Extracted packet for processing {"connection_id":189462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188718848001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:08:52] 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-19 12:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799704000,"timestamp_ms":1789799704000,"timestamp_seconds":1789799704,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86025c0"} 
[2026-09-19 12:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:08:52] 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-19 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:08:52] 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-19 12:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:08:52] 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-19 12:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188718848001,"66":12428,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188718848001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:08:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188718848001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":189462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:08:52] local.INFO: GPS data processed {"connection_id":189462,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:08:52] local.INFO: Acknowledgment sent {"connection_id":189462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:09] local.INFO: TCP Data received {"connection_id":186729,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:09] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:09] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:09:10] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:10] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:10] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:09:12] local.INFO: TCP Data received {"connection_id":186729,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:12] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:12] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:09:14] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:14] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:14] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:09:14] local.INFO: TCP Data received {"connection_id":186729,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:14] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:09:14] local.INFO: IMEI packet received {"connection_id":186729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:09:16] local.INFO: TCP Data received {"connection_id":186729,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b862d158012c8de08007fb9548000300042d..."} 
[2026-09-19 12:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b862d158012c8de08007fb9548000300042d..."} 
[2026-09-19 12:09:16] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b862d158012c8de08007fb9548000300042d..."} 
[2026-09-19 12:09:16] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b862"} 
[2026-09-19 12:09:16] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b862"} 
[2026-09-19 12:09:16] local.INFO: GPS Element Parsed {"raw_longitude":747495552,"raw_latitude":133928264,"longitude_deg":74.7495552,"latitude_deg":13.3928264,"altitude":3,"angle":4,"satellites":45,"speed":57,"hex_longitude":"2c8de080","hex_latitude":"07fb9548","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188767744001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":570960067428352,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8224769153945751552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799879000,"timestamp_ms":1789799879000,"timestamp_seconds":1789799879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b862d158"} 
[2026-09-19 12: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-19 12:09: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-19 12: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":183,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:16] 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-19 12: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-19 12: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-19 12:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188767744001,"66":28332,"195":206,"9":54272,"24":57,"16":570960067428352,"44":-8224769153945751552},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-19 12:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188767744001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:16] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-19 12:09:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":570960067428352,"km_value":570960067428.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8224769153945751552,"description":"Unknown IO ID 44"} 
[2026-09-19 12:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188767744001,"power":28332,"unknown_195":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8224769153945751552}} 
[2026-09-19 12:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:16] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:16] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:20] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:20] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:09:20] local.INFO: IMEI packet received {"connection_id":188129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":188129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:09:21] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:21] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:21] local.INFO: Packet analysis {"connection_id":188129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:21] local.INFO: Extracted packet for processing {"connection_id":188129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:09:21] 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-19 12:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":188129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:21] local.INFO: GPS data processed {"connection_id":188129,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:21] local.INFO: Acknowledgment sent {"connection_id":188129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:23] local.INFO: TCP Data received {"connection_id":189462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86077c8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86077c8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:09:23] local.INFO: Processing buffer {"connection_id":189462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86077c8012d1ba1c0071f6f30004a005923..."} 
[2026-09-19 12:09:23] local.INFO: Packet analysis {"connection_id":189462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:23] local.INFO: Extracted packet for processing {"connection_id":189462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":35,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188724224001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799725000,"timestamp_ms":1789799725000,"timestamp_seconds":1789799725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86077c8"} 
[2026-09-19 12:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:09:23] 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-19 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:09:23] 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-19 12:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188724224001,"66":12439,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188724224001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188724224001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":189462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:23] local.INFO: GPS data processed {"connection_id":189462,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:23] local.INFO: Acknowledgment sent {"connection_id":189462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:46] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:46] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:46] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:09:47] local.INFO: TCP Data received {"connection_id":186729,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b862ecb0012c8de2c007fbbd38000200032d..."} 
[2026-09-19 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b862ecb0012c8de2c007fbbd38000200032d..."} 
[2026-09-19 12:09:47] local.INFO: Processing buffer {"connection_id":186729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b862ecb0012c8de2c007fbbd38000200032d..."} 
[2026-09-19 12:09:47] local.INFO: Packet analysis {"connection_id":186729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b862"} 
[2026-09-19 12:09:47] local.INFO: Extracted packet for processing {"connection_id":186729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b862"} 
[2026-09-19 12:09:47] local.INFO: GPS Element Parsed {"raw_longitude":747496128,"raw_latitude":133938488,"longitude_deg":74.7496128,"latitude_deg":13.3938488,"altitude":2,"angle":3,"satellites":45,"speed":58,"hex_longitude":"2c8de2c0","hex_latitude":"07fbbd38","is_valid_coordinates":true} 
[2026-09-19 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188769024001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":571458283634688,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8223432147804534784,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799886000,"timestamp_ms":1789799886000,"timestamp_seconds":1789799886,"priority":1,"record_length":96,"hex_timestamp":"000001a0b862ecb0"} 
[2026-09-19 12:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:47] 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-19 12:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188769024001,"66":28354,"195":206,"9":54272,"24":58,"16":571458283634688,"44":-8223432147804534784},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-19 12:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188769024001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-19 12:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":571458283634688,"km_value":571458283634.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8223432147804534784,"description":"Unknown IO ID 44"} 
[2026-09-19 12:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188769024001,"power":28354,"unknown_195":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8223432147804534784}} 
[2026-09-19 12:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":186729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:47] local.INFO: GPS data processed {"connection_id":186729,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:47] local.INFO: Acknowledgment sent {"connection_id":186729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:51] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:51] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:09:51] local.INFO: IMEI packet received {"connection_id":186730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:09:52] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b860c9d0012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b860c9d0012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:09:52] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b860c9d0012d1ba1c0071f6f30004a005926..."} 
[2026-09-19 12:09:52] local.INFO: Packet analysis {"connection_id":186730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:52] local.INFO: Extracted packet for processing {"connection_id":186730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188729600001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:52] 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-19 12:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799746000,"timestamp_ms":1789799746000,"timestamp_seconds":1789799746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b860c9d0"} 
[2026-09-19 12: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-19 12:09:52] 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-19 12: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:52] 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-19 12: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-19 12: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-19 12:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:09:52] 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-19 12:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188729600001,"66":12428,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188729600001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188729600001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":186730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:52] local.INFO: GPS data processed {"connection_id":186730,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:52] local.INFO: Acknowledgment sent {"connection_id":186730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:09:52] local.INFO: TCP Data received {"connection_id":188129,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:52] local.INFO: Processing buffer {"connection_id":188129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:09:52] local.INFO: Packet analysis {"connection_id":188129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:52] local.INFO: Extracted packet for processing {"connection_id":188129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:09: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-19 12:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12: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-19 12:09: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-19 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:09:52] 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-19 12:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":188129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:09:52] local.INFO: GPS data processed {"connection_id":188129,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:09:52] local.INFO: Acknowledgment sent {"connection_id":188129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:09] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:09] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:09] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:10:13] local.INFO: TCP Data received {"connection_id":188131,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:13] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:13] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:10:14] local.INFO: TCP Data received {"connection_id":188131,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:14] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:14] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:14] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:14] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:10:14] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:16] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:10:16] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8600680012d34c14006aa41400008010e2f..."} 
[2026-09-19 12:10:16] local.INFO: Packet analysis {"connection_id":188130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:10:16] local.INFO: Extracted packet for processing {"connection_id":188130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b860"} 
[2026-09-19 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188645120001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10: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-19 12:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799696000,"timestamp_ms":1789799696000,"timestamp_seconds":1789799696,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8600680"} 
[2026-09-19 12:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:10:16] 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-19 12:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188645120001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188645120001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188645120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":188130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:16] local.INFO: GPS data processed {"connection_id":188130,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:16] local.INFO: Acknowledgment sent {"connection_id":188130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:19] local.INFO: TCP Data received {"connection_id":188131,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:19] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:10:19] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:20] local.INFO: TCP Data received {"connection_id":188131,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8641590012c8d860007fd4ef00004013a2d..."} 
[2026-09-19 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8641590012c8d860007fd4ef00004013a2d..."} 
[2026-09-19 12:10:20] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8641590012c8d860007fd4ef00004013a2d..."} 
[2026-09-19 12:10:20] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:20] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":747472384,"raw_latitude":134041328,"longitude_deg":74.7472384,"latitude_deg":13.4041328,"altitude":4,"angle":314,"satellites":45,"speed":57,"hex_longitude":"2c8d8600","hex_latitude":"07fd4ef0","is_valid_coordinates":true} 
[2026-09-19 12:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188788480001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":576835582689280,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8241165071310272512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789799962000,"timestamp_ms":1789799962000,"timestamp_seconds":1789799962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8641590"} 
[2026-09-19 12:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:20] 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-19 12:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188788480001,"66":28332,"193":206,"9":54272,"24":57,"16":576835582689280,"44":-8241165071310272512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,44]} 
[2026-09-19 12:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188788480001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-19 12:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":576835582689280,"km_value":576835582689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8241165071310272512,"description":"Unknown IO ID 44"} 
[2026-09-19 12:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188788480001,"power":28332,"unknown_193":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8241165071310272512}} 
[2026-09-19 12:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:20] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:20] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:23] local.INFO: TCP Data received {"connection_id":186730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8611bd8012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8611bd8012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:10:23] local.INFO: Processing buffer {"connection_id":186730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8611bd8012d1ba1c0071f6f30004a005922..."} 
[2026-09-19 12:10:23] local.INFO: Packet analysis {"connection_id":186730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:10:23] local.INFO: Extracted packet for processing {"connection_id":186730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b861"} 
[2026-09-19 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":34,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188734976001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789799767000,"timestamp_ms":1789799767000,"timestamp_seconds":1789799767,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8611bd8"} 
[2026-09-19 12:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:10:23] 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-19 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:23] 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-19 12:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188734976001,"66":12406,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188734976001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188734976001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":186730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:23] local.INFO: GPS data processed {"connection_id":186730,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:23] local.INFO: Acknowledgment sent {"connection_id":186730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:48] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:10:48] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:10:48] local.INFO: Packet analysis {"connection_id":188130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:48] local.INFO: Extracted packet for processing {"connection_id":188130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12: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-19 12:10: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-19 12: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-19 12: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-19 12: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-19 12: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-19 12:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:10: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-19 12:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":188130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:48] local.INFO: GPS data processed {"connection_id":188130,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:48] local.INFO: Acknowledgment sent {"connection_id":188130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:50] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:50] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:50] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:10:51] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:51] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:51] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:53] local.INFO: TCP Data received {"connection_id":188131,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86430e8012c8d6c0007fd6dc0000401462e..."} 
[2026-09-19 12:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86430e8012c8d6c0007fd6dc0000401462e..."} 
[2026-09-19 12:10:53] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86430e8012c8d6c0007fd6dc0000401462e..."} 
[2026-09-19 12:10:53] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:53] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:53] local.INFO: GPS Element Parsed {"raw_longitude":747465728,"raw_latitude":134049216,"longitude_deg":74.7465728,"latitude_deg":13.4049216,"altitude":4,"angle":326,"satellites":46,"speed":58,"hex_longitude":"2c8d6c00","hex_latitude":"07fd6dc0","is_valid_coordinates":true} 
[2026-09-19 12:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188790272001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":577329503928320,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8248905633167904768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789799969000,"timestamp_ms":1789799969000,"timestamp_seconds":1789799969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86430e8"} 
[2026-09-19 12:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:53] 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-19 12:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188790272001,"66":28376,"193":206,"9":54272,"24":58,"16":577329503928320,"44":-8248905633167904768},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,44]} 
[2026-09-19 12:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188790272001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:53] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-19 12:10:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":577329503928320,"km_value":577329503928.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8248905633167904768,"description":"Unknown IO ID 44"} 
[2026-09-19 12:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188790272001,"power":28376,"unknown_193":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8248905633167904768}} 
[2026-09-19 12:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:53] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:53] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:55] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:55] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:10:55] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:10:55] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b864a230012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b864a230012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:10:55] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b864a230012d1ba1c0071f6f30004a005925..."} 
[2026-09-19 12:10:55] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:55] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756785600,"raw_latitude":119500592,"longitude_deg":75.67856,"latitude_deg":11.9500592,"altitude":74,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d1ba1c0","hex_latitude":"071f6f30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188794112001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640493368606720,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:55] 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-19 12:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789799998000,"timestamp_ms":1789799998000,"timestamp_seconds":1789799998,"priority":1,"record_length":96,"hex_timestamp":"000001a0b864a230"} 
[2026-09-19 12: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-19 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:55] 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-19 12: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-19 12: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-19 12:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:55] 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-19 12:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188794112001,"66":13798,"101":206,"83":41984,"24":0,"16":21640493368606720,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188794112001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640493368606720,"km_value":21640493368606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188794112001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:56] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:56] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:10:56] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b864d8e0012d1ba340071f6f600052014022..."} 
[2026-09-19 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b864d8e0012d1ba340071f6f600052014022..."} 
[2026-09-19 12:10:56] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b864d8e0012d1ba340071f6f600052014022..."} 
[2026-09-19 12:10:56] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:56] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756785984,"raw_latitude":119500640,"longitude_deg":75.6785984,"latitude_deg":11.950064,"altitude":82,"angle":320,"satellites":34,"speed":2,"hex_longitude":"2d1ba340","hex_latitude":"071f6f60","is_valid_coordinates":true} 
[2026-09-19 12:10: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-19 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799488001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640514843443200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991083647099154432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789800012000,"timestamp_ms":1789800012000,"timestamp_seconds":1789800012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b864d8e0"} 
[2026-09-19 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:10:56] 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-19 12:10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 12:10:56] 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-19 12:10: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-19 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:10:56] 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-19 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799488001,"66":13798,"101":206,"83":41984,"24":2,"16":21640514843443200,"45":1991083647099154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799488001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:10:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640514843443200,"km_value":21640514843443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991083647099154432,"description":"Unknown IO ID 45"} 
[2026-09-19 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799488001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1991083647099154432}} 
[2026-09-19 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:10:56] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:10:56] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:11:09] local.INFO: TCP Data received {"connection_id":189463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:09] local.INFO: Processing buffer {"connection_id":189463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:09] local.INFO: IMEI packet received {"connection_id":189463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":189463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:11:14] local.INFO: TCP Data received {"connection_id":189463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:14] local.INFO: Processing buffer {"connection_id":189463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:11:14] local.INFO: IMEI packet received {"connection_id":189463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":189463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:11:16] local.INFO: TCP Data received {"connection_id":189463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:16] local.INFO: Processing buffer {"connection_id":189463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:16] local.INFO: Packet analysis {"connection_id":189463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:16] local.INFO: Extracted packet for processing {"connection_id":189463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11: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-19 12:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:11:16] 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-19 12:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":189463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:11:16] local.INFO: GPS data processed {"connection_id":189463,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:11:16] local.INFO: Acknowledgment sent {"connection_id":189463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:11:27] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b864dcc8012d1ba340071f6ff00052015621..."} 
[2026-09-19 12:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b864dcc8012d1ba340071f6ff00052015621..."} 
[2026-09-19 12:11:27] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b864dcc8012d1ba340071f6ff00052015621..."} 
[2026-09-19 12:11:27] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:27] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756785984,"raw_latitude":119500784,"longitude_deg":75.6785984,"latitude_deg":11.9500784,"altitude":82,"angle":342,"satellites":33,"speed":2,"hex_longitude":"2d1ba340","hex_latitude":"071f6ff0","is_valid_coordinates":true} 
[2026-09-19 12:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188803072001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640519138410496,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991505859564232704,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:27] 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-19 12:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789800013000,"timestamp_ms":1789800013000,"timestamp_seconds":1789800013,"priority":1,"record_length":96,"hex_timestamp":"000001a0b864dcc8"} 
[2026-09-19 12:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-19 12:11:27] 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-19 12:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:27] 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-19 12:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188803072001,"66":13820,"101":206,"83":41984,"24":2,"16":21640519138410496,"45":1991505859564232704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188803072001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:11:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640519138410496,"km_value":21640519138410.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991505859564232704,"description":"Unknown IO ID 45"} 
[2026-09-19 12:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188803072001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1991505859564232704}} 
[2026-09-19 12:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:11:27] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:11:27] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:11:47] local.INFO: TCP Data received {"connection_id":189463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:47] local.INFO: Processing buffer {"connection_id":189463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:11:47] local.INFO: Packet analysis {"connection_id":189463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:47] local.INFO: Extracted packet for processing {"connection_id":189463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12: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-19 12: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:11: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-19 12: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-19 12: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-19 12:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12: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-19 12:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":189463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:11:47] local.INFO: GPS data processed {"connection_id":189463,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:11:47] local.INFO: Acknowledgment sent {"connection_id":189463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:11:48] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:11:48] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:48] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:11:51] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:51] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:11:51] local.INFO: IMEI packet received {"connection_id":186731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":186731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:11:52] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b864e880012d1ba300071f71100052000723..."} 
[2026-09-19 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b864e880012d1ba300071f71100052000723..."} 
[2026-09-19 12:11:52] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b864e880012d1ba300071f71100052000723..."} 
[2026-09-19 12:11:52] local.INFO: Packet analysis {"connection_id":186731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:52] local.INFO: Extracted packet for processing {"connection_id":186731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756785920,"raw_latitude":119501072,"longitude_deg":75.678592,"latitude_deg":11.9501072,"altitude":82,"angle":7,"satellites":35,"speed":5,"hex_longitude":"2d1ba300","hex_latitude":"071f7110","is_valid_coordinates":true} 
[2026-09-19 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188803328001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640536318279680,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991505859564269568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:52] 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-19 12:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789800016000,"timestamp_ms":1789800016000,"timestamp_seconds":1789800016,"priority":1,"record_length":96,"hex_timestamp":"000001a0b864e880"} 
[2026-09-19 12:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:11:52] 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-19 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 12:11:52] 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-19 12:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:52] 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-19 12:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188803328001,"66":13852,"101":206,"83":41984,"24":5,"16":21640536318279680,"45":1991505859564269568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188803328001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:11:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640536318279680,"km_value":21640536318279.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991505859564269568,"description":"Unknown IO ID 45"} 
[2026-09-19 12:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188803328001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1991505859564269568}} 
[2026-09-19 12:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":186731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:11:52] local.INFO: GPS data processed {"connection_id":186731,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:11:52] local.INFO: Acknowledgment sent {"connection_id":186731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:11:53] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b864f050012d1ba300071f71f80052016324..."} 
[2026-09-19 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b864f050012d1ba300071f71f80052016324..."} 
[2026-09-19 12:11:53] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b864f050012d1ba300071f71f80052016324..."} 
[2026-09-19 12:11:53] local.INFO: Packet analysis {"connection_id":186731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:53] local.INFO: Extracted packet for processing {"connection_id":186731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756785920,"raw_latitude":119501304,"longitude_deg":75.678592,"latitude_deg":11.9501304,"altitude":82,"angle":355,"satellites":36,"speed":4,"hex_longitude":"2d1ba300","hex_latitude":"071f71f8","is_valid_coordinates":true} 
[2026-09-19 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188804096001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21640549203181568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991435490820165632,"note":"Value kept but may cause issues"} 
[2026-09-19 12:11:53] 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-19 12:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789800018000,"timestamp_ms":1789800018000,"timestamp_seconds":1789800018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b864f050"} 
[2026-09-19 12:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-19 12:11:53] 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-19 12:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:11:53] 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-19 12:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188804096001,"66":13820,"101":206,"83":41984,"24":4,"16":21640549203181568,"45":1991435490820165632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188804096001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:11:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21640549203181568,"km_value":21640549203181.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991435490820165632,"description":"Unknown IO ID 45"} 
[2026-09-19 12:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188804096001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1991435490820165632}} 
[2026-09-19 12:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":186731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:11:53] local.INFO: GPS data processed {"connection_id":186731,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:11:53] local.INFO: Acknowledgment sent {"connection_id":186731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:12:09] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:09] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:09] local.INFO: IMEI packet received {"connection_id":186732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":186732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:12:12] local.INFO: TCP Data received {"connection_id":186852,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:12] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:12] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:12:14] local.INFO: TCP Data received {"connection_id":186852,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:14] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:14] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:15] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:15] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:12:15] local.INFO: IMEI packet received {"connection_id":186732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":186732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:16] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:16] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:16] local.INFO: Packet analysis {"connection_id":186732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:12:16] local.INFO: Extracted packet for processing {"connection_id":186732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12: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-19 12:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12: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-19 12:12: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-19 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:12:16] 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-19 12:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":186732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:12:16] local.INFO: GPS data processed {"connection_id":186732,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:12:16] local.INFO: Acknowledgment sent {"connection_id":186732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:12:19] local.INFO: TCP Data received {"connection_id":186852,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:19] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:12:19] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:20] local.INFO: TCP Data received {"connection_id":186852,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8652318012c8d19c007febbc0000b013e2b..."} 
[2026-09-19 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8652318012c8d19c007febbc0000b013e2b..."} 
[2026-09-19 12:12:20] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8652318012c8d19c007febbc0000b013e2b..."} 
[2026-09-19 12:12:20] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b865"} 
[2026-09-19 12:12:20] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b865"} 
[2026-09-19 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":747444672,"raw_latitude":134134720,"longitude_deg":74.7444672,"latitude_deg":13.413472,"altitude":11,"angle":318,"satellites":43,"speed":54,"hex_longitude":"2c8d19c0","hex_latitude":"07febbc0","is_valid_coordinates":true} 
[2026-09-19 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188806656001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":581671715864576,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8274730962258661376,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789800031000,"timestamp_ms":1789800031000,"timestamp_seconds":1789800031,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8652318"} 
[2026-09-19 12:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:12:20] 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-19 12:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188806656001,"66":28354,"193":206,"9":54272,"24":54,"16":581671715864576,"44":-8274730962258661376},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,44]} 
[2026-09-19 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188806656001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":581671715864576,"km_value":581671715864.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8274730962258661376,"description":"Unknown IO ID 44"} 
[2026-09-19 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188806656001,"power":28354,"unknown_193":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8274730962258661376}} 
[2026-09-19 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:12:20] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:12:20] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:12:24] local.INFO: TCP Data received {"connection_id":186731,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86628d0012d1b6d00071f6fe0004b011f25..."} 
[2026-09-19 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86628d0012d1b6d00071f6fe0004b011f25..."} 
[2026-09-19 12:12:24] local.INFO: Processing buffer {"connection_id":186731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86628d0012d1b6d00071f6fe0004b011f25..."} 
[2026-09-19 12:12:24] local.INFO: Packet analysis {"connection_id":186731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:12:24] local.INFO: Extracted packet for processing {"connection_id":186731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756772096,"raw_latitude":119500768,"longitude_deg":75.6772096,"latitude_deg":11.9500768,"altitude":75,"angle":287,"satellites":37,"speed":7,"hex_longitude":"2d1b6d00","hex_latitude":"071f6fe0","is_valid_coordinates":true} 
[2026-09-19 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188821760001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21641266462720000,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980106123007559680,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:24] 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-19 12:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789800098000,"timestamp_ms":1789800098000,"timestamp_seconds":1789800098,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86628d0"} 
[2026-09-19 12:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:12:24] 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-19 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-19 12:12:24] 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-19 12:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:12:24] 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-19 12:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188821760001,"66":14189,"101":206,"83":41984,"24":7,"16":21641266462720000,"45":1980106123007559680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188821760001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21641266462720000,"km_value":21641266462720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980106123007559680,"description":"Unknown IO ID 45"} 
[2026-09-19 12:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188821760001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1980106123007559680}} 
[2026-09-19 12:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":186731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:12:24] local.INFO: GPS data processed {"connection_id":186731,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:12:24] local.INFO: Acknowledgment sent {"connection_id":186731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:12:45] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:45] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:45] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:12:46] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:46] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:46] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:47] local.INFO: TCP Data received {"connection_id":186733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:47] local.INFO: Processing buffer {"connection_id":186733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:12:47] local.INFO: IMEI packet received {"connection_id":186733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":186733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:12:47] local.INFO: TCP Data received {"connection_id":186732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:47] local.INFO: Processing buffer {"connection_id":186732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:12:47] local.INFO: Packet analysis {"connection_id":186732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:12:47] local.INFO: Extracted packet for processing {"connection_id":186732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12: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-19 12:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12: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-19 12:12: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-19 12:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:12: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-19 12: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-19 12: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-19 12:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:12:47] 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-19 12:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":186732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:12:47] local.INFO: GPS data processed {"connection_id":186732,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:12:47] local.INFO: Acknowledgment sent {"connection_id":186732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:12:51] local.INFO: TCP Data received {"connection_id":186852,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:12:51] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:12:51] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:12:51] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":747395648,"raw_latitude":134235856,"longitude_deg":74.7395648,"latitude_deg":13.4235856,"altitude":19,"angle":4,"satellites":44,"speed":48,"hex_longitude":"2c8c5a40","hex_latitude":"080046d0","is_valid_coordinates":true} 
[2026-09-19 12:12: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-19 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188829440001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":587392612302848,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8333207388645449728,"note":"Value kept but may cause issues"} 
[2026-09-19 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789800123000,"timestamp_ms":1789800123000,"timestamp_seconds":1789800123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8668a78"} 
[2026-09-19 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:12: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:12:51] 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-19 12:12: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-19 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188829440001,"66":28267,"108":206,"9":54272,"24":48,"16":587392612302848,"44":-8333207388645449728},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188829440001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:12:51] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:12:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":587392612302848,"km_value":587392612302.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8333207388645449728,"description":"Unknown IO ID 44"} 
[2026-09-19 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188829440001,"power":28267,"unknown_108":206,"unknown_9":54272,"ignition":48,"odometer":null,"unknown_44":-8333207388645449728}} 
[2026-09-19 12:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:12:52] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:12:52] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:13:09] local.INFO: TCP Data received {"connection_id":189464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:09] local.INFO: Processing buffer {"connection_id":189464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:09] local.INFO: IMEI packet received {"connection_id":189464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":189464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:13:09] local.INFO: TCP Data received {"connection_id":188132,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:09] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:09] local.INFO: IMEI packet received {"connection_id":188132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":188132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:13:14] local.INFO: TCP Data received {"connection_id":188132,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:14] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:13:14] local.INFO: IMEI packet received {"connection_id":188132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":188132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:13:14] local.INFO: TCP Data received {"connection_id":189464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:14] local.INFO: Processing buffer {"connection_id":189464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:13:14] local.INFO: IMEI packet received {"connection_id":189464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":189464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:13:15] local.INFO: TCP Data received {"connection_id":188132,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:13:15] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8668a78012c8c5a40080046d0001300042c..."} 
[2026-09-19 12:13:15] local.INFO: Packet analysis {"connection_id":188132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:13:15] local.INFO: Extracted packet for processing {"connection_id":188132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":747395648,"raw_latitude":134235856,"longitude_deg":74.7395648,"latitude_deg":13.4235856,"altitude":19,"angle":4,"satellites":44,"speed":48,"hex_longitude":"2c8c5a40","hex_latitude":"080046d0","is_valid_coordinates":true} 
[2026-09-19 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188831488001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":587392612302848,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8333277757387124736,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800123000,"timestamp_ms":1789800123000,"timestamp_seconds":1789800123,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8668a78"} 
[2026-09-19 12:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:13:15] 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-19 12:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188831488001,"66":28267,"108":206,"9":54272,"24":48,"16":587392612302848,"44":-8333277757387124736},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188831488001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":587392612302848,"km_value":587392612302.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8333277757387124736,"description":"Unknown IO ID 44"} 
[2026-09-19 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188831488001,"power":28267,"unknown_108":206,"unknown_9":54272,"ignition":48,"odometer":null,"unknown_44":-8333277757387124736}} 
[2026-09-19 12:13:15] local.INFO: TCP Data received {"connection_id":189464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:15] local.INFO: Processing buffer {"connection_id":189464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:15] local.INFO: Packet analysis {"connection_id":189464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:13:15] local.INFO: Extracted packet for processing {"connection_id":189464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13: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-19 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:13: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-19 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:13: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-19 12:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:13: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-19 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":188132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:13:15] local.INFO: GPS data processed {"connection_id":188132,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:13:15] local.INFO: Acknowledgment sent {"connection_id":188132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":189464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:13:15] local.INFO: GPS data processed {"connection_id":189464,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:13:15] local.INFO: Acknowledgment sent {"connection_id":189464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:13:47] local.INFO: TCP Data received {"connection_id":189464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:47] local.INFO: Processing buffer {"connection_id":189464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:13:47] local.INFO: Packet analysis {"connection_id":189464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:13:47] local.INFO: Extracted packet for processing {"connection_id":189464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13: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-19 12:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12: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-19 12:13: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-19 12:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:13: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-19 12: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-19 12: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-19 12:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:13:47] 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-19 12:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":189464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:13:47] local.INFO: GPS data processed {"connection_id":189464,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:13:47] local.INFO: Acknowledgment sent {"connection_id":189464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:13:47] local.INFO: TCP Data received {"connection_id":188132,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b866a9b8012c8c608008006b500016000e2c..."} 
[2026-09-19 12:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b866a9b8012c8c608008006b500016000e2c..."} 
[2026-09-19 12:13:47] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b866a9b8012c8c608008006b500016000e2c..."} 
[2026-09-19 12:13:47] local.INFO: Packet analysis {"connection_id":188132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:13:47] local.INFO: Extracted packet for processing {"connection_id":188132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:13:47] local.INFO: GPS Element Parsed {"raw_longitude":747397248,"raw_latitude":134245200,"longitude_deg":74.7397248,"latitude_deg":13.42452,"altitude":22,"angle":14,"satellites":44,"speed":47,"hex_longitude":"2c8c6080","hex_latitude":"08006b50","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188831488001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":587856468770816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8333277757387124736,"note":"Value kept but may cause issues"} 
[2026-09-19 12:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800131000,"timestamp_ms":1789800131000,"timestamp_seconds":1789800131,"priority":1,"record_length":96,"hex_timestamp":"000001a0b866a9b8"} 
[2026-09-19 12: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-19 12:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:13:47] 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-19 12: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-19 12: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-19 12:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188831488001,"66":28354,"108":206,"9":54272,"24":47,"16":587856468770816,"44":-8333277757387124736},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188831488001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":587856468770816,"km_value":587856468770.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8333277757387124736,"description":"Unknown IO ID 44"} 
[2026-09-19 12:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188831488001,"power":28354,"unknown_108":206,"unknown_9":54272,"ignition":47,"odometer":null,"unknown_44":-8333277757387124736}} 
[2026-09-19 12:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":188132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:13:47] local.INFO: GPS data processed {"connection_id":188132,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:13:47] local.INFO: Acknowledgment sent {"connection_id":188132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:14:08] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:08] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:08] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:14:09] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:09] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:09] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:14:09] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:09] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:09] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:14:14] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:14] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:14] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:14:14] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:14] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:14:14] local.INFO: IMEI packet received {"connection_id":186735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:14:15] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:15] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:14:15] local.INFO: IMEI packet received {"connection_id":186734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":186734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:14:15] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:15] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:15] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:14:15] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:14: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-19 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:14: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-19 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:14:15] 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-19 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:14:15] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:14:15] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:14:16] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b866c8f8012c8c6d4008008ea0001600182d..."} 
[2026-09-19 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b866c8f8012c8c6d4008008ea0001600182d..."} 
[2026-09-19 12:14:16] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b866c8f8012c8c6d4008008ea0001600182d..."} 
[2026-09-19 12:14:16] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:14:16] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:14:16] local.INFO: GPS Element Parsed {"raw_longitude":747400512,"raw_latitude":134254240,"longitude_deg":74.7400512,"latitude_deg":13.425424,"altitude":22,"angle":24,"satellites":45,"speed":48,"hex_longitude":"2c8c6d40","hex_latitude":"08008ea0","is_valid_coordinates":true} 
[2026-09-19 12:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188833536001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":588320325238784,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8331518538780291072,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800139000,"timestamp_ms":1789800139000,"timestamp_seconds":1789800139,"priority":1,"record_length":96,"hex_timestamp":"000001a0b866c8f8"} 
[2026-09-19 12:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:14: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-19 12:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:14: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-19 12:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188833536001,"66":28354,"108":206,"9":54272,"24":48,"16":588320325238784,"44":-8331518538780291072},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188833536001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:14:16] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:14:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":588320325238784,"km_value":588320325238.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8331518538780291072,"description":"Unknown IO ID 44"} 
[2026-09-19 12:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188833536001,"power":28354,"unknown_108":206,"unknown_9":54272,"ignition":48,"odometer":null,"unknown_44":-8331518538780291072}} 
[2026-09-19 12:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:14:16] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:14:16] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:14:17] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b866e838012c8c7f800800b1800015001b2c..."} 
[2026-09-19 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b866e838012c8c7f800800b1800015001b2c..."} 
[2026-09-19 12:14:17] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b866e838012c8c7f800800b1800015001b2c..."} 
[2026-09-19 12:14:17] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:14:17] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b866"} 
[2026-09-19 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":747405184,"raw_latitude":134263168,"longitude_deg":74.7405184,"latitude_deg":13.4263168,"altitude":21,"angle":27,"satellites":44,"speed":51,"hex_longitude":"2c8c7f80","hex_latitude":"0800b180","is_valid_coordinates":true} 
[2026-09-19 12:14: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-19 12:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188835584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":588805656543232,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8327929732824915968,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789800147000,"timestamp_ms":1789800147000,"timestamp_seconds":1789800147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b866e838"} 
[2026-09-19 12:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:14: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":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:14:17] 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-19 12:14: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-19 12:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188835584001,"66":28398,"108":206,"9":54272,"24":51,"16":588805656543232,"44":-8327929732824915968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188835584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:14:17] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:14:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":588805656543232,"km_value":588805656543.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8327929732824915968,"description":"Unknown IO ID 44"} 
[2026-09-19 12:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188835584001,"power":28398,"unknown_108":206,"unknown_9":54272,"ignition":51,"odometer":null,"unknown_44":-8327929732824915968}} 
[2026-09-19 12:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:14:17] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:14:17] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:14:47] local.INFO: TCP Data received {"connection_id":186735,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:47] local.INFO: Processing buffer {"connection_id":186735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:14:47] local.INFO: Packet analysis {"connection_id":186735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:14:47] local.INFO: Extracted packet for processing {"connection_id":186735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14: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-19 12:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:14: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-19 12:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:14: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-19 12:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:14:47] 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-19 12:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:14:47] local.INFO: GPS data processed {"connection_id":186735,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:14:47] local.INFO: Acknowledgment sent {"connection_id":186735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:14:49] local.INFO: TCP Data received {"connection_id":186734,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8682888012c8d054008024640001301442f..."} 
[2026-09-19 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8682888012c8d054008024640001301442f..."} 
[2026-09-19 12:14:49] local.INFO: Processing buffer {"connection_id":186734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8682888012c8d054008024640001301442f..."} 
[2026-09-19 12:14:49] local.INFO: Packet analysis {"connection_id":186734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:14:49] local.INFO: Extracted packet for processing {"connection_id":186734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:14:49] local.INFO: GPS Element Parsed {"raw_longitude":747439424,"raw_latitude":134366784,"longitude_deg":74.7439424,"latitude_deg":13.4366784,"altitude":19,"angle":324,"satellites":47,"speed":55,"hex_longitude":"2c8d0540","hex_latitude":"08024640","is_valid_coordinates":true} 
[2026-09-19 12:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188857088001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":594341869387776,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8280782674198908928,"note":"Value kept but may cause issues"} 
[2026-09-19 12:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789800229000,"timestamp_ms":1789800229000,"timestamp_seconds":1789800229,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8682888"} 
[2026-09-19 12:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:14:49] 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-19 12:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188857088001,"66":28376,"107":206,"9":54272,"24":55,"16":594341869387776,"44":-8280782674198908928},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,9,24,16,44]} 
[2026-09-19 12:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188857088001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:14:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 12:14:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":594341869387776,"km_value":594341869387.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8280782674198908928,"description":"Unknown IO ID 44"} 
[2026-09-19 12:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188857088001,"power":28376,"unknown_107":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8280782674198908928}} 
[2026-09-19 12:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":186734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:14:49] local.INFO: GPS data processed {"connection_id":186734,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:14:49] local.INFO: Acknowledgment sent {"connection_id":186734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:15:09] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:09] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:09] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:15:09] local.INFO: TCP Data received {"connection_id":186854,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:09] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:09] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:15:11] local.INFO: TCP Data received {"connection_id":186854,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:11] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:11] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:15:14] local.INFO: TCP Data received {"connection_id":186854,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:14] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:15:14] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:15:14] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:14] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:15:14] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:15:15] local.INFO: TCP Data received {"connection_id":186854,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86843e0012c8ceb40080263a00014013d2e..."} 
[2026-09-19 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86843e0012c8ceb40080263a00014013d2e..."} 
[2026-09-19 12:15:15] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86843e0012c8ceb40080263a00014013d2e..."} 
[2026-09-19 12:15:15] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:15:15] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":747432768,"raw_latitude":134374304,"longitude_deg":74.7432768,"latitude_deg":13.4374304,"altitude":20,"angle":317,"satellites":46,"speed":55,"hex_longitude":"2c8ceb40","hex_latitude":"080263a0","is_valid_coordinates":true} 
[2026-09-19 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188858624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":594822905724928,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8285145536336084992,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800236000,"timestamp_ms":1789800236000,"timestamp_seconds":1789800236,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86843e0"} 
[2026-09-19 12:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:15:15] 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-19 12:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188858624001,"66":28006,"107":206,"9":54272,"24":55,"16":594822905724928,"44":-8285145536336084992},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,9,24,16,44]} 
[2026-09-19 12:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188858624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:15:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 12:15:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":594822905724928,"km_value":594822905724.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8285145536336084992,"description":"Unknown IO ID 44"} 
[2026-09-19 12:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188858624001,"power":28006,"unknown_107":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8285145536336084992}} 
[2026-09-19 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:15:15] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:15:15] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:15:16] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:16] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8649e48012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:16] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:15:16] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b864"} 
[2026-09-19 12:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188722176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15: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-19 12:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789799997000,"timestamp_ms":1789799997000,"timestamp_seconds":1789799997,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8649e48"} 
[2026-09-19 12:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:15: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-19 12:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:15: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-19 12:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188722176001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188722176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188722176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:15:16] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:15:16] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:15:48] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:48] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:15:48] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:15:48] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15: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-19 12:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:15: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-19 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:15: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-19 12:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:15: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-19 12:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:15:48] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:15:48] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:15:48] local.INFO: TCP Data received {"connection_id":186854,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8685f38012c8ccf4008027df0001501392f..."} 
[2026-09-19 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8685f38012c8ccf4008027df0001501392f..."} 
[2026-09-19 12:15:48] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8685f38012c8ccf4008027df0001501392f..."} 
[2026-09-19 12:15:48] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:15:48] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b868"} 
[2026-09-19 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":747425600,"raw_latitude":134381040,"longitude_deg":74.74256,"latitude_deg":13.438104,"altitude":21,"angle":313,"satellites":47,"speed":54,"hex_longitude":"2c8ccf40","hex_latitude":"08027df0","is_valid_coordinates":true} 
[2026-09-19 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188860416001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":595291057160192,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8292463885728636928,"note":"Value kept but may cause issues"} 
[2026-09-19 12:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800243000,"timestamp_ms":1789800243000,"timestamp_seconds":1789800243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8685f38"} 
[2026-09-19 12:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:15: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-19 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188860416001,"66":28376,"107":206,"9":54272,"24":54,"16":595291057160192,"44":-8292463885728636928},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,9,24,16,44]} 
[2026-09-19 12:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188860416001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":595291057160192,"km_value":595291057160.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:15:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8292463885728636928,"description":"Unknown IO ID 44"} 
[2026-09-19 12:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188860416001,"power":28376,"unknown_107":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8292463885728636928}} 
[2026-09-19 12:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:15:49] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:15:49] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:16:10] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:10] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:10] local.INFO: IMEI packet received {"connection_id":188134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":188134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:16:14] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:14] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:16:14] local.INFO: IMEI packet received {"connection_id":188134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:16:15] local.INFO: TCP Data received {"connection_id":188135,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:15] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:15] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:16:16] local.INFO: TCP Data received {"connection_id":188135,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:16] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:16:16] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:16:16] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:16] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:16] local.INFO: Packet analysis {"connection_id":188134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:16] local.INFO: Extracted packet for processing {"connection_id":188134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16: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-19 12:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:16: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-19 12:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:16: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-19 12:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":188134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:16:16] local.INFO: GPS data processed {"connection_id":188134,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:16:16] local.INFO: Acknowledgment sent {"connection_id":188134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:16:19] local.INFO: TCP Data received {"connection_id":188135,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86964f0012c8b870008035f800007011f30..."} 
[2026-09-19 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86964f0012c8b870008035f800007011f30..."} 
[2026-09-19 12:16:19] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86964f0012c8b870008035f800007011f30..."} 
[2026-09-19 12:16:19] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:19] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":747341568,"raw_latitude":134438784,"longitude_deg":74.7341568,"latitude_deg":13.4438784,"altitude":7,"angle":287,"satellites":48,"speed":57,"hex_longitude":"2c8b8700","hex_latitude":"08035f80","is_valid_coordinates":true} 
[2026-09-19 12:16: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-19 12:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188877824001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":600213089681408,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8383943253144018944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789800310000,"timestamp_ms":1789800310000,"timestamp_seconds":1789800310,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86964f0"} 
[2026-09-19 12: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-19 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:16: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-19 12: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-19 12: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-19 12:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188877824001,"66":28354,"85":206,"9":54272,"24":57,"16":600213089681408,"44":-8383943253144018944},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188877824001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:16:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":600213089681408,"km_value":600213089681.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8383943253144018944,"description":"Unknown IO ID 44"} 
[2026-09-19 12:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188877824001,"power":28354,"unknown_85":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8383943253144018944}} 
[2026-09-19 12:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:16:19] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:16:19] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:16:20] local.INFO: TCP Data received {"connection_id":188135,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8697c60012c8b648008036630000701132d..."} 
[2026-09-19 12:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8697c60012c8b648008036630000701132d..."} 
[2026-09-19 12:16:20] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8697c60012c8b648008036630000701132d..."} 
[2026-09-19 12:16:20] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:20] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:20] local.INFO: GPS Element Parsed {"raw_longitude":747332736,"raw_latitude":134440496,"longitude_deg":74.7332736,"latitude_deg":13.4440496,"altitude":7,"angle":275,"satellites":45,"speed":58,"hex_longitude":"2c8b6480","hex_latitude":"08036630","is_valid_coordinates":true} 
[2026-09-19 12:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188879360001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":600638291443712,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8392739346165301248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789800316000,"timestamp_ms":1789800316000,"timestamp_seconds":1789800316,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8697c60"} 
[2026-09-19 12:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:16: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-19 12:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188879360001,"66":28354,"85":206,"9":54272,"24":58,"16":600638291443712,"44":-8392739346165301248},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188879360001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":600638291443712,"km_value":600638291443.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8392739346165301248,"description":"Unknown IO ID 44"} 
[2026-09-19 12:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188879360001,"power":28354,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8392739346165301248}} 
[2026-09-19 12:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:16:20] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:16:20] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:16:48] local.INFO: TCP Data received {"connection_id":188134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:48] local.INFO: Processing buffer {"connection_id":188134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:16:48] local.INFO: Packet analysis {"connection_id":188134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:48] local.INFO: Extracted packet for processing {"connection_id":188134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12: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-19 12:16: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:16: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-19 12: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-19 12: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-19 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:16: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-19 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":188134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:16:48] local.INFO: GPS data processed {"connection_id":188134,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:16:48] local.INFO: Acknowledgment sent {"connection_id":188134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:16:51] local.INFO: TCP Data received {"connection_id":188135,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86997b8012c8b3b4008036960000701122e..."} 
[2026-09-19 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86997b8012c8b3b4008036960000701122e..."} 
[2026-09-19 12:16:51] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86997b8012c8b3b4008036960000701122e..."} 
[2026-09-19 12:16:51] local.INFO: Packet analysis {"connection_id":188135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:51] local.INFO: Extracted packet for processing {"connection_id":188135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":747322176,"raw_latitude":134441312,"longitude_deg":74.7322176,"latitude_deg":13.4441312,"altitude":7,"angle":274,"satellites":46,"speed":58,"hex_longitude":"2c8b3b40","hex_latitude":"08036960","is_valid_coordinates":true} 
[2026-09-19 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188880896001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":601136507650048,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8402450232861380608,"note":"Value kept but may cause issues"} 
[2026-09-19 12:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789800323000,"timestamp_ms":1789800323000,"timestamp_seconds":1789800323,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86997b8"} 
[2026-09-19 12:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:16: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-19 12:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188880896001,"66":28300,"85":206,"9":54272,"24":58,"16":601136507650048,"44":-8402450232861380608},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188880896001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:16:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":601136507650048,"km_value":601136507650.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8402450232861380608,"description":"Unknown IO ID 44"} 
[2026-09-19 12:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188880896001,"power":28300,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8402450232861380608}} 
[2026-09-19 12:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":188135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:16:51] local.INFO: GPS data processed {"connection_id":188135,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:16:51] local.INFO: Acknowledgment sent {"connection_id":188135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:10] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:17:10] local.INFO: TCP Data received {"connection_id":189467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:10] local.INFO: Processing buffer {"connection_id":189467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:10] local.INFO: IMEI packet received {"connection_id":189467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":189467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:17:10] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:10] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:17:14] local.INFO: TCP Data received {"connection_id":189467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:14] local.INFO: Processing buffer {"connection_id":189467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:17:14] local.INFO: IMEI packet received {"connection_id":189467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":189467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:17:15] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:15] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:17:15] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:17:15] local.INFO: TCP Data received {"connection_id":189467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:15] local.INFO: Processing buffer {"connection_id":189467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:15] local.INFO: Packet analysis {"connection_id":189467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:15] local.INFO: Extracted packet for processing {"connection_id":189467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17: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-19 12:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17: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-19 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:17: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-19 12:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:17: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-19 12:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":189467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:15] local.INFO: GPS data processed {"connection_id":189467,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:15] local.INFO: Acknowledgment sent {"connection_id":189467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:16] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86a5720012c8a51c00803e910000401522c..."} 
[2026-09-19 12:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86a5720012c8a51c00803e910000401522c..."} 
[2026-09-19 12:17:16] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86a5720012c8a51c00803e910000401522c..."} 
[2026-09-19 12:17:16] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:16] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:16] local.INFO: GPS Element Parsed {"raw_longitude":747262400,"raw_latitude":134474000,"longitude_deg":74.72624,"latitude_deg":13.4474,"altitude":4,"angle":338,"satellites":44,"speed":58,"hex_longitude":"2c8a51c0","hex_latitude":"0803e910","is_valid_coordinates":true} 
[2026-09-19 12:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188895232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":604598251290624,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8479785482704056320,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800372000,"timestamp_ms":1789800372000,"timestamp_seconds":1789800372,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86a5720"} 
[2026-09-19 12:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17: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-19 12:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:17: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-19 12:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188895232001,"66":28354,"85":206,"9":54272,"24":58,"16":604598251290624,"44":-8479785482704056320},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188895232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:17:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":604598251290624,"km_value":604598251290.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8479785482704056320,"description":"Unknown IO ID 44"} 
[2026-09-19 12:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188895232001,"power":28354,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8479785482704056320}} 
[2026-09-19 12:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:16] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:16] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:17] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86a7278012c8a460008040ef00004015830..."} 
[2026-09-19 12:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86a7278012c8a460008040ef00004015830..."} 
[2026-09-19 12:17:17] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86a7278012c8a460008040ef00004015830..."} 
[2026-09-19 12:17:17] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:17] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":747259392,"raw_latitude":134483696,"longitude_deg":74.7259392,"latitude_deg":13.4483696,"altitude":4,"angle":344,"satellites":48,"speed":57,"hex_longitude":"2c8a4600","hex_latitude":"08040ef0","is_valid_coordinates":true} 
[2026-09-19 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188895232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":605087877562368,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8479785482704056320,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789800379000,"timestamp_ms":1789800379000,"timestamp_seconds":1789800379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86a7278"} 
[2026-09-19 12:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:17:17] 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-19 12:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188895232001,"66":28278,"85":206,"9":54272,"24":57,"16":605087877562368,"44":-8479785482704056320},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188895232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:17:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":605087877562368,"km_value":605087877562.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8479785482704056320,"description":"Unknown IO ID 44"} 
[2026-09-19 12:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188895232001,"power":28278,"unknown_85":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8479785482704056320}} 
[2026-09-19 12:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:17] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:17] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:47] local.INFO: TCP Data received {"connection_id":189467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:47] local.INFO: Processing buffer {"connection_id":189467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:17:47] local.INFO: Packet analysis {"connection_id":189467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:47] local.INFO: Extracted packet for processing {"connection_id":189467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17: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-19 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17: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-19 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:17: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-19 12:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:17:47] 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-19 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":189467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:47] local.INFO: GPS data processed {"connection_id":189467,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:47] local.INFO: Acknowledgment sent {"connection_id":189467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:49] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86a8dd0012c8a3a00080434f0000401522e..."} 
[2026-09-19 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86a8dd0012c8a3a00080434f0000401522e..."} 
[2026-09-19 12:17:49] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86a8dd0012c8a3a00080434f0000401522e..."} 
[2026-09-19 12:17:49] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:49] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:17:49] local.INFO: GPS Element Parsed {"raw_longitude":747256320,"raw_latitude":134493424,"longitude_deg":74.725632,"latitude_deg":13.4493424,"altitude":4,"angle":338,"satellites":46,"speed":58,"hex_longitude":"2c8a3a00","hex_latitude":"080434f0","is_valid_coordinates":true} 
[2026-09-19 12:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188897024001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":605581798801408,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8483092813677924352,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789800386000,"timestamp_ms":1789800386000,"timestamp_seconds":1789800386,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86a8dd0"} 
[2026-09-19 12:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:17:49] 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-19 12:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188897024001,"66":28376,"85":206,"9":54272,"24":58,"16":605581798801408,"44":-8483092813677924352},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188897024001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:17:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":605581798801408,"km_value":605581798801.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8483092813677924352,"description":"Unknown IO ID 44"} 
[2026-09-19 12:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188897024001,"power":28376,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8483092813677924352}} 
[2026-09-19 12:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:49] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:49] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:17:52] local.INFO: TCP Data received {"connection_id":189468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:17:52] local.INFO: Processing buffer {"connection_id":189468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:17:52] local.INFO: IMEI packet received {"connection_id":189468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":189468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:17:56] local.INFO: TCP Data received {"connection_id":189468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d19e0c007200808002e01382a..."} 
[2026-09-19 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d19e0c007200808002e01382a..."} 
[2026-09-19 12:17:56] local.INFO: Processing buffer {"connection_id":189468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d19e0c007200808002e01382a..."} 
[2026-09-19 12:17:56] local.INFO: Packet analysis {"connection_id":189468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:56] local.INFO: Extracted packet for processing {"connection_id":189468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119539720,"longitude_deg":75.6670656,"latitude_deg":11.953972,"altitude":46,"angle":312,"satellites":42,"speed":11,"hex_longitude":"2d19e0c0","hex_latitude":"07200808","is_valid_coordinates":true} 
[2026-09-19 12:17: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-19 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188874752001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21646970179289088,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866108757449162752,"note":"Value kept but may cause issues"} 
[2026-09-19 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:17:56] 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-19 12:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 12:17:56] 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-19 12:17: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-19 12:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:17:56] 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-19 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188874752001,"66":13319,"101":206,"83":41984,"24":11,"16":21646970179289088,"45":1866108757449162752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188874752001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:17:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21646970179289088,"km_value":21646970179289.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866108757449162752,"description":"Unknown IO ID 45"} 
[2026-09-19 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188874752001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1866108757449162752}} 
[2026-09-19 12:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":189468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:17:57] local.INFO: GPS data processed {"connection_id":189468,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:17:57] local.INFO: Acknowledgment sent {"connection_id":189468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:10] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:10] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:10] local.INFO: IMEI packet received {"connection_id":189469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":189469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:18:10] local.INFO: TCP Data received {"connection_id":189470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:10] local.INFO: Processing buffer {"connection_id":189470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:10] local.INFO: IMEI packet received {"connection_id":189470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":189470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:18:11] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:11] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:11] local.INFO: IMEI packet received {"connection_id":189469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":189469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:18:14] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:14] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:18:14] local.INFO: IMEI packet received {"connection_id":189469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":189469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:18:14] local.INFO: TCP Data received {"connection_id":189470,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:14] local.INFO: Processing buffer {"connection_id":189470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:18:14] local.INFO: IMEI packet received {"connection_id":189470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":189470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:18:15] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86aa158012c8a2c4008044e400004014429..."} 
[2026-09-19 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86aa158012c8a2c4008044e400004014429..."} 
[2026-09-19 12:18:15] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86aa158012c8a2c4008044e400004014429..."} 
[2026-09-19 12:18:15] local.INFO: Packet analysis {"connection_id":189469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:18:15] local.INFO: Extracted packet for processing {"connection_id":189469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:18:15] local.INFO: GPS Element Parsed {"raw_longitude":747252800,"raw_latitude":134499904,"longitude_deg":74.72528,"latitude_deg":13.4499904,"altitude":4,"angle":324,"satellites":41,"speed":58,"hex_longitude":"2c8a2c40","hex_latitude":"08044e40","is_valid_coordinates":true} 
[2026-09-19 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188898816001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":605938281086976,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8486470513395961856,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800391000,"timestamp_ms":1789800391000,"timestamp_seconds":1789800391,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86aa158"} 
[2026-09-19 12:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:18:15] 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-19 12:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188898816001,"66":28300,"85":206,"9":54272,"24":58,"16":605938281086976,"44":-8486470513395961856},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188898816001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:18:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":605938281086976,"km_value":605938281086.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8486470513395961856,"description":"Unknown IO ID 44"} 
[2026-09-19 12:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188898816001,"power":28300,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8486470513395961856}} 
[2026-09-19 12:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":189469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:15] local.INFO: GPS data processed {"connection_id":189469,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:15] local.INFO: Acknowledgment sent {"connection_id":189469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:16] local.INFO: TCP Data received {"connection_id":189470,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:16] local.INFO: Processing buffer {"connection_id":189470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:16] local.INFO: Packet analysis {"connection_id":189470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:16] local.INFO: Extracted packet for processing {"connection_id":189470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 12:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18: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-19 12:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 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-19 12:18: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 12:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:18: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-19 12:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":189470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:16] local.INFO: GPS data processed {"connection_id":189470,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:16] local.INFO: Acknowledgment sent {"connection_id":189470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:18] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86ab4e0012c8a188008046380000301372f..."} 
[2026-09-19 12:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86ab4e0012c8a188008046380000301372f..."} 
[2026-09-19 12:18:18] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86ab4e0012c8a188008046380000301372f..."} 
[2026-09-19 12:18:18] local.INFO: Packet analysis {"connection_id":189469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:18:18] local.INFO: Extracted packet for processing {"connection_id":189469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86a"} 
[2026-09-19 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":747247744,"raw_latitude":134505344,"longitude_deg":74.7247744,"latitude_deg":13.4505344,"altitude":3,"angle":311,"satellites":47,"speed":58,"hex_longitude":"2c8a1880","hex_latitude":"08046380","is_valid_coordinates":true} 
[2026-09-19 12:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188900096001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":606294763372544,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8490340794324074496,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789800396000,"timestamp_ms":1789800396000,"timestamp_seconds":1789800396,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86ab4e0"} 
[2026-09-19 12:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:18:18] 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-19 12:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188900096001,"66":28376,"85":206,"9":54272,"24":58,"16":606294763372544,"44":-8490340794324074496},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-19 12:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188900096001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":606294763372544,"km_value":606294763372.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8490340794324074496,"description":"Unknown IO ID 44"} 
[2026-09-19 12:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188900096001,"power":28376,"unknown_85":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8490340794324074496}} 
[2026-09-19 12:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":189469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:18] local.INFO: GPS data processed {"connection_id":189469,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:18] local.INFO: Acknowledgment sent {"connection_id":189469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:28] local.INFO: TCP Data received {"connection_id":189468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86964f0012d19db4007200bb8002d01272a..."} 
[2026-09-19 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86964f0012d19db4007200bb8002d01272a..."} 
[2026-09-19 12:18:28] local.INFO: Processing buffer {"connection_id":189468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86964f0012d19db4007200bb8002d01272a..."} 
[2026-09-19 12:18:28] local.INFO: Packet analysis {"connection_id":189468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:28] local.INFO: Extracted packet for processing {"connection_id":189468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119540664,"longitude_deg":75.6669248,"latitude_deg":11.9540664,"altitude":45,"angle":295,"satellites":42,"speed":19,"hex_longitude":"2d19db40","hex_latitude":"07200bb8","is_valid_coordinates":true} 
[2026-09-19 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21647056078635008,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566086656,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18: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-19 12:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789800310000,"timestamp_ms":1789800310000,"timestamp_seconds":1789800310,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86964f0"} 
[2026-09-19 12:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3093886864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1182194704597506048,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 12:18:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074208764,"corrected_to":0} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3883859968,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-3141259446867296249,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,231,160,30,45,192,44,41,10,66,26,255,42,18,128,1,240,187,227,184,31,4,113,205,25,246,72,43,239,54,2,76,7,39,180,104],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":246,"original":1074208764,"validated":0}]} 
[2026-09-19 12:18:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314992553761898496,"timestamp_seconds":3314992553761898.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:18:28] 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-19 12:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":13243,"101":206,"83":41984,"24":19,"16":21647056078635008,"45":1864701382566086656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21647056078635008,"km_value":21647056078635.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566086656,"description":"Unknown IO ID 45"} 
[2026-09-19 12:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1864701382566086656}} 
[2026-09-19 12:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":189468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:28] local.INFO: GPS data processed {"connection_id":189468,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:28] local.INFO: Acknowledgment sent {"connection_id":189468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:45] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:45] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:45] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:18:46] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:46] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:46] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:18:48] local.INFO: TCP Data received {"connection_id":189470,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:48] local.INFO: Processing buffer {"connection_id":189470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:18:48] local.INFO: Packet analysis {"connection_id":189470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:48] local.INFO: Extracted packet for processing {"connection_id":189470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12: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-19 12:18: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-19 12: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-19 12: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-19 12: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-19 12: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-19 12:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:18: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-19 12:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":189470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:48] local.INFO: GPS data processed {"connection_id":189470,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:48] local.INFO: Acknowledgment sent {"connection_id":189470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:49] local.INFO: TCP Data received {"connection_id":189469,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86bfd00012c886700080510c0000601292f..."} 
[2026-09-19 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86bfd00012c886700080510c0000601292f..."} 
[2026-09-19 12:18:49] local.INFO: Processing buffer {"connection_id":189469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86bfd00012c886700080510c0000601292f..."} 
[2026-09-19 12:18:49] local.INFO: Packet analysis {"connection_id":189469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86b"} 
[2026-09-19 12:18:49] local.INFO: Extracted packet for processing {"connection_id":189469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86b"} 
[2026-09-19 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":747136768,"raw_latitude":134549696,"longitude_deg":74.7136768,"latitude_deg":13.4549696,"altitude":6,"angle":297,"satellites":47,"speed":58,"hex_longitude":"2c886700","hex_latitude":"080510c0","is_valid_coordinates":true} 
[2026-09-19 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188922880001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":612024249745408,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8617919327505432576,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789800480000,"timestamp_ms":1789800480000,"timestamp_seconds":1789800480,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86bfd00"} 
[2026-09-19 12:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:18: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-19 12:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188922880001,"66":28354,"137":206,"9":54272,"24":58,"16":612024249745408,"44":-8617919327505432576},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-19 12:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188922880001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 12:18:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":612024249745408,"km_value":612024249745.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8617919327505432576,"description":"Unknown IO ID 44"} 
[2026-09-19 12:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188922880001,"power":28354,"unknown_137":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8617919327505432576}} 
[2026-09-19 12:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":189469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:49] local.INFO: GPS data processed {"connection_id":189469,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:49] local.INFO: Acknowledgment sent {"connection_id":189469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:18:51] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:51] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:18:51] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:18:52] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8697490012d19d38007201058002c01332a..."} 
[2026-09-19 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8697490012d19d38007201058002c01332a..."} 
[2026-09-19 12:18:52] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8697490012d19d38007201058002c01332a..."} 
[2026-09-19 12:18:52] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:52] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119541848,"longitude_deg":75.6667264,"latitude_deg":11.9541848,"altitude":44,"angle":307,"satellites":42,"speed":22,"hex_longitude":"2d19d380","hex_latitude":"07201058","is_valid_coordinates":true} 
[2026-09-19 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188879360001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21647163452817408,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863153270194419712,"note":"Value kept but may cause issues"} 
[2026-09-19 12:18:52] 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-19 12:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789800314000,"timestamp_ms":1789800314000,"timestamp_seconds":1789800314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8697490"} 
[2026-09-19 12:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:18:52] 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-19 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 12:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:18:52] 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-19 12:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188879360001,"66":13243,"101":206,"83":41984,"24":22,"16":21647163452817408,"45":1863153270194419712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188879360001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:18:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21647163452817408,"km_value":21647163452817.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863153270194419712,"description":"Unknown IO ID 45"} 
[2026-09-19 12:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188879360001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1863153270194419712}} 
[2026-09-19 12:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:18:52] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:18:52] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:08] local.INFO: TCP Data received {"connection_id":186857,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:08] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:08] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:19:09] local.INFO: TCP Data received {"connection_id":186857,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:09] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:09] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:19:09] local.INFO: TCP Data received {"connection_id":189471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:09] local.INFO: Processing buffer {"connection_id":189471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:09] local.INFO: IMEI packet received {"connection_id":189471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":189471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:19:14] local.INFO: TCP Data received {"connection_id":189471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:14] local.INFO: Processing buffer {"connection_id":189471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:19:14] local.INFO: IMEI packet received {"connection_id":189471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":189471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:19:14] local.INFO: TCP Data received {"connection_id":186857,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:14] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:19:14] local.INFO: IMEI packet received {"connection_id":186857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":186857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:19:15] local.INFO: TCP Data received {"connection_id":189471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:15] local.INFO: Processing buffer {"connection_id":189471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:15] local.INFO: Packet analysis {"connection_id":189471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:15] local.INFO: Extracted packet for processing {"connection_id":189471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:19: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-19 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:19: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-19 12:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:19: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-19 12:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":189471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:15] local.INFO: GPS data processed {"connection_id":189471,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:15] local.INFO: Acknowledgment sent {"connection_id":189471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:16] local.INFO: TCP Data received {"connection_id":186857,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86c1088012c884e8008052120000501362e..."} 
[2026-09-19 12:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86c1088012c884e8008052120000501362e..."} 
[2026-09-19 12:19:16] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86c1088012c884e8008052120000501362e..."} 
[2026-09-19 12:19:16] local.INFO: Packet analysis {"connection_id":186857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:16] local.INFO: Extracted packet for processing {"connection_id":186857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:16] local.INFO: GPS Element Parsed {"raw_longitude":747130496,"raw_latitude":134553888,"longitude_deg":74.7130496,"latitude_deg":13.4553888,"altitude":5,"angle":310,"satellites":46,"speed":58,"hex_longitude":"2c884e80","hex_latitude":"08052120","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188922880001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":612380732030976,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8617919327505432576,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800485000,"timestamp_ms":1789800485000,"timestamp_seconds":1789800485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86c1088"} 
[2026-09-19 12: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-19 12:19: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-19 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:19: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-19 12: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-19 12: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-19 12:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188922880001,"66":28376,"137":206,"9":54272,"24":58,"16":612380732030976,"44":-8617919327505432576},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-19 12:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188922880001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 12:19:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":612380732030976,"km_value":612380732030.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8617919327505432576,"description":"Unknown IO ID 44"} 
[2026-09-19 12:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188922880001,"power":28376,"unknown_137":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8617919327505432576}} 
[2026-09-19 12:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":186857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:16] local.INFO: GPS data processed {"connection_id":186857,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:16] local.INFO: Acknowledgment sent {"connection_id":186857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:23] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8698048012d19cf8007201428002c014128..."} 
[2026-09-19 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8698048012d19cf8007201428002c014128..."} 
[2026-09-19 12:19:23] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8698048012d19cf8007201428002c014128..."} 
[2026-09-19 12:19:23] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:23] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756666240,"raw_latitude":119542824,"longitude_deg":75.666624,"latitude_deg":11.9542824,"altitude":44,"angle":321,"satellites":40,"speed":15,"hex_longitude":"2d19cf80","hex_latitude":"07201428","is_valid_coordinates":true} 
[2026-09-19 12:19: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-19 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188880384001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21647232172294144,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839125215232,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789800317000,"timestamp_ms":1789800317000,"timestamp_seconds":1789800317,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8698048"} 
[2026-09-19 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:19:23] 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-19 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 12:19:23] 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-19 12:19: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-19 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:19:23] 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-19 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188880384001,"66":12385,"101":206,"83":41984,"24":15,"16":21647232172294144,"45":1860971839125215232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188880384001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 12:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21647232172294144,"km_value":21647232172294.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839125215232,"description":"Unknown IO ID 45"} 
[2026-09-19 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188880384001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1860971839125215232}} 
[2026-09-19 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:23] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:23] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:46] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:46] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:46] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:19:48] local.INFO: TCP Data received {"connection_id":186857,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86c2410012c883a8008053650000501422d..."} 
[2026-09-19 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86c2410012c883a8008053650000501422d..."} 
[2026-09-19 12:19:48] local.INFO: Processing buffer {"connection_id":186857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86c2410012c883a8008053650000501422d..."} 
[2026-09-19 12:19:48] local.INFO: Packet analysis {"connection_id":186857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:48] local.INFO: Extracted packet for processing {"connection_id":186857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":747125376,"raw_latitude":134559312,"longitude_deg":74.7125376,"latitude_deg":13.4559312,"altitude":5,"angle":322,"satellites":45,"speed":57,"hex_longitude":"2c883a80","hex_latitude":"08053650","is_valid_coordinates":true} 
[2026-09-19 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188924160001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":612737214316544,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8624815464433770496,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800490000,"timestamp_ms":1789800490000,"timestamp_seconds":1789800490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86c2410"} 
[2026-09-19 12:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:19: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-19 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:19:48] 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-19 12:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188924160001,"66":28376,"137":206,"9":54272,"24":57,"16":612737214316544,"44":-8624815464433770496},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188924160001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":612737214316544,"km_value":612737214316.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8624815464433770496,"description":"Unknown IO ID 44"} 
[2026-09-19 12:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188924160001,"power":28376,"unknown_137":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8624815464433770496}} 
[2026-09-19 12:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":186857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:48] local.INFO: GPS data processed {"connection_id":186857,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:48] local.INFO: Acknowledgment sent {"connection_id":186857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:48] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:48] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:48] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:19:48] local.INFO: TCP Data received {"connection_id":189471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:48] local.INFO: Processing buffer {"connection_id":189471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:19:48] local.INFO: Packet analysis {"connection_id":189471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:48] local.INFO: Extracted packet for processing {"connection_id":189471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19: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-19 12:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:19: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-19 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:19: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-19 12:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:19: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-19 12:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":189471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:48] local.INFO: GPS data processed {"connection_id":189471,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:48] local.INFO: Acknowledgment sent {"connection_id":189471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:19:51] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:51] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:19:51] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:19:52] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86c6a60012d19cdc007201910002c015b28..."} 
[2026-09-19 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86c6a60012d19cdc007201910002c015b28..."} 
[2026-09-19 12:19:52] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86c6a60012d19cdc007201910002c015b28..."} 
[2026-09-19 12:19:52] local.INFO: Packet analysis {"connection_id":186858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:52] local.INFO: Extracted packet for processing {"connection_id":186858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544080,"longitude_deg":75.6665792,"latitude_deg":11.954408,"altitude":44,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201910","is_valid_coordinates":true} 
[2026-09-19 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188924672001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21647300891770880,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009700352,"note":"Value kept but may cause issues"} 
[2026-09-19 12:19:52] 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-19 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789800508000,"timestamp_ms":1789800508000,"timestamp_seconds":1789800508,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86c6a60"} 
[2026-09-19 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:19:52] 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-19 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 12:19:52] 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-19 12:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:19:52] 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-19 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188924672001,"66":12743,"106":206,"83":41984,"24":0,"16":21647300891770880,"45":1859353358009700352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188924672001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:19:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21647300891770880,"km_value":21647300891770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009700352,"description":"Unknown IO ID 45"} 
[2026-09-19 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188924672001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859353358009700352}} 
[2026-09-19 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:19:52] local.INFO: GPS data processed {"connection_id":186858,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:19:52] local.INFO: Acknowledgment sent {"connection_id":186858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:09] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:09] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:09] local.INFO: IMEI packet received {"connection_id":188137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":188137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:20:14] local.INFO: TCP Data received {"connection_id":186859,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:14] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:14] local.INFO: IMEI packet received {"connection_id":186859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:20:14] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:14] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:20:14] local.INFO: IMEI packet received {"connection_id":188137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":188137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:20:15] local.INFO: TCP Data received {"connection_id":186859,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:15] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:15] local.INFO: IMEI packet received {"connection_id":186859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":186859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:20:17] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:20:17] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8693610012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:20:17] local.INFO: Packet analysis {"connection_id":188137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:20:17] local.INFO: Extracted packet for processing {"connection_id":188137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b869"} 
[2026-09-19 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188799232001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20: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-19 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789800298000,"timestamp_ms":1789800298000,"timestamp_seconds":1789800298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8693610"} 
[2026-09-19 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:20: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-19 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:20: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-19 12:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:20: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-19 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188799232001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188799232001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188799232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":188137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:20:17] local.INFO: GPS data processed {"connection_id":188137,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:20:17] local.INFO: Acknowledgment sent {"connection_id":188137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:19] local.INFO: TCP Data received {"connection_id":186859,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:19] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:20:19] local.INFO: IMEI packet received {"connection_id":186859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":186859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:20:22] local.INFO: TCP Data received {"connection_id":186859,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86d2db0012c88820008069f60000b00072e..."} 
[2026-09-19 12:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86d2db0012c88820008069f60000b00072e..."} 
[2026-09-19 12:20:22] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86d2db0012c88820008069f60000b00072e..."} 
[2026-09-19 12:20:22] local.INFO: Packet analysis {"connection_id":186859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:22] local.INFO: Extracted packet for processing {"connection_id":186859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:22] local.INFO: GPS Element Parsed {"raw_longitude":747143680,"raw_latitude":134651744,"longitude_deg":74.714368,"latitude_deg":13.4651744,"altitude":11,"angle":7,"satellites":46,"speed":58,"hex_longitude":"2c888200","hex_latitude":"08069f60","is_valid_coordinates":true} 
[2026-09-19 12:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188941056001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":617496038080512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8612360196691795968,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:22] 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-19 12:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789800558000,"timestamp_ms":1789800558000,"timestamp_seconds":1789800558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86d2db0"} 
[2026-09-19 12:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:20:22] 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-19 12:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188941056001,"66":28376,"139":206,"9":54272,"24":58,"16":617496038080512,"44":-8612360196691795968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188941056001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:20:22] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:20:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":617496038080512,"km_value":617496038080.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8612360196691795968,"description":"Unknown IO ID 44"} 
[2026-09-19 12:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188941056001,"power":28376,"unknown_139":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8612360196691795968}} 
[2026-09-19 12:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":186859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:20:22] local.INFO: GPS data processed {"connection_id":186859,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:20:22] local.INFO: Acknowledgment sent {"connection_id":186859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:24] local.INFO: TCP Data received {"connection_id":186859,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86d4138012c8883400806bc30000c01652e..."} 
[2026-09-19 12:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86d4138012c8883400806bc30000c01652e..."} 
[2026-09-19 12:20:24] local.INFO: Processing buffer {"connection_id":186859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86d4138012c8883400806bc30000c01652e..."} 
[2026-09-19 12:20:24] local.INFO: Packet analysis {"connection_id":186859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:24] local.INFO: Extracted packet for processing {"connection_id":186859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:24] local.INFO: GPS Element Parsed {"raw_longitude":747144000,"raw_latitude":134659120,"longitude_deg":74.7144,"latitude_deg":13.465912,"altitude":12,"angle":357,"satellites":46,"speed":58,"hex_longitude":"2c888340","hex_latitude":"0806bc30","is_valid_coordinates":true} 
[2026-09-19 12:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188942848001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":617856815333376,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8610319503108120576,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:24] 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-19 12:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789800563000,"timestamp_ms":1789800563000,"timestamp_seconds":1789800563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86d4138"} 
[2026-09-19 12:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:20:24] 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-19 12:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188942848001,"66":28354,"139":206,"9":54272,"24":58,"16":617856815333376,"44":-8610319503108120576},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188942848001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:20:24] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:20:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":617856815333376,"km_value":617856815333.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8610319503108120576,"description":"Unknown IO ID 44"} 
[2026-09-19 12:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188942848001,"power":28354,"unknown_139":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8610319503108120576}} 
[2026-09-19 12:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":186859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:20:24] local.INFO: GPS data processed {"connection_id":186859,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:20:24] local.INFO: Acknowledgment sent {"connection_id":186859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:25] local.INFO: TCP Data received {"connection_id":186858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86cbc68012d19cdc007201910002c015b2b..."} 
[2026-09-19 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86cbc68012d19cdc007201910002c015b2b..."} 
[2026-09-19 12:20:25] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86cbc68012d19cdc007201910002c015b2b..."} 
[2026-09-19 12:20:25] local.INFO: Packet analysis {"connection_id":186858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:20:25] local.INFO: Extracted packet for processing {"connection_id":186858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86c"} 
[2026-09-19 12:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544080,"longitude_deg":75.6665792,"latitude_deg":11.954408,"altitude":44,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201910","is_valid_coordinates":true} 
[2026-09-19 12:20: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-19 12:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188930048001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21647300891770880,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009700352,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:25] 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-19 12:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789800529000,"timestamp_ms":1789800529000,"timestamp_seconds":1789800529,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86cbc68"} 
[2026-09-19 12:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:20:25] 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-19 12:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 12:20:25] 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-19 12:20: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-19 12:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:20:25] 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-19 12:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188930048001,"66":14113,"106":206,"83":41984,"24":0,"16":21647300891770880,"45":1859353358009700352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188930048001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:20:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21647300891770880,"km_value":21647300891770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009700352,"description":"Unknown IO ID 45"} 
[2026-09-19 12:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188930048001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859353358009700352}} 
[2026-09-19 12:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":186858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:20:25] local.INFO: GPS data processed {"connection_id":186858,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:20:25] local.INFO: Acknowledgment sent {"connection_id":186858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:47] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:47] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:47] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:20:48] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:48] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:48] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:20:49] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:49] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:49] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:20:49] local.INFO: TCP Data received {"connection_id":188137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:20:49] local.INFO: Processing buffer {"connection_id":188137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:20:49] local.INFO: Packet analysis {"connection_id":188137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:49] local.INFO: Extracted packet for processing {"connection_id":188137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:20: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-19 12:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:20: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-19 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:20: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-19 12:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:20: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-19 12:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":188137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:20:49] local.INFO: GPS data processed {"connection_id":188137,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:20:49] local.INFO: Acknowledgment sent {"connection_id":188137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:20:50] local.INFO: TCP Data received {"connection_id":186736,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:50] local.INFO: Processing buffer {"connection_id":186736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:20:50] local.INFO: IMEI packet received {"connection_id":186736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":186736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:21:10] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:10] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:10] local.INFO: IMEI packet received {"connection_id":188138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":188138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:21:14] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:14] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:21:14] local.INFO: IMEI packet received {"connection_id":188138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:21:15] local.INFO: TCP Data received {"connection_id":189472,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:15] local.INFO: Processing buffer {"connection_id":189472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:15] local.INFO: IMEI packet received {"connection_id":189472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":189472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:21:16] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:16] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:16] local.INFO: Packet analysis {"connection_id":188138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:16] local.INFO: Extracted packet for processing {"connection_id":188138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12: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-19 12: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:21:16] 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-19 12:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":188138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:21:16] local.INFO: GPS data processed {"connection_id":188138,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:21:16] local.INFO: Acknowledgment sent {"connection_id":188138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:21:17] local.INFO: TCP Data received {"connection_id":189472,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:17] local.INFO: Processing buffer {"connection_id":189472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:21:17] local.INFO: IMEI packet received {"connection_id":189472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":189472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:21:18] local.INFO: TCP Data received {"connection_id":189472,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86d5c90012c887e000806e410000d015f2c..."} 
[2026-09-19 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86d5c90012c887e000806e410000d015f2c..."} 
[2026-09-19 12:21:18] local.INFO: Processing buffer {"connection_id":189472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86d5c90012c887e000806e410000d015f2c..."} 
[2026-09-19 12:21:18] local.INFO: Packet analysis {"connection_id":189472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:18] local.INFO: Extracted packet for processing {"connection_id":189472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":747142656,"raw_latitude":134669328,"longitude_deg":74.7142656,"latitude_deg":13.4669328,"altitude":13,"angle":351,"satellites":44,"speed":58,"hex_longitude":"2c887e00","hex_latitude":"0806e410","is_valid_coordinates":true} 
[2026-09-19 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188944128001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":618355031539712,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8609967659385344000,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:18] 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-19 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789800570000,"timestamp_ms":1789800570000,"timestamp_seconds":1789800570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86d5c90"} 
[2026-09-19 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:21:18] 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-19 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188944128001,"66":28398,"139":206,"9":54272,"24":58,"16":618355031539712,"44":-8609967659385344000},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188944128001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:21:18] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:21:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":618355031539712,"km_value":618355031539.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8609967659385344000,"description":"Unknown IO ID 44"} 
[2026-09-19 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188944128001,"power":28398,"unknown_139":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8609967659385344000}} 
[2026-09-19 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":189472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:21:18] local.INFO: GPS data processed {"connection_id":189472,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:21:18] local.INFO: Acknowledgment sent {"connection_id":189472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:21:47] local.INFO: TCP Data received {"connection_id":188138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:47] local.INFO: Processing buffer {"connection_id":188138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:21:47] local.INFO: Packet analysis {"connection_id":188138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:47] local.INFO: Extracted packet for processing {"connection_id":188138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12: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-19 12:21: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:21: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-19 12: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-19 12: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-19 12:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:21:47] 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-19 12:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":188138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:21:47] local.INFO: GPS data processed {"connection_id":188138,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:21:47] local.INFO: Acknowledgment sent {"connection_id":188138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:21:50] local.INFO: TCP Data received {"connection_id":189472,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:21:50] local.INFO: Processing buffer {"connection_id":189472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:21:50] local.INFO: Packet analysis {"connection_id":189472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:21:50] local.INFO: Extracted packet for processing {"connection_id":189472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":747130944,"raw_latitude":134763200,"longitude_deg":74.7130944,"latitude_deg":13.47632,"altitude":16,"angle":352,"satellites":48,"speed":8,"hex_longitude":"2c885040","hex_latitude":"080852c0","is_valid_coordinates":true} 
[2026-09-19 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188963584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":622946351579136,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8622985877033820160,"note":"Value kept but may cause issues"} 
[2026-09-19 12:21:50] 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-19 12:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789800660000,"timestamp_ms":1789800660000,"timestamp_seconds":1789800660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86ebc20"} 
[2026-09-19 12:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 12:21:50] 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-19 12:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188963584001,"66":28267,"139":206,"9":54272,"24":8,"16":622946351579136,"44":-8622985877033820160},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188963584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:21:50] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:21:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":622946351579136,"km_value":622946351579.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8622985877033820160,"description":"Unknown IO ID 44"} 
[2026-09-19 12:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188963584001,"power":28267,"unknown_139":206,"unknown_9":54272,"ignition":8,"odometer":null,"unknown_44":-8622985877033820160}} 
[2026-09-19 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":189472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:21:51] local.INFO: GPS data processed {"connection_id":189472,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:21:51] local.INFO: Acknowledgment sent {"connection_id":189472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:22:09] local.INFO: TCP Data received {"connection_id":186738,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:09] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:09] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:22:09] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:09] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:09] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:22:14] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:14] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:22:14] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:22:14] local.INFO: TCP Data received {"connection_id":186738,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:14] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:22:14] local.INFO: IMEI packet received {"connection_id":186738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":186738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:22:16] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:16] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:16] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:22:16] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22: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-19 12:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:22: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-19 12:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:22:16] 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-19 12:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:22:16] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:22:16] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:22:17] local.INFO: TCP Data received {"connection_id":186738,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:22:17] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86ebc20012c885040080852c00010016030..."} 
[2026-09-19 12:22:17] local.INFO: Packet analysis {"connection_id":186738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:22:17] local.INFO: Extracted packet for processing {"connection_id":186738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:22:17] local.INFO: GPS Element Parsed {"raw_longitude":747130944,"raw_latitude":134763200,"longitude_deg":74.7130944,"latitude_deg":13.47632,"altitude":16,"angle":352,"satellites":48,"speed":8,"hex_longitude":"2c885040","hex_latitude":"080852c0","is_valid_coordinates":true} 
[2026-09-19 12:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188968960001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":622946351579136,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8624322883170942976,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:17] 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-19 12:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789800660000,"timestamp_ms":1789800660000,"timestamp_seconds":1789800660,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86ebc20"} 
[2026-09-19 12:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:22:17] 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-19 12:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188968960001,"66":28267,"139":206,"9":54272,"24":8,"16":622946351579136,"44":-8624322883170942976},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188968960001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:22:17] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:22:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":622946351579136,"km_value":622946351579.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8624322883170942976,"description":"Unknown IO ID 44"} 
[2026-09-19 12:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188968960001,"power":28267,"unknown_139":206,"unknown_9":54272,"ignition":8,"odometer":null,"unknown_44":-8624322883170942976}} 
[2026-09-19 12:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":186738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:22:17] local.INFO: GPS data processed {"connection_id":186738,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:22:17] local.INFO: Acknowledgment sent {"connection_id":186738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:22:47] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:47] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:22:47] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:22:47] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:22: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-19 12:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:22: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-19 12:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:22:47] 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-19 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:22:47] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:22:47] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:22:51] local.INFO: TCP Data received {"connection_id":186738,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86ec3f0012c885000080854000010015030..."} 
[2026-09-19 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86ec3f0012c885000080854000010015030..."} 
[2026-09-19 12:22:51] local.INFO: Processing buffer {"connection_id":186738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86ec3f0012c885000080854000010015030..."} 
[2026-09-19 12:22:51] local.INFO: Packet analysis {"connection_id":186738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:22:51] local.INFO: Extracted packet for processing {"connection_id":186738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86e"} 
[2026-09-19 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":747130880,"raw_latitude":134763520,"longitude_deg":74.713088,"latitude_deg":13.476352,"altitude":16,"angle":336,"satellites":48,"speed":7,"hex_longitude":"2c885000","hex_latitude":"08085400","is_valid_coordinates":true} 
[2026-09-19 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188968960001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":622959236481024,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8624322883170942976,"note":"Value kept but may cause issues"} 
[2026-09-19 12:22:51] 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-19 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789800662000,"timestamp_ms":1789800662000,"timestamp_seconds":1789800662,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86ec3f0"} 
[2026-09-19 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:22:51] 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-19 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188968960001,"66":28126,"139":206,"9":54272,"24":7,"16":622959236481024,"44":-8624322883170942976},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-19 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188968960001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:22:51] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-19 12:22:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-19 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":622959236481024,"km_value":622959236481.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8624322883170942976,"description":"Unknown IO ID 44"} 
[2026-09-19 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188968960001,"power":28126,"unknown_139":206,"unknown_9":54272,"ignition":7,"odometer":null,"unknown_44":-8624322883170942976}} 
[2026-09-19 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":186738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:22:51] local.INFO: GPS data processed {"connection_id":186738,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:22:51] local.INFO: Acknowledgment sent {"connection_id":186738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:23:09] local.INFO: TCP Data received {"connection_id":189473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:09] local.INFO: Processing buffer {"connection_id":189473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:09] local.INFO: IMEI packet received {"connection_id":189473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":189473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:23:14] local.INFO: TCP Data received {"connection_id":189473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:14] local.INFO: Processing buffer {"connection_id":189473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:23:14] local.INFO: IMEI packet received {"connection_id":189473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":189473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:23:16] local.INFO: TCP Data received {"connection_id":189473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:16] local.INFO: Processing buffer {"connection_id":189473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:16] local.INFO: Packet analysis {"connection_id":189473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:23:16] local.INFO: Extracted packet for processing {"connection_id":189473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23: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-19 12:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:23: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-19 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:23: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-19 12:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":189473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:23:16] local.INFO: GPS data processed {"connection_id":189473,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:23:16] local.INFO: Acknowledgment sent {"connection_id":189473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:23:47] local.INFO: TCP Data received {"connection_id":189473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:47] local.INFO: Processing buffer {"connection_id":189473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:23:47] local.INFO: Packet analysis {"connection_id":189473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:23:47] local.INFO: Extracted packet for processing {"connection_id":189473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:23: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-19 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12: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-19 12:23: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-19 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:23: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-19 12: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-19 12: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-19 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:23: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-19 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":189473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:23:47] local.INFO: GPS data processed {"connection_id":189473,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:23:47] local.INFO: Acknowledgment sent {"connection_id":189473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:23:49] local.INFO: TCP Data received {"connection_id":188141,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:23:49] local.INFO: Processing buffer {"connection_id":188141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:23:49] local.INFO: IMEI packet received {"connection_id":188141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":188141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:24:09] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:09] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:09] local.INFO: IMEI packet received {"connection_id":186860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:24:14] local.INFO: TCP Data received {"connection_id":188142,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:14] local.INFO: Processing buffer {"connection_id":188142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:14] local.INFO: IMEI packet received {"connection_id":188142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:24:14] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:14] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:24:14] local.INFO: IMEI packet received {"connection_id":186860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:24:15] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:15] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:15] local.INFO: Packet analysis {"connection_id":186860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:24:15] local.INFO: Extracted packet for processing {"connection_id":186860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:24: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-19 12:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:24: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-19 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:24: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-19 12:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:24: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-19 12:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":186860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:24:15] local.INFO: GPS data processed {"connection_id":186860,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:24:15] local.INFO: Acknowledgment sent {"connection_id":186860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:24:16] local.INFO: TCP Data received {"connection_id":188142,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:16] local.INFO: Processing buffer {"connection_id":188142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:24:16] local.INFO: IMEI packet received {"connection_id":188142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":188142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:24:48] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:48] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:24:48] local.INFO: Packet analysis {"connection_id":186860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:24:48] local.INFO: Extracted packet for processing {"connection_id":186860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12: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-19 12:24: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:24: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-19 12: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-19 12: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-19 12:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:24: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-19 12:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":186860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:24:48] local.INFO: GPS data processed {"connection_id":186860,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:24:48] local.INFO: Acknowledgment sent {"connection_id":186860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:25:14] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:14] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:14] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:25:19] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:19] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:25:19] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:25:20] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:20] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:20] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:25:20] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:25:20] 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-19 12:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:25:20] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:25:20] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:25:25] local.INFO: TCP Data received {"connection_id":186861,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:25] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b86dcdd8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:25:25] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:25:25] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b86d"} 
[2026-09-19 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188876288001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789800599000,"timestamp_ms":1789800599000,"timestamp_seconds":1789800599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b86dcdd8"} 
[2026-09-19 12:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:25:25] 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-19 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188876288001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188876288001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188876288001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:25:25] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:25:25] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:25:51] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:25:51] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:25:51] local.INFO: IMEI packet received {"connection_id":186741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":186741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:25:52] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87111c8012d184000072190d8004d011429..."} 
[2026-09-19 12:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87111c8012d184000072190d8004d011429..."} 
[2026-09-19 12:25:52] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87111c8012d184000072190d8004d011429..."} 
[2026-09-19 12:25:52] local.INFO: Packet analysis {"connection_id":186741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:25:52] local.INFO: Extracted packet for processing {"connection_id":186741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119640280,"longitude_deg":75.6563968,"latitude_deg":11.964028,"altitude":77,"angle":276,"satellites":41,"speed":13,"hex_longitude":"2d184000","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-09-19 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189005568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21655362545385472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755629829115623424,"note":"Value kept but may cause issues"} 
[2026-09-19 12:25:52] 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-19 12:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789800813000,"timestamp_ms":1789800813000,"timestamp_seconds":1789800813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87111c8"} 
[2026-09-19 12:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:25:52] 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-19 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 12:25:52] 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-19 12:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:25:52] 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-19 12:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189005568001,"66":12645,"106":206,"83":41984,"24":13,"16":21655362545385472,"45":1755629829115623424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189005568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:25:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21655362545385472,"km_value":21655362545385.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755629829115623424,"description":"Unknown IO ID 45"} 
[2026-09-19 12:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189005568001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1755629829115623424}} 
[2026-09-19 12:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":186741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:25:52] local.INFO: GPS data processed {"connection_id":186741,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:25:52] local.INFO: Acknowledgment sent {"connection_id":186741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:26:09] local.INFO: TCP Data received {"connection_id":186862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:09] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:09] local.INFO: IMEI packet received {"connection_id":186862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":186862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:26:14] local.INFO: TCP Data received {"connection_id":186862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:14] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:26:14] local.INFO: IMEI packet received {"connection_id":186862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":186862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:26:15] local.INFO: TCP Data received {"connection_id":186862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:15] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:15] local.INFO: Packet analysis {"connection_id":186862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:26:15] local.INFO: Extracted packet for processing {"connection_id":186862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12: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-19 12:26: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-19 12: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:26: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-19 12: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-19 12: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-19 12:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:26: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-19 12:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":186862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:26:15] local.INFO: GPS data processed {"connection_id":186862,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:26:15] local.INFO: Acknowledgment sent {"connection_id":186862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:26:23] local.INFO: TCP Data received {"connection_id":186741,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87163d0012d183ec007219150004d011a2a..."} 
[2026-09-19 12:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87163d0012d183ec007219150004d011a2a..."} 
[2026-09-19 12:26:23] local.INFO: Processing buffer {"connection_id":186741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87163d0012d183ec007219150004d011a2a..."} 
[2026-09-19 12:26:23] local.INFO: Packet analysis {"connection_id":186741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:26:23] local.INFO: Extracted packet for processing {"connection_id":186741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640400,"longitude_deg":75.6563648,"latitude_deg":11.96404,"altitude":77,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219150","is_valid_coordinates":true} 
[2026-09-19 12:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189008128001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21655388315189248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747396686047664128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:23] 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-19 12:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789800834000,"timestamp_ms":1789800834000,"timestamp_seconds":1789800834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87163d0"} 
[2026-09-19 12:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:26:23] 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-19 12:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 12:26:23] 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-19 12:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:26:23] 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-19 12:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189008128001,"66":12461,"106":206,"83":41984,"24":0,"16":21655388315189248,"45":1747396686047664128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189008128001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:26:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21655388315189248,"km_value":21655388315189.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747396686047664128,"description":"Unknown IO ID 45"} 
[2026-09-19 12:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189008128001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747396686047664128}} 
[2026-09-19 12:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":186741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:26:23] local.INFO: GPS data processed {"connection_id":186741,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:26:23] local.INFO: Acknowledgment sent {"connection_id":186741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:26:46] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:46] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:46] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:26:47] local.INFO: TCP Data received {"connection_id":186862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:47] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:26:47] local.INFO: Packet analysis {"connection_id":186862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:26:47] local.INFO: Extracted packet for processing {"connection_id":186862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26: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-19 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12: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-19 12:26: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:26:47] 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-19 12: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-19 12: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-19 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:26:47] 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-19 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":186862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:26:47] local.INFO: GPS data processed {"connection_id":186862,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:26:47] local.INFO: Acknowledgment sent {"connection_id":186862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:26:51] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:51] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:26:51] local.INFO: IMEI packet received {"connection_id":186742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":186742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:26:52] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b871b5d8012d183ec007219150004d011a2c..."} 
[2026-09-19 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b871b5d8012d183ec007219150004d011a2c..."} 
[2026-09-19 12:26:52] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b871b5d8012d183ec007219150004d011a2c..."} 
[2026-09-19 12:26:52] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:26:52] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b871"} 
[2026-09-19 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640400,"longitude_deg":75.6563648,"latitude_deg":11.96404,"altitude":77,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219150","is_valid_coordinates":true} 
[2026-09-19 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189013504001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21655388315189248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326806528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:26:52] local.INFO: IO Element Parsed {"io_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-19 12:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789800855000,"timestamp_ms":1789800855000,"timestamp_seconds":1789800855,"priority":1,"record_length":96,"hex_timestamp":"000001a0b871b5d8"} 
[2026-09-19 12:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:26:52] 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-19 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:26:52] 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-19 12:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:26:52] 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-19 12:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189013504001,"66":12363,"105":206,"83":41984,"24":0,"16":21655388315189248,"45":1747044842326806528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189013504001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:26:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21655388315189248,"km_value":21655388315189.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326806528,"description":"Unknown IO ID 45"} 
[2026-09-19 12:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189013504001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747044842326806528}} 
[2026-09-19 12:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:26:52] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:26:52] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:27:09] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:09] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:09] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:27:14] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:14] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:27:14] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:27:15] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:15] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:15] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:15] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12: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-19 12: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-19 12: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:27: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-19 12: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-19 12: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-19 12:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:27: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-19 12:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:27:15] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:27:15] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:27:23] local.INFO: TCP Data received {"connection_id":186742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87207e0012d183ec007219150004d011a2d..."} 
[2026-09-19 12:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87207e0012d183ec007219150004d011a2d..."} 
[2026-09-19 12:27:23] local.INFO: Processing buffer {"connection_id":186742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87207e0012d183ec007219150004d011a2d..."} 
[2026-09-19 12:27:23] local.INFO: Packet analysis {"connection_id":186742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:23] local.INFO: Extracted packet for processing {"connection_id":186742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640400,"longitude_deg":75.6563648,"latitude_deg":11.96404,"altitude":77,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219150","is_valid_coordinates":true} 
[2026-09-19 12:27: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-19 12:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189018880001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21655388315189248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326806528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:23] local.INFO: IO Element Parsed {"io_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-19 12:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789800876000,"timestamp_ms":1789800876000,"timestamp_seconds":1789800876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87207e0"} 
[2026-09-19 12:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:27:23] 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-19 12:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-19 12:27:23] 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-19 12:27: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-19 12:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27:23] 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-19 12:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189018880001,"66":12298,"105":206,"83":41984,"24":0,"16":21655388315189248,"45":1747044842326806528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189018880001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:27:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21655388315189248,"km_value":21655388315189.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326806528,"description":"Unknown IO ID 45"} 
[2026-09-19 12:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189018880001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747044842326806528}} 
[2026-09-19 12:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":186742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:27:23] local.INFO: GPS data processed {"connection_id":186742,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:27:23] local.INFO: Acknowledgment sent {"connection_id":186742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:27:47] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:47] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:27:47] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:47] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27: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-19 12:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:27: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-19 12:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:27:47] 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-19 12:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:27: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-19 12:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:27:47] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:27:47] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:27:51] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:51] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:51] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:27:57] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:57] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:27:57] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:27:57] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8742ea8012d1824400721b600004b000a2b..."} 
[2026-09-19 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8742ea8012d1824400721b600004b000a2b..."} 
[2026-09-19 12:27:57] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8742ea8012d1824400721b600004b000a2b..."} 
[2026-09-19 12:27:57] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:27:57] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649792,"longitude_deg":75.6556864,"latitude_deg":11.9649792,"altitude":75,"angle":10,"satellites":43,"speed":10,"hex_longitude":"2d182440","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-19 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189058560001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656096984793088,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841263104,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:57] local.INFO: IO Element Parsed {"io_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-19 12:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789801017000,"timestamp_ms":1789801017000,"timestamp_seconds":1789801017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8742ea8"} 
[2026-09-19 12:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 12:27:57] 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-19 12:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27:57] 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-19 12:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189058560001,"66":14363,"105":206,"83":41984,"24":10,"16":21656096984793088,"45":1737826536841263104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189058560001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:27:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656096984793088,"km_value":21656096984793.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841263104,"description":"Unknown IO ID 45"} 
[2026-09-19 12:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189058560001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536841263104}} 
[2026-09-19 12:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:27:58] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:27:58] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:27:58] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8743290012d1824400721b6d8004b015e2d..."} 
[2026-09-19 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8743290012d1824400721b6d8004b015e2d..."} 
[2026-09-19 12:27:58] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8743290012d1824400721b6d8004b015e2d..."} 
[2026-09-19 12:27:58] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:27:58] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650008,"longitude_deg":75.6556864,"latitude_deg":11.9650008,"altitude":75,"angle":350,"satellites":45,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b6d8","is_valid_coordinates":true} 
[2026-09-19 12:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189060352001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656109869694976,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446378496,"note":"Value kept but may cause issues"} 
[2026-09-19 12:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789801018000,"timestamp_ms":1789801018000,"timestamp_seconds":1789801018,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8743290"} 
[2026-09-19 12:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:27: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-19 12:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 12:27:58] 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-19 12:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:27: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-19 12:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189060352001,"66":14363,"105":206,"83":41984,"24":7,"16":21656109869694976,"45":1739585755446378496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189060352001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:27:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656109869694976,"km_value":21656109869694.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446378496,"description":"Unknown IO ID 45"} 
[2026-09-19 12:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189060352001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446378496}} 
[2026-09-19 12:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:27:58] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:27:58] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:28:09] local.INFO: TCP Data received {"connection_id":189474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:09] local.INFO: Processing buffer {"connection_id":189474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:09] local.INFO: IMEI packet received {"connection_id":189474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":189474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:28:14] local.INFO: TCP Data received {"connection_id":189474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:14] local.INFO: Processing buffer {"connection_id":189474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:28:14] local.INFO: IMEI packet received {"connection_id":189474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":189474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:28:15] local.INFO: TCP Data received {"connection_id":189474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:15] local.INFO: Processing buffer {"connection_id":189474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:15] local.INFO: Packet analysis {"connection_id":189474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:28:15] local.INFO: Extracted packet for processing {"connection_id":189474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:28: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-19 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:28: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-19 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:28: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-19 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":189474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:28:15] local.INFO: GPS data processed {"connection_id":189474,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:28:15] local.INFO: Acknowledgment sent {"connection_id":189474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:28:29] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8743678012d1824000721b750004b012a2d..."} 
[2026-09-19 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8743678012d1824000721b750004b012a2d..."} 
[2026-09-19 12:28:29] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8743678012d1824000721b750004b012a2d..."} 
[2026-09-19 12:28:29] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:28:29] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650128,"longitude_deg":75.65568,"latitude_deg":11.9650128,"altitude":75,"angle":298,"satellites":45,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b750","is_valid_coordinates":true} 
[2026-09-19 12:28: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-19 12:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189060608001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656114164662272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446433792,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789801019000,"timestamp_ms":1789801019000,"timestamp_seconds":1789801019,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8743678"} 
[2026-09-19 12:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 12:28:29] 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-19 12:28: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-19 12:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:28:29] 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-19 12:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189060608001,"66":14341,"105":206,"83":41984,"24":5,"16":21656114164662272,"45":1739585755446433792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189060608001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:28:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656114164662272,"km_value":21656114164662.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446433792,"description":"Unknown IO ID 45"} 
[2026-09-19 12:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189060608001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446433792}} 
[2026-09-19 12:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:28:30] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:28:30] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:28:46] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:46] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:46] local.INFO: IMEI packet received {"connection_id":188146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":188146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:28:47] local.INFO: TCP Data received {"connection_id":189474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:47] local.INFO: Processing buffer {"connection_id":189474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:28:47] local.INFO: Packet analysis {"connection_id":189474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:28:47] local.INFO: Extracted packet for processing {"connection_id":189474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28: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-19 12:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12: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-19 12:28: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:28:47] 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-19 12: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-19 12: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-19 12:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:28:47] 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-19 12:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":189474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:28:47] local.INFO: GPS data processed {"connection_id":189474,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:28:47] local.INFO: Acknowledgment sent {"connection_id":189474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:28:51] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:51] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:28:51] local.INFO: IMEI packet received {"connection_id":188146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":188146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:28:52] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8748880012d1824000721b738004a012a2c..."} 
[2026-09-19 12:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8748880012d1824000721b738004a012a2c..."} 
[2026-09-19 12:28:52] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8748880012d1824000721b738004a012a2c..."} 
[2026-09-19 12:28:52] local.INFO: Packet analysis {"connection_id":188146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:28:52] local.INFO: Extracted packet for processing {"connection_id":188146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650104,"longitude_deg":75.65568,"latitude_deg":11.9650104,"altitude":74,"angle":298,"satellites":44,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b738","is_valid_coordinates":true} 
[2026-09-19 12:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189060864001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656139934466048,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702286848,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.INFO: IO Element Parsed {"io_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-19 12:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801040000,"timestamp_ms":1789801040000,"timestamp_seconds":1789801040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8748880"} 
[2026-09-19 12:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991410027,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3094592864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930069647360,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2835349579,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4025286656,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750552764195225,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.WARNING: Large IO value detected {"io_id":192,"raw_value":22237829585181440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:28:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,240,160,50,45,64,182,75,10,66,46,43,19,1,185,227,239,184,33,4,113,205,13,7,29,248,44,55,2,76,74,206,88,192],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:28:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404647400583528448,"timestamp_seconds":5404647400583528.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:28:52] 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-19 12:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189060864001,"66":13298,"105":206,"83":41984,"24":0,"16":21656139934466048,"45":1739515386702286848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189060864001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:28:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656139934466048,"km_value":21656139934466.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702286848,"description":"Unknown IO ID 45"} 
[2026-09-19 12:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189060864001,"power":13298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702286848}} 
[2026-09-19 12:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":188146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:28:52] local.INFO: GPS data processed {"connection_id":188146,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:28:52] local.INFO: Acknowledgment sent {"connection_id":188146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:29:15] local.INFO: TCP Data received {"connection_id":189475,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:15] local.INFO: Processing buffer {"connection_id":189475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:15] local.INFO: IMEI packet received {"connection_id":189475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":189475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:29:19] local.INFO: TCP Data received {"connection_id":189475,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:19] local.INFO: Processing buffer {"connection_id":189475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:29:19] local.INFO: IMEI packet received {"connection_id":189475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":189475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:29:21] local.INFO: TCP Data received {"connection_id":189475,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:21] local.INFO: Processing buffer {"connection_id":189475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:21] local.INFO: Packet analysis {"connection_id":189475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:29:21] local.INFO: Extracted packet for processing {"connection_id":189475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:29:21] 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-19 12:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":189475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:29:21] local.INFO: GPS data processed {"connection_id":189475,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:29:21] local.INFO: Acknowledgment sent {"connection_id":189475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:29:21] local.INFO: TCP Data received {"connection_id":186743,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:29:21] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:29:21] local.INFO: IMEI packet received {"connection_id":186743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":186743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:29:22] local.INFO: TCP Data received {"connection_id":186743,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b874aba8012c875580080e6880000c01642d..."} 
[2026-09-19 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b874aba8012c875580080e6880000c01642d..."} 
[2026-09-19 12:29:22] local.INFO: Processing buffer {"connection_id":186743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b874aba8012c875580080e6880000c01642d..."} 
[2026-09-19 12:29:22] local.INFO: Packet analysis {"connection_id":186743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:22] local.INFO: Extracted packet for processing {"connection_id":186743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":747066752,"raw_latitude":135161984,"longitude_deg":74.7066752,"latitude_deg":13.5161984,"altitude":12,"angle":356,"satellites":45,"speed":58,"hex_longitude":"2c875580","hex_latitude":"080e6880","is_valid_coordinates":true} 
[2026-09-19 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189066752001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":642711791075328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8694621258504945664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801049000,"timestamp_ms":1789801049000,"timestamp_seconds":1789801049,"priority":1,"record_length":96,"hex_timestamp":"000001a0b874aba8"} 
[2026-09-19 12:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:29:22] 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-19 12:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189066752001,"66":28354,"28":206,"9":53760,"24":58,"16":642711791075328,"44":-8694621258504945664},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,9,24,16,44]} 
[2026-09-19 12:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189066752001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-19 12:29:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":642711791075328,"km_value":642711791075.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8694621258504945664,"description":"Unknown IO ID 44"} 
[2026-09-19 12:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189066752001,"power":28354,"unknown_28":206,"unknown_9":53760,"ignition":58,"odometer":null,"unknown_44":-8694621258504945664}} 
[2026-09-19 12:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":186743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:29:22] local.INFO: GPS data processed {"connection_id":186743,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:29:22] local.INFO: Acknowledgment sent {"connection_id":186743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:29:23] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b874b378012d1825c00721b7b8004c002c2d..."} 
[2026-09-19 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b874b378012d1825c00721b7b8004c002c2d..."} 
[2026-09-19 12:29:23] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b874b378012d1825c00721b7b8004c002c2d..."} 
[2026-09-19 12:29:23] local.INFO: Packet analysis {"connection_id":188146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:23] local.INFO: Extracted packet for processing {"connection_id":188146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650232,"longitude_deg":75.6557248,"latitude_deg":11.9650232,"altitude":76,"angle":44,"satellites":45,"speed":5,"hex_longitude":"2d1825c0","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-09-19 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189066240001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656161409302528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702280704,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:23] local.INFO: IO Element Parsed {"io_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-19 12:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801051000,"timestamp_ms":1789801051000,"timestamp_seconds":1789801051,"priority":1,"record_length":96,"hex_timestamp":"000001a0b874b378"} 
[2026-09-19 12:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:29:23] 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-19 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-19 12:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:29:23] 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-19 12:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189066240001,"66":13319,"105":206,"83":41984,"24":5,"16":21656161409302528,"45":1739515386702280704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189066240001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:29:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656161409302528,"km_value":21656161409302.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702280704,"description":"Unknown IO ID 45"} 
[2026-09-19 12:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189066240001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739515386702280704}} 
[2026-09-19 12:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":188146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:29:23] local.INFO: GPS data processed {"connection_id":188146,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:29:23] local.INFO: Acknowledgment sent {"connection_id":188146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:29:27] local.INFO: TCP Data received {"connection_id":189475,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:27] local.INFO: Processing buffer {"connection_id":189475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:29:27] local.INFO: Packet analysis {"connection_id":189475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:29:27] local.INFO: Extracted packet for processing {"connection_id":189475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:29: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-19 12:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:29:27] 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-19 12:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:29:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:29:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":189475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:29:27] local.INFO: GPS data processed {"connection_id":189475,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:29:27] local.INFO: Acknowledgment sent {"connection_id":189475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:29:46] local.INFO: TCP Data received {"connection_id":189476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:46] local.INFO: Processing buffer {"connection_id":189476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:46] local.INFO: IMEI packet received {"connection_id":189476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":189476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:29:51] local.INFO: TCP Data received {"connection_id":189476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:51] local.INFO: Processing buffer {"connection_id":189476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:29:51] local.INFO: IMEI packet received {"connection_id":189476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":189476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:29:51] local.INFO: TCP Data received {"connection_id":189476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b874b760012d1826000721b830004c001d2d..."} 
[2026-09-19 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b874b760012d1826000721b830004c001d2d..."} 
[2026-09-19 12:29:51] local.INFO: Processing buffer {"connection_id":189476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b874b760012d1826000721b830004c001d2d..."} 
[2026-09-19 12:29:51] local.INFO: Packet analysis {"connection_id":189476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:51] local.INFO: Extracted packet for processing {"connection_id":189476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b874"} 
[2026-09-19 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650352,"longitude_deg":75.6557312,"latitude_deg":11.9650352,"altitude":76,"angle":29,"satellites":45,"speed":5,"hex_longitude":"2d182600","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-19 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189069056001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656169999237120,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911557120,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.INFO: IO Element Parsed {"io_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-19 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801052000,"timestamp_ms":1789801052000,"timestamp_seconds":1789801052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b874b760"} 
[2026-09-19 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3094612864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6343319757300290560,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4026007552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":185,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.WARNING: Large IO value detected {"io_id":116,"raw_value":547188647915225095,"note":"Value kept but may cause issues"} 
[2026-09-19 12:29:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,240,160,136,45,183,74,44,10,66,54,75,50,64,1,27,227,184,33,4,113,205,19,30,239,55,2,76,7,13,185,116],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:29:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476425718668001280,"timestamp_seconds":5476425718668001.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:29:51] 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-19 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189069056001,"66":13319,"105":206,"83":41984,"24":5,"16":21656169999237120,"45":1740007967911557120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189069056001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:29:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656169999237120,"km_value":21656169999237.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911557120,"description":"Unknown IO ID 45"} 
[2026-09-19 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189069056001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740007967911557120}} 
[2026-09-19 12:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":189476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:29:52] local.INFO: GPS data processed {"connection_id":189476,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:29:52] local.INFO: Acknowledgment sent {"connection_id":189476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:09] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:09] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:09] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:30:11] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:11] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:11] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:30:14] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:14] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:30:14] local.INFO: IMEI packet received {"connection_id":186744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":186744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:30:17] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:17] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:17] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:30:17] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30: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-19 12:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30: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-19 12:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:17] 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-19 12:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30: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-19 12:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:17] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:17] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:17] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:17] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:17] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:30:18] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:18] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:30:18] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:30:21] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b875e810012c872b00080fecf0000c01592c..."} 
[2026-09-19 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b875e810012c872b00080fecf0000c01592c..."} 
[2026-09-19 12:30:21] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b875e810012c872b00080fecf0000c01592c..."} 
[2026-09-19 12:30:21] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:21] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":747055872,"raw_latitude":135261424,"longitude_deg":74.7055872,"latitude_deg":13.5261424,"altitude":12,"angle":345,"satellites":44,"speed":36,"hex_longitude":"2c872b00","hex_latitude":"080fecf0","is_valid_coordinates":true} 
[2026-09-19 12:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189086208001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":647586578956288,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8704543251408326656,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789801130000,"timestamp_ms":1789801130000,"timestamp_seconds":1789801130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b875e810"} 
[2026-09-19 12:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:21] 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-19 12:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189086208001,"66":28354,"29":206,"9":53760,"24":36,"16":647586578956288,"44":-8704543251408326656},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189086208001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":647586578956288,"km_value":647586578956.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8704543251408326656,"description":"Unknown IO ID 44"} 
[2026-09-19 12:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189086208001,"power":28354,"unknown_29":206,"unknown_9":53760,"ignition":36,"odometer":null,"unknown_44":-8704543251408326656}} 
[2026-09-19 12:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:21] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:21] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:21] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:21] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87265a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:21] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:30:21] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b872"} 
[2026-09-19 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458188953344001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789800900000,"timestamp_ms":1789800900000,"timestamp_seconds":1789800900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87265a0"} 
[2026-09-19 12:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:21] 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-19 12:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458188953344001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458188953344001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458188953344001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:21] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:21] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:22] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8760f20012c872140081011a0000e01592d..."} 
[2026-09-19 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8760f20012c872140081011a0000e01592d..."} 
[2026-09-19 12:30:22] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8760f20012c872140081011a0000e01592d..."} 
[2026-09-19 12:30:22] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:22] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":747053376,"raw_latitude":135270816,"longitude_deg":74.7053376,"latitude_deg":13.5270816,"altitude":14,"angle":345,"satellites":45,"speed":38,"hex_longitude":"2c872140","hex_latitude":"081011a0","is_valid_coordinates":true} 
[2026-09-19 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189089280001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":648054730391552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8706865419963797504,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801140000,"timestamp_ms":1789801140000,"timestamp_seconds":1789801140,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8760f20"} 
[2026-09-19 12:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:22] 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-19 12:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189089280001,"66":28332,"217":206,"9":53760,"24":38,"16":648054730391552,"44":-8706865419963797504},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 12:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189089280001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 12:30:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":648054730391552,"km_value":648054730391.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8706865419963797504,"description":"Unknown IO ID 44"} 
[2026-09-19 12:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189089280001,"power":28332,"unknown_217":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":-8706865419963797504}} 
[2026-09-19 12:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:22] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:22] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:23] local.INFO: TCP Data received {"connection_id":189476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8750968012d1825800721b970004c001d2c..."} 
[2026-09-19 12:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8750968012d1825800721b970004c001d2c..."} 
[2026-09-19 12:30:23] local.INFO: Processing buffer {"connection_id":189476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8750968012d1825800721b970004c001d2c..."} 
[2026-09-19 12:30:23] local.INFO: Packet analysis {"connection_id":189476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:23] local.INFO: Extracted packet for processing {"connection_id":189476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650672,"longitude_deg":75.6557184,"latitude_deg":11.9650672,"altitude":76,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b970","is_valid_coordinates":true} 
[2026-09-19 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189069312001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656243013681152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655765504,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.INFO: IO Element Parsed {"io_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-19 12:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801073000,"timestamp_ms":1789801073000,"timestamp_seconds":1789801073,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8750968"} 
[2026-09-19 12:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:23] 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-19 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3094614864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4028301312,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6269010359176451072,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":185,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":828663624625881095,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,240,160,179,45,192,183,76,10,66,136,74,44,54,1,5,227,184,33,4,113,205,7,46,36,43,239,56,2,75,185,116],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:30:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476409225993584640,"timestamp_seconds":5476409225993585.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:30:23] 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-19 12:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189069312001,"66":13222,"105":206,"83":41984,"24":0,"16":21656243013681152,"45":1740078336655765504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189069312001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656243013681152,"km_value":21656243013681.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655765504,"description":"Unknown IO ID 45"} 
[2026-09-19 12:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189069312001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655765504}} 
[2026-09-19 12:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":189476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:23] local.INFO: GPS data processed {"connection_id":189476,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:23] local.INFO: Acknowledgment sent {"connection_id":189476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:46] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:46] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:46] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:30:51] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:51] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:30:51] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:30:51] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8755b70012d1825800721b970004c001d29..."} 
[2026-09-19 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8755b70012d1825800721b970004c001d29..."} 
[2026-09-19 12:30:51] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8755b70012d1825800721b970004c001d29..."} 
[2026-09-19 12:30:51] local.INFO: Packet analysis {"connection_id":188147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:51] local.INFO: Extracted packet for processing {"connection_id":188147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650672,"longitude_deg":75.6557184,"latitude_deg":11.9650672,"altitude":76,"angle":29,"satellites":41,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b970","is_valid_coordinates":true} 
[2026-09-19 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189074688001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656243013681152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167492096,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:51] local.INFO: IO Element Parsed {"io_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-19 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801094000,"timestamp_ms":1789801094000,"timestamp_seconds":1789801094,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8755b70"} 
[2026-09-19 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:51] 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-19 12:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:30:51] 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-19 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189074688001,"66":13222,"105":206,"83":41984,"24":0,"16":21656243013681152,"45":1739937599167492096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189074688001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656243013681152,"km_value":21656243013681.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167492096,"description":"Unknown IO ID 45"} 
[2026-09-19 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189074688001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167492096}} 
[2026-09-19 12:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":188147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:52] local.INFO: GPS data processed {"connection_id":188147,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:52] local.INFO: Acknowledgment sent {"connection_id":188147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:53] local.INFO: TCP Data received {"connection_id":186744,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:53] local.INFO: Processing buffer {"connection_id":186744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:30:53] local.INFO: Packet analysis {"connection_id":186744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:53] local.INFO: Extracted packet for processing {"connection_id":186744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30: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-19 12:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":186744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:53] local.INFO: GPS data processed {"connection_id":186744,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:53] local.INFO: Acknowledgment sent {"connection_id":186744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:30:54] local.INFO: TCP Data received {"connection_id":186866,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8763248012c871840081033d0000e015a2b..."} 
[2026-09-19 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8763248012c871840081033d0000e015a2b..."} 
[2026-09-19 12:30:54] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8763248012c871840081033d0000e015a2b..."} 
[2026-09-19 12:30:54] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:54] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":747051072,"raw_latitude":135279568,"longitude_deg":74.7051072,"latitude_deg":13.5279568,"altitude":14,"angle":346,"satellites":43,"speed":41,"hex_longitude":"2c871840","hex_latitude":"081033d0","is_valid_coordinates":true} 
[2026-09-19 12:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189091840001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":648492817055744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8709609800984322048,"note":"Value kept but may cause issues"} 
[2026-09-19 12:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789801149000,"timestamp_ms":1789801149000,"timestamp_seconds":1789801149,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8763248"} 
[2026-09-19 12:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:30:54] 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-19 12:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189091840001,"66":28332,"217":206,"9":53760,"24":41,"16":648492817055744,"44":-8709609800984322048},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 12:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189091840001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:30:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 12:30:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":648492817055744,"km_value":648492817055.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8709609800984322048,"description":"Unknown IO ID 44"} 
[2026-09-19 12:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189091840001,"power":28332,"unknown_217":206,"unknown_9":53760,"ignition":41,"odometer":null,"unknown_44":-8709609800984322048}} 
[2026-09-19 12:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:30:54] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:30:54] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:07] local.INFO: TCP Data received {"connection_id":188148,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:07] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:07] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:31:09] local.INFO: TCP Data received {"connection_id":188148,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:09] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:09] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:31:09] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:09] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:09] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:31:15] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:15] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:31:15] local.INFO: IMEI packet received {"connection_id":186745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":186745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:31:15] local.INFO: TCP Data received {"connection_id":188148,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:15] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:31:15] local.INFO: IMEI packet received {"connection_id":188148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":188148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:31:16] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:16] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:16] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:16] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31: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-19 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31: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-19 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:31:16] 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-19 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:16] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:16] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:17] local.INFO: TCP Data received {"connection_id":188148,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8765570012c871080081057a0000e015e2b..."} 
[2026-09-19 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8765570012c871080081057a0000e015e2b..."} 
[2026-09-19 12:31:17] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8765570012c871080081057a0000e015e2b..."} 
[2026-09-19 12:31:17] local.INFO: Packet analysis {"connection_id":188148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:17] local.INFO: Extracted packet for processing {"connection_id":188148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":747049088,"raw_latitude":135288736,"longitude_deg":74.7049088,"latitude_deg":13.5288736,"altitude":14,"angle":350,"satellites":43,"speed":43,"hex_longitude":"2c871080","hex_latitude":"081057a0","is_valid_coordinates":true} 
[2026-09-19 12:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189094144001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":648948083589120,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8712143075772477440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789801158000,"timestamp_ms":1789801158000,"timestamp_seconds":1789801158,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8765570"} 
[2026-09-19 12:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:31:17] 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-19 12:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189094144001,"66":28343,"217":206,"9":53760,"24":43,"16":648948083589120,"44":-8712143075772477440},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-19 12:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189094144001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 12:31:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":648948083589120,"km_value":648948083589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8712143075772477440,"description":"Unknown IO ID 44"} 
[2026-09-19 12:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189094144001,"power":28343,"unknown_217":206,"unknown_9":53760,"ignition":43,"odometer":null,"unknown_44":-8712143075772477440}} 
[2026-09-19 12:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":188148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:17] local.INFO: GPS data processed {"connection_id":188148,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:17] local.INFO: Acknowledgment sent {"connection_id":188148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:23] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b875ad78012d1825800721b970004c001d2b..."} 
[2026-09-19 12:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b875ad78012d1825800721b970004c001d2b..."} 
[2026-09-19 12:31:23] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b875ad78012d1825800721b970004c001d2b..."} 
[2026-09-19 12:31:23] local.INFO: Packet analysis {"connection_id":188147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:31:23] local.INFO: Extracted packet for processing {"connection_id":188147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650672,"longitude_deg":75.6557184,"latitude_deg":11.9650672,"altitude":76,"angle":29,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b970","is_valid_coordinates":true} 
[2026-09-19 12:31: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-19 12:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189080064001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656243013681152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167492096,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:23] local.INFO: IO Element Parsed {"io_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-19 12:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801115000,"timestamp_ms":1789801115000,"timestamp_seconds":1789801115,"priority":1,"record_length":96,"hex_timestamp":"000001a0b875ad78"} 
[2026-09-19 12:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31:23] 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-19 12:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 12:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:31: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-19 12:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:31:23] 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-19 12:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189080064001,"66":13135,"105":206,"83":41984,"24":0,"16":21656243013681152,"45":1739937599167492096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189080064001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656243013681152,"km_value":21656243013681.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167492096,"description":"Unknown IO ID 45"} 
[2026-09-19 12:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189080064001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167492096}} 
[2026-09-19 12:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":188147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:23] local.INFO: GPS data processed {"connection_id":188147,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:23] local.INFO: Acknowledgment sent {"connection_id":188147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:46] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:46] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:46] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:31:48] local.INFO: TCP Data received {"connection_id":186745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:48] local.INFO: Processing buffer {"connection_id":186745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:31:48] local.INFO: Packet analysis {"connection_id":186745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:48] local.INFO: Extracted packet for processing {"connection_id":186745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31: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-19 12:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31: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-19 12:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:31: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-19 12:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:31: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-19 12:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":186745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:48] local.INFO: GPS data processed {"connection_id":186745,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:48] local.INFO: Acknowledgment sent {"connection_id":186745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:49] local.INFO: TCP Data received {"connection_id":188148,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b877bcd0012c86b8c0081243000008015e2a..."} 
[2026-09-19 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b877bcd0012c86b8c0081243000008015e2a..."} 
[2026-09-19 12:31:49] local.INFO: Processing buffer {"connection_id":188148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b877bcd0012c86b8c0081243000008015e2a..."} 
[2026-09-19 12:31:49] local.INFO: Packet analysis {"connection_id":188148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:31:49] local.INFO: Extracted packet for processing {"connection_id":188148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:31:49] local.INFO: GPS Element Parsed {"raw_longitude":747026624,"raw_latitude":135414528,"longitude_deg":74.7026624,"latitude_deg":13.5414528,"altitude":8,"angle":350,"satellites":42,"speed":56,"hex_longitude":"2c86b8c0","hex_latitude":"08124300","is_valid_coordinates":true} 
[2026-09-19 12:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189118208001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":655141426429952,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8737405454900252672,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789801250000,"timestamp_ms":1789801250000,"timestamp_seconds":1789801250,"priority":1,"record_length":96,"hex_timestamp":"000001a0b877bcd0"} 
[2026-09-19 12:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:31:49] 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-19 12:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189118208001,"66":28398,"215":206,"9":53760,"24":56,"16":655141426429952,"44":-8737405454900252672},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189118208001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:49] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:31:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":655141426429952,"km_value":655141426429.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8737405454900252672,"description":"Unknown IO ID 44"} 
[2026-09-19 12:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189118208001,"power":28398,"unknown_215":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":-8737405454900252672}} 
[2026-09-19 12:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":188148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:49] local.INFO: GPS data processed {"connection_id":188148,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:49] local.INFO: Acknowledgment sent {"connection_id":188148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:31:51] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:51] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:31:51] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:31:51] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b875ff80012d1824400721b910004a001d2a..."} 
[2026-09-19 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b875ff80012d1824400721b910004a001d2a..."} 
[2026-09-19 12:31:51] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b875ff80012d1824400721b910004a001d2a..."} 
[2026-09-19 12:31:51] local.INFO: Packet analysis {"connection_id":188149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:31:51] local.INFO: Extracted packet for processing {"connection_id":188149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b875"} 
[2026-09-19 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":42,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189085440001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167492096,"note":"Value kept but may cause issues"} 
[2026-09-19 12:31:51] local.INFO: IO Element Parsed {"io_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-19 12:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801136000,"timestamp_ms":1789801136000,"timestamp_seconds":1789801136,"priority":1,"record_length":96,"hex_timestamp":"000001a0b875ff80"} 
[2026-09-19 12:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:31:51] 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-19 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 12:31:51] 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-19 12:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:31:51] 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-19 12:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189085440001,"66":13080,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739937599167492096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189085440001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:31:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167492096,"description":"Unknown IO ID 45"} 
[2026-09-19 12:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189085440001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167492096}} 
[2026-09-19 12:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":188149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:31:52] local.INFO: GPS data processed {"connection_id":188149,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:31:52] local.INFO: Acknowledgment sent {"connection_id":188149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:09] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:09] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:09] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:32:10] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:10] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:10] local.INFO: IMEI packet received {"connection_id":186746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":186746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:32:11] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:11] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:11] local.INFO: IMEI packet received {"connection_id":186746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":186746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:32:14] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:14] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:32:14] local.INFO: IMEI packet received {"connection_id":186746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:32:14] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:14] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:32:14] local.INFO: IMEI packet received {"connection_id":186747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:32:16] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:16] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:16] local.INFO: Packet analysis {"connection_id":186747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:16] local.INFO: Extracted packet for processing {"connection_id":186747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12: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-19 12:32: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-19 12: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:32: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-19 12:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:16] local.INFO: GPS data processed {"connection_id":186747,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:16] local.INFO: Acknowledgment sent {"connection_id":186747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:18] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b877d828012c86b340081267c0000801602a..."} 
[2026-09-19 12:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b877d828012c86b340081267c0000801602a..."} 
[2026-09-19 12:32:18] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b877d828012c86b340081267c0000801602a..."} 
[2026-09-19 12:32:18] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:32:18] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":747025216,"raw_latitude":135423936,"longitude_deg":74.7025216,"latitude_deg":13.5423936,"altitude":8,"angle":352,"satellites":42,"speed":52,"hex_longitude":"2c86b340","hex_latitude":"081267c0","is_valid_coordinates":true} 
[2026-09-19 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189120000001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":655600987930624,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8739023936013795328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789801257000,"timestamp_ms":1789801257000,"timestamp_seconds":1789801257,"priority":1,"record_length":96,"hex_timestamp":"000001a0b877d828"} 
[2026-09-19 12:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:18] 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-19 12:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189120000001,"66":28300,"215":206,"9":53760,"24":52,"16":655600987930624,"44":-8739023936013795328},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189120000001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:32:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":655600987930624,"km_value":655600987930.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8739023936013795328,"description":"Unknown IO ID 44"} 
[2026-09-19 12:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189120000001,"power":28300,"unknown_215":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8739023936013795328}} 
[2026-09-19 12:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:18] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:18] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:19] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b877f380012c86af8008128ac0000801632b..."} 
[2026-09-19 12:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b877f380012c86af8008128ac0000801632b..."} 
[2026-09-19 12:32:19] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b877f380012c86af8008128ac0000801632b..."} 
[2026-09-19 12:32:19] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:32:19] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:32:19] local.INFO: GPS Element Parsed {"raw_longitude":747024256,"raw_latitude":135432896,"longitude_deg":74.7024256,"latitude_deg":13.5432896,"altitude":8,"angle":355,"satellites":43,"speed":50,"hex_longitude":"2c86af80","hex_latitude":"08128ac0","is_valid_coordinates":true} 
[2026-09-19 12:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189121792001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":656039074594816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8740572048383295488,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789801264000,"timestamp_ms":1789801264000,"timestamp_seconds":1789801264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b877f380"} 
[2026-09-19 12:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:32: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-19 12:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189121792001,"66":28419,"215":206,"9":53760,"24":50,"16":656039074594816,"44":-8740572048383295488},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189121792001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:19] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:32:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":656039074594816,"km_value":656039074594.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8740572048383295488,"description":"Unknown IO ID 44"} 
[2026-09-19 12:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189121792001,"power":28419,"unknown_215":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":-8740572048383295488}} 
[2026-09-19 12:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:19] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:19] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:20] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8780ed8012c86ac000812ae10000901632c..."} 
[2026-09-19 12:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8780ed8012c86ac000812ae10000901632c..."} 
[2026-09-19 12:32:20] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8780ed8012c86ac000812ae10000901632c..."} 
[2026-09-19 12:32:20] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:32:20] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:32:20] local.INFO: GPS Element Parsed {"raw_longitude":747023360,"raw_latitude":135441936,"longitude_deg":74.702336,"latitude_deg":13.5441936,"altitude":9,"angle":355,"satellites":44,"speed":52,"hex_longitude":"2c86ac00","hex_latitude":"0812ae10","is_valid_coordinates":true} 
[2026-09-19 12:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189123584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":656477161259008,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8741627579543666688,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801271000,"timestamp_ms":1789801271000,"timestamp_seconds":1789801271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8780ed8"} 
[2026-09-19 12:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:32: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-19 12:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189123584001,"66":28398,"215":206,"9":53760,"24":52,"16":656477161259008,"44":-8741627579543666688},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189123584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:20] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:32:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":656477161259008,"km_value":656477161259.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8741627579543666688,"description":"Unknown IO ID 44"} 
[2026-09-19 12:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189123584001,"power":28398,"unknown_215":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8741627579543666688}} 
[2026-09-19 12:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:20] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:20] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:22] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8765188012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8765188012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:22] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8765188012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:22] local.INFO: Packet analysis {"connection_id":188149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:22] local.INFO: Extracted packet for processing {"connection_id":188149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:32: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-19 12:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189090816001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:22] local.INFO: IO Element Parsed {"io_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-19 12:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801157000,"timestamp_ms":1789801157000,"timestamp_seconds":1789801157,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8765188"} 
[2026-09-19 12:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:22] 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-19 12:32: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-19 12:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:32:22] 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-19 12:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189090816001,"66":13048,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189090816001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189090816001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":188149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:23] local.INFO: GPS data processed {"connection_id":188149,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:23] local.INFO: Acknowledgment sent {"connection_id":188149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:46] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:46] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:46] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:32:48] local.INFO: TCP Data received {"connection_id":186747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:48] local.INFO: Processing buffer {"connection_id":186747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:32:48] local.INFO: Packet analysis {"connection_id":186747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:48] local.INFO: Extracted packet for processing {"connection_id":186747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32: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-19 12:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12: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-19 12: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-19 12: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-19 12: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-19 12: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-19 12: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-19 12:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:32: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-19 12:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:48] local.INFO: GPS data processed {"connection_id":186747,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:48] local.INFO: Acknowledgment sent {"connection_id":186747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:51] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:51] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:32:51] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:32:51] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876a390012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876a390012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:51] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876a390012d1824400721b910004a001d2d..."} 
[2026-09-19 12:32:51] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:51] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189096192001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:51] local.INFO: IO Element Parsed {"io_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-19 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801178000,"timestamp_ms":1789801178000,"timestamp_seconds":1789801178,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876a390"} 
[2026-09-19 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:32:51] 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-19 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189096192001,"66":13015,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189096192001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189096192001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:52] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:52] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:32:52] local.INFO: TCP Data received {"connection_id":186746,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8782a30012c86a9c00812d270000901632c..."} 
[2026-09-19 12:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8782a30012c86a9c00812d270000901632c..."} 
[2026-09-19 12:32:52] local.INFO: Processing buffer {"connection_id":186746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8782a30012c86a9c00812d270000901632c..."} 
[2026-09-19 12:32:52] local.INFO: Packet analysis {"connection_id":186746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:32:52] local.INFO: Extracted packet for processing {"connection_id":186746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":747022784,"raw_latitude":135451248,"longitude_deg":74.7022784,"latitude_deg":13.5451248,"altitude":9,"angle":355,"satellites":44,"speed":54,"hex_longitude":"2c86a9c0","hex_latitude":"0812d270","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189125376001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":656932427792384,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8742612741959839744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801278000,"timestamp_ms":1789801278000,"timestamp_seconds":1789801278,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8782a30"} 
[2026-09-19 12: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-19 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:32:52] 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-19 12: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-19 12: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-19 12:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189125376001,"66":28452,"215":206,"9":53760,"24":54,"16":656932427792384,"44":-8742612741959839744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189125376001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:32:52] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:32:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":656932427792384,"km_value":656932427792.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8742612741959839744,"description":"Unknown IO ID 44"} 
[2026-09-19 12:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189125376001,"power":28452,"unknown_215":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":-8742612741959839744}} 
[2026-09-19 12:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:32:52] local.INFO: GPS data processed {"connection_id":186746,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:32:52] local.INFO: Acknowledgment sent {"connection_id":186746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:08] local.INFO: TCP Data received {"connection_id":189477,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:08] local.INFO: Processing buffer {"connection_id":189477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:08] local.INFO: IMEI packet received {"connection_id":189477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":189477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:33:09] local.INFO: TCP Data received {"connection_id":189477,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:09] local.INFO: Processing buffer {"connection_id":189477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:09] local.INFO: IMEI packet received {"connection_id":189477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":189477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:33:09] local.INFO: TCP Data received {"connection_id":189478,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:09] local.INFO: Processing buffer {"connection_id":189478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:09] local.INFO: IMEI packet received {"connection_id":189478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":189478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:33:14] local.INFO: TCP Data received {"connection_id":189478,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:14] local.INFO: Processing buffer {"connection_id":189478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:33:14] local.INFO: IMEI packet received {"connection_id":189478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":189478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:33:14] local.INFO: TCP Data received {"connection_id":189477,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:14] local.INFO: Processing buffer {"connection_id":189477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:33:14] local.INFO: IMEI packet received {"connection_id":189477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":189477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:33:15] local.INFO: TCP Data received {"connection_id":189478,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:15] local.INFO: Processing buffer {"connection_id":189478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:15] local.INFO: Packet analysis {"connection_id":189478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:15] local.INFO: Extracted packet for processing {"connection_id":189478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33: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-19 12:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:33: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-19 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:33: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-19 12:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:33: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-19 12:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":189478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:15] local.INFO: GPS data processed {"connection_id":189478,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:15] local.INFO: Acknowledgment sent {"connection_id":189478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:16] local.INFO: TCP Data received {"connection_id":189477,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8784588012c86a4c00812f8500008015f2c..."} 
[2026-09-19 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8784588012c86a4c00812f8500008015f2c..."} 
[2026-09-19 12:33:16] local.INFO: Processing buffer {"connection_id":189477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8784588012c86a4c00812f8500008015f2c..."} 
[2026-09-19 12:33:16] local.INFO: Packet analysis {"connection_id":189477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:33:16] local.INFO: Extracted packet for processing {"connection_id":189477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":747021504,"raw_latitude":135460944,"longitude_deg":74.7021504,"latitude_deg":13.5460944,"altitude":8,"angle":351,"satellites":44,"speed":56,"hex_longitude":"2c86a4c0","hex_latitude":"0812f850","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189127168001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":657404874194944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8743246060655054848,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801285000,"timestamp_ms":1789801285000,"timestamp_seconds":1789801285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8784588"} 
[2026-09-19 12: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-19 12:33: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-19 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 12:33:16] 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-19 12: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-19 12: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-19 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189127168001,"66":28398,"215":206,"9":53760,"24":56,"16":657404874194944,"44":-8743246060655054848},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189127168001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:16] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:33:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":657404874194944,"km_value":657404874194.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8743246060655054848,"description":"Unknown IO ID 44"} 
[2026-09-19 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189127168001,"power":28398,"unknown_215":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":-8743246060655054848}} 
[2026-09-19 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":189477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:17] local.INFO: GPS data processed {"connection_id":189477,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:17] local.INFO: Acknowledgment sent {"connection_id":189477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:23] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876f598012d1824400721b910004a001d2c..."} 
[2026-09-19 12:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876f598012d1824400721b910004a001d2c..."} 
[2026-09-19 12:33:23] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876f598012d1824400721b910004a001d2c..."} 
[2026-09-19 12:33:23] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:23] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189101568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:23] local.INFO: IO Element Parsed {"io_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-19 12:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801199000,"timestamp_ms":1789801199000,"timestamp_seconds":1789801199,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876f598"} 
[2026-09-19 12:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:33:23] 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-19 12:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 12:33:23] 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-19 12:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:33:23] 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-19 12:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189101568001,"66":12993,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189101568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189101568001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:23] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:23] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:47] local.INFO: TCP Data received {"connection_id":189478,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:47] local.INFO: Processing buffer {"connection_id":189478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:33:47] local.INFO: Packet analysis {"connection_id":189478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:47] local.INFO: Extracted packet for processing {"connection_id":189478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33: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-19 12:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12: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-19 12:33: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-19 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:33: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-19 12: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-19 12: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-19 12:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:33: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-19 12:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":189478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:47] local.INFO: GPS data processed {"connection_id":189478,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:47] local.INFO: Acknowledgment sent {"connection_id":189478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:48] local.INFO: TCP Data received {"connection_id":189477,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87860e0012c869dc008131f200009015c2b..."} 
[2026-09-19 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87860e0012c869dc008131f200009015c2b..."} 
[2026-09-19 12:33:48] local.INFO: Processing buffer {"connection_id":189477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87860e0012c869dc008131f200009015c2b..."} 
[2026-09-19 12:33:48] local.INFO: Packet analysis {"connection_id":189477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:33:48] local.INFO: Extracted packet for processing {"connection_id":189477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":747019712,"raw_latitude":135470880,"longitude_deg":74.7019712,"latitude_deg":13.547088,"altitude":9,"angle":348,"satellites":43,"speed":57,"hex_longitude":"2c869dc0","hex_latitude":"08131f20","is_valid_coordinates":true} 
[2026-09-19 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189128960001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":657894500466688,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8744653435536125952,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801292000,"timestamp_ms":1789801292000,"timestamp_seconds":1789801292,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87860e0"} 
[2026-09-19 12:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:33: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-19 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:33:48] 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-19 12:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189128960001,"66":28376,"215":206,"9":53760,"24":57,"16":657894500466688,"44":-8744653435536125952},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-19 12:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189128960001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:48] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-19 12:33:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":657894500466688,"km_value":657894500466.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8744653435536125952,"description":"Unknown IO ID 44"} 
[2026-09-19 12:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189128960001,"power":28376,"unknown_215":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":-8744653435536125952}} 
[2026-09-19 12:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":189477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:48] local.INFO: GPS data processed {"connection_id":189477,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:48] local.INFO: Acknowledgment sent {"connection_id":189477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:33:51] local.INFO: TCP Data received {"connection_id":189479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:51] local.INFO: Processing buffer {"connection_id":189479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:51] local.INFO: IMEI packet received {"connection_id":189479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":189479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:33:56] local.INFO: TCP Data received {"connection_id":189479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:56] local.INFO: Processing buffer {"connection_id":189479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:33:56] local.INFO: IMEI packet received {"connection_id":189479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":189479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:33:57] local.INFO: TCP Data received {"connection_id":189479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87747a0012d1824400721b910004a001d29..."} 
[2026-09-19 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87747a0012d1824400721b910004a001d29..."} 
[2026-09-19 12:33:57] local.INFO: Processing buffer {"connection_id":189479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87747a0012d1824400721b910004a001d29..."} 
[2026-09-19 12:33:57] local.INFO: Packet analysis {"connection_id":189479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:33:57] local.INFO: Extracted packet for processing {"connection_id":189479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":41,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:33: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-19 12:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189106944001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:33:57] local.INFO: IO Element Parsed {"io_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-19 12:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789801220000,"timestamp_ms":1789801220000,"timestamp_seconds":1789801220,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87747a0"} 
[2026-09-19 12:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 12:33:57] 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-19 12:33: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-19 12:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:33:57] 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-19 12:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189106944001,"66":12972,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189106944001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:33:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189106944001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":189479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:33:57] local.INFO: GPS data processed {"connection_id":189479,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:33:57] local.INFO: Acknowledgment sent {"connection_id":189479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:01] local.INFO: TCP Data received {"connection_id":189479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87799a8012d1824400721b910004a001d2b..."} 
[2026-09-19 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87799a8012d1824400721b910004a001d2b..."} 
[2026-09-19 12:34:01] local.INFO: Processing buffer {"connection_id":189479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87799a8012d1824400721b910004a001d2b..."} 
[2026-09-19 12:34:01] local.INFO: Packet analysis {"connection_id":189479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:34:01] local.INFO: Extracted packet for processing {"connection_id":189479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":43,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189112320001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34: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-19 12:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789801241000,"timestamp_ms":1789801241000,"timestamp_seconds":1789801241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87799a8"} 
[2026-09-19 12: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-19 12:34: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-19 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":189479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":189479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":189479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:34: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-19 12:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189112320001,"66":12950,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189112320001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189112320001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":189479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:02] local.INFO: GPS data processed {"connection_id":189479,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:02] local.INFO: Acknowledgment sent {"connection_id":189479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:09] local.INFO: TCP Data received {"connection_id":186867,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:09] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:09] local.INFO: IMEI packet received {"connection_id":186867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:34:14] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:14] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:14] local.INFO: IMEI packet received {"connection_id":188151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:34:15] local.INFO: TCP Data received {"connection_id":186867,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:15] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:34:15] local.INFO: IMEI packet received {"connection_id":186867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":186867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:34:17] local.INFO: TCP Data received {"connection_id":186867,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b879c840012c867a4008147550000b01662c..."} 
[2026-09-19 12:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b879c840012c867a4008147550000b01662c..."} 
[2026-09-19 12:34:17] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b879c840012c867a4008147550000b01662c..."} 
[2026-09-19 12:34:17] local.INFO: Packet analysis {"connection_id":186867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:34:17] local.INFO: Extracted packet for processing {"connection_id":186867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":747010624,"raw_latitude":135558480,"longitude_deg":74.7010624,"latitude_deg":13.555848,"altitude":11,"angle":358,"satellites":44,"speed":48,"hex_longitude":"2c867a40","hex_latitude":"08147550","is_valid_coordinates":true} 
[2026-09-19 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189152256001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":662172287893504,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756264278302916608,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789801384000,"timestamp_ms":1789801384000,"timestamp_seconds":1789801384,"priority":1,"record_length":96,"hex_timestamp":"000001a0b879c840"} 
[2026-09-19 12:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:17] 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-19 12:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189152256001,"66":28376,"108":206,"9":53760,"24":48,"16":662172287893504,"44":-8756264278302916608},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189152256001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:17] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:34:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":662172287893504,"km_value":662172287893.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8756264278302916608,"description":"Unknown IO ID 44"} 
[2026-09-19 12:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189152256001,"power":28376,"unknown_108":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":-8756264278302916608}} 
[2026-09-19 12:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":186867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:17] local.INFO: GPS data processed {"connection_id":186867,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:17] local.INFO: Acknowledgment sent {"connection_id":186867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:19] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:19] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:34:19] local.INFO: IMEI packet received {"connection_id":188151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:34:21] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:21] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:21] local.INFO: Packet analysis {"connection_id":188151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:34:21] local.INFO: Extracted packet for processing {"connection_id":188151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:34:21] 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-19 12:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":188151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:21] local.INFO: GPS data processed {"connection_id":188151,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:21] local.INFO: Acknowledgment sent {"connection_id":188151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:25] local.INFO: TCP Data received {"connection_id":188151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:25] local.INFO: Processing buffer {"connection_id":188151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:34:25] local.INFO: Packet analysis {"connection_id":188151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:34:25] local.INFO: Extracted packet for processing {"connection_id":188151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:34:25] 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-19 12:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":188151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:25] local.INFO: GPS data processed {"connection_id":188151,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:25] local.INFO: Acknowledgment sent {"connection_id":188151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:46] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:46] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:46] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:34:49] local.INFO: TCP Data received {"connection_id":186867,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b879e780012c86798008149bd0000b01662c..."} 
[2026-09-19 12:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b879e780012c86798008149bd0000b01662c..."} 
[2026-09-19 12:34:49] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b879e780012c86798008149bd0000b01662c..."} 
[2026-09-19 12:34:49] local.INFO: Packet analysis {"connection_id":186867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:34:49] local.INFO: Extracted packet for processing {"connection_id":186867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:34:49] local.INFO: GPS Element Parsed {"raw_longitude":747010432,"raw_latitude":135568336,"longitude_deg":74.7010432,"latitude_deg":13.5568336,"altitude":11,"angle":358,"satellites":44,"speed":49,"hex_longitude":"2c867980","hex_latitude":"08149bd0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189154304001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":662649029263360,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756616122021359616,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789801392000,"timestamp_ms":1789801392000,"timestamp_seconds":1789801392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b879e780"} 
[2026-09-19 12: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-19 12:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:49] 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-19 12: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-19 12: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-19 12:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189154304001,"66":28300,"108":206,"9":53760,"24":49,"16":662649029263360,"44":-8756616122021359616},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189154304001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:49] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:34:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":662649029263360,"km_value":662649029263.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8756616122021359616,"description":"Unknown IO ID 44"} 
[2026-09-19 12:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189154304001,"power":28300,"unknown_108":206,"unknown_9":53760,"ignition":49,"odometer":null,"unknown_44":-8756616122021359616}} 
[2026-09-19 12:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":186867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:49] local.INFO: GPS data processed {"connection_id":186867,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:49] local.INFO: Acknowledgment sent {"connection_id":186867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:34:49] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:49] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:34:49] local.INFO: IMEI packet received {"connection_id":186748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":186748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:34:50] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b877ebb0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b877ebb0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:34:50] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b877ebb0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:34:50] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:34:50] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b877"} 
[2026-09-19 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:34: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-19 12:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189117696001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:34:50] local.INFO: IO Element Parsed {"io_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-19 12:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789801262000,"timestamp_ms":1789801262000,"timestamp_seconds":1789801262,"priority":1,"record_length":96,"hex_timestamp":"000001a0b877ebb0"} 
[2026-09-19 12:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:34:50] 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-19 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 12:34:50] 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-19 12:34: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-19 12:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:34:50] 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-19 12:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189117696001,"66":12950,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189117696001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:34:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189117696001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:34:50] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:34:50] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:09] local.INFO: TCP Data received {"connection_id":189480,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:09] local.INFO: Processing buffer {"connection_id":189480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:09] local.INFO: IMEI packet received {"connection_id":189480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:35:09] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:09] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:09] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:35:14] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:14] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:35:14] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:35:14] local.INFO: TCP Data received {"connection_id":189480,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:14] local.INFO: Processing buffer {"connection_id":189480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:35:14] local.INFO: IMEI packet received {"connection_id":189480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":189480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:35:15] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:35:15] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b876fd68012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:35:15] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:35:15] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b876"} 
[2026-09-19 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189030400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35: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-19 12:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801201000,"timestamp_ms":1789801201000,"timestamp_seconds":1789801201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b876fd68"} 
[2026-09-19 12: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-19 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 12:35: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-19 12: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-19 12: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-19 12:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:35: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-19 12:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189030400001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189030400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189030400001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:15] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:15] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:16] local.INFO: TCP Data received {"connection_id":189480,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87a06c0012c8678400814c290000a01662c..."} 
[2026-09-19 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87a06c0012c8678400814c290000a01662c..."} 
[2026-09-19 12:35:16] local.INFO: Processing buffer {"connection_id":189480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87a06c0012c8678400814c290000a01662c..."} 
[2026-09-19 12:35:16] local.INFO: Packet analysis {"connection_id":189480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87a"} 
[2026-09-19 12:35:16] local.INFO: Extracted packet for processing {"connection_id":189480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87a"} 
[2026-09-19 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":747010112,"raw_latitude":135578256,"longitude_deg":74.7010112,"latitude_deg":13.5578256,"altitude":10,"angle":358,"satellites":44,"speed":49,"hex_longitude":"2c867840","hex_latitude":"0814c290","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189156352001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":663130065600512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756827228251369472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801400000,"timestamp_ms":1789801400000,"timestamp_seconds":1789801400,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87a06c0"} 
[2026-09-19 12: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-19 12:35: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-19 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:35: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-19 12: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-19 12: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-19 12:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189156352001,"66":28267,"108":206,"9":53760,"24":49,"16":663130065600512,"44":-8756827228251369472},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-19 12:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189156352001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:16] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-19 12:35:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":663130065600512,"km_value":663130065600.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8756827228251369472,"description":"Unknown IO ID 44"} 
[2026-09-19 12:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189156352001,"power":28267,"unknown_108":206,"unknown_9":53760,"ignition":49,"odometer":null,"unknown_44":-8756827228251369472}} 
[2026-09-19 12:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":189480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:16] local.INFO: GPS data processed {"connection_id":189480,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:16] local.INFO: Acknowledgment sent {"connection_id":189480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:21] local.INFO: TCP Data received {"connection_id":186748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8783db8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8783db8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:35:21] local.INFO: Processing buffer {"connection_id":186748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8783db8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:35:21] local.INFO: Packet analysis {"connection_id":186748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:35:21] local.INFO: Extracted packet for processing {"connection_id":186748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":42,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:35: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-19 12:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189123072001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:21] local.INFO: IO Element Parsed {"io_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-19 12:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789801283000,"timestamp_ms":1789801283000,"timestamp_seconds":1789801283,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8783db8"} 
[2026-09-19 12:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:35: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 12:35:21] 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-19 12:35: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-19 12:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:35:21] 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-19 12:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189123072001,"66":12885,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189123072001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189123072001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":186748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:21] local.INFO: GPS data processed {"connection_id":186748,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:21] local.INFO: Acknowledgment sent {"connection_id":186748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:46] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:46] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:46] local.INFO: IMEI packet received {"connection_id":188153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":188153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:35:48] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:35:48] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:35:48] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:35:48] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35: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-19 12:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12: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-19 12:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:35: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-19 12: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-19 12: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-19 12:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:35: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-19 12:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:48] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:48] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:51] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:51] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:35:51] local.INFO: IMEI packet received {"connection_id":188153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":188153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:35:51] local.INFO: TCP Data received {"connection_id":189480,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b79d8012c8631c008165200000701582b..."} 
[2026-09-19 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b79d8012c8631c008165200000701582b..."} 
[2026-09-19 12:35:51] local.INFO: Processing buffer {"connection_id":189480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b79d8012c8631c008165200000701582b..."} 
[2026-09-19 12:35:51] local.INFO: Packet analysis {"connection_id":189480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:35:51] local.INFO: Extracted packet for processing {"connection_id":189480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":746992064,"raw_latitude":135680512,"longitude_deg":74.6992064,"latitude_deg":13.5680512,"altitude":7,"angle":344,"satellites":43,"speed":44,"hex_longitude":"2c8631c0","hex_latitude":"08165200","is_valid_coordinates":true} 
[2026-09-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189180672001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":668223896813568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8773856464315797504,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801495000,"timestamp_ms":1789801495000,"timestamp_seconds":1789801495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b79d8"} 
[2026-09-19 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-19 12:35:51] 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-19 12:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189180672001,"66":28267,"109":206,"9":53760,"24":44,"16":668223896813568,"44":-8773856464315797504},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189180672001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":668223896813568,"km_value":668223896813.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8773856464315797504,"description":"Unknown IO ID 44"} 
[2026-09-19 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189180672001,"power":28267,"unknown_109":206,"unknown_9":53760,"ignition":44,"odometer":null,"unknown_44":-8773856464315797504}} 
[2026-09-19 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":189480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:51] local.INFO: GPS data processed {"connection_id":189480,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:51] local.INFO: Acknowledgment sent {"connection_id":189480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:35:51] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8788fc0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8788fc0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:35:51] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8788fc0012d1824400721b910004a001d2c..."} 
[2026-09-19 12:35:51] local.INFO: Packet analysis {"connection_id":188153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:35:51] local.INFO: Extracted packet for processing {"connection_id":188153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":44,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189128448001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:35:51] local.INFO: IO Element Parsed {"io_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-19 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801304000,"timestamp_ms":1789801304000,"timestamp_seconds":1789801304,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8788fc0"} 
[2026-09-19 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 12:35:51] 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-19 12:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:35:51] 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-19 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189128448001,"66":12885,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189128448001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189128448001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":188153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:35:52] local.INFO: GPS data processed {"connection_id":188153,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:35:52] local.INFO: Acknowledgment sent {"connection_id":188153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:09] local.INFO: TCP Data received {"connection_id":189481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:09] local.INFO: Processing buffer {"connection_id":189481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:09] local.INFO: IMEI packet received {"connection_id":189481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:36:14] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:36:14] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:14] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:36:14] local.INFO: TCP Data received {"connection_id":189481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:14] local.INFO: Processing buffer {"connection_id":189481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:36:14] local.INFO: IMEI packet received {"connection_id":189481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:36:17] local.INFO: TCP Data received {"connection_id":189481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:17] local.INFO: Processing buffer {"connection_id":189481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:17] local.INFO: Packet analysis {"connection_id":189481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:17] local.INFO: Extracted packet for processing {"connection_id":189481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36: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-19 12:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:36:17] 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-19 12:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:36:17] 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-19 12:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":189481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:17] local.INFO: GPS data processed {"connection_id":189481,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:17] local.INFO: Acknowledgment sent {"connection_id":189481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:19] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:19] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:36:19] local.INFO: IMEI packet received {"connection_id":186749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":186749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:36:22] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":1360,"data_hex":"000000000000030f8e0a000001a0b87b9918012c862b0008167500000801602b..."} 
[2026-09-19 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0b87b9918012c862b0008167500000801602b..."} 
[2026-09-19 12:36:22] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0b87b9918012c862b0008167500000801602b..."} 
[2026-09-19 12:36:22] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:22] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":746990336,"raw_latitude":135689472,"longitude_deg":74.6990336,"latitude_deg":13.5689472,"altitude":8,"angle":352,"satellites":43,"speed":45,"hex_longitude":"2c862b00","hex_latitude":"08167500","is_valid_coordinates":true} 
[2026-09-19 12:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189182720001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":668666278445056,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8777023057801641984,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801503000,"timestamp_ms":1789801503000,"timestamp_seconds":1789801503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9918"} 
[2026-09-19 12:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:36:22] 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-19 12:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189182720001,"66":28267,"109":206,"9":53760,"24":45,"16":668666278445056,"44":-8777023057801641984},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189182720001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":668666278445056,"km_value":668666278445.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8777023057801641984,"description":"Unknown IO ID 44"} 
[2026-09-19 12:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189182720001,"power":28267,"unknown_109":206,"unknown_9":53760,"ignition":45,"odometer":null,"unknown_44":-8777023057801641984}} 
[2026-09-19 12:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:22] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:22] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:22] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":186749,"needed":795,"available":565} 
[2026-09-19 12:36:22] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b878e1c8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b878e1c8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:22] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b878e1c8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:22] local.INFO: Packet analysis {"connection_id":188153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:36:22] local.INFO: Extracted packet for processing {"connection_id":188153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b878"} 
[2026-09-19 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":42,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189133824001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:22] local.INFO: IO Element Parsed {"io_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-19 12:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801325000,"timestamp_ms":1789801325000,"timestamp_seconds":1789801325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b878e1c8"} 
[2026-09-19 12:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 12:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:36:22] 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-19 12:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189133824001,"66":12852,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189133824001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189133824001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":188153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:22] local.INFO: GPS data processed {"connection_id":188153,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:22] local.INFO: Acknowledgment sent {"connection_id":188153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:23] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":230,"data_hex":"2c866e800815a6d0000d015b2b00330000000a000400ef0100715700f0010045..."} 
[2026-09-19 12:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":230,"packet_hex":"2c866e800815a6d0000d015b2b00330000000a000400ef0100715700f0010045..."} 
[2026-09-19 12:36:23] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87bb858012c86258008169840000a015d2d..."} 
[2026-09-19 12:36:23] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:23] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:23] local.INFO: GPS Element Parsed {"raw_longitude":746988928,"raw_latitude":135698496,"longitude_deg":74.6988928,"latitude_deg":13.5698496,"altitude":10,"angle":349,"satellites":45,"speed":45,"hex_longitude":"2c862580","hex_latitude":"08169840","is_valid_coordinates":true} 
[2026-09-19 12:36: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-19 12:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184768001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":669108660076544,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8778923013892145152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801511000,"timestamp_ms":1789801511000,"timestamp_seconds":1789801511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87bb858"} 
[2026-09-19 12:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:36: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-19 12:36: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-19 12:36: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-19 12:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184768001,"66":28376,"109":206,"9":53760,"24":45,"16":669108660076544,"44":-8778923013892145152},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184768001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:36:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":669108660076544,"km_value":669108660076.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8778923013892145152,"description":"Unknown IO ID 44"} 
[2026-09-19 12:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184768001,"power":28376,"unknown_109":206,"unknown_9":53760,"ignition":45,"odometer":null,"unknown_44":-8778923013892145152}} 
[2026-09-19 12:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:23] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:23] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:24] local.INFO: TCP Data received {"connection_id":186749,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87bd798012c861dc00816bb80000a01592c..."} 
[2026-09-19 12:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87bd798012c861dc00816bb80000a01592c..."} 
[2026-09-19 12:36:24] local.INFO: Processing buffer {"connection_id":186749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87bd798012c861dc00816bb80000a01592c..."} 
[2026-09-19 12:36:24] local.INFO: Packet analysis {"connection_id":186749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:24] local.INFO: Extracted packet for processing {"connection_id":186749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":746986944,"raw_latitude":135707520,"longitude_deg":74.6986944,"latitude_deg":13.570752,"altitude":10,"angle":345,"satellites":44,"speed":46,"hex_longitude":"2c861dc0","hex_latitude":"0816bb80","is_valid_coordinates":true} 
[2026-09-19 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189186816001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":669555336675328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8780471126261743616,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789801519000,"timestamp_ms":1789801519000,"timestamp_seconds":1789801519,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87bd798"} 
[2026-09-19 12:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:36:24] 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-19 12:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189186816001,"66":27984,"109":206,"9":53760,"24":46,"16":669555336675328,"44":-8780471126261743616},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189186816001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:36:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":669555336675328,"km_value":669555336675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8780471126261743616,"description":"Unknown IO ID 44"} 
[2026-09-19 12:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189186816001,"power":27984,"unknown_109":206,"unknown_9":53760,"ignition":46,"odometer":null,"unknown_44":-8780471126261743616}} 
[2026-09-19 12:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":186749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:24] local.INFO: GPS data processed {"connection_id":186749,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:24] local.INFO: Acknowledgment sent {"connection_id":186749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:46] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:46] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:46] local.INFO: IMEI packet received {"connection_id":186750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":186750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:36:48] local.INFO: TCP Data received {"connection_id":189481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:48] local.INFO: Processing buffer {"connection_id":189481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:36:48] local.INFO: Packet analysis {"connection_id":189481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:48] local.INFO: Extracted packet for processing {"connection_id":189481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:36: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-19 12:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:36: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-19 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":189481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:48] local.INFO: GPS data processed {"connection_id":189481,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:48] local.INFO: Acknowledgment sent {"connection_id":189481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:36:51] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:51] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:36:51] local.INFO: IMEI packet received {"connection_id":186750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":186750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:36:52] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87933d0012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87933d0012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:52] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87933d0012d1824400721b910004a001d2a..."} 
[2026-09-19 12:36:52] local.INFO: Packet analysis {"connection_id":186750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:36:52] local.INFO: Extracted packet for processing {"connection_id":186750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":42,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189139200001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:36:52] local.INFO: IO Element Parsed {"io_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-19 12:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801346000,"timestamp_ms":1789801346000,"timestamp_seconds":1789801346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87933d0"} 
[2026-09-19 12:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:36:52] 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-19 12:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-19 12:36:52] 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-19 12:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:36:52] 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-19 12:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189139200001,"66":12841,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189139200001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:36:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189139200001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":186750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:36:52] local.INFO: GPS data processed {"connection_id":186750,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:36:52] local.INFO: Acknowledgment sent {"connection_id":186750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:09] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:09] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:09] local.INFO: IMEI packet received {"connection_id":186868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:37:12] local.INFO: TCP Data received {"connection_id":186869,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:12] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:12] local.INFO: IMEI packet received {"connection_id":186869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":186869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:37:14] local.INFO: TCP Data received {"connection_id":186869,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:14] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:14] local.INFO: IMEI packet received {"connection_id":186869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:37:14] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:14] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:37:14] local.INFO: IMEI packet received {"connection_id":186868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:37:16] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:16] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:16] local.INFO: Packet analysis {"connection_id":186868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:16] local.INFO: Extracted packet for processing {"connection_id":186868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37: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-19 12:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:16] 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-19 12:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:37: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-19 12:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:16] local.INFO: GPS data processed {"connection_id":186868,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:16] local.INFO: Acknowledgment sent {"connection_id":186868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:19] local.INFO: TCP Data received {"connection_id":186869,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:19] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:37:19] local.INFO: IMEI packet received {"connection_id":186869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":186869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:37:20] local.INFO: TCP Data received {"connection_id":186869,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87bf6d8012c8613800816e000000a01592c..."} 
[2026-09-19 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87bf6d8012c8613800816e000000a01592c..."} 
[2026-09-19 12:37:20] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87bf6d8012c8613800816e000000a01592c..."} 
[2026-09-19 12:37:20] local.INFO: Packet analysis {"connection_id":186869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:20] local.INFO: Extracted packet for processing {"connection_id":186869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:20] local.INFO: GPS Element Parsed {"raw_longitude":746984320,"raw_latitude":135716864,"longitude_deg":74.698432,"latitude_deg":13.5716864,"altitude":10,"angle":345,"satellites":44,"speed":49,"hex_longitude":"2c861380","hex_latitude":"0816e000","is_valid_coordinates":true} 
[2026-09-19 12:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189188864001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":670023488110592,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8782652557328941056,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801527000,"timestamp_ms":1789801527000,"timestamp_seconds":1789801527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87bf6d8"} 
[2026-09-19 12:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189188864001,"66":28354,"109":206,"9":53760,"24":49,"16":670023488110592,"44":-8782652557328941056},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189188864001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:37:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":670023488110592,"km_value":670023488110.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8782652557328941056,"description":"Unknown IO ID 44"} 
[2026-09-19 12:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189188864001,"power":28354,"unknown_109":206,"unknown_9":53760,"ignition":49,"odometer":null,"unknown_44":-8782652557328941056}} 
[2026-09-19 12:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":186869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:21] local.INFO: GPS data processed {"connection_id":186869,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:21] local.INFO: Acknowledgment sent {"connection_id":186869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:23] local.INFO: TCP Data received {"connection_id":186750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87985d8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87985d8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:37:23] local.INFO: Processing buffer {"connection_id":186750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87985d8012d1824400721b910004a001d2a..."} 
[2026-09-19 12:37:23] local.INFO: Packet analysis {"connection_id":186750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:37:23] local.INFO: Extracted packet for processing {"connection_id":186750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b879"} 
[2026-09-19 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650576,"longitude_deg":75.6556864,"latitude_deg":11.9650576,"altitude":74,"angle":29,"satellites":42,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-09-19 12:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189144576001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656260193550336,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446579200,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:23] local.INFO: IO Element Parsed {"io_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-19 12:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801367000,"timestamp_ms":1789801367000,"timestamp_seconds":1789801367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87985d8"} 
[2026-09-19 12:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:37:23] 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-19 12:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:37:23] 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-19 12:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189144576001,"66":12819,"105":206,"83":41984,"24":0,"16":21656260193550336,"45":1739585755446579200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189144576001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656260193550336,"km_value":21656260193550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446579200,"description":"Unknown IO ID 45"} 
[2026-09-19 12:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189144576001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446579200}} 
[2026-09-19 12:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":186750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:23] local.INFO: GPS data processed {"connection_id":186750,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:23] local.INFO: Acknowledgment sent {"connection_id":186750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:45] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:45] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:45] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:37:46] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:46] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:46] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:37:47] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:47] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:37:47] local.INFO: Packet analysis {"connection_id":186868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:47] local.INFO: Extracted packet for processing {"connection_id":186868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12: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-19 12:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:47] 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-19 12: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-19 12: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-19 12:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:37:47] 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-19 12:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":186868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:47] local.INFO: GPS data processed {"connection_id":186868,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:47] local.INFO: Acknowledgment sent {"connection_id":186868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:51] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:51] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:37:51] local.INFO: IMEI packet received {"connection_id":186751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":186751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:37:52] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87cd968012d1822c00721b670004600cb2a..."} 
[2026-09-19 12:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87cd968012d1822c00721b670004600cb2a..."} 
[2026-09-19 12:37:52] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87cd968012d1822c00721b670004600cb2a..."} 
[2026-09-19 12:37:52] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87c"} 
[2026-09-19 12:37:52] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87c"} 
[2026-09-19 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649904,"longitude_deg":75.655648,"latitude_deg":11.9649904,"altitude":70,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-09-19 12:37: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-19 12:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189200384001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656303143223296,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981341184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.INFO: IO Element Parsed {"io_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-19 12:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801585000,"timestamp_ms":1789801585000,"timestamp_seconds":1789801585,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87cd968"} 
[2026-09-19 12:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:37: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:52] 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-19 12:37: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-19 12:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:37:52] 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-19 12:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189200384001,"66":12711,"105":206,"83":41984,"24":0,"16":21656303143223296,"45":1739163542981341184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189200384001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656303143223296,"km_value":21656303143223.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981341184,"description":"Unknown IO ID 45"} 
[2026-09-19 12:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189200384001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981341184}} 
[2026-09-19 12:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:52] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:52] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:37:52] local.INFO: TCP Data received {"connection_id":186869,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87c1618012c860a00081705600009015c2c..."} 
[2026-09-19 12:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87c1618012c860a00081705600009015c2c..."} 
[2026-09-19 12:37:52] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87c1618012c860a00081705600009015c2c..."} 
[2026-09-19 12:37:52] local.INFO: Packet analysis {"connection_id":186869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87c"} 
[2026-09-19 12:37:52] local.INFO: Extracted packet for processing {"connection_id":186869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87c"} 
[2026-09-19 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":746981888,"raw_latitude":135726432,"longitude_deg":74.6981888,"latitude_deg":13.5726432,"altitude":9,"angle":348,"satellites":44,"speed":50,"hex_longitude":"2c860a00","hex_latitude":"08170560","is_valid_coordinates":true} 
[2026-09-19 12:37: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-19 12:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":670504524447744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8785537675837833216,"note":"Value kept but may cause issues"} 
[2026-09-19 12:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801535000,"timestamp_ms":1789801535000,"timestamp_seconds":1789801535,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87c1618"} 
[2026-09-19 12:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:37: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:37:52] 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-19 12:37: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-19 12:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189190912001,"66":28398,"109":206,"9":53760,"24":50,"16":670504524447744,"44":-8785537675837833216},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,9,24,16,44]} 
[2026-09-19 12:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":670504524447744,"km_value":670504524447.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8785537675837833216,"description":"Unknown IO ID 44"} 
[2026-09-19 12:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189190912001,"power":28398,"unknown_109":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":-8785537675837833216}} 
[2026-09-19 12:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":186869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:37:52] local.INFO: GPS data processed {"connection_id":186869,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:37:52] local.INFO: Acknowledgment sent {"connection_id":186869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:09] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:09] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:09] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:38:09] local.INFO: TCP Data received {"connection_id":189482,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:09] local.INFO: Processing buffer {"connection_id":189482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:09] local.INFO: IMEI packet received {"connection_id":189482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":189482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:38:14] local.INFO: TCP Data received {"connection_id":189482,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:14] local.INFO: Processing buffer {"connection_id":189482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:38:14] local.INFO: IMEI packet received {"connection_id":189482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":189482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:38:14] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:14] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:38:14] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:38:15] local.INFO: TCP Data received {"connection_id":189482,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87d7990012c85f90008188740000d00152d..."} 
[2026-09-19 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87d7990012c85f90008188740000d00152d..."} 
[2026-09-19 12:38:15] local.INFO: Processing buffer {"connection_id":189482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87d7990012c85f90008188740000d00152d..."} 
[2026-09-19 12:38:15] local.INFO: Packet analysis {"connection_id":189482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:15] local.INFO: Extracted packet for processing {"connection_id":189482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":746977536,"raw_latitude":135825216,"longitude_deg":74.6977536,"latitude_deg":13.5825216,"altitude":13,"angle":21,"satellites":45,"speed":47,"hex_longitude":"2c85f900","hex_latitude":"08188740","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189214208001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":675409377099776,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8796796674880745472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801626000,"timestamp_ms":1789801626000,"timestamp_seconds":1789801626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87d7990"} 
[2026-09-19 12: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-19 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:38: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-19 12: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-19 12: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-19 12:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189214208001,"66":28354,"158":206,"9":53760,"24":47,"16":675409377099776,"44":-8796796674880745472},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,9,24,16,44]} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189214208001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":675409377099776,"km_value":675409377099.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8796796674880745472,"description":"Unknown IO ID 44"} 
[2026-09-19 12:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189214208001,"power":28354,"unknown_158":206,"unknown_9":53760,"ignition":47,"odometer":null,"unknown_44":-8796796674880745472}} 
[2026-09-19 12:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":189482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:15] local.INFO: GPS data processed {"connection_id":189482,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:15] local.INFO: Acknowledgment sent {"connection_id":189482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:15] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:15] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:15] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:38:15] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38: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-19 12:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12: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-19 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:38: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-19 12: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-19 12: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-19 12:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:38: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-19 12:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:15] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:15] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:23] local.INFO: TCP Data received {"connection_id":186751,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87d2b70012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87d2b70012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:23] local.INFO: Processing buffer {"connection_id":186751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87d2b70012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:23] local.INFO: Packet analysis {"connection_id":186751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:23] local.INFO: Extracted packet for processing {"connection_id":186751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649904,"longitude_deg":75.655648,"latitude_deg":11.9649904,"altitude":70,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-09-19 12:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189205760001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656303143223296,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981341184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:23] local.INFO: IO Element Parsed {"io_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-19 12:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801606000,"timestamp_ms":1789801606000,"timestamp_seconds":1789801606,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87d2b70"} 
[2026-09-19 12:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:38:23] 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-19 12:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 12:38:23] 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-19 12:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:38:23] 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-19 12:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189205760001,"66":12613,"105":206,"83":41984,"24":0,"16":21656303143223296,"45":1739163542981341184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189205760001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656303143223296,"km_value":21656303143223.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981341184,"description":"Unknown IO ID 45"} 
[2026-09-19 12:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189205760001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981341184}} 
[2026-09-19 12:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":186751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:23] local.INFO: GPS data processed {"connection_id":186751,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:23] local.INFO: Acknowledgment sent {"connection_id":186751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:46] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:46] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:46] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:38:47] local.INFO: TCP Data received {"connection_id":189482,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87d98d0012c8607400818ab70000d00162d..."} 
[2026-09-19 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87d98d0012c8607400818ab70000d00162d..."} 
[2026-09-19 12:38:47] local.INFO: Processing buffer {"connection_id":189482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87d98d0012c8607400818ab70000d00162d..."} 
[2026-09-19 12:38:47] local.INFO: Packet analysis {"connection_id":189482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:47] local.INFO: Extracted packet for processing {"connection_id":189482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:47] local.INFO: GPS Element Parsed {"raw_longitude":746981184,"raw_latitude":135834480,"longitude_deg":74.6981184,"latitude_deg":13.583448,"altitude":13,"angle":22,"satellites":45,"speed":50,"hex_longitude":"2c860740","hex_latitude":"0818ab70","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189216256001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":675890413436928,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8792996762692927488,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801634000,"timestamp_ms":1789801634000,"timestamp_seconds":1789801634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87d98d0"} 
[2026-09-19 12: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-19 12:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:38:47] 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-19 12: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-19 12: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-19 12:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189216256001,"66":28398,"158":206,"9":53760,"24":50,"16":675890413436928,"44":-8792996762692927488},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,9,24,16,44]} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189216256001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":675890413436928,"km_value":675890413436.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8792996762692927488,"description":"Unknown IO ID 44"} 
[2026-09-19 12:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189216256001,"power":28398,"unknown_158":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":-8792996762692927488}} 
[2026-09-19 12:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":189482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:47] local.INFO: GPS data processed {"connection_id":189482,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:47] local.INFO: Acknowledgment sent {"connection_id":189482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:47] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:47] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:38:47] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:38:47] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12: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-19 12:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12: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-19 12:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:38:47] 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-19 12: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-19 12: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-19 12:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:38:47] 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-19 12:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:47] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:47] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:38:47] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:47] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:47] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:38:51] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:51] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:38:51] local.INFO: IMEI packet received {"connection_id":186752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":186752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:38:52] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87d7d78012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87d7d78012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:52] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87d7d78012d1822c00721b670004600cb29..."} 
[2026-09-19 12:38:52] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:52] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649904,"longitude_deg":75.655648,"latitude_deg":11.9649904,"altitude":70,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-09-19 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189211136001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656303143223296,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981341184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:38:52] local.INFO: IO Element Parsed {"io_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-19 12:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801627000,"timestamp_ms":1789801627000,"timestamp_seconds":1789801627,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87d7d78"} 
[2026-09-19 12:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 12:38:52] 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-19 12:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:38:52] 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-19 12:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189211136001,"66":12602,"105":206,"83":41984,"24":0,"16":21656303143223296,"45":1739163542981341184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189211136001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:38:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656303143223296,"km_value":21656303143223.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981341184,"description":"Unknown IO ID 45"} 
[2026-09-19 12:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189211136001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981341184}} 
[2026-09-19 12:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:38:52] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:38:52] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:09] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:09] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:09] local.INFO: IMEI packet received {"connection_id":186870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:39:14] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:14] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:14] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:39:14] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:14] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:14] local.INFO: IMEI packet received {"connection_id":186870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:39:15] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:15] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:39:15] local.INFO: IMEI packet received {"connection_id":186870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":186870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:39:16] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87db428012c8614800818cc20000f00132c..."} 
[2026-09-19 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87db428012c8614800818cc20000f00132c..."} 
[2026-09-19 12:39:16] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87db428012c8614800818cc20000f00132c..."} 
[2026-09-19 12:39:16] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:16] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:16] local.INFO: GPS Element Parsed {"raw_longitude":746984576,"raw_latitude":135842848,"longitude_deg":74.6984576,"latitude_deg":13.5842848,"altitude":15,"angle":19,"satellites":44,"speed":49,"hex_longitude":"2c861480","hex_latitude":"0818cc20","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189218304001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":676324205133824,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8788985744272429056,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801641000,"timestamp_ms":1789801641000,"timestamp_seconds":1789801641,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87db428"} 
[2026-09-19 12: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-19 12:39: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-19 12: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":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:39:16] 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-19 12: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-19 12: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-19 12:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189218304001,"66":28354,"230":206,"9":53760,"24":49,"16":676324205133824,"44":-8788985744272429056},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,9,24,16,44]} 
[2026-09-19 12:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189218304001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:16] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-19 12:39:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":676324205133824,"km_value":676324205133.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8788985744272429056,"description":"Unknown IO ID 44"} 
[2026-09-19 12:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189218304001,"power":28354,"unknown_230":206,"unknown_9":53760,"ignition":49,"odometer":null,"unknown_44":-8788985744272429056}} 
[2026-09-19 12:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:16] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:16] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:19] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:19] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:39:19] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:39:20] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:20] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:20] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:20] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":746987200,"raw_latitude":135852448,"longitude_deg":74.69872,"latitude_deg":13.5852448,"altitude":15,"angle":8,"satellites":44,"speed":50,"hex_longitude":"2c861ec0","hex_latitude":"0818f1a0","is_valid_coordinates":true} 
[2026-09-19 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189220096001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":676809536438272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8785256200828870656,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801649000,"timestamp_ms":1789801649000,"timestamp_seconds":1789801649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87dd368"} 
[2026-09-19 12:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:39: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-19 12:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189220096001,"66":28300,"230":206,"9":53760,"24":50,"16":676809536438272,"44":-8785256200828870656},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,9,24,16,44]} 
[2026-09-19 12:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189220096001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:20] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-19 12:39:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":676809536438272,"km_value":676809536438.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8785256200828870656,"description":"Unknown IO ID 44"} 
[2026-09-19 12:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189220096001,"power":28300,"unknown_230":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":-8785256200828870656}} 
[2026-09-19 12:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:20] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:20] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:21] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:21] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:21] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:39:21] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:39:21] 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-19 12:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:39:21] 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-19 12:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:21] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:21] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:23] local.INFO: TCP Data received {"connection_id":186752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87dcb98012d1822800721b5c8004a00db29..."} 
[2026-09-19 12:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87dcb98012d1822800721b5c8004a00db29..."} 
[2026-09-19 12:39:23] local.INFO: Processing buffer {"connection_id":186752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87dcb98012d1822800721b5c8004a00db29..."} 
[2026-09-19 12:39:23] local.INFO: Packet analysis {"connection_id":186752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:23] local.INFO: Extracted packet for processing {"connection_id":186752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649736,"longitude_deg":75.6556416,"latitude_deg":11.9649736,"altitude":74,"angle":219,"satellites":41,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-09-19 12:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189216512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656311733157888,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981341184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:23] local.INFO: IO Element Parsed {"io_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-19 12:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801647000,"timestamp_ms":1789801647000,"timestamp_seconds":1789801647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87dcb98"} 
[2026-09-19 12:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:23] 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-19 12:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-19 12:39:23] 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-19 12:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:39:23] 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-19 12:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189216512001,"66":12678,"105":206,"83":41984,"24":2,"16":21656311733157888,"45":1739163542981341184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189216512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656311733157888,"km_value":21656311733157.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981341184,"description":"Unknown IO ID 45"} 
[2026-09-19 12:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189216512001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981341184}} 
[2026-09-19 12:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:23] local.INFO: GPS data processed {"connection_id":186752,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:23] local.INFO: Acknowledgment sent {"connection_id":186752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:50] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:50] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:50] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:39:51] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:51] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:51] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:39:52] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:52] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87dd368012c861ec00818f1a0000f00082c..."} 
[2026-09-19 12:39:52] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:52] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87d"} 
[2026-09-19 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":746987200,"raw_latitude":135852448,"longitude_deg":74.69872,"latitude_deg":13.5852448,"altitude":15,"angle":8,"satellites":44,"speed":50,"hex_longitude":"2c861ec0","hex_latitude":"0818f1a0","is_valid_coordinates":true} 
[2026-09-19 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189222144001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":676809536438272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8782371082315128832,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801649000,"timestamp_ms":1789801649000,"timestamp_seconds":1789801649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87dd368"} 
[2026-09-19 12:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:39:52] 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-19 12:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189222144001,"66":28300,"230":206,"9":53760,"24":50,"16":676809536438272,"44":-8782371082315128832},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,9,24,16,44]} 
[2026-09-19 12:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189222144001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:52] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-19 12:39:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":676809536438272,"km_value":676809536438.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8782371082315128832,"description":"Unknown IO ID 44"} 
[2026-09-19 12:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189222144001,"power":28300,"unknown_230":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":-8782371082315128832}} 
[2026-09-19 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:52] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:52] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:53] local.INFO: TCP Data received {"connection_id":186871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:53] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:39:53] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:39:53] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:39: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-19 12:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39: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-19 12:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 12:39: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-19 12:39: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-19 12:39: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-19 12:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:39:53] 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-19 12:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:53] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:53] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:39:56] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:56] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:39:56] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:39:57] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87e1da0012d1821400721b400004800d52a..."} 
[2026-09-19 12:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87e1da0012d1821400721b400004800d52a..."} 
[2026-09-19 12:39:57] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87e1da0012d1821400721b400004800d52a..."} 
[2026-09-19 12:39:57] local.INFO: Packet analysis {"connection_id":188155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:39:57] local.INFO: Extracted packet for processing {"connection_id":188155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:39: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-19 12:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189221632001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237120512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:39:57] local.INFO: IO Element Parsed {"io_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-19 12:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789801668000,"timestamp_ms":1789801668000,"timestamp_seconds":1789801668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87e1da0"} 
[2026-09-19 12:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:39:57] 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-19 12:39: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-19 12:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:39:57] 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-19 12:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189221632001,"66":12613,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1739093174237120512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189221632001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:39:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237120512,"description":"Unknown IO ID 45"} 
[2026-09-19 12:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189221632001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237120512}} 
[2026-09-19 12:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":188155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:39:57] local.INFO: GPS data processed {"connection_id":188155,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:39:57] local.INFO: Acknowledgment sent {"connection_id":188155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:01] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87e6fa8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87e6fa8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:01] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87e6fa8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:01] local.INFO: Packet analysis {"connection_id":188155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:40:01] local.INFO: Extracted packet for processing {"connection_id":188155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189227008001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40: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-19 12:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789801689000,"timestamp_ms":1789801689000,"timestamp_seconds":1789801689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87e6fa8"} 
[2026-09-19 12:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12: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-19 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:01] 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-19 12:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40: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-19 12:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189227008001,"66":12645,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189227008001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189227008001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":188155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:01] local.INFO: GPS data processed {"connection_id":188155,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:01] local.INFO: Acknowledgment sent {"connection_id":188155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:09] local.INFO: TCP Data received {"connection_id":188156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:09] local.INFO: Processing buffer {"connection_id":188156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:09] local.INFO: IMEI packet received {"connection_id":188156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:40:14] local.INFO: TCP Data received {"connection_id":189483,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:14] local.INFO: Processing buffer {"connection_id":189483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:14] local.INFO: IMEI packet received {"connection_id":189483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":189483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:40:15] local.INFO: TCP Data received {"connection_id":188156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:15] local.INFO: Processing buffer {"connection_id":188156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:40:15] local.INFO: IMEI packet received {"connection_id":188156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":188156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:40:16] local.INFO: TCP Data received {"connection_id":189483,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:16] local.INFO: Processing buffer {"connection_id":189483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:16] local.INFO: IMEI packet received {"connection_id":189483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":189483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:40:19] local.INFO: TCP Data received {"connection_id":189483,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:19] local.INFO: Processing buffer {"connection_id":189483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:40:19] local.INFO: IMEI packet received {"connection_id":189483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":189483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:40:20] local.INFO: TCP Data received {"connection_id":189483,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87f4298012c85b640081a50c0000d01612b..."} 
[2026-09-19 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87f4298012c85b640081a50c0000d01612b..."} 
[2026-09-19 12:40:20] local.INFO: Processing buffer {"connection_id":189483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87f4298012c85b640081a50c0000d01612b..."} 
[2026-09-19 12:40:20] local.INFO: Packet analysis {"connection_id":189483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:20] local.INFO: Extracted packet for processing {"connection_id":189483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":746960448,"raw_latitude":135942336,"longitude_deg":74.6960448,"latitude_deg":13.5942336,"altitude":13,"angle":353,"satellites":43,"speed":34,"hex_longitude":"2c85b640","hex_latitude":"081a50c0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189243392001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":681469575954432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8809744523779264512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801743000,"timestamp_ms":1789801743000,"timestamp_seconds":1789801743,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87f4298"} 
[2026-09-19 12: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-19 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:20] 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-19 12: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-19 12: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-19 12:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189243392001,"66":28354,"234":206,"9":53760,"24":34,"16":681469575954432,"44":-8809744523779264512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,9,24,16,44]} 
[2026-09-19 12:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189243392001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:20] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-19 12:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":681469575954432,"km_value":681469575954.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8809744523779264512,"description":"Unknown IO ID 44"} 
[2026-09-19 12:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189243392001,"power":28354,"unknown_234":206,"unknown_9":53760,"ignition":34,"odometer":null,"unknown_44":-8809744523779264512}} 
[2026-09-19 12:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":189483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:20] local.INFO: GPS data processed {"connection_id":189483,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:20] local.INFO: Acknowledgment sent {"connection_id":189483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:22] local.INFO: TCP Data received {"connection_id":188156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:40:22] local.INFO: Processing buffer {"connection_id":188156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87b9530012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:40:22] local.INFO: Packet analysis {"connection_id":188156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:40:22] local.INFO: Extracted packet for processing {"connection_id":188156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87b"} 
[2026-09-19 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189107456001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789801502000,"timestamp_ms":1789801502000,"timestamp_seconds":1789801502,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87b9530"} 
[2026-09-19 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:22] 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-19 12:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:40:22] 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-19 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189107456001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189107456001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189107456001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":188156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:22] local.INFO: GPS data processed {"connection_id":188156,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:22] local.INFO: Acknowledgment sent {"connection_id":188156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:26] local.INFO: TCP Data received {"connection_id":189483,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87f69a8012c85b200081a7640000c01622c..."} 
[2026-09-19 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87f69a8012c85b200081a7640000c01622c..."} 
[2026-09-19 12:40:26] local.INFO: Processing buffer {"connection_id":189483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87f69a8012c85b200081a7640000c01622c..."} 
[2026-09-19 12:40:26] local.INFO: Packet analysis {"connection_id":189483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:26] local.INFO: Extracted packet for processing {"connection_id":189483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":746959360,"raw_latitude":135951936,"longitude_deg":74.695936,"latitude_deg":13.5951936,"altitude":12,"angle":354,"satellites":44,"speed":40,"hex_longitude":"2c85b200","hex_latitude":"081a7640","is_valid_coordinates":true} 
[2026-09-19 12:40: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-19 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189246208001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":681937727389696,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8811785217358381056,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789801753000,"timestamp_ms":1789801753000,"timestamp_seconds":1789801753,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87f69a8"} 
[2026-09-19 12:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:40: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":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:26] 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-19 12:40: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-19 12:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189246208001,"66":28398,"234":206,"9":53760,"24":40,"16":681937727389696,"44":-8811785217358381056},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,9,24,16,44]} 
[2026-09-19 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189246208001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:26] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-19 12:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":681937727389696,"km_value":681937727389.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8811785217358381056,"description":"Unknown IO ID 44"} 
[2026-09-19 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189246208001,"power":28398,"unknown_234":206,"unknown_9":53760,"ignition":40,"odometer":null,"unknown_44":-8811785217358381056}} 
[2026-09-19 12:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":189483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:26] local.INFO: GPS data processed {"connection_id":189483,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:26] local.INFO: Acknowledgment sent {"connection_id":189483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:46] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:46] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:46] local.INFO: IMEI packet received {"connection_id":188157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":188157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:40:51] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:51] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:40:51] local.INFO: IMEI packet received {"connection_id":188157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":188157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:40:52] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87ec1b0012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87ec1b0012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:52] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87ec1b0012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:52] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:40:52] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87e"} 
[2026-09-19 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189232384001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:52] local.INFO: IO Element Parsed {"io_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-19 12:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801710000,"timestamp_ms":1789801710000,"timestamp_seconds":1789801710,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87ec1b0"} 
[2026-09-19 12:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:52] 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-19 12:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40:52] 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-19 12:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189232384001,"66":12645,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189232384001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189232384001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:52] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:52] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:40:53] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87f13b8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87f13b8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:53] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87f13b8012d1821400721b400004800d52a..."} 
[2026-09-19 12:40:53] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:53] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189237760001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:40:53] local.INFO: IO Element Parsed {"io_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-19 12:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789801731000,"timestamp_ms":1789801731000,"timestamp_seconds":1789801731,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87f13b8"} 
[2026-09-19 12:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 12:40:53] 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-19 12:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:40:53] 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-19 12:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189237760001,"66":12667,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189237760001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:40:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189237760001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:40:53] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:40:53] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:09] local.INFO: TCP Data received {"connection_id":186753,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:09] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:09] local.INFO: IMEI packet received {"connection_id":186753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:41:14] local.INFO: TCP Data received {"connection_id":186753,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:14] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:41:14] local.INFO: IMEI packet received {"connection_id":186753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":186753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:41:15] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:15] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:15] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:41:15] local.INFO: TCP Data received {"connection_id":186753,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87f8cd0012c85ae00081a9a80000c016129..."} 
[2026-09-19 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87f8cd0012c85ae00081a9a80000c016129..."} 
[2026-09-19 12:41:15] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87f8cd0012c85ae00081a9a80000c016129..."} 
[2026-09-19 12:41:15] local.INFO: Packet analysis {"connection_id":186753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:15] local.INFO: Extracted packet for processing {"connection_id":186753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":746958336,"raw_latitude":135961216,"longitude_deg":74.6958336,"latitude_deg":13.5961216,"altitude":12,"angle":353,"satellites":41,"speed":43,"hex_longitude":"2c85ae00","hex_latitude":"081a9a80","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189248768001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":682388698955776,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8812981486006943744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801762000,"timestamp_ms":1789801762000,"timestamp_seconds":1789801762,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87f8cd0"} 
[2026-09-19 12: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-19 12:41: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-19 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:15] 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-19 12: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-19 12: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-19 12:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189248768001,"66":27908,"234":206,"9":53760,"24":43,"16":682388698955776,"44":-8812981486006943744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,9,24,16,44]} 
[2026-09-19 12:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189248768001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:15] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-19 12:41:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":682388698955776,"km_value":682388698955.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8812981486006943744,"description":"Unknown IO ID 44"} 
[2026-09-19 12:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189248768001,"power":27908,"unknown_234":206,"unknown_9":53760,"ignition":43,"odometer":null,"unknown_44":-8812981486006943744}} 
[2026-09-19 12:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":186753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:15] local.INFO: GPS data processed {"connection_id":186753,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:15] local.INFO: Acknowledgment sent {"connection_id":186753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:19] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:19] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:41:19] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:41:20] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:20] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:20] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:20] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:20] 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-19 12:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:20] 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-19 12:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:41:20] 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-19 12:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:20] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:20] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:24] local.INFO: TCP Data received {"connection_id":188157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87f65c0012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87f65c0012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:24] local.INFO: Processing buffer {"connection_id":188157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87f65c0012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:24] local.INFO: Packet analysis {"connection_id":188157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:24] local.INFO: Extracted packet for processing {"connection_id":188157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:41: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-19 12:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189243136001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:24] local.INFO: IO Element Parsed {"io_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-19 12:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789801752000,"timestamp_ms":1789801752000,"timestamp_seconds":1789801752,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87f65c0"} 
[2026-09-19 12:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:24] 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-19 12:41: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-19 12:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:41:24] 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-19 12:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189243136001,"66":12613,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189243136001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189243136001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":188157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:24] local.INFO: GPS data processed {"connection_id":188157,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:24] local.INFO: Acknowledgment sent {"connection_id":188157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:25] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:25] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:41:25] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:25] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:25] 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-19 12:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:25] 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-19 12:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:41:25] 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-19 12:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:25] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:25] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:46] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:46] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:46] local.INFO: IMEI packet received {"connection_id":186754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":186754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:41:51] local.INFO: TCP Data received {"connection_id":186753,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b880e490012c8551c0081c4a80000d01602c..."} 
[2026-09-19 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b880e490012c8551c0081c4a80000d01602c..."} 
[2026-09-19 12:41:51] local.INFO: Processing buffer {"connection_id":186753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b880e490012c8551c0081c4a80000d01602c..."} 
[2026-09-19 12:41:51] local.INFO: Packet analysis {"connection_id":186753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:51] local.INFO: Extracted packet for processing {"connection_id":186753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":746934720,"raw_latitude":136071808,"longitude_deg":74.693472,"latitude_deg":13.6071808,"altitude":13,"angle":352,"satellites":44,"speed":38,"hex_longitude":"2c8551c0","hex_latitude":"081c4a80","is_valid_coordinates":true} 
[2026-09-19 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189271552001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":687881962127360,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8837680915184889856,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801850000,"timestamp_ms":1789801850000,"timestamp_seconds":1789801850,"priority":1,"record_length":96,"hex_timestamp":"000001a0b880e490"} 
[2026-09-19 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:51] 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-19 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189271552001,"66":28267,"179":206,"9":53760,"24":38,"16":687881962127360,"44":-8837680915184889856},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,9,24,16,44]} 
[2026-09-19 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189271552001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:51] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-19 12:41:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":687881962127360,"km_value":687881962127.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8837680915184889856,"description":"Unknown IO ID 44"} 
[2026-09-19 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189271552001,"power":28267,"unknown_179":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":-8837680915184889856}} 
[2026-09-19 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":186753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:51] local.INFO: GPS data processed {"connection_id":186753,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:51] local.INFO: Acknowledgment sent {"connection_id":186753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:41:51] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:51] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:41:51] local.INFO: IMEI packet received {"connection_id":186754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":186754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:41:52] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b87fb7c8012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b87fb7c8012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:52] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b87fb7c8012d1821400721b400004800d52a..."} 
[2026-09-19 12:41:52] local.INFO: Packet analysis {"connection_id":186754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:52] local.INFO: Extracted packet for processing {"connection_id":186754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b87f"} 
[2026-09-19 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:41: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-19 12:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189248512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:41:52] local.INFO: IO Element Parsed {"io_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-19 12:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801773000,"timestamp_ms":1789801773000,"timestamp_seconds":1789801773,"priority":1,"record_length":96,"hex_timestamp":"000001a0b87fb7c8"} 
[2026-09-19 12:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:41: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 12:41:52] 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-19 12:41: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-19 12:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:41:52] 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-19 12:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189248512001,"66":12645,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189248512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:41:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189248512001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":186754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:41:52] local.INFO: GPS data processed {"connection_id":186754,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:41:52] local.INFO: Acknowledgment sent {"connection_id":186754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:09] local.INFO: TCP Data received {"connection_id":186872,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:09] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:09] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:42:09] local.INFO: TCP Data received {"connection_id":189484,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:09] local.INFO: Processing buffer {"connection_id":189484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:09] local.INFO: IMEI packet received {"connection_id":189484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":189484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:42:14] local.INFO: TCP Data received {"connection_id":189484,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:14] local.INFO: Processing buffer {"connection_id":189484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:42:14] local.INFO: IMEI packet received {"connection_id":189484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":189484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:42:14] local.INFO: TCP Data received {"connection_id":186872,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:14] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:42:14] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:42:15] local.INFO: TCP Data received {"connection_id":189484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:15] local.INFO: Processing buffer {"connection_id":189484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:15] local.INFO: Packet analysis {"connection_id":189484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:15] local.INFO: Extracted packet for processing {"connection_id":189484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 12:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42: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-19 12:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 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-19 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:42: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-19 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-19 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-19 12:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42: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-19 12:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":189484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:15] local.INFO: GPS data processed {"connection_id":189484,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:15] local.INFO: Acknowledgment sent {"connection_id":189484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:16] local.INFO: TCP Data received {"connection_id":186872,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88107b8012c854d40081c6d60000d01622a..."} 
[2026-09-19 12:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88107b8012c854d40081c6d60000d01622a..."} 
[2026-09-19 12:42:16] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88107b8012c854d40081c6d60000d01622a..."} 
[2026-09-19 12:42:16] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:42:16] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:42:16] local.INFO: GPS Element Parsed {"raw_longitude":746933568,"raw_latitude":136080736,"longitude_deg":74.6933568,"latitude_deg":13.6080736,"altitude":13,"angle":354,"satellites":42,"speed":42,"hex_longitude":"2c854d40","hex_latitude":"081c6d60","is_valid_coordinates":true} 
[2026-09-19 12:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189273600001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":688320048791552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8840073452484657152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801859000,"timestamp_ms":1789801859000,"timestamp_seconds":1789801859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88107b8"} 
[2026-09-19 12:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42: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-19 12:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:16] 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-19 12:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189273600001,"66":28278,"178":206,"9":53760,"24":42,"16":688320048791552,"44":-8840073452484657152},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,44]} 
[2026-09-19 12:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189273600001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:16] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-19 12:42:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":688320048791552,"km_value":688320048791.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8840073452484657152,"description":"Unknown IO ID 44"} 
[2026-09-19 12:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189273600001,"power":28278,"unknown_178":206,"unknown_9":53760,"ignition":42,"odometer":null,"unknown_44":-8840073452484657152}} 
[2026-09-19 12:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:16] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:16] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:20] local.INFO: TCP Data received {"connection_id":189484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:20] local.INFO: Processing buffer {"connection_id":189484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:20] local.INFO: Packet analysis {"connection_id":189484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:20] local.INFO: Extracted packet for processing {"connection_id":189484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:20] 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-19 12:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:20] 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-19 12:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42:20] 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-19 12:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":189484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:20] local.INFO: GPS data processed {"connection_id":189484,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:20] local.INFO: Acknowledgment sent {"connection_id":189484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:23] local.INFO: TCP Data received {"connection_id":186754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88009d0012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88009d0012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:23] local.INFO: Processing buffer {"connection_id":186754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88009d0012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:23] local.INFO: Packet analysis {"connection_id":186754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:23] local.INFO: Extracted packet for processing {"connection_id":186754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:42: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-19 12:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189253888001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:23] local.INFO: IO Element Parsed {"io_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-19 12:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801794000,"timestamp_ms":1789801794000,"timestamp_seconds":1789801794,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88009d0"} 
[2026-09-19 12:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42:23] 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-19 12:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:23] 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-19 12:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:42:23] 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-19 12:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189253888001,"66":12645,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189253888001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189253888001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":186754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:23] local.INFO: GPS data processed {"connection_id":186754,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:23] local.INFO: Acknowledgment sent {"connection_id":186754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:46] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:46] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:46] local.INFO: IMEI packet received {"connection_id":186755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":186755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:42:48] local.INFO: TCP Data received {"connection_id":186872,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88126f8012c854bc0081c8ff0000d01662a..."} 
[2026-09-19 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88126f8012c854bc0081c8ff0000d01662a..."} 
[2026-09-19 12:42:48] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88126f8012c854bc0081c8ff0000d01662a..."} 
[2026-09-19 12:42:48] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:42:48] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:42:48] local.INFO: GPS Element Parsed {"raw_longitude":746933184,"raw_latitude":136089584,"longitude_deg":74.6933184,"latitude_deg":13.6089584,"altitude":13,"angle":358,"satellites":42,"speed":45,"hex_longitude":"2c854bc0","hex_latitude":"081c8ff0","is_valid_coordinates":true} 
[2026-09-19 12:42: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-19 12:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189275904001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":688749545521152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8841340089877569536,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789801867000,"timestamp_ms":1789801867000,"timestamp_seconds":1789801867,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88126f8"} 
[2026-09-19 12:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42: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-19 12:42: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":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:48] 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-19 12:42: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-19 12:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189275904001,"66":28354,"178":206,"9":53760,"24":45,"16":688749545521152,"44":-8841340089877569536},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,44]} 
[2026-09-19 12:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189275904001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:48] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-19 12:42:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":688749545521152,"km_value":688749545521.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8841340089877569536,"description":"Unknown IO ID 44"} 
[2026-09-19 12:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189275904001,"power":28354,"unknown_178":206,"unknown_9":53760,"ignition":45,"odometer":null,"unknown_44":-8841340089877569536}} 
[2026-09-19 12:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:48] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:48] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:51] local.INFO: TCP Data received {"connection_id":189484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:51] local.INFO: Processing buffer {"connection_id":189484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:42:51] local.INFO: Packet analysis {"connection_id":189484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:51] local.INFO: Extracted packet for processing {"connection_id":189484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:51] 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-19 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:51] 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-19 12:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:42:51] 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-19 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:42:51] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":189484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:51] local.INFO: GPS data processed {"connection_id":189484,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:51] local.INFO: Acknowledgment sent {"connection_id":189484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:51] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:42:51] local.INFO: IMEI packet received {"connection_id":186755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":186755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:42:52] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8805bd8012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8805bd8012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:52] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8805bd8012d1821400721b400004800d52a..."} 
[2026-09-19 12:42:52] local.INFO: Packet analysis {"connection_id":186755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:52] local.INFO: Extracted packet for processing {"connection_id":186755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649280,"longitude_deg":75.6556096,"latitude_deg":11.964928,"altitude":72,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-09-19 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189259264001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656337502961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:42:52] local.INFO: IO Element Parsed {"io_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-19 12:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801815000,"timestamp_ms":1789801815000,"timestamp_seconds":1789801815,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8805bd8"} 
[2026-09-19 12:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 12:42:52] 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-19 12:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:42:52] 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-19 12:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189259264001,"66":12613,"105":206,"83":41984,"24":0,"16":21656337502961664,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189259264001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:42:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656337502961664,"km_value":21656337502961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189259264001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":186755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:42:52] local.INFO: GPS data processed {"connection_id":186755,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:42:52] local.INFO: Acknowledgment sent {"connection_id":186755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:09] local.INFO: TCP Data received {"connection_id":189485,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:09] local.INFO: Processing buffer {"connection_id":189485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:09] local.INFO: IMEI packet received {"connection_id":189485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":189485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:43:10] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:10] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:10] local.INFO: IMEI packet received {"connection_id":188159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":188159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:43:14] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:14] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:43:14] local.INFO: IMEI packet received {"connection_id":188159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:43:14] local.INFO: TCP Data received {"connection_id":189485,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:14] local.INFO: Processing buffer {"connection_id":189485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:43:14] local.INFO: IMEI packet received {"connection_id":189485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":189485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:43:16] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:16] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:16] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:16] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] 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-19 12:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:43: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:43:16] 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-19 12: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-19 12: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-19 12:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:16] 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-19 12:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:16] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:16] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:16] local.INFO: TCP Data received {"connection_id":189485,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8814638012c854a40081cb4f0000c01652a..."} 
[2026-09-19 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8814638012c854a40081cb4f0000c01652a..."} 
[2026-09-19 12:43:16] local.INFO: Processing buffer {"connection_id":189485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8814638012c854a40081cb4f0000c01652a..."} 
[2026-09-19 12:43:16] local.INFO: Packet analysis {"connection_id":189485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:43:16] local.INFO: Extracted packet for processing {"connection_id":189485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":746932800,"raw_latitude":136099056,"longitude_deg":74.69328,"latitude_deg":13.6099056,"altitude":12,"angle":357,"satellites":42,"speed":48,"hex_longitude":"2c854a40","hex_latitude":"081cb4f0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189277952001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":689209107021824,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8841762302340370432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801875000,"timestamp_ms":1789801875000,"timestamp_seconds":1789801875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8814638"} 
[2026-09-19 12: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-19 12:43: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-19 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:43: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-19 12: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-19 12: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-19 12:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189277952001,"66":28332,"178":206,"9":53760,"24":48,"16":689209107021824,"44":-8841762302340370432},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,9,24,16,44]} 
[2026-09-19 12:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189277952001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":689209107021824,"km_value":689209107021.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8841762302340370432,"description":"Unknown IO ID 44"} 
[2026-09-19 12:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189277952001,"power":28332,"unknown_178":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":-8841762302340370432}} 
[2026-09-19 12:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":189485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:16] local.INFO: GPS data processed {"connection_id":189485,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:16] local.INFO: Acknowledgment sent {"connection_id":189485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:20] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:20] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:20] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:20] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:20] 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-19 12:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:43:20] 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-19 12: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-19 12: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-19 12:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:20] 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-19 12:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:20] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:20] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:23] local.INFO: TCP Data received {"connection_id":186755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b880ade0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b880ade0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:43:23] local.INFO: Processing buffer {"connection_id":186755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b880ade0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:43:23] local.INFO: Packet analysis {"connection_id":186755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:23] local.INFO: Extracted packet for processing {"connection_id":186755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189264640001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516115456,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:23] local.INFO: IO Element Parsed {"io_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-19 12:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801836000,"timestamp_ms":1789801836000,"timestamp_seconds":1789801836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b880ade0"} 
[2026-09-19 12:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:43:23] 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-19 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 12:43:23] 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-19 12:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:43:23] 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-19 12:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189264640001,"66":12613,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738741330516115456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189264640001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516115456,"description":"Unknown IO ID 45"} 
[2026-09-19 12:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189264640001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516115456}} 
[2026-09-19 12:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":186755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:23] local.INFO: GPS data processed {"connection_id":186755,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:23] local.INFO: Acknowledgment sent {"connection_id":186755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:46] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:46] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:46] local.INFO: IMEI packet received {"connection_id":186756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":186756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:43:47] local.INFO: TCP Data received {"connection_id":189485,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b882d0c0012c851440081eaeb0001200042c..."} 
[2026-09-19 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b882d0c0012c851440081eaeb0001200042c..."} 
[2026-09-19 12:43:47] local.INFO: Processing buffer {"connection_id":189485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b882d0c0012c851440081eaeb0001200042c..."} 
[2026-09-19 12:43:47] local.INFO: Packet analysis {"connection_id":189485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:43:47] local.INFO: Extracted packet for processing {"connection_id":189485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":746918976,"raw_latitude":136228528,"longitude_deg":74.6918976,"latitude_deg":13.6228528,"altitude":18,"angle":4,"satellites":44,"speed":45,"hex_longitude":"2c851440","hex_latitude":"081eaeb0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189304320001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":695544183783424,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8857173057281523712,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801976000,"timestamp_ms":1789801976000,"timestamp_seconds":1789801976,"priority":1,"record_length":96,"hex_timestamp":"000001a0b882d0c0"} 
[2026-09-19 12: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-19 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:43: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-19 12: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-19 12: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-19 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189304320001,"66":28354,"241":206,"9":53760,"24":45,"16":695544183783424,"44":-8857173057281523712},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189304320001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:43:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":695544183783424,"km_value":695544183783.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8857173057281523712,"description":"Unknown IO ID 44"} 
[2026-09-19 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189304320001,"power":28354,"unknown_241":206,"unknown_9":53760,"ignition":45,"odometer":null,"unknown_44":-8857173057281523712}} 
[2026-09-19 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":189485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:47] local.INFO: GPS data processed {"connection_id":189485,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:47] local.INFO: Acknowledgment sent {"connection_id":189485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:51] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:51] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:43:51] local.INFO: IMEI packet received {"connection_id":186756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":186756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:43:51] local.INFO: TCP Data received {"connection_id":188159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:51] local.INFO: Processing buffer {"connection_id":188159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:43:51] local.INFO: Packet analysis {"connection_id":188159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:51] local.INFO: Extracted packet for processing {"connection_id":188159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:51] 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-19 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:43:51] 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-19 12: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-19 12: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-19 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:43:51] 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-19 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":188159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:51] local.INFO: GPS data processed {"connection_id":188159,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:51] local.INFO: Acknowledgment sent {"connection_id":188159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:43:52] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b880ffe8012d181f800721b1d0004200d729..."} 
[2026-09-19 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b880ffe8012d181f800721b1d0004200d729..."} 
[2026-09-19 12:43:52] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b880ffe8012d181f800721b1d0004200d729..."} 
[2026-09-19 12:43:52] local.INFO: Packet analysis {"connection_id":186756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:52] local.INFO: Extracted packet for processing {"connection_id":186756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189270016001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:43:52] local.INFO: IO Element Parsed {"io_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-19 12:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801857000,"timestamp_ms":1789801857000,"timestamp_seconds":1789801857,"priority":1,"record_length":96,"hex_timestamp":"000001a0b880ffe8"} 
[2026-09-19 12:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 12:43:52] 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-19 12:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:43:52] 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-19 12:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189270016001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189270016001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:43:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189270016001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":186756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:43:52] local.INFO: GPS data processed {"connection_id":186756,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:43:52] local.INFO: Acknowledgment sent {"connection_id":186756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:10] local.INFO: TCP Data received {"connection_id":189486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:10] local.INFO: Processing buffer {"connection_id":189486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:10] local.INFO: IMEI packet received {"connection_id":189486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":189486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:44:14] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:14] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:14] local.INFO: IMEI packet received {"connection_id":189487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:44:14] local.INFO: TCP Data received {"connection_id":189486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:14] local.INFO: Processing buffer {"connection_id":189486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:44:14] local.INFO: IMEI packet received {"connection_id":189486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:44:15] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:15] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:15] local.INFO: IMEI packet received {"connection_id":189487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":189487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:44:15] local.INFO: TCP Data received {"connection_id":189486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:15] local.INFO: Processing buffer {"connection_id":189486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:15] local.INFO: Packet analysis {"connection_id":189486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:44:15] local.INFO: Extracted packet for processing {"connection_id":189486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44: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-19 12:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:44: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-19 12: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:44: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-19 12: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-19 12: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-19 12:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:44: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-19 12:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":189486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:15] local.INFO: GPS data processed {"connection_id":189486,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:15] local.INFO: Acknowledgment sent {"connection_id":189486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:19] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:19] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:44:19] local.INFO: IMEI packet received {"connection_id":189487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":189487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:44:20] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b882e060012c851700081ec080001200102b..."} 
[2026-09-19 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b882e060012c851700081ec080001200102b..."} 
[2026-09-19 12:44:20] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b882e060012c851700081ec080001200102b..."} 
[2026-09-19 12:44:20] local.INFO: Packet analysis {"connection_id":189487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:44:20] local.INFO: Extracted packet for processing {"connection_id":189487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":746919680,"raw_latitude":136233088,"longitude_deg":74.691968,"latitude_deg":13.6233088,"altitude":18,"angle":16,"satellites":43,"speed":47,"hex_longitude":"2c851700","hex_latitude":"081ec080","is_valid_coordinates":true} 
[2026-09-19 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189305856001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":695767522082816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8857384163512242176,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789801980000,"timestamp_ms":1789801980000,"timestamp_seconds":1789801980,"priority":1,"record_length":96,"hex_timestamp":"000001a0b882e060"} 
[2026-09-19 12:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:44: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-19 12:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189305856001,"66":28398,"241":206,"9":53760,"24":47,"16":695767522082816,"44":-8857384163512242176},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189305856001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":695767522082816,"km_value":695767522082.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8857384163512242176,"description":"Unknown IO ID 44"} 
[2026-09-19 12:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189305856001,"power":28398,"unknown_241":206,"unknown_9":53760,"ignition":47,"odometer":null,"unknown_44":-8857384163512242176}} 
[2026-09-19 12:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":189487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:20] local.INFO: GPS data processed {"connection_id":189487,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:20] local.INFO: Acknowledgment sent {"connection_id":189487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:21] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b882fbb8012c852400081edf900011001c2b..."} 
[2026-09-19 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b882fbb8012c852400081edf900011001c2b..."} 
[2026-09-19 12:44:21] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b882fbb8012c852400081edf900011001c2b..."} 
[2026-09-19 12:44:21] local.INFO: Packet analysis {"connection_id":189487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:44:21] local.INFO: Extracted packet for processing {"connection_id":189487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:44:21] local.INFO: GPS Element Parsed {"raw_longitude":746923008,"raw_latitude":136241040,"longitude_deg":74.6923008,"latitude_deg":13.624104,"altitude":17,"angle":28,"satellites":43,"speed":51,"hex_longitude":"2c852400","hex_latitude":"081edf90","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189306880001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":696184133910528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8856610107325120512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789801987000,"timestamp_ms":1789801987000,"timestamp_seconds":1789801987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b882fbb8"} 
[2026-09-19 12: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-19 12:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189306880001,"66":28354,"241":206,"9":53760,"24":51,"16":696184133910528,"44":-8856610107325120512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189306880001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:21] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:44:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":696184133910528,"km_value":696184133910.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8856610107325120512,"description":"Unknown IO ID 44"} 
[2026-09-19 12:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189306880001,"power":28354,"unknown_241":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8856610107325120512}} 
[2026-09-19 12:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":189487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:22] local.INFO: GPS data processed {"connection_id":189487,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:22] local.INFO: Acknowledgment sent {"connection_id":189487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:23] local.INFO: TCP Data received {"connection_id":186756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88151f0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88151f0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:44:23] local.INFO: Processing buffer {"connection_id":186756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88151f0012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:44:23] local.INFO: Packet analysis {"connection_id":186756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:44:23] local.INFO: Extracted packet for processing {"connection_id":186756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189275392001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.INFO: IO Element Parsed {"io_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-19 12:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801878000,"timestamp_ms":1789801878000,"timestamp_seconds":1789801878,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88151f0"} 
[2026-09-19 12:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:44:23] 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-19 12:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095335864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085696,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,240,160,173,45,128,177,66,42,10,91,64,180,72,9,1,101,227,184,33,4,113,205,239,49,2,76,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:44:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037777596874752,"timestamp_seconds":4756037777596875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:44:23] 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-19 12:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189275392001,"66":12591,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189275392001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189275392001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":186756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:23] local.INFO: GPS data processed {"connection_id":186756,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:23] local.INFO: Acknowledgment sent {"connection_id":186756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:24] local.INFO: TCP Data received {"connection_id":189487,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8831710012c853880081efd90001000252a..."} 
[2026-09-19 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8831710012c853880081efd90001000252a..."} 
[2026-09-19 12:44:24] local.INFO: Processing buffer {"connection_id":189487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8831710012c853880081efd90001000252a..."} 
[2026-09-19 12:44:24] local.INFO: Packet analysis {"connection_id":189487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:44:24] local.INFO: Extracted packet for processing {"connection_id":189487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":746928256,"raw_latitude":136248720,"longitude_deg":74.6928256,"latitude_deg":13.624872,"altitude":16,"angle":37,"satellites":42,"speed":54,"hex_longitude":"2c853880","hex_latitude":"081efd90","is_valid_coordinates":true} 
[2026-09-19 12:44: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-19 12:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189308672001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":696630810509312,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8852950932625846272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789801994000,"timestamp_ms":1789801994000,"timestamp_seconds":1789801994,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8831710"} 
[2026-09-19 12:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:44: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":194,"data_length":795,"current_offset":136} 
[2026-09-19 12:44:24] 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-19 12:44: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-19 12:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189308672001,"66":28300,"241":206,"9":53760,"24":54,"16":696630810509312,"44":-8852950932625846272},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189308672001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:44:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":696630810509312,"km_value":696630810509.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8852950932625846272,"description":"Unknown IO ID 44"} 
[2026-09-19 12:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189308672001,"power":28300,"unknown_241":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":-8852950932625846272}} 
[2026-09-19 12:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":189487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:25] local.INFO: GPS data processed {"connection_id":189487,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:25] local.INFO: Acknowledgment sent {"connection_id":189487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:44] local.INFO: TCP Data received {"connection_id":186873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:44] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:44] local.INFO: IMEI packet received {"connection_id":186873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":186873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:44:46] local.INFO: TCP Data received {"connection_id":186873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:46] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:46] local.INFO: IMEI packet received {"connection_id":186873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":186873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:44:47] local.INFO: TCP Data received {"connection_id":189486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:47] local.INFO: Processing buffer {"connection_id":189486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:44:47] local.INFO: Packet analysis {"connection_id":189486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:44:47] local.INFO: Extracted packet for processing {"connection_id":189486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44: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-19 12:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:44: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-19 12:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:44:47] 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-19 12: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-19 12: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-19 12:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:44: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-19 12:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":189486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:47] local.INFO: GPS data processed {"connection_id":189486,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:47] local.INFO: Acknowledgment sent {"connection_id":189486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:44:51] local.INFO: TCP Data received {"connection_id":186873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:51] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:44:51] local.INFO: IMEI packet received {"connection_id":186873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":186873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:44:52] local.INFO: TCP Data received {"connection_id":186873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b881a3f8012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b881a3f8012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:44:52] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b881a3f8012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:44:52] local.INFO: Packet analysis {"connection_id":186873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:44:52] local.INFO: Extracted packet for processing {"connection_id":186873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189280768001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:44:52] local.INFO: IO Element Parsed {"io_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-19 12:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801899000,"timestamp_ms":1789801899000,"timestamp_seconds":1789801899,"priority":1,"record_length":96,"hex_timestamp":"000001a0b881a3f8"} 
[2026-09-19 12:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 12:44:52] 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-19 12:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:44:52] 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-19 12:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189280768001,"66":12591,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189280768001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:44:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189280768001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":186873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:44:52] local.INFO: GPS data processed {"connection_id":186873,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:44:52] local.INFO: Acknowledgment sent {"connection_id":186873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:09] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:09] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:09] local.INFO: IMEI packet received {"connection_id":186758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:45:11] local.INFO: TCP Data received {"connection_id":186757,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:11] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:11] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:45:14] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:14] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:45:14] local.INFO: IMEI packet received {"connection_id":186758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:45:16] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:45:16] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8802cf8012d34c14006aa41400008010e2d..."} 
[2026-09-19 12:45:16] local.INFO: Packet analysis {"connection_id":186758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:45:16] local.INFO: Extracted packet for processing {"connection_id":186758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b880"} 
[2026-09-19 12:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189184512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:16] 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-19 12:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789801803000,"timestamp_ms":1789801803000,"timestamp_seconds":1789801803,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8802cf8"} 
[2026-09-19 12: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-19 12:45: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:16] 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-19 12: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-19 12: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-19 12:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:45:16] 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-19 12:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189184512001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189184512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189184512001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:16] local.INFO: GPS data processed {"connection_id":186758,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:16] local.INFO: Acknowledgment sent {"connection_id":186758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:16] local.INFO: TCP Data received {"connection_id":186757,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:16] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:45:16] local.INFO: IMEI packet received {"connection_id":186757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":186757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:45:17] local.INFO: TCP Data received {"connection_id":186757,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8833268012c8550c0081f1ac0000e00272b..."} 
[2026-09-19 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8833268012c8550c0081f1ac0000e00272b..."} 
[2026-09-19 12:45:17] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8833268012c8550c0081f1ac0000e00272b..."} 
[2026-09-19 12:45:17] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:45:17] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":746934464,"raw_latitude":136256192,"longitude_deg":74.6934464,"latitude_deg":13.6256192,"altitude":14,"angle":39,"satellites":43,"speed":55,"hex_longitude":"2c8550c0","hex_latitude":"081f1ac0","is_valid_coordinates":true} 
[2026-09-19 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189310464001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":697094666977280,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8847180695601311744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789802001000,"timestamp_ms":1789802001000,"timestamp_seconds":1789802001,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8833268"} 
[2026-09-19 12:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:17] 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-19 12:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189310464001,"66":28300,"241":206,"9":53760,"24":55,"16":697094666977280,"44":-8847180695601311744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189310464001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:17] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:45:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":697094666977280,"km_value":697094666977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8847180695601311744,"description":"Unknown IO ID 44"} 
[2026-09-19 12:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189310464001,"power":28300,"unknown_241":206,"unknown_9":53760,"ignition":55,"odometer":null,"unknown_44":-8847180695601311744}} 
[2026-09-19 12:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:17] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:17] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:18] local.INFO: TCP Data received {"connection_id":186757,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8834dc0012c856bc0081f3700000b002d2c..."} 
[2026-09-19 12:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8834dc0012c856bc0081f3700000b002d2c..."} 
[2026-09-19 12:45:18] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8834dc0012c856bc0081f3700000b002d2c..."} 
[2026-09-19 12:45:18] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:45:18] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:45:18] local.INFO: GPS Element Parsed {"raw_longitude":746941376,"raw_latitude":136263424,"longitude_deg":74.6941376,"latitude_deg":13.6263424,"altitude":11,"angle":45,"satellites":44,"speed":57,"hex_longitude":"2c856bc0","hex_latitude":"081f3700","is_valid_coordinates":true} 
[2026-09-19 12:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189312256001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":697575703314432,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8840354927414165504,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789802008000,"timestamp_ms":1789802008000,"timestamp_seconds":1789802008,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8834dc0"} 
[2026-09-19 12:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:18] 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-19 12:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189312256001,"66":27995,"241":206,"9":53760,"24":57,"16":697575703314432,"44":-8840354927414165504},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189312256001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:18] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:45:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":697575703314432,"km_value":697575703314.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8840354927414165504,"description":"Unknown IO ID 44"} 
[2026-09-19 12:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189312256001,"power":27995,"unknown_241":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":-8840354927414165504}} 
[2026-09-19 12:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:18] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:18] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:23] local.INFO: TCP Data received {"connection_id":186873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b881f600012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b881f600012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:45:23] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b881f600012d181f800721b1d0004200d72a..."} 
[2026-09-19 12:45:23] local.INFO: Packet analysis {"connection_id":186873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:45:23] local.INFO: Extracted packet for processing {"connection_id":186873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b881"} 
[2026-09-19 12:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189286144001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:23] local.INFO: IO Element Parsed {"io_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-19 12:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801920000,"timestamp_ms":1789801920000,"timestamp_seconds":1789801920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b881f600"} 
[2026-09-19 12:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:45:23] 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-19 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:23] 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-19 12:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:45:23] 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-19 12:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189286144001,"66":12548,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189286144001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189286144001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":186873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:23] local.INFO: GPS data processed {"connection_id":186873,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:23] local.INFO: Acknowledgment sent {"connection_id":186873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:46] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:46] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:46] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:45:47] local.INFO: TCP Data received {"connection_id":186758,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:45:47] local.INFO: Processing buffer {"connection_id":186758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:45:47] local.INFO: Packet analysis {"connection_id":186758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:45:47] local.INFO: Extracted packet for processing {"connection_id":186758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45: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-19 12:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12: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-19 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:47] 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-19 12: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-19 12: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-19 12:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:45:47] 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-19 12:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:47] local.INFO: GPS data processed {"connection_id":186758,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:47] local.INFO: Acknowledgment sent {"connection_id":186758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:45:47] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:47] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:47] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:45:51] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:51] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:45:51] local.INFO: IMEI packet received {"connection_id":186759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":186759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:45:52] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8824808012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8824808012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:45:52] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8824808012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:45:52] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:45:52] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189291520001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.INFO: IO Element Parsed {"io_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-19 12:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789801941000,"timestamp_ms":1789801941000,"timestamp_seconds":1789801941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8824808"} 
[2026-09-19 12:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095398864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2158878721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4031971328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:45:52] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,240,160,163,45,128,177,66,43,10,81,42,255,1,14,227,184,33,4,113,205,91,239,49,2,76,7,72,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:45:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037781891842048,"timestamp_seconds":4756037781891842.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:45:52] 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-19 12:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189291520001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189291520001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:45:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189291520001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:45:52] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:45:52] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:46:14] local.INFO: TCP Data received {"connection_id":189488,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:14] local.INFO: Processing buffer {"connection_id":189488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:14] local.INFO: IMEI packet received {"connection_id":189488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":189488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:46:19] local.INFO: TCP Data received {"connection_id":189488,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:19] local.INFO: Processing buffer {"connection_id":189488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:46:19] local.INFO: IMEI packet received {"connection_id":189488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":189488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:46:20] local.INFO: TCP Data received {"connection_id":189488,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:20] local.INFO: Processing buffer {"connection_id":189488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:20] local.INFO: Packet analysis {"connection_id":189488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:20] local.INFO: Extracted packet for processing {"connection_id":189488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:20] 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-19 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12: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-19 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:46:20] 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-19 12: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-19 12: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-19 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:46:20] 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-19 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":189488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:46:20] local.INFO: GPS data processed {"connection_id":189488,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:46:20] local.INFO: Acknowledgment sent {"connection_id":189488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:46:23] local.INFO: TCP Data received {"connection_id":186759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8829a10012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8829a10012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:23] local.INFO: Processing buffer {"connection_id":186759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8829a10012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:23] local.INFO: Packet analysis {"connection_id":186759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:46:23] local.INFO: Extracted packet for processing {"connection_id":186759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:46: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-19 12:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189296896001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.INFO: IO Element Parsed {"io_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-19 12:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789801962000,"timestamp_ms":1789801962000,"timestamp_seconds":1789801962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8829a10"} 
[2026-09-19 12:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:46:23] 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-19 12:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095419864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085696,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2164254721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198786,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,240,160,246,45,128,177,66,42,10,163,43,81,1,47,227,184,33,4,113,205,173,31,208,239,49,2,76,7,72,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:46:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037786186809344,"timestamp_seconds":4756037786186809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:46:23] 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-19 12:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189296896001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189296896001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:46:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189296896001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":186759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:46:23] local.INFO: GPS data processed {"connection_id":186759,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:46:23] local.INFO: Acknowledgment sent {"connection_id":186759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:46:42] local.INFO: TCP Data received {"connection_id":186757,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884ad50012c867d0008203e400007000f2b..."} 
[2026-09-19 12:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884ad50012c867d0008203e400007000f2b..."} 
[2026-09-19 12:46:42] local.INFO: Processing buffer {"connection_id":186757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884ad50012c867d0008203e400007000f2b..."} 
[2026-09-19 12:46:42] local.INFO: Packet analysis {"connection_id":186757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:42] local.INFO: Extracted packet for processing {"connection_id":186757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:42] local.INFO: GPS Element Parsed {"raw_longitude":747011328,"raw_latitude":136330816,"longitude_deg":74.7011328,"latitude_deg":13.6330816,"altitude":7,"angle":15,"satellites":43,"speed":15,"hex_longitude":"2c867d00","hex_latitude":"08203e40","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189336576001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":702231447863296,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756053171870388224,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789802098000,"timestamp_ms":1789802098000,"timestamp_seconds":1789802098,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884ad50"} 
[2026-09-19 12: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-19 12:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 12:46:42] 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-19 12: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-19 12: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-19 12:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":186757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":186757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189336576001,"66":28300,"241":206,"9":53760,"24":15,"16":702231447863296,"44":-8756053171870388224},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-19 12:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189336576001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:46:42] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 12:46:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":702231447863296,"km_value":702231447863.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8756053171870388224,"description":"Unknown IO ID 44"} 
[2026-09-19 12:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189336576001,"power":28300,"unknown_241":206,"unknown_9":53760,"ignition":15,"odometer":null,"unknown_44":-8756053171870388224}} 
[2026-09-19 12:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":186757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:46:42] local.INFO: GPS data processed {"connection_id":186757,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:46:42] local.INFO: Acknowledgment sent {"connection_id":186757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:46:46] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:46] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:46] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:46:49] local.INFO: TCP Data received {"connection_id":186875,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: IMEI packet received {"connection_id":186875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":186875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:46:49] local.INFO: TCP Data received {"connection_id":186875,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: Processing buffer {"connection_id":186875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:46:49] local.INFO: IMEI packet received {"connection_id":186875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":186875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:46:50] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:50] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:46:50] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:46:51] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b882ec18012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b882ec18012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:51] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b882ec18012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:46:51] local.INFO: Packet analysis {"connection_id":186874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:46:51] local.INFO: Extracted packet for processing {"connection_id":186874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b882"} 
[2026-09-19 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189302272001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.INFO: IO Element Parsed {"io_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-19 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789801983000,"timestamp_ms":1789801983000,"timestamp_seconds":1789801983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b882ec18"} 
[2026-09-19 12:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095440864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085696,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2169630721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198786,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,240,160,72,45,128,177,66,43,10,246,42,163,1,47,227,184,33,4,113,205,255,31,208,41,239,49,2,76,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:46:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037786186809344,"timestamp_seconds":4756037786186809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:46:51] 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-19 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189302272001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189302272001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:46:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189302272001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":186874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:46:51] local.INFO: GPS data processed {"connection_id":186874,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:46:51] local.INFO: Acknowledgment sent {"connection_id":186874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:46:52] local.INFO: TCP Data received {"connection_id":189488,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:52] local.INFO: Processing buffer {"connection_id":189488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:46:52] local.INFO: Packet analysis {"connection_id":189488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:52] local.INFO: Extracted packet for processing {"connection_id":189488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:46: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-19 12:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:46: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-19 12:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 12:46: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-19 12:46: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-19 12:46: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-19 12:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:46:52] 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-19 12:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":189488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:46:52] local.INFO: GPS data processed {"connection_id":189488,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:46:52] local.INFO: Acknowledgment sent {"connection_id":189488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:09] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:09] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:09] local.INFO: IMEI packet received {"connection_id":186760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":186760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:47:14] local.INFO: TCP Data received {"connection_id":186761,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:14] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:14] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:47:14] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:14] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:47:14] local.INFO: IMEI packet received {"connection_id":186760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:47:16] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:16] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:16] local.INFO: Packet analysis {"connection_id":186760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:47:16] local.INFO: Extracted packet for processing {"connection_id":186760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:16] 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-19 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:16] 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-19 12:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:47: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-19 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:16] local.INFO: GPS data processed {"connection_id":186760,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:16] local.INFO: Acknowledgment sent {"connection_id":186760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:18] local.INFO: TCP Data received {"connection_id":186761,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:18] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:47:18] local.INFO: IMEI packet received {"connection_id":186761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":186761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:47:19] local.INFO: TCP Data received {"connection_id":186761,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8862068012c868ac00821b010000700122d..."} 
[2026-09-19 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8862068012c868ac00821b010000700122d..."} 
[2026-09-19 12:47:19] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8862068012c868ac00821b010000700122d..."} 
[2026-09-19 12:47:19] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:47:19] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":747014848,"raw_latitude":136425488,"longitude_deg":74.7014848,"latitude_deg":13.6425488,"altitude":7,"angle":18,"satellites":45,"speed":52,"hex_longitude":"2c868ac0","hex_latitude":"0821b010","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189359872001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":706865717575680,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8753871740778401792,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789802193000,"timestamp_ms":1789802193000,"timestamp_seconds":1789802193,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8862068"} 
[2026-09-19 12: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-19 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189359872001,"66":28224,"62":206,"9":53760,"24":52,"16":706865717575680,"44":-8753871740778401792},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,9,24,16,44]} 
[2026-09-19 12:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189359872001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:19] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-19 12:47:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":706865717575680,"km_value":706865717575.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8753871740778401792,"description":"Unknown IO ID 44"} 
[2026-09-19 12:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189359872001,"power":28224,"unknown_62":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8753871740778401792}} 
[2026-09-19 12:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:19] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:19] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:21] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8833e20012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8833e20012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:47:21] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8833e20012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:47:21] local.INFO: Packet analysis {"connection_id":186874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:47:21] local.INFO: Extracted packet for processing {"connection_id":186874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:47: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-19 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189307648001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.INFO: IO Element Parsed {"io_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-19 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789802004000,"timestamp_ms":1789802004000,"timestamp_seconds":1789802004,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8833e20"} 
[2026-09-19 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:47: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095461864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2175006721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198786,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,240,160,154,45,128,177,66,43,10,72,246,1,4,227,184,33,113,205,81,31,208,42,239,49,2,76,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:47:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037786186809344,"timestamp_seconds":4756037786186809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:47:21] 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-19 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189307648001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189307648001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189307648001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":186874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:22] local.INFO: GPS data processed {"connection_id":186874,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:22] local.INFO: Acknowledgment sent {"connection_id":186874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:46] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:46] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:46] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:47:50] local.INFO: TCP Data received {"connection_id":186760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:50] local.INFO: Processing buffer {"connection_id":186760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:47:50] local.INFO: Packet analysis {"connection_id":186760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:47:50] local.INFO: Extracted packet for processing {"connection_id":186760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:50] 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-19 12:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:50] 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-19 12:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:47: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-19 12:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":186760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:50] local.INFO: GPS data processed {"connection_id":186760,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:50] local.INFO: Acknowledgment sent {"connection_id":186760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:51] local.INFO: TCP Data received {"connection_id":186761,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:47:51] local.INFO: Processing buffer {"connection_id":186761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:47:51] local.INFO: Packet analysis {"connection_id":186761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:47:51] local.INFO: Extracted packet for processing {"connection_id":186761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":747018752,"raw_latitude":136433744,"longitude_deg":74.7018752,"latitude_deg":13.6433744,"altitude":7,"angle":29,"satellites":44,"speed":51,"hex_longitude":"2c869a00","hex_latitude":"0821d050","is_valid_coordinates":true} 
[2026-09-19 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189361408001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":707308099207168,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8751971784683679744,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789802200000,"timestamp_ms":1789802200000,"timestamp_seconds":1789802200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8863bc0"} 
[2026-09-19 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:51] 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-19 12:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189361408001,"66":28256,"62":206,"9":53760,"24":51,"16":707308099207168,"44":-8751971784683679744},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,9,24,16,44]} 
[2026-09-19 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189361408001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:51] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-19 12:47:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":707308099207168,"km_value":707308099207.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8751971784683679744,"description":"Unknown IO ID 44"} 
[2026-09-19 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189361408001,"power":28256,"unknown_62":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8751971784683679744}} 
[2026-09-19 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":186761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:51] local.INFO: GPS data processed {"connection_id":186761,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:51] local.INFO: Acknowledgment sent {"connection_id":186761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:47:51] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:51] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:47:51] local.INFO: IMEI packet received {"connection_id":186762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":186762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:47:52] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8839028012d181f800721b1d0004200d729..."} 
[2026-09-19 12:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8839028012d181f800721b1d0004200d729..."} 
[2026-09-19 12:47:52] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8839028012d181f800721b1d0004200d729..."} 
[2026-09-19 12:47:52] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:47:52] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189313024001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.INFO: IO Element Parsed {"io_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-19 12:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802025000,"timestamp_ms":1789802025000,"timestamp_seconds":1789802025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8839028"} 
[2026-09-19 12:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095482864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2180382721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198786,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":163,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:47:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,240,160,236,45,128,177,66,43,10,154,72,1,14,227,184,33,4,113,205,163,31,208,239,49,2,76,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:47:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037786186809344,"timestamp_seconds":4756037786186809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:47:52] 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-19 12:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189313024001,"66":12526,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189313024001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:47:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189313024001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:47:52] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:47:52] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:09] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:09] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:09] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:48:10] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:10] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:10] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:48:14] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:14] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:14] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:48:15] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:15] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:48:15] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:48:16] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:16] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:16] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:16] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:16] 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-19 12:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12: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-19 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:16] 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-19 12: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-19 12: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-19 12:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:48: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-19 12:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:16] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:16] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:17] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:17] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:48:17] local.INFO: IMEI packet received {"connection_id":186763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":186763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:48:19] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:48:19] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8863bc0012c869a000821d0500007001d2c..."} 
[2026-09-19 12:48:19] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:19] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":747018752,"raw_latitude":136433744,"longitude_deg":74.7018752,"latitude_deg":13.6433744,"altitude":7,"angle":29,"satellites":44,"speed":51,"hex_longitude":"2c869a00","hex_latitude":"0821d050","is_valid_coordinates":true} 
[2026-09-19 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189363200001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":707308099207168,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8747679291286728704,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789802200000,"timestamp_ms":1789802200000,"timestamp_seconds":1789802200,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8863bc0"} 
[2026-09-19 12:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:19] 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-19 12:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189363200001,"66":28256,"62":206,"9":53760,"24":51,"16":707308099207168,"44":-8747679291286728704},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,9,24,16,44]} 
[2026-09-19 12:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189363200001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:19] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-19 12:48:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":707308099207168,"km_value":707308099207.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8747679291286728704,"description":"Unknown IO ID 44"} 
[2026-09-19 12:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189363200001,"power":28256,"unknown_62":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8747679291286728704}} 
[2026-09-19 12:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:19] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:19] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:20] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8865718012c86abc00821ef600007001c2b..."} 
[2026-09-19 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8865718012c86abc00821ef600007001c2b..."} 
[2026-09-19 12:48:20] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8865718012c86abc00821ef600007001c2b..."} 
[2026-09-19 12:48:20] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:20] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:20] local.INFO: GPS Element Parsed {"raw_longitude":747023296,"raw_latitude":136441696,"longitude_deg":74.7023296,"latitude_deg":13.6441696,"altitude":7,"angle":28,"satellites":43,"speed":51,"hex_longitude":"2c86abc0","hex_latitude":"0821ef60","is_valid_coordinates":true} 
[2026-09-19 12:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189363200001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":707746185871360,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8747679291286728704,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802207000,"timestamp_ms":1789802207000,"timestamp_seconds":1789802207,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8865718"} 
[2026-09-19 12:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:20] 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-19 12:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189363200001,"66":28202,"62":206,"9":53760,"24":51,"16":707746185871360,"44":-8747679291286728704},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,9,24,16,44]} 
[2026-09-19 12:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189363200001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:20] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-19 12:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":707746185871360,"km_value":707746185871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8747679291286728704,"description":"Unknown IO ID 44"} 
[2026-09-19 12:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189363200001,"power":28202,"unknown_62":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8747679291286728704}} 
[2026-09-19 12:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:20] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:20] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:23] local.INFO: TCP Data received {"connection_id":186762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b883e230012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b883e230012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:48:23] local.INFO: Processing buffer {"connection_id":186762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b883e230012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:48:23] local.INFO: Packet analysis {"connection_id":186762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:48:23] local.INFO: Extracted packet for processing {"connection_id":186762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b883"} 
[2026-09-19 12:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189318400001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:23] local.INFO: IO Element Parsed {"io_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-19 12:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802046000,"timestamp_ms":1789802046000,"timestamp_seconds":1789802046,"priority":1,"record_length":96,"hex_timestamp":"000001a0b883e230"} 
[2026-09-19 12:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:48:23] 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-19 12:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:23] 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-19 12:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:48:23] 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-19 12:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189318400001,"66":12558,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189318400001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189318400001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":186762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:23] local.INFO: GPS data processed {"connection_id":186762,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:23] local.INFO: Acknowledgment sent {"connection_id":186762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:46] local.INFO: TCP Data received {"connection_id":189489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:46] local.INFO: Processing buffer {"connection_id":189489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:46] local.INFO: IMEI packet received {"connection_id":189489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":189489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:48:48] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:48] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:48:48] local.INFO: Packet analysis {"connection_id":188160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:48] local.INFO: Extracted packet for processing {"connection_id":188160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48: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-19 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12: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-19 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:48: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-19 12: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-19 12: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-19 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:48: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-19 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":188160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:48] local.INFO: GPS data processed {"connection_id":188160,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:48] local.INFO: Acknowledgment sent {"connection_id":188160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:51] local.INFO: TCP Data received {"connection_id":189489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:51] local.INFO: Processing buffer {"connection_id":189489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:48:51] local.INFO: IMEI packet received {"connection_id":189489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":189489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:48:52] local.INFO: TCP Data received {"connection_id":189489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8843438012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8843438012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:48:52] local.INFO: Processing buffer {"connection_id":189489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8843438012d181f800721b1d0004200d72b..."} 
[2026-09-19 12:48:52] local.INFO: Packet analysis {"connection_id":189489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:52] local.INFO: Extracted packet for processing {"connection_id":189489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189323776001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.INFO: IO Element Parsed {"io_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-19 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802067000,"timestamp_ms":1789802067000,"timestamp_seconds":1789802067,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8843438"} 
[2026-09-19 12:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:48:52] 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-19 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3095524864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736528,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2191134721,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198786,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,240,160,144,45,128,177,66,41,10,62,43,236,1,14,227,184,33,4,113,205,72,31,208,239,49,2,76,7,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 12:48:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756037790481776640,"timestamp_seconds":4756037790481777.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 12:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:48:52] 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-19 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189323776001,"66":12526,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189323776001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189323776001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:48:52] local.INFO: TCP Data received {"connection_id":186763,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8867270012c86bd0008220ee00009001b2c..."} 
[2026-09-19 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8867270012c86bd0008220ee00009001b2c..."} 
[2026-09-19 12:48:52] local.INFO: Processing buffer {"connection_id":186763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8867270012c86bd0008220ee00009001b2c..."} 
[2026-09-19 12:48:52] local.INFO: Packet analysis {"connection_id":186763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:52] local.INFO: Extracted packet for processing {"connection_id":186763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b886"} 
[2026-09-19 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":747027712,"raw_latitude":136449760,"longitude_deg":74.7027712,"latitude_deg":13.644976,"altitude":9,"angle":27,"satellites":44,"speed":51,"hex_longitude":"2c86bd00","hex_latitude":"08220ee0","is_valid_coordinates":true} 
[2026-09-19 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189364992001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":708192862470144,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8742683110448078848,"note":"Value kept but may cause issues"} 
[2026-09-19 12:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802214000,"timestamp_ms":1789802214000,"timestamp_seconds":1789802214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8867270"} 
[2026-09-19 12:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 12:48:52] 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-19 12:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189364992001,"66":28300,"62":206,"9":53760,"24":51,"16":708192862470144,"44":-8742683110448078848},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,9,24,16,44]} 
[2026-09-19 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189364992001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":708192862470144,"km_value":708192862470.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8742683110448078848,"description":"Unknown IO ID 44"} 
[2026-09-19 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189364992001,"power":28300,"unknown_62":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8742683110448078848}} 
[2026-09-19 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":189489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:52] local.INFO: GPS data processed {"connection_id":189489,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:52] local.INFO: Acknowledgment sent {"connection_id":189489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":186763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:48:52] local.INFO: GPS data processed {"connection_id":186763,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:48:52] local.INFO: Acknowledgment sent {"connection_id":186763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:07] local.INFO: TCP Data received {"connection_id":186764,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:07] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:07] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:49:09] local.INFO: TCP Data received {"connection_id":189490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:09] local.INFO: Processing buffer {"connection_id":189490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:09] local.INFO: IMEI packet received {"connection_id":189490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:49:09] local.INFO: TCP Data received {"connection_id":186764,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:09] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:09] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:49:12] local.INFO: TCP Data received {"connection_id":186764,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:12] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:49:12] local.INFO: IMEI packet received {"connection_id":186764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":186764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:49:13] local.INFO: TCP Data received {"connection_id":186764,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b887aaf0012c878ac008236bc0000c001e2c..."} 
[2026-09-19 12:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b887aaf0012c878ac008236bc0000c001e2c..."} 
[2026-09-19 12:49:13] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b887aaf0012c878ac008236bc0000c001e2c..."} 
[2026-09-19 12:49:13] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:49:13] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:49:13] local.INFO: GPS Element Parsed {"raw_longitude":747080384,"raw_latitude":136539072,"longitude_deg":74.7080384,"latitude_deg":13.6539072,"altitude":12,"angle":30,"satellites":44,"speed":52,"hex_longitude":"2c878ac0","hex_latitude":"08236bc0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189385472001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":713183614468096,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8685262215176232960,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789802294000,"timestamp_ms":1789802294000,"timestamp_seconds":1789802294,"priority":1,"record_length":96,"hex_timestamp":"000001a0b887aaf0"} 
[2026-09-19 12: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-19 12:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189385472001,"66":28245,"63":206,"9":53760,"24":52,"16":713183614468096,"44":-8685262215176232960},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189385472001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:49:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":713183614468096,"km_value":713183614468.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8685262215176232960,"description":"Unknown IO ID 44"} 
[2026-09-19 12:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189385472001,"power":28245,"unknown_63":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8685262215176232960}} 
[2026-09-19 12:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:13] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:13] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:14] local.INFO: TCP Data received {"connection_id":189490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:14] local.INFO: Processing buffer {"connection_id":189490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:49:14] local.INFO: IMEI packet received {"connection_id":189490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:49:16] local.INFO: TCP Data received {"connection_id":189490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:16] local.INFO: Processing buffer {"connection_id":189490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:16] local.INFO: Packet analysis {"connection_id":189490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:16] local.INFO: Extracted packet for processing {"connection_id":189490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:16] 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-19 12:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:16] 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-19 12:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:49:16] 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-19 12:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":189490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:16] local.INFO: GPS data processed {"connection_id":189490,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:16] local.INFO: Acknowledgment sent {"connection_id":189490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:23] local.INFO: TCP Data received {"connection_id":189489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8848640012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8848640012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:49:23] local.INFO: Processing buffer {"connection_id":189489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8848640012d181f800721b1d0004200d72c..."} 
[2026-09-19 12:49:23] local.INFO: Packet analysis {"connection_id":189489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:23] local.INFO: Extracted packet for processing {"connection_id":189489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648720,"longitude_deg":75.6555648,"latitude_deg":11.964872,"altitude":66,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-09-19 12:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189329152001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656376157667328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:23] local.INFO: IO Element Parsed {"io_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-19 12:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802088000,"timestamp_ms":1789802088000,"timestamp_seconds":1789802088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8848640"} 
[2026-09-19 12:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:49:23] 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-19 12:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:23] 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-19 12:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:23] 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-19 12:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189329152001,"66":12504,"105":206,"83":41984,"24":0,"16":21656376157667328,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189329152001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656376157667328,"km_value":21656376157667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189329152001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":189489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:23] local.INFO: GPS data processed {"connection_id":189489,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:23] local.INFO: Acknowledgment sent {"connection_id":189489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:44] local.INFO: TCP Data received {"connection_id":186764,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b887c648012c879bc008238b30000b00162a..."} 
[2026-09-19 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b887c648012c879bc008238b30000b00162a..."} 
[2026-09-19 12:49:44] local.INFO: Processing buffer {"connection_id":186764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b887c648012c879bc008238b30000b00162a..."} 
[2026-09-19 12:49:44] local.INFO: Packet analysis {"connection_id":186764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:49:44] local.INFO: Extracted packet for processing {"connection_id":186764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":747084736,"raw_latitude":136547120,"longitude_deg":74.7084736,"latitude_deg":13.654712,"altitude":11,"angle":22,"satellites":42,"speed":47,"hex_longitude":"2c879bc0","hex_latitude":"08238b30","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189387264001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":713625996099584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8679914190616674304,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789802301000,"timestamp_ms":1789802301000,"timestamp_seconds":1789802301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b887c648"} 
[2026-09-19 12: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-19 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":186764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":186764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":186764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189387264001,"66":28126,"63":206,"9":53760,"24":47,"16":713625996099584,"44":-8679914190616674304},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189387264001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:49:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":713625996099584,"km_value":713625996099.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8679914190616674304,"description":"Unknown IO ID 44"} 
[2026-09-19 12:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189387264001,"power":28126,"unknown_63":206,"unknown_9":53760,"ignition":47,"odometer":null,"unknown_44":-8679914190616674304}} 
[2026-09-19 12:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":186764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:45] local.INFO: GPS data processed {"connection_id":186764,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:45] local.INFO: Acknowledgment sent {"connection_id":186764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:47] local.INFO: TCP Data received {"connection_id":189490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:47] local.INFO: Processing buffer {"connection_id":189490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:49:47] local.INFO: Packet analysis {"connection_id":189490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:47] local.INFO: Extracted packet for processing {"connection_id":189490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49: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-19 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12: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-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:47] 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-19 12: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-19 12: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-19 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:49: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-19 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":189490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:48] local.INFO: GPS data processed {"connection_id":189490,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:48] local.INFO: Acknowledgment sent {"connection_id":189490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:51] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:51] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:51] local.INFO: IMEI packet received {"connection_id":186765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":186765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:49:56] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:56] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:49:56] local.INFO: IMEI packet received {"connection_id":186765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":186765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:49:57] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884d848012d181dc00721afd0004700d82c..."} 
[2026-09-19 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884d848012d181dc00721afd0004700d82c..."} 
[2026-09-19 12:49:57] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884d848012d181dc00721afd0004700d82c..."} 
[2026-09-19 12:49:57] local.INFO: Packet analysis {"connection_id":186765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:57] local.INFO: Extracted packet for processing {"connection_id":186765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648208,"longitude_deg":75.65552,"latitude_deg":11.9648208,"altitude":71,"angle":216,"satellites":44,"speed":3,"hex_longitude":"2d181dc0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-19 12:49: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-19 12:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189334528001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656410517405696,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306728448,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:57] local.INFO: IO Element Parsed {"io_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-19 12:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789802109000,"timestamp_ms":1789802109000,"timestamp_seconds":1789802109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884d848"} 
[2026-09-19 12:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:49: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:57] 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-19 12:49: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-19 12:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:57] 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-19 12:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189334528001,"66":12526,"105":206,"83":41984,"24":3,"16":21656410517405696,"45":1738248749306728448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189334528001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656410517405696,"km_value":21656410517405.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306728448,"description":"Unknown IO ID 45"} 
[2026-09-19 12:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189334528001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738248749306728448}} 
[2026-09-19 12:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":186765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:57] local.INFO: GPS data processed {"connection_id":186765,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:57] local.INFO: Acknowledgment sent {"connection_id":186765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:49:59] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8852a50012d181dc00721af38004700d62b..."} 
[2026-09-19 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8852a50012d181dc00721af38004700d62b..."} 
[2026-09-19 12:49:59] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8852a50012d181dc00721af38004700d62b..."} 
[2026-09-19 12:49:59] local.INFO: Packet analysis {"connection_id":186765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b885"} 
[2026-09-19 12:49:59] local.INFO: Extracted packet for processing {"connection_id":186765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b885"} 
[2026-09-19 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648056,"longitude_deg":75.65552,"latitude_deg":11.9648056,"altitude":71,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-19 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189339904001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656423402307584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097353728,"note":"Value kept but may cause issues"} 
[2026-09-19 12:49: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-19 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789802130000,"timestamp_ms":1789802130000,"timestamp_seconds":1789802130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8852a50"} 
[2026-09-19 12:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:49:59] 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-19 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":186765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:49:59] 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-19 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189339904001,"66":12537,"105":206,"83":41984,"24":0,"16":21656423402307584,"45":1737756168097353728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189339904001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:49:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656423402307584,"km_value":21656423402307.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097353728,"description":"Unknown IO ID 45"} 
[2026-09-19 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189339904001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097353728}} 
[2026-09-19 12:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":186765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:49:59] local.INFO: GPS data processed {"connection_id":186765,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:49:59] local.INFO: Acknowledgment sent {"connection_id":186765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:09] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:09] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:09] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:50:09] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:09] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:09] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:50:10] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:10] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:10] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:50:14] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:14] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:50:14] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:50:15] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:15] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:50:15] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:50:15] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:50:15] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b884c4c0012d34c14006aa41400008010e2a..."} 
[2026-09-19 12:50:15] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:50:15] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b884"} 
[2026-09-19 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189261568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50: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-19 12:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802104000,"timestamp_ms":1789802104000,"timestamp_seconds":1789802104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b884c4c0"} 
[2026-09-19 12:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:50: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-19 12:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:50: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-19 12:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189261568001,"66":25734,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189261568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189261568001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:15] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:15] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:16] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b887e588012c87a3c00823a5300009000a2a..."} 
[2026-09-19 12:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b887e588012c87a3c00823a5300009000a2a..."} 
[2026-09-19 12:50:16] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b887e588012c87a3c00823a5300009000a2a..."} 
[2026-09-19 12:50:16] local.INFO: Packet analysis {"connection_id":188161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:50:16] local.INFO: Extracted packet for processing {"connection_id":188161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:50:16] local.INFO: GPS Element Parsed {"raw_longitude":747086784,"raw_latitude":136553776,"longitude_deg":74.7086784,"latitude_deg":13.6553776,"altitude":9,"angle":10,"satellites":42,"speed":19,"hex_longitude":"2c87a3c0","hex_latitude":"0823a530","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189389056001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":713961003548672,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8675129116010532864,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802309000,"timestamp_ms":1789802309000,"timestamp_seconds":1789802309,"priority":1,"record_length":96,"hex_timestamp":"000001a0b887e588"} 
[2026-09-19 12: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-19 12:50: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-19 12: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 12:50:16] 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-19 12: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-19 12: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-19 12:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189389056001,"66":28398,"63":206,"9":53760,"24":19,"16":713961003548672,"44":-8675129116010532864},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189389056001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:50:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":713961003548672,"km_value":713961003548.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8675129116010532864,"description":"Unknown IO ID 44"} 
[2026-09-19 12:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189389056001,"power":28398,"unknown_63":206,"unknown_9":53760,"ignition":19,"odometer":null,"unknown_44":-8675129116010532864}} 
[2026-09-19 12:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":188161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:16] local.INFO: GPS data processed {"connection_id":188161,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:16] local.INFO: Acknowledgment sent {"connection_id":188161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:20] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b887f910012c87a4c00823aca0000901662a..."} 
[2026-09-19 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b887f910012c87a4c00823aca0000901662a..."} 
[2026-09-19 12:50:20] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b887f910012c87a4c00823aca0000901662a..."} 
[2026-09-19 12:50:20] local.INFO: Packet analysis {"connection_id":188161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:50:20] local.INFO: Extracted packet for processing {"connection_id":188161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b887"} 
[2026-09-19 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":747087040,"raw_latitude":136555680,"longitude_deg":74.708704,"latitude_deg":13.655568,"altitude":9,"angle":358,"satellites":42,"speed":11,"hex_longitude":"2c87a4c0","hex_latitude":"0823aca0","is_valid_coordinates":true} 
[2026-09-19 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189391104001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":714055492829184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8672877316195143680,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802314000,"timestamp_ms":1789802314000,"timestamp_seconds":1789802314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b887f910"} 
[2026-09-19 12:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 12:50:20] 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-19 12:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189391104001,"66":28300,"63":206,"9":53760,"24":11,"16":714055492829184,"44":-8672877316195143680},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189391104001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:50:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":714055492829184,"km_value":714055492829.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8672877316195143680,"description":"Unknown IO ID 44"} 
[2026-09-19 12:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189391104001,"power":28300,"unknown_63":206,"unknown_9":53760,"ignition":11,"odometer":null,"unknown_44":-8672877316195143680}} 
[2026-09-19 12:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":188161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:20] local.INFO: GPS data processed {"connection_id":188161,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:20] local.INFO: Acknowledgment sent {"connection_id":188161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:30] local.INFO: TCP Data received {"connection_id":186765,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8857c58012d181dc00721af38004700d62b..."} 
[2026-09-19 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8857c58012d181dc00721af38004700d62b..."} 
[2026-09-19 12:50:30] local.INFO: Processing buffer {"connection_id":186765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8857c58012d181dc00721af38004700d62b..."} 
[2026-09-19 12:50:30] local.INFO: Packet analysis {"connection_id":186765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b885"} 
[2026-09-19 12:50:30] local.INFO: Extracted packet for processing {"connection_id":186765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b885"} 
[2026-09-19 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648056,"longitude_deg":75.65552,"latitude_deg":11.9648056,"altitude":71,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189345280001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656423402307584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097314816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50: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-19 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789802151000,"timestamp_ms":1789802151000,"timestamp_seconds":1789802151,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8857c58"} 
[2026-09-19 12: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-19 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 12:50:30] 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-19 12: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-19 12: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-19 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:50: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-19 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189345280001,"66":12548,"105":206,"83":41984,"24":0,"16":21656423402307584,"45":1737756168097314816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189345280001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656423402307584,"km_value":21656423402307.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097314816,"description":"Unknown IO ID 45"} 
[2026-09-19 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189345280001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097314816}} 
[2026-09-19 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":186765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:30] local.INFO: GPS data processed {"connection_id":186765,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:30] local.INFO: Acknowledgment sent {"connection_id":186765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:42] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:42] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:42] local.INFO: IMEI packet received {"connection_id":186877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":186877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:50:46] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:46] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:46] local.INFO: IMEI packet received {"connection_id":186877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":186877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:50:46] local.INFO: TCP Data received {"connection_id":186876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:50:46] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:50:46] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:46] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:46] 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-19 12:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12: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-19 12:50: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:50: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-19 12: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-19 12: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-19 12:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:50: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-19 12:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:46] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:46] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:51] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:51] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:50:51] local.INFO: IMEI packet received {"connection_id":186877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":186877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:50:52] local.INFO: TCP Data received {"connection_id":188161,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8893d48012c873b400824cb800009014f2a..."} 
[2026-09-19 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8893d48012c873b400824cb800009014f2a..."} 
[2026-09-19 12:50:52] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8893d48012c873b400824cb800009014f2a..."} 
[2026-09-19 12:50:52] local.INFO: Packet analysis {"connection_id":188161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:52] local.INFO: Extracted packet for processing {"connection_id":188161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":747060032,"raw_latitude":136629120,"longitude_deg":74.7060032,"latitude_deg":13.662912,"altitude":9,"angle":335,"satellites":42,"speed":48,"hex_longitude":"2c873b40","hex_latitude":"0824cb80","is_valid_coordinates":true} 
[2026-09-19 12:50: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-19 12:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189411584001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":717882308689920,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8697928589105344512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802397000,"timestamp_ms":1789802397000,"timestamp_seconds":1789802397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8893d48"} 
[2026-09-19 12:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:50: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:50:52] 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-19 12:50: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-19 12:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189411584001,"66":28137,"63":206,"9":53760,"24":48,"16":717882308689920,"44":-8697928589105344512},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189411584001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":717882308689920,"km_value":717882308689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8697928589105344512,"description":"Unknown IO ID 44"} 
[2026-09-19 12:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189411584001,"power":28137,"unknown_63":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":-8697928589105344512}} 
[2026-09-19 12:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":188161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:52] local.INFO: GPS data processed {"connection_id":188161,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:52] local.INFO: Acknowledgment sent {"connection_id":188161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:50:52] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88902b0012d181dc00721af38004700d62a..."} 
[2026-09-19 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88902b0012d181dc00721af38004700d62a..."} 
[2026-09-19 12:50:52] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88902b0012d181dc00721af38004700d62a..."} 
[2026-09-19 12:50:52] local.INFO: Packet analysis {"connection_id":186877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:52] local.INFO: Extracted packet for processing {"connection_id":186877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648056,"longitude_deg":75.65552,"latitude_deg":11.9648056,"altitude":71,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-19 12:50: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-19 12:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189404416001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656423402307584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097314816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:50:52] local.INFO: IO Element Parsed {"io_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-19 12:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802382000,"timestamp_ms":1789802382000,"timestamp_seconds":1789802382,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88902b0"} 
[2026-09-19 12:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:50:52] 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-19 12:50: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:50:52] 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-19 12:50: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-19 12:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:50:52] 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-19 12:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189404416001,"66":12504,"105":206,"83":41984,"24":0,"16":21656423402307584,"45":1737756168097314816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189404416001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656423402307584,"km_value":21656423402307.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097314816,"description":"Unknown IO ID 45"} 
[2026-09-19 12:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189404416001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097314816}} 
[2026-09-19 12:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":186877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:50:52] local.INFO: GPS data processed {"connection_id":186877,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:50:52] local.INFO: Acknowledgment sent {"connection_id":186877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:10] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:10] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:10] local.INFO: IMEI packet received {"connection_id":189491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":189491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:51:11] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:11] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:11] local.INFO: IMEI packet received {"connection_id":189491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":189491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:51:14] local.INFO: TCP Data received {"connection_id":188162,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:14] local.INFO: Processing buffer {"connection_id":188162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:14] local.INFO: IMEI packet received {"connection_id":188162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:51:15] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:15] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:51:15] local.INFO: IMEI packet received {"connection_id":189491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":189491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:51:16] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012c872a400824ef000006014e29..."} 
[2026-09-19 12:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012c872a400824ef000006014e29..."} 
[2026-09-19 12:51:16] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012c872a400824ef000006014e29..."} 
[2026-09-19 12:51:16] local.INFO: Packet analysis {"connection_id":189491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:16] local.INFO: Extracted packet for processing {"connection_id":189491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:16] local.INFO: GPS Element Parsed {"raw_longitude":747055680,"raw_latitude":136638208,"longitude_deg":74.705568,"latitude_deg":13.6638208,"altitude":6,"angle":334,"satellites":41,"speed":51,"hex_longitude":"2c872a40","hex_latitude":"0824ef00","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189413632001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":718371934961664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8702291451242119168,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12: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-19 12:51: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-19 12:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:16] 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-19 12: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-19 12: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-19 12:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189413632001,"66":28267,"63":206,"9":53760,"24":51,"16":718371934961664,"44":-8702291451242119168},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189413632001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:51:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":718371934961664,"km_value":718371934961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8702291451242119168,"description":"Unknown IO ID 44"} 
[2026-09-19 12:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189413632001,"power":28267,"unknown_63":206,"unknown_9":53760,"ignition":51,"odometer":null,"unknown_44":-8702291451242119168}} 
[2026-09-19 12:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":189491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:16] local.INFO: GPS data processed {"connection_id":189491,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:16] local.INFO: Acknowledgment sent {"connection_id":189491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:19] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88977e0012c871a8008250f400004014f28..."} 
[2026-09-19 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88977e0012c871a8008250f400004014f28..."} 
[2026-09-19 12:51:19] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88977e0012c871a8008250f400004014f28..."} 
[2026-09-19 12:51:19] local.INFO: Packet analysis {"connection_id":189491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:19] local.INFO: Extracted packet for processing {"connection_id":189491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":747051648,"raw_latitude":136646464,"longitude_deg":74.7051648,"latitude_deg":13.6646464,"altitude":4,"angle":335,"satellites":40,"speed":52,"hex_longitude":"2c871a80","hex_latitude":"08250f40","is_valid_coordinates":true} 
[2026-09-19 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":718814316593152,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8707076525843873792,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789802412000,"timestamp_ms":1789802412000,"timestamp_seconds":1789802412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88977e0"} 
[2026-09-19 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":28234,"63":206,"9":53760,"24":52,"16":718814316593152,"44":-8707076525843873792},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:51:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":718814316593152,"km_value":718814316593.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8707076525843873792,"description":"Unknown IO ID 44"} 
[2026-09-19 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":28234,"unknown_63":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8707076525843873792}} 
[2026-09-19 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":189491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:19] local.INFO: GPS data processed {"connection_id":189491,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:19] local.INFO: Acknowledgment sent {"connection_id":189491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:19] local.INFO: TCP Data received {"connection_id":188162,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:19] local.INFO: Processing buffer {"connection_id":188162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:51:19] local.INFO: IMEI packet received {"connection_id":188162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:51:20] local.INFO: TCP Data received {"connection_id":188162,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:20] local.INFO: Processing buffer {"connection_id":188162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:20] local.INFO: Packet analysis {"connection_id":188162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:20] local.INFO: Extracted packet for processing {"connection_id":188162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:20] 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-19 12:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:20] 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-19 12:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:51: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-19 12:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":188162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:20] local.INFO: GPS data processed {"connection_id":188162,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:20] local.INFO: Acknowledgment sent {"connection_id":188162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:23] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88954b8012d181dc00721af38004700d62c..."} 
[2026-09-19 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88954b8012d181dc00721af38004700d62c..."} 
[2026-09-19 12:51:23] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88954b8012d181dc00721af38004700d62c..."} 
[2026-09-19 12:51:23] local.INFO: Packet analysis {"connection_id":186877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:23] local.INFO: Extracted packet for processing {"connection_id":186877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648056,"longitude_deg":75.65552,"latitude_deg":11.9648056,"altitude":71,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-19 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189409792001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656423402307584,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097314816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:23] local.INFO: IO Element Parsed {"io_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-19 12:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802403000,"timestamp_ms":1789802403000,"timestamp_seconds":1789802403,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88954b8"} 
[2026-09-19 12:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:23] 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-19 12:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:51:23] 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-19 12:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189409792001,"66":12504,"105":206,"83":41984,"24":0,"16":21656423402307584,"45":1737756168097314816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189409792001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656423402307584,"km_value":21656423402307.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097314816,"description":"Unknown IO ID 45"} 
[2026-09-19 12:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189409792001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097314816}} 
[2026-09-19 12:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":186877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:23] local.INFO: GPS data processed {"connection_id":186877,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:23] local.INFO: Acknowledgment sent {"connection_id":186877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:45] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:45] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:45] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:51:46] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:46] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:46] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:51:50] local.INFO: TCP Data received {"connection_id":189491,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8899338012c870a80082530100003014f2a..."} 
[2026-09-19 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8899338012c870a80082530100003014f2a..."} 
[2026-09-19 12:51:50] local.INFO: Processing buffer {"connection_id":189491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8899338012c870a80082530100003014f2a..."} 
[2026-09-19 12:51:50] local.INFO: Packet analysis {"connection_id":189491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:50] local.INFO: Extracted packet for processing {"connection_id":189491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":747047552,"raw_latitude":136654864,"longitude_deg":74.7047552,"latitude_deg":13.6654864,"altitude":3,"angle":335,"satellites":42,"speed":52,"hex_longitude":"2c870a80","hex_latitude":"08253010","is_valid_coordinates":true} 
[2026-09-19 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189417472001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":719265288159232,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8711509756724953088,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789802419000,"timestamp_ms":1789802419000,"timestamp_seconds":1789802419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8899338"} 
[2026-09-19 12:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:50] 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-19 12:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189417472001,"66":28267,"63":206,"9":53760,"24":52,"16":719265288159232,"44":-8711509756724953088},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189417472001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:50] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:51:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":719265288159232,"km_value":719265288159.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8711509756724953088,"description":"Unknown IO ID 44"} 
[2026-09-19 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189417472001,"power":28267,"unknown_63":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8711509756724953088}} 
[2026-09-19 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":189491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:50] local.INFO: GPS data processed {"connection_id":189491,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:50] local.INFO: Acknowledgment sent {"connection_id":189491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:51] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:51] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:51:51] local.INFO: IMEI packet received {"connection_id":186766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":186766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:51:52] local.INFO: TCP Data received {"connection_id":188162,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:52] local.INFO: Processing buffer {"connection_id":188162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:51:52] local.INFO: Packet analysis {"connection_id":188162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:52] local.INFO: Extracted packet for processing {"connection_id":188162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51: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-19 12:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51: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-19 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:51: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-19 12:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:51: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-19 12:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":188162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:52] local.INFO: GPS data processed {"connection_id":188162,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:52] local.INFO: Acknowledgment sent {"connection_id":188162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:51:52] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88958a0012d181d400721ae68004c00ca2d..."} 
[2026-09-19 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88958a0012d181d400721ae68004c00ca2d..."} 
[2026-09-19 12:51:52] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88958a0012d181d400721ae68004c00ca2d..."} 
[2026-09-19 12:51:52] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:52] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647848,"longitude_deg":75.6555072,"latitude_deg":11.9647848,"altitude":76,"angle":202,"satellites":45,"speed":1,"hex_longitude":"2d181d40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-09-19 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415168001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656436287209472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097314816,"note":"Value kept but may cause issues"} 
[2026-09-19 12:51:52] local.INFO: IO Element Parsed {"io_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-19 12:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802404000,"timestamp_ms":1789802404000,"timestamp_seconds":1789802404,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88958a0"} 
[2026-09-19 12:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:51:52] 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-19 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:51:52] 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-19 12:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:51:52] 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-19 12:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415168001,"66":12504,"105":206,"83":41984,"24":1,"16":21656436287209472,"45":1737756168097314816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415168001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656436287209472,"km_value":21656436287209.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097314816,"description":"Unknown IO ID 45"} 
[2026-09-19 12:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415168001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737756168097314816}} 
[2026-09-19 12:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:51:52] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:51:52] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:09] local.INFO: TCP Data received {"connection_id":186878,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:09] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:09] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:52:09] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:09] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:09] local.INFO: IMEI packet received {"connection_id":186767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:52:14] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:14] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:52:14] local.INFO: IMEI packet received {"connection_id":186767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:52:14] local.INFO: TCP Data received {"connection_id":186878,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:14] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:52:14] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:52:15] local.INFO: TCP Data received {"connection_id":186878,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b889ae90012c86fac0082551800004014e2b..."} 
[2026-09-19 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b889ae90012c86fac0082551800004014e2b..."} 
[2026-09-19 12:52:15] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b889ae90012c86fac0082551800004014e2b..."} 
[2026-09-19 12:52:15] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:15] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":747043520,"raw_latitude":136663424,"longitude_deg":74.704352,"latitude_deg":13.6663424,"altitude":4,"angle":334,"satellites":43,"speed":54,"hex_longitude":"2c86fac0","hex_latitude":"08255180","is_valid_coordinates":true} 
[2026-09-19 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189419264001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":719720554692608,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8716013356350173184,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802426000,"timestamp_ms":1789802426000,"timestamp_seconds":1789802426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b889ae90"} 
[2026-09-19 12:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:52: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-19 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:52:15] 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-19 12:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189419264001,"66":28300,"63":206,"9":53760,"24":54,"16":719720554692608,"44":-8716013356350173184},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,9,24,16,44]} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189419264001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":719720554692608,"km_value":719720554692.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8716013356350173184,"description":"Unknown IO ID 44"} 
[2026-09-19 12:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189419264001,"power":28300,"unknown_63":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":-8716013356350173184}} 
[2026-09-19 12:52:15] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:15] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:15] local.INFO: Packet analysis {"connection_id":186767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:15] local.INFO: Extracted packet for processing {"connection_id":186767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52: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-19 12:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:52: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-19 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:52: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-19 12:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:52: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-19 12:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":186767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:15] local.INFO: GPS data processed {"connection_id":186767,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:15] local.INFO: Acknowledgment sent {"connection_id":186767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:15] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:15] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:23] local.INFO: TCP Data received {"connection_id":186766,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b889aaa8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b889aaa8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:23] local.INFO: Processing buffer {"connection_id":186766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b889aaa8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:23] local.INFO: Packet analysis {"connection_id":186766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:23] local.INFO: Extracted packet for processing {"connection_id":186766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415424001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608906240,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:23] local.INFO: IO Element Parsed {"io_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-19 12:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802425000,"timestamp_ms":1789802425000,"timestamp_seconds":1789802425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b889aaa8"} 
[2026-09-19 12:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:52:23] 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-19 12:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:52:23] 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-19 12:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415424001,"66":12461,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608906240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415424001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608906240,"description":"Unknown IO ID 45"} 
[2026-09-19 12:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608906240}} 
[2026-09-19 12:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":186766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:23] local.INFO: GPS data processed {"connection_id":186766,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:23] local.INFO: Acknowledgment sent {"connection_id":186766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:46] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:46] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:46] local.INFO: IMEI packet received {"connection_id":188163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":188163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:52:47] local.INFO: TCP Data received {"connection_id":186767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:47] local.INFO: Processing buffer {"connection_id":186767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:52:47] local.INFO: Packet analysis {"connection_id":186767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:47] local.INFO: Extracted packet for processing {"connection_id":186767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52: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-19 12:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12: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-19 12:52: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-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:52:47] 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-19 12: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-19 12: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-19 12:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:52: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-19 12:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:52:47] local.INFO: TCP Data received {"connection_id":186878,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88af2c8012c864d400826c320000d014f25..."} 
[2026-09-19 12:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:47] local.INFO: GPS data processed {"connection_id":186767,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:47] local.INFO: Acknowledgment sent {"connection_id":186767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88af2c8012c864d400826c320000d014f25..."} 
[2026-09-19 12:52:47] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88af2c8012c864d400826c320000d014f25..."} 
[2026-09-19 12:52:47] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:52:47] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":746999104,"raw_latitude":136758048,"longitude_deg":74.6999104,"latitude_deg":13.6758048,"altitude":13,"angle":335,"satellites":37,"speed":56,"hex_longitude":"2c864d40","hex_latitude":"0826c320","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189440512001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":724762846298112,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8764638158552817664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:47] 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-19 12:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802509000,"timestamp_ms":1789802509000,"timestamp_seconds":1789802509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88af2c8"} 
[2026-09-19 12: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-19 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:52:47] 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-19 12: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-19 12: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-19 12:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189440512001,"66":28126,"97":206,"9":53760,"24":56,"16":724762846298112,"44":-8764638158552817664},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16,44]} 
[2026-09-19 12:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189440512001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":724762846298112,"km_value":724762846298.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8764638158552817664,"description":"Unknown IO ID 44"} 
[2026-09-19 12:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189440512001,"power":28126,"unknown_97":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":-8764638158552817664}} 
[2026-09-19 12:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:47] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:47] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:52:48] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:48] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:52:48] local.INFO: IMEI packet received {"connection_id":188163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":188163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:52:49] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b889fcb0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b889fcb0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:49] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b889fcb0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:52:49] local.INFO: Packet analysis {"connection_id":188163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:49] local.INFO: Extracted packet for processing {"connection_id":188163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189420800001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:52:49] local.INFO: IO Element Parsed {"io_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-19 12:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789802446000,"timestamp_ms":1789802446000,"timestamp_seconds":1789802446,"priority":1,"record_length":96,"hex_timestamp":"000001a0b889fcb0"} 
[2026-09-19 12: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-19 12:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12: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-19 12: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-19 12:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:52:49] 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-19 12:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189420800001,"66":12461,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189420800001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:52:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189420800001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":188163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:52:49] local.INFO: GPS data processed {"connection_id":188163,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:52:49] local.INFO: Acknowledgment sent {"connection_id":188163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:09] local.INFO: TCP Data received {"connection_id":188165,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:09] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:09] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:53:09] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:09] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:09] local.INFO: IMEI packet received {"connection_id":188164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:53:11] local.INFO: TCP Data received {"connection_id":188165,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:11] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:11] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:53:14] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:14] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:53:14] local.INFO: IMEI packet received {"connection_id":188164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:53:15] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:15] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:15] local.INFO: Packet analysis {"connection_id":188164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:53:15] local.INFO: Extracted packet for processing {"connection_id":188164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53: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-19 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:53: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-19 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:53: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-19 12:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:53:15] 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-19 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":188164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:15] local.INFO: GPS data processed {"connection_id":188164,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:15] local.INFO: Acknowledgment sent {"connection_id":188164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:16] local.INFO: TCP Data received {"connection_id":188165,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:16] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:53:16] local.INFO: IMEI packet received {"connection_id":188165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":188165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:53:17] local.INFO: TCP Data received {"connection_id":188165,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b0e20012c863cc00826e2a0000f014626..."} 
[2026-09-19 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b0e20012c863cc00826e2a0000f014626..."} 
[2026-09-19 12:53:17] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b0e20012c863cc00826e2a0000f014626..."} 
[2026-09-19 12:53:17] local.INFO: Packet analysis {"connection_id":188165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:53:17] local.INFO: Extracted packet for processing {"connection_id":188165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":746994880,"raw_latitude":136766112,"longitude_deg":74.699488,"latitude_deg":13.6766112,"altitude":15,"angle":326,"satellites":38,"speed":42,"hex_longitude":"2c863cc0","hex_latitude":"0826e2a0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189442304001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":725200932962304,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8769282495666249728,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:17] 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-19 12:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789802516000,"timestamp_ms":1789802516000,"timestamp_seconds":1789802516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b0e20"} 
[2026-09-19 12: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-19 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 12:53:17] 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-19 12: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-19 12: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-19 12:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189442304001,"66":28300,"97":206,"9":53760,"24":42,"16":725200932962304,"44":-8769282495666249728},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16,44]} 
[2026-09-19 12:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189442304001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:53:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":725200932962304,"km_value":725200932962.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8769282495666249728,"description":"Unknown IO ID 44"} 
[2026-09-19 12:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189442304001,"power":28300,"unknown_97":206,"unknown_9":53760,"ignition":42,"odometer":null,"unknown_44":-8769282495666249728}} 
[2026-09-19 12:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":188165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:17] local.INFO: GPS data processed {"connection_id":188165,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:17] local.INFO: Acknowledgment sent {"connection_id":188165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:20] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88a4eb8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88a4eb8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:53:20] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88a4eb8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:53:20] local.INFO: Packet analysis {"connection_id":188163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:53:20] local.INFO: Extracted packet for processing {"connection_id":188163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189426176001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:20] local.INFO: IO Element Parsed {"io_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-19 12:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802467000,"timestamp_ms":1789802467000,"timestamp_seconds":1789802467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88a4eb8"} 
[2026-09-19 12:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 12:53:20] 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-19 12:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:53:20] 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-19 12:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189426176001,"66":12439,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189426176001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189426176001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":188163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:20] local.INFO: GPS data processed {"connection_id":188163,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:20] local.INFO: Acknowledgment sent {"connection_id":188163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:46] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:46] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:46] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:53:46] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:46] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:53:46] local.INFO: Packet analysis {"connection_id":188164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:53:46] local.INFO: Extracted packet for processing {"connection_id":188164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:46] 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-19 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:53: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-19 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:53: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-19 12:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:53: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-19 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":188164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:46] local.INFO: GPS data processed {"connection_id":188164,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:46] local.INFO: Acknowledgment sent {"connection_id":188164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:49] local.INFO: TCP Data received {"connection_id":188165,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b2978012c862f800826f3200010013828..."} 
[2026-09-19 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b2978012c862f800826f3200010013828..."} 
[2026-09-19 12:53:49] local.INFO: Processing buffer {"connection_id":188165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b2978012c862f800826f3200010013828..."} 
[2026-09-19 12:53:49] local.INFO: Packet analysis {"connection_id":188165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:53:49] local.INFO: Extracted packet for processing {"connection_id":188165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:53:49] local.INFO: GPS Element Parsed {"raw_longitude":746991488,"raw_latitude":136770336,"longitude_deg":74.6991488,"latitude_deg":13.6770336,"altitude":16,"angle":312,"satellites":40,"speed":16,"hex_longitude":"2c862f80","hex_latitude":"0826f320","is_valid_coordinates":true} 
[2026-09-19 12:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189444096001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":725462925967360,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8773926832779911168,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:49] 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-19 12:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789802523000,"timestamp_ms":1789802523000,"timestamp_seconds":1789802523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b2978"} 
[2026-09-19 12:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 12:53:49] 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-19 12:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189444096001,"66":28234,"97":206,"9":53760,"24":16,"16":725462925967360,"44":-8773926832779911168},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16,44]} 
[2026-09-19 12:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189444096001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:53:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":725462925967360,"km_value":725462925967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8773926832779911168,"description":"Unknown IO ID 44"} 
[2026-09-19 12:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189444096001,"power":28234,"unknown_97":206,"unknown_9":53760,"ignition":16,"odometer":null,"unknown_44":-8773926832779911168}} 
[2026-09-19 12:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":188165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:49] local.INFO: GPS data processed {"connection_id":188165,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:49] local.INFO: Acknowledgment sent {"connection_id":188165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:53:51] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:51] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:53:51] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:53:52] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88aa0c0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88aa0c0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:53:52] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88aa0c0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:53:52] local.INFO: Packet analysis {"connection_id":186879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:53:52] local.INFO: Extracted packet for processing {"connection_id":186879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189431552001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:53:52] local.INFO: IO Element Parsed {"io_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-19 12:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802488000,"timestamp_ms":1789802488000,"timestamp_seconds":1789802488,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88aa0c0"} 
[2026-09-19 12: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-19 12:53:52] 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-19 12: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 12:53:52] 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-19 12: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-19 12: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-19 12:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:53:52] 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-19 12:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189431552001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189431552001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:53:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189431552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":186879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:53:52] local.INFO: GPS data processed {"connection_id":186879,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:53:52] local.INFO: Acknowledgment sent {"connection_id":186879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:09] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:09] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:09] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:54:09] local.INFO: TCP Data received {"connection_id":188167,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:09] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:09] local.INFO: IMEI packet received {"connection_id":188167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:54:14] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:14] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:54:14] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:54:14] local.INFO: TCP Data received {"connection_id":188167,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:14] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:54:14] local.INFO: IMEI packet received {"connection_id":188167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:54:16] local.INFO: TCP Data received {"connection_id":188167,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b67f8012c8614c008270b00000f013429..."} 
[2026-09-19 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b67f8012c8614c008270b00000f013429..."} 
[2026-09-19 12:54:16] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b67f8012c8614c008270b00000f013429..."} 
[2026-09-19 12:54:16] local.INFO: Packet analysis {"connection_id":188167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:16] local.INFO: Extracted packet for processing {"connection_id":188167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":746984640,"raw_latitude":136776448,"longitude_deg":74.698464,"latitude_deg":13.6776448,"altitude":15,"angle":308,"satellites":41,"speed":29,"hex_longitude":"2c8614c0","hex_latitude":"08270b00","is_valid_coordinates":true} 
[2026-09-19 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189445888001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":725901012631552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8777656376220246016,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] 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-19 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802539000,"timestamp_ms":1789802539000,"timestamp_seconds":1789802539,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b67f8"} 
[2026-09-19 12:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:54: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-19 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:54:16] 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-19 12:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189445888001,"66":27800,"97":206,"9":53760,"24":29,"16":725901012631552,"44":-8777656376220246016},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16,44]} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189445888001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":725901012631552,"km_value":725901012631.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8777656376220246016,"description":"Unknown IO ID 44"} 
[2026-09-19 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189445888001,"power":27800,"unknown_97":206,"unknown_9":53760,"ignition":29,"odometer":null,"unknown_44":-8777656376220246016}} 
[2026-09-19 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":188167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:16] local.INFO: GPS data processed {"connection_id":188167,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:16] local.INFO: Acknowledgment sent {"connection_id":188167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:16] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:16] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:16] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:54:16] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:16] 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-19 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:54: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-19 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:54:16] 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-19 12:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:54: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-19 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:16] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:16] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:23] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88af2c8012d181d400721ae18004c00cc2c..."} 
[2026-09-19 12:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88af2c8012d181d400721ae18004c00cc2c..."} 
[2026-09-19 12:54:23] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88af2c8012d181d400721ae18004c00cc2c..."} 
[2026-09-19 12:54:23] local.INFO: Packet analysis {"connection_id":186879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:54:23] local.INFO: Extracted packet for processing {"connection_id":186879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88a"} 
[2026-09-19 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189436928001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:23] local.INFO: IO Element Parsed {"io_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-19 12:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802509000,"timestamp_ms":1789802509000,"timestamp_seconds":1789802509,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88af2c8"} 
[2026-09-19 12: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-19 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:54:23] 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-19 12: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-19 12: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-19 12:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:54:23] 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-19 12:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189436928001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189436928001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189436928001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":186879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:23] local.INFO: GPS data processed {"connection_id":186879,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:23] local.INFO: Acknowledgment sent {"connection_id":186879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:46] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:46] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:46] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:54:47] local.INFO: TCP Data received {"connection_id":188167,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b8738012c85fd8008271930000e012828..."} 
[2026-09-19 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b8738012c85fd8008271930000e012828..."} 
[2026-09-19 12:54:47] local.INFO: Processing buffer {"connection_id":188167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b8738012c85fd8008271930000e012828..."} 
[2026-09-19 12:54:47] local.INFO: Packet analysis {"connection_id":188167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:47] local.INFO: Extracted packet for processing {"connection_id":188167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":746978688,"raw_latitude":136780080,"longitude_deg":74.6978688,"latitude_deg":13.678008,"altitude":14,"angle":296,"satellites":40,"speed":38,"hex_longitude":"2c85fd80","hex_latitude":"08271930","is_valid_coordinates":true} 
[2026-09-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189449984001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":726231725113344,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8785185831845691392,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:47] 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-19 12:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802547000,"timestamp_ms":1789802547000,"timestamp_seconds":1789802547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b8738"} 
[2026-09-19 12:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:54: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-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-19 12:54: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-19 12:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189449984001,"66":28137,"97":206,"9":53760,"24":38,"16":726231725113344,"44":-8785185831845691392},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,9,24,16,44]} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189449984001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":726231725113344,"km_value":726231725113.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8785185831845691392,"description":"Unknown IO ID 44"} 
[2026-09-19 12:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189449984001,"power":28137,"unknown_97":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":-8785185831845691392}} 
[2026-09-19 12:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:47] local.INFO: GPS data processed {"connection_id":188167,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:47] local.INFO: Acknowledgment sent {"connection_id":188167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:47] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:47] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:54:47] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:54:47] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54: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-19 12:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12: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-19 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:54:47] 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-19 12:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:54: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-19 12:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:47] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:47] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:54:51] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:51] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:54:51] local.INFO: IMEI packet received {"connection_id":186768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":186768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:54:52] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b44d0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b44d0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:54:52] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b44d0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:54:52] local.INFO: Packet analysis {"connection_id":186768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:52] local.INFO: Extracted packet for processing {"connection_id":186768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189442304001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:54:52] local.INFO: IO Element Parsed {"io_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-19 12:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802530000,"timestamp_ms":1789802530000,"timestamp_seconds":1789802530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b44d0"} 
[2026-09-19 12:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:54:52] 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-19 12:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:54:52] 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-19 12:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:54:52] 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-19 12:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189442304001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189442304001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:54:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189442304001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":186768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:54:52] local.INFO: GPS data processed {"connection_id":186768,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:54:52] local.INFO: Acknowledgment sent {"connection_id":186768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:14] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:14] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:14] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:55:14] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:14] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:14] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:55:19] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:19] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:55:19] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:55:20] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:20] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:55:20] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:55:20] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:20] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:20] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:55:20] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:20] 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-19 12:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:20] 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-19 12:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:55:20] 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-19 12:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:20] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:20] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:21] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b9ea8012c85e780082721d0000c011c29..."} 
[2026-09-19 12:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b9ea8012c85e780082721d0000c011c29..."} 
[2026-09-19 12:55:21] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b9ea8012c85e780082721d0000c011c29..."} 
[2026-09-19 12:55:21] local.INFO: Packet analysis {"connection_id":186881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:21] local.INFO: Extracted packet for processing {"connection_id":186881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":746973056,"raw_latitude":136782288,"longitude_deg":74.6973056,"latitude_deg":13.6782288,"altitude":12,"angle":284,"satellites":41,"speed":40,"hex_longitude":"2c85e780","hex_latitude":"082721d0","is_valid_coordinates":true} 
[2026-09-19 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189452032001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":726519487922176,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8791730125053284352,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789802553000,"timestamp_ms":1789802553000,"timestamp_seconds":1789802553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b9ea8"} 
[2026-09-19 12:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:21] 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-19 12:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189452032001,"66":28267,"99":206,"9":53760,"24":40,"16":726519487922176,"44":-8791730125053284352},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 12:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189452032001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:21] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:55:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":726519487922176,"km_value":726519487922.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8791730125053284352,"description":"Unknown IO ID 44"} 
[2026-09-19 12:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189452032001,"power":28267,"unknown_99":206,"unknown_9":53760,"ignition":40,"odometer":null,"unknown_44":-8791730125053284352}} 
[2026-09-19 12:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":186881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:21] local.INFO: GPS data processed {"connection_id":186881,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:21] local.INFO: Acknowledgment sent {"connection_id":186881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:23] local.INFO: TCP Data received {"connection_id":186768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88b96d8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88b96d8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:55:23] local.INFO: Processing buffer {"connection_id":186768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88b96d8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:55:23] local.INFO: Packet analysis {"connection_id":186768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:23] local.INFO: Extracted packet for processing {"connection_id":186768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:55: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-19 12:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189447680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:23] local.INFO: IO Element Parsed {"io_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-19 12:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802551000,"timestamp_ms":1789802551000,"timestamp_seconds":1789802551,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88b96d8"} 
[2026-09-19 12:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:23] 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-19 12:55: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-19 12:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:55:23] 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-19 12:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189447680001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189447680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189447680001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":186768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:23] local.INFO: GPS data processed {"connection_id":186768,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:23] local.INFO: Acknowledgment sent {"connection_id":186768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:24] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88bbde8012c85c48008272610000b011029..."} 
[2026-09-19 12:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88bbde8012c85c48008272610000b011029..."} 
[2026-09-19 12:55:24] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88bbde8012c85c48008272610000b011029..."} 
[2026-09-19 12:55:24] local.INFO: Packet analysis {"connection_id":186881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:24] local.INFO: Extracted packet for processing {"connection_id":186881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:24] local.INFO: GPS Element Parsed {"raw_longitude":746964096,"raw_latitude":136783376,"longitude_deg":74.6964096,"latitude_deg":13.6783376,"altitude":11,"angle":272,"satellites":41,"speed":46,"hex_longitude":"2c85c480","hex_latitude":"08272610","is_valid_coordinates":true} 
[2026-09-19 12:55: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-19 12:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189453568001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":726944689684480,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8797922574540353536,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789802561000,"timestamp_ms":1789802561000,"timestamp_seconds":1789802561,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88bbde8"} 
[2026-09-19 12:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:55: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":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:24] 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-19 12:55: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-19 12:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189453568001,"66":28376,"99":206,"9":53760,"24":46,"16":726944689684480,"44":-8797922574540353536},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 12:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189453568001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:24] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:55:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":726944689684480,"km_value":726944689684.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8797922574540353536,"description":"Unknown IO ID 44"} 
[2026-09-19 12:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189453568001,"power":28376,"unknown_99":206,"unknown_9":53760,"ignition":46,"odometer":null,"unknown_44":-8797922574540353536}} 
[2026-09-19 12:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":186881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:24] local.INFO: GPS data processed {"connection_id":186881,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:24] local.INFO: Acknowledgment sent {"connection_id":186881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:25] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:25] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8895c88012d34c14006aa41400008010e2c..."} 
[2026-09-19 12:55:25] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:55:25] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b889"} 
[2026-09-19 12:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189338624001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:25] 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-19 12:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789802405000,"timestamp_ms":1789802405000,"timestamp_seconds":1789802405,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8895c88"} 
[2026-09-19 12: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-19 12:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:25] 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-19 12: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-19 12: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-19 12:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:55:25] 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-19 12:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189338624001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189338624001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189338624001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:25] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:25] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:55:46] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:46] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:46] local.INFO: IMEI packet received {"connection_id":188168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":188168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:55:51] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:51] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:55:51] local.INFO: IMEI packet received {"connection_id":188168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":188168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:55:52] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88be8e0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88be8e0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:55:52] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88be8e0012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:55:52] local.INFO: Packet analysis {"connection_id":188168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:52] local.INFO: Extracted packet for processing {"connection_id":188168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88b"} 
[2026-09-19 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189453056001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:55:52] local.INFO: IO Element Parsed {"io_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-19 12:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802572000,"timestamp_ms":1789802572000,"timestamp_seconds":1789802572,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88be8e0"} 
[2026-09-19 12:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:55:52] 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-19 12:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:55:52] 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-19 12:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:55:52] 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-19 12:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189453056001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189453056001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:55:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189453056001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":188168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:55:52] local.INFO: GPS data processed {"connection_id":188168,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:55:52] local.INFO: Acknowledgment sent {"connection_id":188168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:09] local.INFO: TCP Data received {"connection_id":189493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:09] local.INFO: Processing buffer {"connection_id":189493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:09] local.INFO: IMEI packet received {"connection_id":189493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":189493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:56:09] local.INFO: TCP Data received {"connection_id":189492,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:09] local.INFO: Processing buffer {"connection_id":189492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:09] local.INFO: IMEI packet received {"connection_id":189492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":189492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:56:14] local.INFO: TCP Data received {"connection_id":189493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:14] local.INFO: Processing buffer {"connection_id":189493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:56:14] local.INFO: IMEI packet received {"connection_id":189493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":189493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:56:14] local.INFO: TCP Data received {"connection_id":189492,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:14] local.INFO: Processing buffer {"connection_id":189492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:56:14] local.INFO: IMEI packet received {"connection_id":189492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":189492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:56:15] local.INFO: TCP Data received {"connection_id":189493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:15] local.INFO: Processing buffer {"connection_id":189493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:15] local.INFO: Packet analysis {"connection_id":189493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:56:15] local.INFO: Extracted packet for processing {"connection_id":189493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56: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-19 12:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:56: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-19 12:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:56: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-19 12:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":189493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:15] local.INFO: GPS data processed {"connection_id":189493,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:15] local.INFO: Acknowledgment sent {"connection_id":189493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:16] local.INFO: TCP Data received {"connection_id":189492,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88c0ff0012c8560c0082723b00006010a2a..."} 
[2026-09-19 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88c0ff0012c8560c0082723b00006010a2a..."} 
[2026-09-19 12:56:16] local.INFO: Processing buffer {"connection_id":189492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88c0ff0012c8560c0082723b00006010a2a..."} 
[2026-09-19 12:56:16] local.INFO: Packet analysis {"connection_id":189492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:16] local.INFO: Extracted packet for processing {"connection_id":189492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":746938560,"raw_latitude":136782768,"longitude_deg":74.693856,"latitude_deg":13.6782768,"altitude":6,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2c8560c0","hex_latitude":"082723b0","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189455616001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8807774198724947968,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802582000,"timestamp_ms":1789802582000,"timestamp_seconds":1789802582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88c0ff0"} 
[2026-09-19 12: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-19 12:56: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-19 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:56: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-19 12: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-19 12: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-19 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189455616001,"66":28430,"99":206,"9":53760,"24":0,"16":727060653801472,"44":-8807774198724947968},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189455616001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:16] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:56:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727060653801472,"km_value":727060653801.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8807774198724947968,"description":"Unknown IO ID 44"} 
[2026-09-19 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189455616001,"power":28430,"unknown_99":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8807774198724947968}} 
[2026-09-19 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":189492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:16] local.INFO: GPS data processed {"connection_id":189492,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:16] local.INFO: Acknowledgment sent {"connection_id":189492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:23] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88c3ae8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88c3ae8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:23] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88c3ae8012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:23] local.INFO: Packet analysis {"connection_id":188168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:23] local.INFO: Extracted packet for processing {"connection_id":188168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:56: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-19 12:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189458432001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:23] local.INFO: IO Element Parsed {"io_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-19 12:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802593000,"timestamp_ms":1789802593000,"timestamp_seconds":1789802593,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88c3ae8"} 
[2026-09-19 12:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:56:23] 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-19 12:56: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-19 12:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:56:23] 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-19 12:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189458432001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189458432001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189458432001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":188168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:23] local.INFO: GPS data processed {"connection_id":188168,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:23] local.INFO: Acknowledgment sent {"connection_id":188168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:46] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:46] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:46] local.INFO: IMEI packet received {"connection_id":186769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":186769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:56:47] local.INFO: TCP Data received {"connection_id":189493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:47] local.INFO: Processing buffer {"connection_id":189493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:56:47] local.INFO: Packet analysis {"connection_id":189493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:56:47] local.INFO: Extracted packet for processing {"connection_id":189493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56: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-19 12:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12: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-19 12:56: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-19 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:56: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-19 12: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-19 12: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-19 12:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:56:47] 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-19 12:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":189493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:47] local.INFO: GPS data processed {"connection_id":189493,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:47] local.INFO: Acknowledgment sent {"connection_id":189493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:51] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:51] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:56:51] local.INFO: IMEI packet received {"connection_id":186769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":186769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:56:52] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88c8cf0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88c8cf0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:52] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88c8cf0012d181d400721ae18004c00cc2b..."} 
[2026-09-19 12:56:52] local.INFO: Packet analysis {"connection_id":186769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:52] local.INFO: Extracted packet for processing {"connection_id":186769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189463808001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:52] local.INFO: IO Element Parsed {"io_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-19 12:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802614000,"timestamp_ms":1789802614000,"timestamp_seconds":1789802614,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88c8cf0"} 
[2026-09-19 12:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:56:52] 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-19 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:56:52] 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-19 12:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:56:52] 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-19 12:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189463808001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189463808001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189463808001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":186769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:52] local.INFO: GPS data processed {"connection_id":186769,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:52] local.INFO: Acknowledgment sent {"connection_id":186769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:56:55] local.INFO: TCP Data received {"connection_id":189492,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88c61f8012c850c0008271eb00002010d29..."} 
[2026-09-19 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88c61f8012c850c0008271eb00002010d29..."} 
[2026-09-19 12:56:55] local.INFO: Processing buffer {"connection_id":189492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88c61f8012c850c0008271eb00002010d29..."} 
[2026-09-19 12:56:55] local.INFO: Packet analysis {"connection_id":189492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:55] local.INFO: Extracted packet for processing {"connection_id":189492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":746916864,"raw_latitude":136781488,"longitude_deg":74.6916864,"latitude_deg":13.6781488,"altitude":2,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2c850c00","hex_latitude":"08271eb0","is_valid_coordinates":true} 
[2026-09-19 12:56: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-19 12:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189460992001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8835851327651991552,"note":"Value kept but may cause issues"} 
[2026-09-19 12:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789802603000,"timestamp_ms":1789802603000,"timestamp_seconds":1789802603,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88c61f8"} 
[2026-09-19 12:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 12:56: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 12:56:55] 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-19 12:56: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-19 12:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189460992001,"66":28126,"99":206,"9":53760,"24":0,"16":727060653801472,"44":-8835851327651991552},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 12:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189460992001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:56:55] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727060653801472,"km_value":727060653801.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8835851327651991552,"description":"Unknown IO ID 44"} 
[2026-09-19 12:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189460992001,"power":28126,"unknown_99":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8835851327651991552}} 
[2026-09-19 12:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":189492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:56:55] local.INFO: GPS data processed {"connection_id":189492,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:56:55] local.INFO: Acknowledgment sent {"connection_id":189492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:09] local.INFO: TCP Data received {"connection_id":189494,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:09] local.INFO: Processing buffer {"connection_id":189494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:09] local.INFO: IMEI packet received {"connection_id":189494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":189494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:57:09] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:09] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:09] local.INFO: IMEI packet received {"connection_id":188169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:57:14] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:14] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:57:14] local.INFO: IMEI packet received {"connection_id":188169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:57:14] local.INFO: TCP Data received {"connection_id":189494,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:14] local.INFO: Processing buffer {"connection_id":189494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:57:14] local.INFO: IMEI packet received {"connection_id":189494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:57:16] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:16] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:16] local.INFO: Packet analysis {"connection_id":188169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:16] local.INFO: Extracted packet for processing {"connection_id":188169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:16] 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-19 12:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57: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-19 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-19 12:57: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-19 12:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:57: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-19 12:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":188169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:57:16] local.INFO: GPS data processed {"connection_id":188169,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:57:16] local.INFO: Acknowledgment sent {"connection_id":188169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:19] local.INFO: TCP Data received {"connection_id":189494,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8902ab80100000000000000000000000000..."} 
[2026-09-19 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8902ab80100000000000000000000000000..."} 
[2026-09-19 12:57:19] local.INFO: Processing buffer {"connection_id":189494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8902ab80100000000000000000000000000..."} 
[2026-09-19 12:57:19] local.INFO: Packet analysis {"connection_id":189494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:57:19] local.INFO: Extracted packet for processing {"connection_id":189494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:57: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-19 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189466368001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8859706331928547328,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789802851000,"timestamp_ms":1789802851000,"timestamp_seconds":1789802851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8902ab8"} 
[2026-09-19 12:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 12:57:19] 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-19 12:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":189494,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 12:57:19] local.INFO: GPS data processed {"connection_id":189494,"processed":0,"errors":0,"total":1} 
[2026-09-19 12:57:19] local.INFO: Acknowledgment sent {"connection_id":189494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:23] local.INFO: TCP Data received {"connection_id":186769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88cdef8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88cdef8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:23] local.INFO: Processing buffer {"connection_id":186769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88cdef8012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:23] local.INFO: Packet analysis {"connection_id":186769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:57:23] local.INFO: Extracted packet for processing {"connection_id":186769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189469184001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:23] local.INFO: IO Element Parsed {"io_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-19 12:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802635000,"timestamp_ms":1789802635000,"timestamp_seconds":1789802635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88cdef8"} 
[2026-09-19 12:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 12:57:23] 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-19 12:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:57:23] 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-19 12:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189469184001,"66":12406,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189469184001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:57:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189469184001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":186769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:57:23] local.INFO: GPS data processed {"connection_id":186769,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:57:23] local.INFO: Acknowledgment sent {"connection_id":186769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:45] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:45] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:45] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:57:46] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:46] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:46] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:57:47] local.INFO: TCP Data received {"connection_id":188169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:47] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:57:47] local.INFO: Packet analysis {"connection_id":188169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:47] local.INFO: Extracted packet for processing {"connection_id":188169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57: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-19 12:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57: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-19 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:57: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-19 12:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:57: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-19 12:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":188169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:57:47] local.INFO: GPS data processed {"connection_id":188169,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:57:47] local.INFO: Acknowledgment sent {"connection_id":188169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:50] local.INFO: TCP Data received {"connection_id":189494,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88cbbd0012c84d00008271f300003010b26..."} 
[2026-09-19 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88cbbd0012c84d00008271f300003010b26..."} 
[2026-09-19 12:57:50] local.INFO: Processing buffer {"connection_id":189494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88cbbd0012c84d00008271f300003010b26..."} 
[2026-09-19 12:57:50] local.INFO: Packet analysis {"connection_id":189494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:57:50] local.INFO: Extracted packet for processing {"connection_id":189494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88c"} 
[2026-09-19 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":746901504,"raw_latitude":136781616,"longitude_deg":74.6901504,"latitude_deg":13.6781616,"altitude":3,"angle":267,"satellites":38,"speed":31,"hex_longitude":"2c84d000","hex_latitude":"08271f30","is_valid_coordinates":true} 
[2026-09-19 12:57: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-19 12:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,99,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 12:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789802626000,"timestamp_ms":1789802626000,"timestamp_seconds":1789802626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88cbbd0"} 
[2026-09-19 12:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:57: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 12:57:50] 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-19 12:57: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-19 12:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"99":206,"9":53760,"24":31,"16":727060653801472},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16]} 
[2026-09-19 12:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 12:57:50] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:57:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727060653801472,"km_value":727060653801.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:57:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_99":206,"unknown_9":53760,"ignition":31,"odometer":null}} 
[2026-09-19 12:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":189494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:57:50] local.INFO: GPS data processed {"connection_id":189494,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:57:50] local.INFO: Acknowledgment sent {"connection_id":189494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:57:51] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:51] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:57:51] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:57:52] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88d3100012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88d3100012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:52] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88d3100012d181d400721ae18004c00cc2a..."} 
[2026-09-19 12:57:52] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:52] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647768,"longitude_deg":75.6555072,"latitude_deg":11.9647768,"altitude":76,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-09-19 12:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189474560001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656440582176768,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608885760,"note":"Value kept but may cause issues"} 
[2026-09-19 12:57:52] local.INFO: IO Element Parsed {"io_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-19 12:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802656000,"timestamp_ms":1789802656000,"timestamp_seconds":1789802656,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88d3100"} 
[2026-09-19 12:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:57:52] 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-19 12:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 12:57:52] 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-19 12:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:57:52] 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-19 12:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189474560001,"66":12504,"105":206,"83":41984,"24":0,"16":21656440582176768,"45":1737615430608885760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 12:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189474560001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:57:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 12:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656440582176768,"km_value":21656440582176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608885760,"description":"Unknown IO ID 45"} 
[2026-09-19 12:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189474560001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608885760}} 
[2026-09-19 12:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:57:52] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:57:52] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:58:09] local.INFO: TCP Data received {"connection_id":188171,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:09] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:09] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:58:09] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:09] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:09] local.INFO: IMEI packet received {"connection_id":188170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:58:14] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:14] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:58:14] local.INFO: IMEI packet received {"connection_id":188170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:58:14] local.INFO: TCP Data received {"connection_id":188171,"ip":"117.224.216.130","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:14] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 12:58:14] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:58:15] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:15] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:15] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:15] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58: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-19 12:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:58: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-19 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12: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-19 12:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:58: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-19 12:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:58:16] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:58:16] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:58:16] local.INFO: TCP Data received {"connection_id":188171,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88d09f0012c8487c008272e100003012828..."} 
[2026-09-19 12:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88d09f0012c8487c008272e100003012828..."} 
[2026-09-19 12:58:16] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88d09f0012c8487c008272e100003012828..."} 
[2026-09-19 12:58:16] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:16] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:16] local.INFO: GPS Element Parsed {"raw_longitude":746883008,"raw_latitude":136785424,"longitude_deg":74.6883008,"latitude_deg":13.6785424,"altitude":3,"angle":296,"satellites":40,"speed":41,"hex_longitude":"2c8487c0","hex_latitude":"08272e10","is_valid_coordinates":true} 
[2026-09-19 12:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189472256001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8876594830531153920,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789802646000,"timestamp_ms":1789802646000,"timestamp_seconds":1789802646,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88d09f0"} 
[2026-09-19 12:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-19 12:58:16] 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-19 12:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189472256001,"66":28332,"99":206,"9":53760,"24":41,"16":727060653801472,"44":-8876594830531153920},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 12:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189472256001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:58:16] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 12:58:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727060653801472,"km_value":727060653801.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8876594830531153920,"description":"Unknown IO ID 44"} 
[2026-09-19 12:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189472256001,"power":28332,"unknown_99":206,"unknown_9":53760,"ignition":41,"odometer":null,"unknown_44":-8876594830531153920}} 
[2026-09-19 12:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:58:16] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:58:16] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:58:23] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8901f00012d183880072194e00049006d2b..."} 
[2026-09-19 12:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8901f00012d183880072194e00049006d2b..."} 
[2026-09-19 12:58:23] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8901f00012d183880072194e00049006d2b..."} 
[2026-09-19 12:58:23] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:58:23] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756562048,"raw_latitude":119641312,"longitude_deg":75.6562048,"latitude_deg":11.9641312,"altitude":73,"angle":109,"satellites":43,"speed":28,"hex_longitude":"2d183880","hex_latitude":"072194e0","is_valid_coordinates":true} 
[2026-09-19 12:58: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-19 12:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189527808001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21656930208448512,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742189398979110912,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:23] 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-19 12:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802848000,"timestamp_ms":1789802848000,"timestamp_seconds":1789802848,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8901f00"} 
[2026-09-19 12:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:58: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 12:58:23] 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-19 12:58: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-19 12:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:58:23] 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-19 12:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189527808001,"66":13928,"106":206,"83":41984,"24":28,"16":21656930208448512,"45":1742189398979110912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189527808001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:58:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21656930208448512,"km_value":21656930208448.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742189398979110912,"description":"Unknown IO ID 45"} 
[2026-09-19 12:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189527808001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1742189398979110912}} 
[2026-09-19 12:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:58:23] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:58:23] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:58:46] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:46] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:46] local.INFO: IMEI packet received {"connection_id":188172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":188172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:58:47] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:47] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:58:47] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:47] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12: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-19 12:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58: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-19 12:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12: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-19 12:58: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-19 12: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:58: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-19 12: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-19 12: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-19 12:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:58: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-19 12:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:58:47] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:58:47] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:58:49] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:49] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:49] local.INFO: IMEI packet received {"connection_id":188172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":188172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:58:51] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:51] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:58:51] local.INFO: IMEI packet received {"connection_id":188172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":188172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:58:52] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8904de0012d185b40072185880049007328..."} 
[2026-09-19 12:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8904de0012d185b40072185880049007328..."} 
[2026-09-19 12:58:52] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8904de0012d185b40072185880049007328..."} 
[2026-09-19 12:58:52] local.INFO: Packet analysis {"connection_id":188172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:58:52] local.INFO: Extracted packet for processing {"connection_id":188172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b890"} 
[2026-09-19 12:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119637384,"longitude_deg":75.6570944,"latitude_deg":11.9637384,"altitude":73,"angle":115,"satellites":40,"speed":34,"hex_longitude":"2d185b40","hex_latitude":"07218588","is_valid_coordinates":true} 
[2026-09-19 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189529088001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21657398359883776,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745285623722598400,"note":"Value kept but may cause issues"} 
[2026-09-19 12:58:52] 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-19 12:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802860000,"timestamp_ms":1789802860000,"timestamp_seconds":1789802860,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8904de0"} 
[2026-09-19 12:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:58:52] 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-19 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 12:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:58:52] 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-19 12:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189529088001,"66":14048,"106":206,"83":41984,"24":34,"16":21657398359883776,"45":1745285623722598400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 12:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189529088001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:58:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 12:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21657398359883776,"km_value":21657398359883.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745285623722598400,"description":"Unknown IO ID 45"} 
[2026-09-19 12:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189529088001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1745285623722598400}} 
[2026-09-19 12:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":188172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:58:52] local.INFO: GPS data processed {"connection_id":188172,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:58:52] local.INFO: Acknowledgment sent {"connection_id":188172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:59:14] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:14] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:14] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:59:19] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:19] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 12:59:19] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:59:20] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:20] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:20] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:59:20] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:20] 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-19 12:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 12:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:59: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-19 12:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:59:20] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:59:20] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:59:23] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89128a0012d18d78007210070003a009727..."} 
[2026-09-19 12:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89128a0012d18d78007210070003a009727..."} 
[2026-09-19 12:59:23] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89128a0012d18d78007210070003a009727..."} 
[2026-09-19 12:59:23] local.INFO: Packet analysis {"connection_id":188172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b891"} 
[2026-09-19 12:59:23] local.INFO: Extracted packet for processing {"connection_id":188172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b891"} 
[2026-09-19 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603312,"longitude_deg":75.6602752,"latitude_deg":11.9603312,"altitude":58,"angle":151,"satellites":39,"speed":37,"hex_longitude":"2d18d780","hex_latitude":"07210070","is_valid_coordinates":true} 
[2026-09-19 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189545472001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21659983930195968,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871390208,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:23] local.INFO: IO Element Parsed {"io_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-19 12:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802916000,"timestamp_ms":1789802916000,"timestamp_seconds":1789802916,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89128a0"} 
[2026-09-19 12:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 12:59:23] 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-19 12:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:59:23] 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-19 12:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189545472001,"66":14211,"103":206,"83":41984,"24":37,"16":21659983930195968,"45":1788703138871390208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 12:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189545472001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:59:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 12:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21659983930195968,"km_value":21659983930195.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871390208,"description":"Unknown IO ID 45"} 
[2026-09-19 12:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189545472001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788703138871390208}} 
[2026-09-19 12:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":188172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:59:23] local.INFO: GPS data processed {"connection_id":188172,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:59:23] local.INFO: Acknowledgment sent {"connection_id":188172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:59:25] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:25] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 12:59:25] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:59:25] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 12:59: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-19 12:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 12:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:25] 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-19 12:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 12:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 12:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 12:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 12:59: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-19 12:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 12:59: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-19 12:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 12:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 12:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 12:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 12:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 12:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 12:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 12:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 12:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:59:25] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:59:25] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:59:29] local.INFO: TCP Data received {"connection_id":188171,"ip":"117.224.216.130","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88fffc0012c8251c00828b6f0000c010d29..."} 
[2026-09-19 12:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88fffc0012c8251c00828b6f0000c010d29..."} 
[2026-09-19 12:59:29] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88fffc0012c8251c00828b6f0000c010d29..."} 
[2026-09-19 12:59:29] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88f"} 
[2026-09-19 12:59:29] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88f"} 
[2026-09-19 12:59:29] local.INFO: GPS Element Parsed {"raw_longitude":746738112,"raw_latitude":136886000,"longitude_deg":74.6738112,"latitude_deg":13.6886,"altitude":12,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2c8251c0","hex_latitude":"0828b6f0","is_valid_coordinates":true} 
[2026-09-19 12:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189521664001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727060653801472,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9037176304717877248,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 12:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789802840000,"timestamp_ms":1789802840000,"timestamp_seconds":1789802840,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88fffc0"} 
[2026-09-19 12:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 12:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 12:59:29] 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-19 12:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 12:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.130","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 12:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 12:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 12:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189521664001,"66":28234,"219":206,"9":53760,"24":0,"16":727060653801472,"44":-9037176304717877248},"client_ip":"117.224.216.130","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-19 12:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 12:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 12:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189521664001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:59:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-19 12:59:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 12:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727060653801472,"km_value":727060653801.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9037176304717877248,"description":"Unknown IO ID 44"} 
[2026-09-19 12:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189521664001,"power":28234,"unknown_219":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-9037176304717877248}} 
[2026-09-19 12:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:59:29] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:59:29] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 12:59:46] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:46] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:46] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 12:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 12:59:48] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:48] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:48] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:59:51] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:51] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 12:59:51] local.INFO: IMEI packet received {"connection_id":186770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 12:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":186770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 12:59:52] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8913070012d18dc000720fad00039008527..."} 
[2026-09-19 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8913070012d18dc000720fad00039008527..."} 
[2026-09-19 12:59:52] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8913070012d18dc000720fad00039008527..."} 
[2026-09-19 12:59:52] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b891"} 
[2026-09-19 12:59:52] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b891"} 
[2026-09-19 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601872,"longitude_deg":75.6603904,"latitude_deg":11.9601872,"altitude":57,"angle":133,"satellites":39,"speed":37,"hex_longitude":"2d18dc00","hex_latitude":"0720fad0","is_valid_coordinates":true} 
[2026-09-19 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 12:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189546496001,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21660069829541888,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009864704,"note":"Value kept but may cause issues"} 
[2026-09-19 12:59:52] local.INFO: IO Element Parsed {"io_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-19 12:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802918000,"timestamp_ms":1789802918000,"timestamp_seconds":1789802918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8913070"} 
[2026-09-19 12:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 12:59:52] 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-19 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 12:59:52] 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-19 12:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 12:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 12:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 12:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 12:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 12:59:52] 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-19 12:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 12:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 12:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189546496001,"66":14157,"103":206,"83":41984,"24":37,"16":21660069829541888,"45":1790040145009864704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 12:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 12:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 12:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189546496001,"description":"Unknown IO ID 0"} 
[2026-09-19 12:59:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 12:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 12:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21660069829541888,"km_value":21660069829541.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 12:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009864704,"description":"Unknown IO ID 45"} 
[2026-09-19 12:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189546496001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1790040145009864704}} 
[2026-09-19 12:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 12:59:52] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-19 12:59:52] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:00:09] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:09] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:09] local.INFO: IMEI packet received {"connection_id":188174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:00:14] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:14] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:00:14] local.INFO: IMEI packet received {"connection_id":188174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":188174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:00:15] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:00:15] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b88df450012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:00:15] local.INFO: Packet analysis {"connection_id":188174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 13:00:15] local.INFO: Extracted packet for processing {"connection_id":188174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b88d"} 
[2026-09-19 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189415680001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00: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-19 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789802706000,"timestamp_ms":1789802706000,"timestamp_seconds":1789802706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b88df450"} 
[2026-09-19 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:00: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-19 13:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:00: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-19 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189415680001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189415680001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189415680001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":188174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:00:15] local.INFO: GPS data processed {"connection_id":188174,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:00:15] local.INFO: Acknowledgment sent {"connection_id":188174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:00:23] local.INFO: TCP Data received {"connection_id":186770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8922a70012d19bb000720a8f80028008529..."} 
[2026-09-19 13:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8922a70012d19bb000720a8f80028008529..."} 
[2026-09-19 13:00:23] local.INFO: Processing buffer {"connection_id":186770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8922a70012d19bb000720a8f80028008529..."} 
[2026-09-19 13:00:23] local.INFO: Packet analysis {"connection_id":186770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:23] local.INFO: Extracted packet for processing {"connection_id":186770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119580920,"longitude_deg":75.6660992,"latitude_deg":11.958092,"altitude":40,"angle":133,"satellites":41,"speed":26,"hex_longitude":"2d19bb00","hex_latitude":"0720a8f8","is_valid_coordinates":true} 
[2026-09-19 13:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189562624001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21663175090896896,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851823902392438784,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:23] local.INFO: IO Element Parsed {"io_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-19 13:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802982000,"timestamp_ms":1789802982000,"timestamp_seconds":1789802982,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8922a70"} 
[2026-09-19 13:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 13:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:00:23] 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-19 13:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189562624001,"66":14265,"103":206,"83":41984,"24":26,"16":21663175090896896,"45":1851823902392438784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 13:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189562624001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:00:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 13:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21663175090896896,"km_value":21663175090896.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851823902392438784,"description":"Unknown IO ID 45"} 
[2026-09-19 13:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189562624001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1851823902392438784}} 
[2026-09-19 13:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":186770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:00:23] local.INFO: GPS data processed {"connection_id":186770,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:00:23] local.INFO: Acknowledgment sent {"connection_id":186770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:00:46] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:00:46] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:00:46] local.INFO: Packet analysis {"connection_id":188174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:46] local.INFO: Extracted packet for processing {"connection_id":188174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:46] 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-19 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:00: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-19 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:00: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-19 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:00: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-19 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":188174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:00:46] local.INFO: GPS data processed {"connection_id":188174,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:00:46] local.INFO: Acknowledgment sent {"connection_id":188174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:00:50] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:50] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:50] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:00:51] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:51] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:51] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:00:52] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:52] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:00:52] local.INFO: IMEI packet received {"connection_id":186771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":186771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:00:52] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8922e58012d19bc800720a6f00028009129..."} 
[2026-09-19 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8922e58012d19bc800720a6f00028009129..."} 
[2026-09-19 13:00:52] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8922e58012d19bc800720a6f00028009129..."} 
[2026-09-19 13:00:52] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:52] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580400,"longitude_deg":75.6661376,"latitude_deg":11.95804,"altitude":40,"angle":145,"satellites":41,"speed":25,"hex_longitude":"2d19bc80","hex_latitude":"0720a6f0","is_valid_coordinates":true} 
[2026-09-19 13:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189563392001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21663205155667968,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205806592,"note":"Value kept but may cause issues"} 
[2026-09-19 13:00:52] local.INFO: IO Element Parsed {"io_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-19 13:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789802983000,"timestamp_ms":1789802983000,"timestamp_seconds":1789802983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8922e58"} 
[2026-09-19 13:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:00:52] 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-19 13:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 13:00:52] 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-19 13:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:00:52] 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-19 13:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189563392001,"66":14233,"103":206,"83":41984,"24":25,"16":21663205155667968,"45":1854075702205806592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 13:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189563392001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:00:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 13:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21663205155667968,"km_value":21663205155667.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205806592,"description":"Unknown IO ID 45"} 
[2026-09-19 13:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189563392001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1854075702205806592}} 
[2026-09-19 13:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:00:53] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:00:53] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:01:09] local.INFO: TCP Data received {"connection_id":189495,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:09] local.INFO: Processing buffer {"connection_id":189495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:09] local.INFO: IMEI packet received {"connection_id":189495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:01:14] local.INFO: TCP Data received {"connection_id":189495,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:14] local.INFO: Processing buffer {"connection_id":189495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:01:14] local.INFO: IMEI packet received {"connection_id":189495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":189495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:01:15] local.INFO: TCP Data received {"connection_id":189495,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:15] local.INFO: Processing buffer {"connection_id":189495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:15] local.INFO: Packet analysis {"connection_id":189495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:15] local.INFO: Extracted packet for processing {"connection_id":189495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01: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-19 13:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:01: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-19 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:01: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-19 13:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:01: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-19 13:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":189495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:01:15] local.INFO: GPS data processed {"connection_id":189495,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:01:15] local.INFO: Acknowledgment sent {"connection_id":189495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:01:23] local.INFO: TCP Data received {"connection_id":186771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8923240012d19bd000720a4b0002700a32a..."} 
[2026-09-19 13:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8923240012d19bd000720a4b0002700a32a..."} 
[2026-09-19 13:01:23] local.INFO: Processing buffer {"connection_id":186771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8923240012d19bd000720a4b0002700a32a..."} 
[2026-09-19 13:01:23] local.INFO: Packet analysis {"connection_id":186771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:23] local.INFO: Extracted packet for processing {"connection_id":186771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119579824,"longitude_deg":75.6661504,"latitude_deg":11.9579824,"altitude":39,"angle":163,"satellites":42,"speed":22,"hex_longitude":"2d19bd00","hex_latitude":"0720a4b0","is_valid_coordinates":true} 
[2026-09-19 13:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189563648001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21663235220439040,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670739456,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:23] local.INFO: IO Element Parsed {"io_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-19 13:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789802984000,"timestamp_ms":1789802984000,"timestamp_seconds":1789802984,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8923240"} 
[2026-09-19 13:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 13:01:23] 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-19 13:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:23] 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-19 13:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189563648001,"66":14233,"103":206,"83":41984,"24":22,"16":21663235220439040,"45":1854497914670739456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 13:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189563648001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:01:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 13:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21663235220439040,"km_value":21663235220439.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670739456,"description":"Unknown IO ID 45"} 
[2026-09-19 13:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189563648001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854497914670739456}} 
[2026-09-19 13:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":186771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:01:23] local.INFO: GPS data processed {"connection_id":186771,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:01:23] local.INFO: Acknowledgment sent {"connection_id":186771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:01:46] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:46] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:46] local.INFO: IMEI packet received {"connection_id":189496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":189496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:01:47] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:47] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:47] local.INFO: IMEI packet received {"connection_id":189496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":189496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:01:47] local.INFO: TCP Data received {"connection_id":189495,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:47] local.INFO: Processing buffer {"connection_id":189495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:01:47] local.INFO: Packet analysis {"connection_id":189495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:47] local.INFO: Extracted packet for processing {"connection_id":189495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01: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-19 13:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 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-19 13:01: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-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:01: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-19 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-19 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-19 13:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:01: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-19 13:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":189495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:01:47] local.INFO: GPS data processed {"connection_id":189495,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:01:47] local.INFO: Acknowledgment sent {"connection_id":189495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:01:51] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:51] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:01:51] local.INFO: IMEI packet received {"connection_id":189496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":189496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:01:52] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b892d650012d19d90007200e880022007729..."} 
[2026-09-19 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b892d650012d19d90007200e880022007729..."} 
[2026-09-19 13:01:52] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b892d650012d19d90007200e880022007729..."} 
[2026-09-19 13:01:52] local.INFO: Packet analysis {"connection_id":189496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:52] local.INFO: Extracted packet for processing {"connection_id":189496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119541384,"longitude_deg":75.6668672,"latitude_deg":11.9541384,"altitude":34,"angle":119,"satellites":41,"speed":35,"hex_longitude":"2d19d900","hex_latitude":"07200e88","is_valid_coordinates":true} 
[2026-09-19 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189574144001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665288214806528,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732892815360,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.INFO: IO Element Parsed {"io_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-19 13:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803026000,"timestamp_ms":1789803026000,"timestamp_seconds":1789803026,"priority":1,"record_length":96,"hex_timestamp":"000001a0b892d650"} 
[2026-09-19 13:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:01:52] 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-19 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262539214336,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185676,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5146957518946362962,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3938680231600521422,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3573547008,"corrected_to":0} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2457886721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4148101120,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":38,"raw_value":47892528153755648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":-144115188075855871,"corrected_to":0} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513566419454394552,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.WARNING: Large IO value detected {"io_id":37,"raw_value":9288674232107012,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:52] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,103,83,24,241,157,16,248,160,198,45,192,23,34,40,10,66,167,53,33,42,247,159,128,1,240,187,227,184,32,4,113,205,44,112,181,8,41,239,51,2,76,7,38,246,64,37],"length":534,"final_offset":664,"validated_count":47,"validation_warnings":[{"io_id":247,"original":3573547008,"validated":0},{"io_id":205,"original":2020016334,"validated":0},{"io_id":246,"original":-144115188075855871,"validated":0}]} 
[2026-09-19 13:01:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450102409408872448,"timestamp_seconds":2450102409408872.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:52] 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-19 13:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189574144001,"66":13135,"103":206,"83":41984,"24":35,"16":21665288214806528,"45":1860760732892815360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 13:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189574144001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:01:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 13:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665288214806528,"km_value":21665288214806.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732892815360,"description":"Unknown IO ID 45"} 
[2026-09-19 13:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189574144001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1860760732892815360}} 
[2026-09-19 13:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":189496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:01:52] local.INFO: GPS data processed {"connection_id":189496,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:01:52] local.INFO: Acknowledgment sent {"connection_id":189496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:01:56] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8932858012d19e38007200940002500782a..."} 
[2026-09-19 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8932858012d19e38007200940002500782a..."} 
[2026-09-19 13:01:56] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8932858012d19e38007200940002500782a..."} 
[2026-09-19 13:01:56] local.INFO: Packet analysis {"connection_id":189496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:01:56] local.INFO: Extracted packet for processing {"connection_id":189496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":42,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:01: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-19 13:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189574656001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862519951497005056,"note":"Value kept but may cause issues"} 
[2026-09-19 13:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789803047000,"timestamp_ms":1789803047000,"timestamp_seconds":1789803047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8932858"} 
[2026-09-19 13:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:01:56] 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-19 13:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:01:56] 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-19 13:01: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-19 13:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:01:56] 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-19 13:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189574656001,"66":13004,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1862519951497005056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189574656001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:01:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862519951497005056,"description":"Unknown IO ID 45"} 
[2026-09-19 13:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189574656001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1862519951497005056}} 
[2026-09-19 13:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":189496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:01:57] local.INFO: GPS data processed {"connection_id":189496,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:01:57] local.INFO: Acknowledgment sent {"connection_id":189496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:02:09] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:09] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:09] local.INFO: IMEI packet received {"connection_id":188175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:02:14] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:14] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:02:14] local.INFO: IMEI packet received {"connection_id":188175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:02:15] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:15] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:15] local.INFO: Packet analysis {"connection_id":188175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:02:15] local.INFO: Extracted packet for processing {"connection_id":188175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02: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-19 13:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13: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-19 13:02: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-19 13:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:02: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-19 13: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-19 13: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-19 13:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:02: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-19 13:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":188175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:02:15] local.INFO: GPS data processed {"connection_id":188175,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:02:15] local.INFO: Acknowledgment sent {"connection_id":188175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:02:19] local.INFO: TCP Data received {"connection_id":189497,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:02:19] local.INFO: Processing buffer {"connection_id":189497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:02:19] local.INFO: IMEI packet received {"connection_id":189497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":189497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:02:28] local.INFO: TCP Data received {"connection_id":189496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8937a60012d19e38007200940002500782a..."} 
[2026-09-19 13:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8937a60012d19e38007200940002500782a..."} 
[2026-09-19 13:02:28] local.INFO: Processing buffer {"connection_id":189496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8937a60012d19e38007200940002500782a..."} 
[2026-09-19 13:02:28] local.INFO: Packet analysis {"connection_id":189496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:02:28] local.INFO: Extracted packet for processing {"connection_id":189496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":42,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189580032001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02: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-19 13:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789803068000,"timestamp_ms":1789803068000,"timestamp_seconds":1789803068,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8937a60"} 
[2026-09-19 13:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:02:28] 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-19 13:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 13:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:02:28] 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-19 13:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189580032001,"66":13004,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189580032001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:02:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189580032001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":189496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:02:28] local.INFO: GPS data processed {"connection_id":189496,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:02:28] local.INFO: Acknowledgment sent {"connection_id":189496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:02:46] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:46] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:46] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:02:46] local.INFO: TCP Data received {"connection_id":188175,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:46] local.INFO: Processing buffer {"connection_id":188175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:02:46] local.INFO: Packet analysis {"connection_id":188175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:02:46] local.INFO: Extracted packet for processing {"connection_id":188175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:46] 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-19 13:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13: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-19 13:02: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:02: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-19 13: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-19 13: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-19 13:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:02: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-19 13:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":188175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:02:46] local.INFO: GPS data processed {"connection_id":188175,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:02:46] local.INFO: Acknowledgment sent {"connection_id":188175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:02:49] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:49] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:02:49] local.INFO: IMEI packet received {"connection_id":186772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":186772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:02:50] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b893cc68012d19e380072009400025007827..."} 
[2026-09-19 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b893cc68012d19e380072009400025007827..."} 
[2026-09-19 13:02:50] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b893cc68012d19e380072009400025007827..."} 
[2026-09-19 13:02:50] local.INFO: Packet analysis {"connection_id":186772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:02:50] local.INFO: Extracted packet for processing {"connection_id":186772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b893"} 
[2026-09-19 13:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":39,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189585408001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:02:50] 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-19 13:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789803089000,"timestamp_ms":1789803089000,"timestamp_seconds":1789803089,"priority":1,"record_length":96,"hex_timestamp":"000001a0b893cc68"} 
[2026-09-19 13:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:02: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-19 13:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 13:02:50] 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-19 13:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:02:50] 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-19 13:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189585408001,"66":12950,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189585408001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:02:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189585408001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":186772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:02:50] local.INFO: GPS data processed {"connection_id":186772,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:02:50] local.INFO: Acknowledgment sent {"connection_id":186772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:03:09] local.INFO: TCP Data received {"connection_id":189498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:09] local.INFO: Processing buffer {"connection_id":189498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:09] local.INFO: IMEI packet received {"connection_id":189498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:03:14] local.INFO: TCP Data received {"connection_id":189498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:14] local.INFO: Processing buffer {"connection_id":189498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:03:14] local.INFO: IMEI packet received {"connection_id":189498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:03:15] local.INFO: TCP Data received {"connection_id":189498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:15] local.INFO: Processing buffer {"connection_id":189498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:15] local.INFO: Packet analysis {"connection_id":189498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:03:15] local.INFO: Extracted packet for processing {"connection_id":189498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03: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-19 13:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:03: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-19 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:03: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-19 13:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:03: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-19 13:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:03:15] local.INFO: GPS data processed {"connection_id":189498,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:03:15] local.INFO: Acknowledgment sent {"connection_id":189498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:03:21] local.INFO: TCP Data received {"connection_id":186772,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8941e70012d19e38007200940002500782a..."} 
[2026-09-19 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8941e70012d19e38007200940002500782a..."} 
[2026-09-19 13:03:21] local.INFO: Processing buffer {"connection_id":186772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8941e70012d19e38007200940002500782a..."} 
[2026-09-19 13:03:21] local.INFO: Packet analysis {"connection_id":186772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:03:21] local.INFO: Extracted packet for processing {"connection_id":186772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":42,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189590784001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803110000,"timestamp_ms":1789803110000,"timestamp_seconds":1789803110,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8941e70"} 
[2026-09-19 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 13:03:21] 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-19 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:03:21] 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-19 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189590784001,"66":12885,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189590784001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:03:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189590784001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":186772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:03:21] local.INFO: GPS data processed {"connection_id":186772,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:03:21] local.INFO: Acknowledgment sent {"connection_id":186772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:03:46] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:46] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:46] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:03:47] local.INFO: TCP Data received {"connection_id":189498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:47] local.INFO: Processing buffer {"connection_id":189498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:03:47] local.INFO: Packet analysis {"connection_id":189498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:03:47] local.INFO: Extracted packet for processing {"connection_id":189498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03: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-19 13:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13: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-19 13:03: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:03: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-19 13: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-19 13: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-19 13:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:03: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-19 13:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:03:47] local.INFO: GPS data processed {"connection_id":189498,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:03:47] local.INFO: Acknowledgment sent {"connection_id":189498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:03:51] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:51] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:03:51] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:03:52] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8947078012d19e380072009400025007829..."} 
[2026-09-19 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8947078012d19e380072009400025007829..."} 
[2026-09-19 13:03:52] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8947078012d19e380072009400025007829..."} 
[2026-09-19 13:03:52] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:03:52] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189596160001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:03:52] 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-19 13:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803131000,"timestamp_ms":1789803131000,"timestamp_seconds":1789803131,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8947078"} 
[2026-09-19 13: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-19 13:03:52] 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-19 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 13:03:52] 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-19 13: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-19 13: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-19 13:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:03:52] 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-19 13:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189596160001,"66":12841,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189596160001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:03:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189596160001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:03:52] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:03:52] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:04:09] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:09] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:09] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:04:14] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:14] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:04:14] local.INFO: IMEI packet received {"connection_id":186773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:04:15] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:15] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:15] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:04:15] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04: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-19 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13: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-19 13:04: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:04: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-19 13: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-19 13: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-19 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:04:15] 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-19 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:04:15] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:04:15] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:04:23] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b894c280012d19e380072009400025007827..."} 
[2026-09-19 13:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b894c280012d19e380072009400025007827..."} 
[2026-09-19 13:04:23] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b894c280012d19e380072009400025007827..."} 
[2026-09-19 13:04:23] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:04:23] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b894"} 
[2026-09-19 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":39,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189601536001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803152000,"timestamp_ms":1789803152000,"timestamp_seconds":1789803152,"priority":1,"record_length":96,"hex_timestamp":"000001a0b894c280"} 
[2026-09-19 13:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 13:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:04:23] 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-19 13:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189601536001,"66":12809,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189601536001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:04:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189601536001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:04:23] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:04:23] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:04:46] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:46] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:46] local.INFO: IMEI packet received {"connection_id":186883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":186883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:04:47] local.INFO: TCP Data received {"connection_id":186773,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:47] local.INFO: Processing buffer {"connection_id":186773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:04:47] local.INFO: Packet analysis {"connection_id":186773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:04:47] local.INFO: Extracted packet for processing {"connection_id":186773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04: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-19 13:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:04: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-19 13:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:04: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-19 13:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:04:47] 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-19 13:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":186773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:04:47] local.INFO: GPS data processed {"connection_id":186773,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:04:47] local.INFO: Acknowledgment sent {"connection_id":186773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:04:51] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:51] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:04:51] local.INFO: IMEI packet received {"connection_id":186883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":186883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:04:52] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8951488012d19e380072009400025007829..."} 
[2026-09-19 13:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8951488012d19e380072009400025007829..."} 
[2026-09-19 13:04:52] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8951488012d19e380072009400025007829..."} 
[2026-09-19 13:04:52] local.INFO: Packet analysis {"connection_id":186883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b895"} 
[2026-09-19 13:04:52] local.INFO: Extracted packet for processing {"connection_id":186883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b895"} 
[2026-09-19 13:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189606912001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] 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-19 13:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803173000,"timestamp_ms":1789803173000,"timestamp_seconds":1789803173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8951488"} 
[2026-09-19 13: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-19 13:04:52] 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-19 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2666130979571106816,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3096630864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2147950601,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-7868210756429688128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4170907648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2311015112481211177,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775846004182611,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-09-19 13:04:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,248,160,112,45,128,9,37,41,10,66,30,42,204,1,240,150,227,184,32,4,113,205,40,64,239,50,2,76,7,34,35,51,164,119],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-19 13:04:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666263088302391296,"timestamp_seconds":2666263088302391.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13: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-19 13:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:04:52] 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-19 13:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189606912001,"66":12765,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189606912001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:04:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189606912001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":186883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:04:52] local.INFO: GPS data processed {"connection_id":186883,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:04:52] local.INFO: Acknowledgment sent {"connection_id":186883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:05:15] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:15] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:15] local.INFO: IMEI packet received {"connection_id":188177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:05:19] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:19] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:05:19] local.INFO: IMEI packet received {"connection_id":188177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":188177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:05:20] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:20] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:20] local.INFO: Packet analysis {"connection_id":188177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:05:20] local.INFO: Extracted packet for processing {"connection_id":188177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:20] 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-19 13:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:05:20] 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-19 13:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":188177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:05:20] local.INFO: GPS data processed {"connection_id":188177,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:05:20] local.INFO: Acknowledgment sent {"connection_id":188177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:05:23] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8956690012d19e38007200940002500782b..."} 
[2026-09-19 13:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8956690012d19e38007200940002500782b..."} 
[2026-09-19 13:05:23] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8956690012d19e38007200940002500782b..."} 
[2026-09-19 13:05:23] local.INFO: Packet analysis {"connection_id":186883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b895"} 
[2026-09-19 13:05:23] local.INFO: Extracted packet for processing {"connection_id":186883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b895"} 
[2026-09-19 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540032,"longitude_deg":75.667136,"latitude_deg":11.9540032,"altitude":37,"angle":120,"satellites":43,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-09-19 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189612288001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21665442833629184,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752120832,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803194000,"timestamp_ms":1789803194000,"timestamp_seconds":1789803194,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8956690"} 
[2026-09-19 13:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 13:05:23] 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-19 13:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:05:23] 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-19 13:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189612288001,"66":12743,"101":206,"83":41984,"24":0,"16":21665442833629184,"45":1865475438752120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189612288001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:05:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21665442833629184,"km_value":21665442833629.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752120832,"description":"Unknown IO ID 45"} 
[2026-09-19 13:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189612288001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752120832}} 
[2026-09-19 13:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":186883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:05:23] local.INFO: GPS data processed {"connection_id":186883,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:05:23] local.INFO: Acknowledgment sent {"connection_id":186883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:05:25] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:25] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8928c18012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:05:25] local.INFO: Packet analysis {"connection_id":188177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:05:25] local.INFO: Extracted packet for processing {"connection_id":188177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b892"} 
[2026-09-19 13:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:05: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-19 13:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:25] 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-19 13:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789803007000,"timestamp_ms":1789803007000,"timestamp_seconds":1789803007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8928c18"} 
[2026-09-19 13:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:05: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-19 13:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:05:25] 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-19 13:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189492736001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189492736001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":188177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:05:25] local.INFO: GPS data processed {"connection_id":188177,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:05:25] local.INFO: Acknowledgment sent {"connection_id":188177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:05:46] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: IMEI packet received {"connection_id":186775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":186775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:05:46] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:46] local.INFO: IMEI packet received {"connection_id":186775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":186775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:05:51] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:51] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:05:51] local.INFO: IMEI packet received {"connection_id":186775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":186775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:05:52] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8971c10012d1a4580071fe778002f006721..."} 
[2026-09-19 13:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8971c10012d1a4580071fe778002f006721..."} 
[2026-09-19 13:05:52] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8971c10012d1a4580071fe778002f006721..."} 
[2026-09-19 13:05:52] local.INFO: Packet analysis {"connection_id":186775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:05:52] local.INFO: Extracted packet for processing {"connection_id":186775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756696448,"raw_latitude":119531384,"longitude_deg":75.6696448,"latitude_deg":11.9531384,"altitude":47,"angle":103,"satellites":33,"speed":39,"hex_longitude":"2d1a4580","hex_latitude":"071fe778","is_valid_coordinates":true} 
[2026-09-19 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189644032001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21666769978523648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882997256050765824,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] 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-19 13:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803306000,"timestamp_ms":1789803306000,"timestamp_seconds":1789803306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8971c10"} 
[2026-09-19 13:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:05:52] 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-19 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991418972,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3096876864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":10415090222235648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930215923712,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2528542721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4264034352,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4171366400,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752432886128649,"note":"Value kept but may cause issues"} 
[2026-09-19 13:05:52] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,249,160,213,45,192,251,49,43,10,66,194,48,42,248,186,64,1,240,153,227,184,31,4,113,205,22,159,40,41,239,55,2,76,7,47,3,206,168],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-19 13:05:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530937741265666048,"timestamp_seconds":3530937741265666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:05:52] 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-19 13:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189644032001,"66":14102,"101":206,"83":41984,"24":39,"16":21666769978523648,"45":1882997256050765824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189644032001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:05:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21666769978523648,"km_value":21666769978523.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882997256050765824,"description":"Unknown IO ID 45"} 
[2026-09-19 13:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189644032001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1882997256050765824}} 
[2026-09-19 13:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":186775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:05:52] local.INFO: GPS data processed {"connection_id":186775,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:05:52] local.INFO: Acknowledgment sent {"connection_id":186775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:06:09] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:09] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:09] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:06:14] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:14] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:06:14] local.INFO: IMEI packet received {"connection_id":186776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":186776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:06:15] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:15] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:15] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:15] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06: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-19 13:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13: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-19 13:06: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-19 13:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:06: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-19 13: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-19 13: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-19 13:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:06: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-19 13:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:06:15] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:06:15] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:06:23] local.INFO: TCP Data received {"connection_id":186775,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d1a4d00071fe4e8002e007422..."} 
[2026-09-19 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d1a4d00071fe4e8002e007422..."} 
[2026-09-19 13:06:23] local.INFO: Processing buffer {"connection_id":186775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d1a4d00071fe4e8002e007422..."} 
[2026-09-19 13:06:23] local.INFO: Packet analysis {"connection_id":186775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:23] local.INFO: Extracted packet for processing {"connection_id":186775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756698368,"raw_latitude":119530728,"longitude_deg":75.6698368,"latitude_deg":11.9530728,"altitude":46,"angle":116,"satellites":34,"speed":39,"hex_longitude":"2d1a4d00","hex_latitude":"071fe4e8","is_valid_coordinates":true} 
[2026-09-19 13:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646336001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21666864467804160,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893059986467551232,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 13:06:23] 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-19 13:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:06:23] 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-19 13:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646336001,"66":13722,"101":206,"83":41984,"24":39,"16":21666864467804160,"45":1893059986467551232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646336001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:06:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21666864467804160,"km_value":21666864467804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893059986467551232,"description":"Unknown IO ID 45"} 
[2026-09-19 13:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646336001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1893059986467551232}} 
[2026-09-19 13:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":186775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:06:23] local.INFO: GPS data processed {"connection_id":186775,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:06:23] local.INFO: Acknowledgment sent {"connection_id":186775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:06:46] local.INFO: TCP Data received {"connection_id":189500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:46] local.INFO: Processing buffer {"connection_id":189500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:46] local.INFO: IMEI packet received {"connection_id":189500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":189500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:06:46] local.INFO: TCP Data received {"connection_id":186776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:46] local.INFO: Processing buffer {"connection_id":186776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:06:46] local.INFO: Packet analysis {"connection_id":186776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:46] local.INFO: Extracted packet for processing {"connection_id":186776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:46] 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-19 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:06: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-19 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:06: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-19 13:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:06: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-19 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":186776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:06:46] local.INFO: GPS data processed {"connection_id":186776,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:06:46] local.INFO: Acknowledgment sent {"connection_id":186776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:06:51] local.INFO: TCP Data received {"connection_id":189500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:51] local.INFO: Processing buffer {"connection_id":189500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:06:51] local.INFO: IMEI packet received {"connection_id":189500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":189500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:06:52] local.INFO: TCP Data received {"connection_id":189500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8973768012d1a5cc0071fdc58002f006928..."} 
[2026-09-19 13:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8973768012d1a5cc0071fdc58002f006928..."} 
[2026-09-19 13:06:52] local.INFO: Processing buffer {"connection_id":189500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8973768012d1a5cc0071fdc58002f006928..."} 
[2026-09-19 13:06:52] local.INFO: Packet analysis {"connection_id":189500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:52] local.INFO: Extracted packet for processing {"connection_id":189500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756702400,"raw_latitude":119528536,"longitude_deg":75.67024,"latitude_deg":11.9528536,"altitude":47,"angle":105,"satellites":40,"speed":34,"hex_longitude":"2d1a5cc0","hex_latitude":"071fdc58","is_valid_coordinates":true} 
[2026-09-19 13:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21667083511136256,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895171048792713216,"note":"Value kept but may cause issues"} 
[2026-09-19 13:06:52] 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-19 13:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803313000,"timestamp_ms":1789803313000,"timestamp_seconds":1789803313,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8973768"} 
[2026-09-19 13:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:06:52] 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-19 13:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 13:06:52] 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-19 13:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:06:52] 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-19 13:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":14026,"101":206,"83":41984,"24":34,"16":21667083511136256,"45":1895171048792713216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:06:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21667083511136256,"km_value":21667083511136.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895171048792713216,"description":"Unknown IO ID 45"} 
[2026-09-19 13:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1895171048792713216}} 
[2026-09-19 13:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":189500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:06:52] local.INFO: GPS data processed {"connection_id":189500,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:06:52] local.INFO: Acknowledgment sent {"connection_id":189500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:07:09] local.INFO: TCP Data received {"connection_id":189501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:09] local.INFO: Processing buffer {"connection_id":189501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:09] local.INFO: IMEI packet received {"connection_id":189501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":189501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:07:14] local.INFO: TCP Data received {"connection_id":189501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:14] local.INFO: Processing buffer {"connection_id":189501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:07:14] local.INFO: IMEI packet received {"connection_id":189501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":189501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:07:15] local.INFO: TCP Data received {"connection_id":189501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:15] local.INFO: Processing buffer {"connection_id":189501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:15] local.INFO: Packet analysis {"connection_id":189501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:15] local.INFO: Extracted packet for processing {"connection_id":189501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07: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-19 13:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:07: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-19 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:07: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-19 13:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:07: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-19 13:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":189501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:07:15] local.INFO: GPS data processed {"connection_id":189501,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:07:15] local.INFO: Acknowledgment sent {"connection_id":189501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:07:23] local.INFO: TCP Data received {"connection_id":189500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8973b50012d1a6080071fdbe8002f005d28..."} 
[2026-09-19 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8973b50012d1a6080071fdbe8002f005d28..."} 
[2026-09-19 13:07:23] local.INFO: Processing buffer {"connection_id":189500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8973b50012d1a6080071fdbe8002f005d28..."} 
[2026-09-19 13:07:23] local.INFO: Packet analysis {"connection_id":189500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:23] local.INFO: Extracted packet for processing {"connection_id":189500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756703360,"raw_latitude":119528424,"longitude_deg":75.670336,"latitude_deg":11.9528424,"altitude":47,"angle":93,"satellites":40,"speed":34,"hex_longitude":"2d1a6080","hex_latitude":"071fdbe8","is_valid_coordinates":true} 
[2026-09-19 13:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189648128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21667126460809216,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604279675344896,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803314000,"timestamp_ms":1789803314000,"timestamp_seconds":1789803314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8973b50"} 
[2026-09-19 13:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-19 13:07:23] 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-19 13:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:07:23] 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-19 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189648128001,"66":14026,"101":206,"83":41984,"24":34,"16":21667126460809216,"45":1899604279675344896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189648128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21667126460809216,"km_value":21667126460809.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604279675344896,"description":"Unknown IO ID 45"} 
[2026-09-19 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189648128001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1899604279675344896}} 
[2026-09-19 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":189500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:07:23] local.INFO: GPS data processed {"connection_id":189500,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:07:23] local.INFO: Acknowledgment sent {"connection_id":189500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:07:44] local.INFO: TCP Data received {"connection_id":189502,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:07:44] local.INFO: Processing buffer {"connection_id":189502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:07:44] local.INFO: IMEI packet received {"connection_id":189502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":189502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:07:46] local.INFO: TCP Data received {"connection_id":189503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:46] local.INFO: Processing buffer {"connection_id":189503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:46] local.INFO: IMEI packet received {"connection_id":189503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":189503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:07:47] local.INFO: TCP Data received {"connection_id":189501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:47] local.INFO: Processing buffer {"connection_id":189501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:07:47] local.INFO: Packet analysis {"connection_id":189501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:47] local.INFO: Extracted packet for processing {"connection_id":189501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07: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-19 13:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:07: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-19 13:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:07: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-19 13:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:07: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-19 13:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":189501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:07:47] local.INFO: GPS data processed {"connection_id":189501,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:07:47] local.INFO: Acknowledgment sent {"connection_id":189501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:07:48] local.INFO: TCP Data received {"connection_id":189503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:48] local.INFO: Processing buffer {"connection_id":189503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:48] local.INFO: IMEI packet received {"connection_id":189503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":189503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:07:51] local.INFO: TCP Data received {"connection_id":189503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:51] local.INFO: Processing buffer {"connection_id":189503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:07:51] local.INFO: IMEI packet received {"connection_id":189503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":189503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:07:52] local.INFO: TCP Data received {"connection_id":189503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b898b638012d1aa200071f99880036009329..."} 
[2026-09-19 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b898b638012d1aa200071f99880036009329..."} 
[2026-09-19 13:07:52] local.INFO: Processing buffer {"connection_id":189503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b898b638012d1aa200071f99880036009329..."} 
[2026-09-19 13:07:52] local.INFO: Packet analysis {"connection_id":189503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b898"} 
[2026-09-19 13:07:52] local.INFO: Extracted packet for processing {"connection_id":189503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b898"} 
[2026-09-19 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756720128,"raw_latitude":119511432,"longitude_deg":75.6720128,"latitude_deg":11.9511432,"altitude":54,"angle":147,"satellites":41,"speed":3,"hex_longitude":"2d1aa200","hex_latitude":"071f9988","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189672960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21668359116423168,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919096421808201728,"note":"Value kept but may cause issues"} 
[2026-09-19 13:07:52] 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-19 13:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803411000,"timestamp_ms":1789803411000,"timestamp_seconds":1789803411,"priority":1,"record_length":96,"hex_timestamp":"000001a0b898b638"} 
[2026-09-19 13: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-19 13:07:52] 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-19 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 13:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:07:52] 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-19 13:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189672960001,"66":14102,"101":206,"83":41984,"24":3,"16":21668359116423168,"45":1919096421808201728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189672960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21668359116423168,"km_value":21668359116423.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919096421808201728,"description":"Unknown IO ID 45"} 
[2026-09-19 13:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189672960001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1919096421808201728}} 
[2026-09-19 13:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":189503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:07:52] local.INFO: GPS data processed {"connection_id":189503,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:07:52] local.INFO: Acknowledgment sent {"connection_id":189503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:08:09] local.INFO: TCP Data received {"connection_id":188179,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:09] local.INFO: Processing buffer {"connection_id":188179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:09] local.INFO: IMEI packet received {"connection_id":188179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:08:09] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:08:09] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:08:09] local.INFO: IMEI packet received {"connection_id":186884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":186884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:08:14] local.INFO: TCP Data received {"connection_id":188179,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:14] local.INFO: Processing buffer {"connection_id":188179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:08:14] local.INFO: IMEI packet received {"connection_id":188179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:08:15] local.INFO: TCP Data received {"connection_id":188179,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:15] local.INFO: Processing buffer {"connection_id":188179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:15] local.INFO: Packet analysis {"connection_id":188179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:08:15] local.INFO: Extracted packet for processing {"connection_id":188179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08: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-19 13:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:08: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-19 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:08: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-19 13:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:08: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-19 13:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":188179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:08:15] local.INFO: GPS data processed {"connection_id":188179,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:08:15] local.INFO: Acknowledgment sent {"connection_id":188179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:08:23] local.INFO: TCP Data received {"connection_id":189503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8995a48012d1a5900071fdd38002f01222a..."} 
[2026-09-19 13:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8995a48012d1a5900071fdd38002f01222a..."} 
[2026-09-19 13:08:23] local.INFO: Processing buffer {"connection_id":189503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8995a48012d1a5900071fdd38002f01222a..."} 
[2026-09-19 13:08:23] local.INFO: Packet analysis {"connection_id":189503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:23] local.INFO: Extracted packet for processing {"connection_id":189503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756701440,"raw_latitude":119528760,"longitude_deg":75.670144,"latitude_deg":11.952876,"altitude":47,"angle":290,"satellites":42,"speed":35,"hex_longitude":"2d1a5900","hex_latitude":"071fdd38","is_valid_coordinates":true} 
[2026-09-19 13:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189683456001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21669677671383040,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900519073349609472,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803453000,"timestamp_ms":1789803453000,"timestamp_seconds":1789803453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8995a48"} 
[2026-09-19 13:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 13:08:23] 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-19 13:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:23] 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-19 13:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189683456001,"66":13243,"101":206,"83":41984,"24":35,"16":21669677671383040,"45":1900519073349609472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189683456001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:08:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21669677671383040,"km_value":21669677671383.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900519073349609472,"description":"Unknown IO ID 45"} 
[2026-09-19 13:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189683456001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1900519073349609472}} 
[2026-09-19 13:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":189503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:08:23] local.INFO: GPS data processed {"connection_id":189503,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:08:23] local.INFO: Acknowledgment sent {"connection_id":189503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:08:46] local.INFO: TCP Data received {"connection_id":188179,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:46] local.INFO: Processing buffer {"connection_id":188179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:08:46] local.INFO: Packet analysis {"connection_id":188179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:08:46] local.INFO: Extracted packet for processing {"connection_id":188179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:46] 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-19 13:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13: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-19 13:08: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:08: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-19 13: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-19 13: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-19 13:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:08: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-19 13:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":188179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:08:46] local.INFO: GPS data processed {"connection_id":188179,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:08:46] local.INFO: Acknowledgment sent {"connection_id":188179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:08:47] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:47] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:47] local.INFO: IMEI packet received {"connection_id":188180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":188180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:08:51] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:51] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:51] local.INFO: IMEI packet received {"connection_id":188180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":188180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:08:52] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:52] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:08:52] local.INFO: IMEI packet received {"connection_id":188180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":188180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:08:52] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8996218012d1a5280071fe0b8002e012e2b..."} 
[2026-09-19 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8996218012d1a5280071fe0b8002e012e2b..."} 
[2026-09-19 13:08:52] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8996218012d1a5280071fe0b8002e012e2b..."} 
[2026-09-19 13:08:52] local.INFO: Packet analysis {"connection_id":188180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:52] local.INFO: Extracted packet for processing {"connection_id":188180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756699776,"raw_latitude":119529656,"longitude_deg":75.6699776,"latitude_deg":11.9529656,"altitude":46,"angle":302,"satellites":43,"speed":37,"hex_longitude":"2d1a5280","hex_latitude":"071fe0b8","is_valid_coordinates":true} 
[2026-09-19 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189683968001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21669767865696256,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898548748512737280,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:52] 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-19 13:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803455000,"timestamp_ms":1789803455000,"timestamp_seconds":1789803455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8996218"} 
[2026-09-19 13:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:08:52] 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-19 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 13:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:52] 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-19 13:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189683968001,"66":14004,"101":206,"83":41984,"24":37,"16":21669767865696256,"45":1898548748512737280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189683968001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:08:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21669767865696256,"km_value":21669767865696.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898548748512737280,"description":"Unknown IO ID 45"} 
[2026-09-19 13:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189683968001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1898548748512737280}} 
[2026-09-19 13:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":188180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:08:53] local.INFO: GPS data processed {"connection_id":188180,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:08:53] local.INFO: Acknowledgment sent {"connection_id":188180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:08:53] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8996dd0012d1a4880071fe5b0002d01212c..."} 
[2026-09-19 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8996dd0012d1a4880071fe5b0002d01212c..."} 
[2026-09-19 13:08:53] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8996dd0012d1a4880071fe5b0002d01212c..."} 
[2026-09-19 13:08:53] local.INFO: Packet analysis {"connection_id":188180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:53] local.INFO: Extracted packet for processing {"connection_id":188180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b899"} 
[2026-09-19 13:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756697216,"raw_latitude":119530928,"longitude_deg":75.6697216,"latitude_deg":11.9530928,"altitude":45,"angle":289,"satellites":44,"speed":37,"hex_longitude":"2d1a4880","hex_latitude":"071fe5b0","is_valid_coordinates":true} 
[2026-09-19 13:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189684480001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21669901009682432,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896719161164347392,"note":"Value kept but may cause issues"} 
[2026-09-19 13:08:53] 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-19 13:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789803458000,"timestamp_ms":1789803458000,"timestamp_seconds":1789803458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8996dd0"} 
[2026-09-19 13:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 13:08:53] 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-19 13:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:08:53] 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-19 13:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189684480001,"66":14265,"101":206,"83":41984,"24":37,"16":21669901009682432,"45":1896719161164347392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189684480001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:08:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21669901009682432,"km_value":21669901009682.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896719161164347392,"description":"Unknown IO ID 45"} 
[2026-09-19 13:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189684480001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1896719161164347392}} 
[2026-09-19 13:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":188180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:08:53] local.INFO: GPS data processed {"connection_id":188180,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:08:53] local.INFO: Acknowledgment sent {"connection_id":188180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:09:09] local.INFO: TCP Data received {"connection_id":186885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:09] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:09] local.INFO: IMEI packet received {"connection_id":186885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":186885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:09:14] local.INFO: TCP Data received {"connection_id":186885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:14] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:09:14] local.INFO: IMEI packet received {"connection_id":186885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:09:16] local.INFO: TCP Data received {"connection_id":186885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:16] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:16] local.INFO: Packet analysis {"connection_id":186885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:09:16] local.INFO: Extracted packet for processing {"connection_id":186885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:16] 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-19 13:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13: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-19 13:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:09: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-19 13: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-19 13: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-19 13:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:09:16] 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-19 13:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":186885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:09:16] local.INFO: GPS data processed {"connection_id":186885,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:09:16] local.INFO: Acknowledgment sent {"connection_id":186885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:09:24] local.INFO: TCP Data received {"connection_id":188180,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89a44a8012d19c7c0071ff1c0002f00fc28..."} 
[2026-09-19 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89a44a8012d19c7c0071ff1c0002f00fc28..."} 
[2026-09-19 13:09:24] local.INFO: Processing buffer {"connection_id":188180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89a44a8012d19c7c0071ff1c0002f00fc28..."} 
[2026-09-19 13:09:24] local.INFO: Packet analysis {"connection_id":188180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:09:24] local.INFO: Extracted packet for processing {"connection_id":188180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119534016,"longitude_deg":75.6664256,"latitude_deg":11.9534016,"altitude":47,"angle":252,"satellites":40,"speed":12,"hex_longitude":"2d19c7c0","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-19 13:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189699072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21671704895946752,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867779072,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:24] 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-19 13:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789803513000,"timestamp_ms":1789803513000,"timestamp_seconds":1789803513,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89a44a8"} 
[2026-09-19 13:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:09:24] 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-19 13:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-19 13:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:09:24] 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-19 13:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189699072001,"66":14396,"101":206,"83":41984,"24":12,"16":21671704895946752,"45":1858016351867779072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189699072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:09:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21671704895946752,"km_value":21671704895946.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867779072,"description":"Unknown IO ID 45"} 
[2026-09-19 13:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189699072001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1858016351867779072}} 
[2026-09-19 13:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":188180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:09:25] local.INFO: GPS data processed {"connection_id":188180,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:09:25] local.INFO: Acknowledgment sent {"connection_id":188180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:09:46] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:46] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:46] local.INFO: IMEI packet received {"connection_id":186778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":186778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:09:48] local.INFO: TCP Data received {"connection_id":186885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:48] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:09:48] local.INFO: Packet analysis {"connection_id":186885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:09:48] local.INFO: Extracted packet for processing {"connection_id":186885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09: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-19 13:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13: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-19 13:09: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:09: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-19 13: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-19 13: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-19 13:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:09: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-19 13:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":186885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:09:48] local.INFO: GPS data processed {"connection_id":186885,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:09:48] local.INFO: Acknowledgment sent {"connection_id":186885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:09:49] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:49] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:09:49] local.INFO: IMEI packet received {"connection_id":186778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":186778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:09:50] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89a4c78012d19c4c0071ff158002e010a29..."} 
[2026-09-19 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89a4c78012d19c4c0071ff158002e010a29..."} 
[2026-09-19 13:09:50] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89a4c78012d19c4c0071ff158002e010a29..."} 
[2026-09-19 13:09:50] local.INFO: Packet analysis {"connection_id":186778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:09:50] local.INFO: Extracted packet for processing {"connection_id":186778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119533912,"longitude_deg":75.6663488,"latitude_deg":11.9533912,"altitude":46,"angle":266,"satellites":41,"speed":17,"hex_longitude":"2d19c4c0","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-09-19 13:09: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-19 13:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189699328001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21671739255685120,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508146860032,"note":"Value kept but may cause issues"} 
[2026-09-19 13:09:50] 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-19 13:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789803515000,"timestamp_ms":1789803515000,"timestamp_seconds":1789803515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89a4c78"} 
[2026-09-19 13:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:09: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":60,"data_length":795,"current_offset":136} 
[2026-09-19 13:09:50] 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-19 13:09: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-19 13:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:09:50] 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-19 13:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189699328001,"66":14428,"101":206,"83":41984,"24":17,"16":21671739255685120,"45":1857664508146860032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189699328001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:09:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21671739255685120,"km_value":21671739255685.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508146860032,"description":"Unknown IO ID 45"} 
[2026-09-19 13:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189699328001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1857664508146860032}} 
[2026-09-19 13:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":186778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:09:50] local.INFO: GPS data processed {"connection_id":186778,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:09:50] local.INFO: Acknowledgment sent {"connection_id":186778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:10:14] local.INFO: TCP Data received {"connection_id":189505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:14] local.INFO: Processing buffer {"connection_id":189505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:14] local.INFO: IMEI packet received {"connection_id":189505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":189505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:10:20] local.INFO: TCP Data received {"connection_id":189505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:20] local.INFO: Processing buffer {"connection_id":189505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:10:20] local.INFO: IMEI packet received {"connection_id":189505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":189505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:10:21] local.INFO: TCP Data received {"connection_id":189505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:21] local.INFO: Processing buffer {"connection_id":189505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:21] local.INFO: Packet analysis {"connection_id":189505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:10:21] local.INFO: Extracted packet for processing {"connection_id":189505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] 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-19 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:10:21] 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-19 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":189505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:10:21] local.INFO: GPS data processed {"connection_id":189505,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:10:21] local.INFO: Acknowledgment sent {"connection_id":189505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:10:21] local.INFO: TCP Data received {"connection_id":186778,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89a7770012d19ad80071ff0200032011625..."} 
[2026-09-19 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89a7770012d19ad80071ff0200032011625..."} 
[2026-09-19 13:10:21] local.INFO: Processing buffer {"connection_id":186778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89a7770012d19ad80071ff0200032011625..."} 
[2026-09-19 13:10:21] local.INFO: Packet analysis {"connection_id":186778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:10:21] local.INFO: Extracted packet for processing {"connection_id":186778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89a"} 
[2026-09-19 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119533600,"longitude_deg":75.6657536,"latitude_deg":11.95336,"altitude":50,"angle":278,"satellites":37,"speed":23,"hex_longitude":"2d19ad80","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-19 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189699840001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672022723526656,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083216701440,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803526000,"timestamp_ms":1789803526000,"timestamp_seconds":1789803526,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89a7770"} 
[2026-09-19 13:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-19 13:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:10:21] 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-19 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189699840001,"66":13276,"101":206,"83":41984,"24":23,"16":21672022723526656,"45":1856820083216701440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189699840001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672022723526656,"km_value":21672022723526.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083216701440,"description":"Unknown IO ID 45"} 
[2026-09-19 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189699840001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1856820083216701440}} 
[2026-09-19 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":186778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:10:21] local.INFO: GPS data processed {"connection_id":186778,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:10:21] local.INFO: Acknowledgment sent {"connection_id":186778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:10:24] local.INFO: TCP Data received {"connection_id":189505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:24] local.INFO: Processing buffer {"connection_id":189505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89723e0012d34c14006aa41400008010e29..."} 
[2026-09-19 13:10:24] local.INFO: Packet analysis {"connection_id":189505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:10:24] local.INFO: Extracted packet for processing {"connection_id":189505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b897"} 
[2026-09-19 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189569792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:24] 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-19 13:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789803308000,"timestamp_ms":1789803308000,"timestamp_seconds":1789803308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89723e0"} 
[2026-09-19 13: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-19 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13: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-19 13: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-19 13:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:10:24] 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-19 13:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189569792001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189569792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189569792001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":189505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:10:25] local.INFO: GPS data processed {"connection_id":189505,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:10:25] local.INFO: Acknowledgment sent {"connection_id":189505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:10:46] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:46] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:46] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:10:47] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:47] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:47] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:10:51] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:51] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:10:51] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:10:52] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89b13b0012d196e80071fec000039010a2a..."} 
[2026-09-19 13:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89b13b0012d196e80071fec000039010a2a..."} 
[2026-09-19 13:10:52] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89b13b0012d196e80071fec000039010a2a..."} 
[2026-09-19 13:10:52] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:10:52] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119532544,"longitude_deg":75.6641408,"latitude_deg":11.9532544,"altitude":57,"angle":266,"satellites":42,"speed":14,"hex_longitude":"2d196e80","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-09-19 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189711872001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672821587443712,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834231716335269888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803566000,"timestamp_ms":1789803566000,"timestamp_seconds":1789803566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89b13b0"} 
[2026-09-19 13:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:10:52] 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-19 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 13:10:52] 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-19 13:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:10:52] 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-19 13:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189711872001,"66":13135,"102":206,"83":41984,"24":14,"16":21672821587443712,"45":1834231716335269888},"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-19 13:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189711872001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:10:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672821587443712,"km_value":21672821587443.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834231716335269888,"description":"Unknown IO ID 45"} 
[2026-09-19 13:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189711872001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1834231716335269888}} 
[2026-09-19 13:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:10:52] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:10:52] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:11:09] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:09] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:09] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:11:14] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:14] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:11:14] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:11:15] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:15] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:15] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:15] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11: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-19 13:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:11: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-19 13:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:11:15] 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-19 13:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:11:15] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:11:15] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:11:23] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89b65b8012d196880071fec400039011029..."} 
[2026-09-19 13:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89b65b8012d196880071fec400039011029..."} 
[2026-09-19 13:11:23] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89b65b8012d196880071fec400039011029..."} 
[2026-09-19 13:11:23] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:23] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189712896001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866475057152,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803587000,"timestamp_ms":1789803587000,"timestamp_seconds":1789803587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89b65b8"} 
[2026-09-19 13:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:11:23] 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-19 13:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:11:23] 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-19 13:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189712896001,"66":13091,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1832542866475057152},"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-19 13:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189712896001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866475057152,"description":"Unknown IO ID 45"} 
[2026-09-19 13:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189712896001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832542866475057152}} 
[2026-09-19 13:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:11:23] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:11:23] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:11:46] local.INFO: TCP Data received {"connection_id":189506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:46] local.INFO: Processing buffer {"connection_id":189506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:46] local.INFO: IMEI packet received {"connection_id":189506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":189506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:11:47] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:47] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:11:47] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:47] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11: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-19 13:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13: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-19 13:11: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:11: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-19 13: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-19 13: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-19 13:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:11:47] 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-19 13:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:11:47] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:11:47] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:11:49] local.INFO: TCP Data received {"connection_id":189506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:49] local.INFO: Processing buffer {"connection_id":189506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:11:49] local.INFO: IMEI packet received {"connection_id":189506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":189506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:11:50] local.INFO: TCP Data received {"connection_id":189506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bb7c0012d196880071fec400039011029..."} 
[2026-09-19 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bb7c0012d196880071fec400039011029..."} 
[2026-09-19 13:11:50] local.INFO: Processing buffer {"connection_id":189506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bb7c0012d196880071fec400039011029..."} 
[2026-09-19 13:11:50] local.INFO: Packet analysis {"connection_id":189506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:50] local.INFO: Extracted packet for processing {"connection_id":189506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189718272001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789803608000,"timestamp_ms":1789803608000,"timestamp_seconds":1789803608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bb7c0"} 
[2026-09-19 13: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-19 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 13:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:11:50] 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-19 13:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189718272001,"66":13080,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189718272001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:11:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189718272001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":189506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:11:50] local.INFO: GPS data processed {"connection_id":189506,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:11:50] local.INFO: Acknowledgment sent {"connection_id":189506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:12:09] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:09] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:09] local.INFO: IMEI packet received {"connection_id":188184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":188184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:12:14] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:14] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:12:14] local.INFO: IMEI packet received {"connection_id":188184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":188184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:12:15] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:15] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:15] local.INFO: Packet analysis {"connection_id":188184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:12:15] local.INFO: Extracted packet for processing {"connection_id":188184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13: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-19 13:12: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:12: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-19 13: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-19 13: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-19 13:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:12: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-19 13:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":188184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:12:15] local.INFO: GPS data processed {"connection_id":188184,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:12:15] local.INFO: Acknowledgment sent {"connection_id":188184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:12:21] local.INFO: TCP Data received {"connection_id":189506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89c09c8012d196880071fec400039011028..."} 
[2026-09-19 13:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89c09c8012d196880071fec400039011028..."} 
[2026-09-19 13:12:21] local.INFO: Processing buffer {"connection_id":189506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89c09c8012d196880071fec400039011028..."} 
[2026-09-19 13:12:21] local.INFO: Packet analysis {"connection_id":189506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:12:21] local.INFO: Extracted packet for processing {"connection_id":189506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723648001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803629000,"timestamp_ms":1789803629000,"timestamp_seconds":1789803629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89c09c8"} 
[2026-09-19 13:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 13:12:21] 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-19 13:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:12:21] 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-19 13:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723648001,"66":13015,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723648001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723648001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":189506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:12:21] local.INFO: GPS data processed {"connection_id":189506,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:12:21] local.INFO: Acknowledgment sent {"connection_id":189506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:12:47] local.INFO: TCP Data received {"connection_id":188184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:47] local.INFO: Processing buffer {"connection_id":188184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:12:47] local.INFO: Packet analysis {"connection_id":188184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:12:47] local.INFO: Extracted packet for processing {"connection_id":188184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12: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-19 13:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13: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-19 13:12: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-19 13:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:12: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-19 13: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-19 13: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-19 13:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:12:47] 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-19 13:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:12:47] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:47] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:47] local.INFO: IMEI packet received {"connection_id":186887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":186887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":188184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:12:47] local.INFO: GPS data processed {"connection_id":188184,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:12:47] local.INFO: Acknowledgment sent {"connection_id":188184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:12:51] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:51] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:12:51] local.INFO: IMEI packet received {"connection_id":186887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":186887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:12:52] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89c5bd0012d196880071fec400039011027..."} 
[2026-09-19 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89c5bd0012d196880071fec400039011027..."} 
[2026-09-19 13:12:52] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89c5bd0012d196880071fec400039011027..."} 
[2026-09-19 13:12:52] local.INFO: Packet analysis {"connection_id":186887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:12:52] local.INFO: Extracted packet for processing {"connection_id":186887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189729024001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803650000,"timestamp_ms":1789803650000,"timestamp_seconds":1789803650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89c5bd0"} 
[2026-09-19 13:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:12:52] 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-19 13:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 13:12:52] 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-19 13:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:12:52] 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-19 13:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189729024001,"66":13004,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189729024001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:12:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189729024001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":186887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:12:52] local.INFO: GPS data processed {"connection_id":186887,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:12:52] local.INFO: Acknowledgment sent {"connection_id":186887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:13:14] local.INFO: TCP Data received {"connection_id":186781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:14] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:14] local.INFO: IMEI packet received {"connection_id":186781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:13:19] local.INFO: TCP Data received {"connection_id":186781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:19] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:13:19] local.INFO: IMEI packet received {"connection_id":186781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":186781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:13:20] local.INFO: TCP Data received {"connection_id":186781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:20] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:20] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:13:20] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:13: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-19 13:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:20] 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-19 13:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:13: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-19 13:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:13:20] 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-19 13:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:13:20] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:13:20] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:13:23] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89cadd8012d196880071fec40003901102a..."} 
[2026-09-19 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89cadd8012d196880071fec40003901102a..."} 
[2026-09-19 13:13:23] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89cadd8012d196880071fec40003901102a..."} 
[2026-09-19 13:13:23] local.INFO: Packet analysis {"connection_id":186887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:13:23] local.INFO: Extracted packet for processing {"connection_id":186887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189734400001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803671000,"timestamp_ms":1789803671000,"timestamp_seconds":1789803671,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89cadd8"} 
[2026-09-19 13:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:13:23] 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-19 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 13:13:23] 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-19 13:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:13:23] 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-19 13:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189734400001,"66":12939,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189734400001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189734400001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":186887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:13:23] local.INFO: GPS data processed {"connection_id":186887,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:13:23] local.INFO: Acknowledgment sent {"connection_id":186887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:13:24] local.INFO: TCP Data received {"connection_id":186780,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:13:24] local.INFO: Processing buffer {"connection_id":186780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:13:24] local.INFO: IMEI packet received {"connection_id":186780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":186780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:13:25] local.INFO: TCP Data received {"connection_id":186781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:25] local.INFO: Processing buffer {"connection_id":186781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:13:25] local.INFO: Packet analysis {"connection_id":186781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:13:25] local.INFO: Extracted packet for processing {"connection_id":186781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:25] 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-19 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:13:25] 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-19 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":186781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:13:25] local.INFO: GPS data processed {"connection_id":186781,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:13:25] local.INFO: Acknowledgment sent {"connection_id":186781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:13:46] local.INFO: TCP Data received {"connection_id":186888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:46] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:46] local.INFO: IMEI packet received {"connection_id":186888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":186888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:13:51] local.INFO: TCP Data received {"connection_id":186888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:51] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:13:51] local.INFO: IMEI packet received {"connection_id":186888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":186888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:13:52] local.INFO: TCP Data received {"connection_id":186888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89cffe0012d196880071fec400039011029..."} 
[2026-09-19 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89cffe0012d196880071fec400039011029..."} 
[2026-09-19 13:13:52] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89cffe0012d196880071fec400039011029..."} 
[2026-09-19 13:13:52] local.INFO: Packet analysis {"connection_id":186888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:13:52] local.INFO: Extracted packet for processing {"connection_id":186888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89c"} 
[2026-09-19 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189739776001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803692000,"timestamp_ms":1789803692000,"timestamp_seconds":1789803692,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89cffe0"} 
[2026-09-19 13:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:13:52] 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-19 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 13:13:52] 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-19 13:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:13:52] 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-19 13:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189739776001,"66":12917,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189739776001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189739776001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:13:52] local.INFO: GPS data processed {"connection_id":186888,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:13:52] local.INFO: Acknowledgment sent {"connection_id":186888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:09] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:09] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:09] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:14:14] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:14] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:14:14] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:14:15] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:15] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:15] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:15] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14: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-19 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13: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-19 13:14: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-19 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:14: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-19 13: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-19 13: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-19 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14: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-19 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:15] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:15] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:21] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:21] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:21] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:21] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:21] 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-19 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14:21] 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-19 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:21] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:21] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:23] local.INFO: TCP Data received {"connection_id":186888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89d51e8012d196880071fec400039011029..."} 
[2026-09-19 13:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89d51e8012d196880071fec400039011029..."} 
[2026-09-19 13:14:23] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89d51e8012d196880071fec400039011029..."} 
[2026-09-19 13:14:23] local.INFO: Packet analysis {"connection_id":186888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:23] local.INFO: Extracted packet for processing {"connection_id":186888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189745152001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803713000,"timestamp_ms":1789803713000,"timestamp_seconds":1789803713,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89d51e8"} 
[2026-09-19 13: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-19 13:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-19 13:14:23] 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-19 13: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-19 13: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-19 13:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14:23] 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-19 13:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189745152001,"66":12939,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189745152001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189745152001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":186888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:23] local.INFO: GPS data processed {"connection_id":186888,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:23] local.INFO: Acknowledgment sent {"connection_id":186888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:51] local.INFO: TCP Data received {"connection_id":189507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:51] local.INFO: Processing buffer {"connection_id":189507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:51] local.INFO: IMEI packet received {"connection_id":189507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":189507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:14:53] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:53] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:14:53] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:53] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:14: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-19 13:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:53] 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-19 13:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:14: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:14: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-19 13:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:14:53] 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-19 13:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:53] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:53] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:56] local.INFO: TCP Data received {"connection_id":189507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:56] local.INFO: Processing buffer {"connection_id":189507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:14:56] local.INFO: IMEI packet received {"connection_id":189507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":189507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:14:57] local.INFO: TCP Data received {"connection_id":189507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89da3f0012d196880071fec40003901102b..."} 
[2026-09-19 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89da3f0012d196880071fec40003901102b..."} 
[2026-09-19 13:14:57] local.INFO: Processing buffer {"connection_id":189507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89da3f0012d196880071fec40003901102b..."} 
[2026-09-19 13:14:57] local.INFO: Packet analysis {"connection_id":189507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:57] local.INFO: Extracted packet for processing {"connection_id":189507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:14: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-19 13:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189750528001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789803734000,"timestamp_ms":1789803734000,"timestamp_seconds":1789803734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89da3f0"} 
[2026-09-19 13:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 13:14:57] 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-19 13:14: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-19 13:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14:57] 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-19 13:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189750528001,"66":12885,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189750528001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189750528001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":189507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:57] local.INFO: GPS data processed {"connection_id":189507,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:57] local.INFO: Acknowledgment sent {"connection_id":189507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:14:58] local.INFO: TCP Data received {"connection_id":189507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89df5f8012d196880071fec40003901102d..."} 
[2026-09-19 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89df5f8012d196880071fec40003901102d..."} 
[2026-09-19 13:14:58] local.INFO: Processing buffer {"connection_id":189507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89df5f8012d196880071fec40003901102d..."} 
[2026-09-19 13:14:58] local.INFO: Packet analysis {"connection_id":189507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:58] local.INFO: Extracted packet for processing {"connection_id":189507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89d"} 
[2026-09-19 13:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189755904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789803755000,"timestamp_ms":1789803755000,"timestamp_seconds":1789803755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89df5f8"} 
[2026-09-19 13:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:14:58] 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-19 13:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 13:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":189507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:14: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-19 13:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189755904001,"66":12874,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189755904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189755904001,"power":12874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":189507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:14:58] local.INFO: GPS data processed {"connection_id":189507,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:14:58] local.INFO: Acknowledgment sent {"connection_id":189507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:11] local.INFO: TCP Data received {"connection_id":189508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:11] local.INFO: Processing buffer {"connection_id":189508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:11] local.INFO: IMEI packet received {"connection_id":189508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":189508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:15:14] local.INFO: TCP Data received {"connection_id":189508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:14] local.INFO: Processing buffer {"connection_id":189508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:15:14] local.INFO: IMEI packet received {"connection_id":189508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":189508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:15:15] local.INFO: TCP Data received {"connection_id":189508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:15] local.INFO: Processing buffer {"connection_id":189508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:15] local.INFO: Packet analysis {"connection_id":189508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:15:15] local.INFO: Extracted packet for processing {"connection_id":189508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15: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-19 13:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:15: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-19 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:15: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-19 13:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15: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-19 13:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":189508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:15] local.INFO: GPS data processed {"connection_id":189508,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:15] local.INFO: Acknowledgment sent {"connection_id":189508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:20] local.INFO: TCP Data received {"connection_id":189508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:20] local.INFO: Processing buffer {"connection_id":189508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89bbba8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:15:20] local.INFO: Packet analysis {"connection_id":189508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:15:20] local.INFO: Extracted packet for processing {"connection_id":189508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89b"} 
[2026-09-19 13:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189646848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:20] 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-19 13:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789803609000,"timestamp_ms":1789803609000,"timestamp_seconds":1789803609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89bbba8"} 
[2026-09-19 13: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-19 13:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15:20] 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-19 13:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189646848001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189646848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189646848001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":189508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:20] local.INFO: GPS data processed {"connection_id":189508,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:20] local.INFO: Acknowledgment sent {"connection_id":189508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:29] local.INFO: TCP Data received {"connection_id":189507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89e4800012d196880071fec40003901102a..."} 
[2026-09-19 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89e4800012d196880071fec40003901102a..."} 
[2026-09-19 13:15:29] local.INFO: Processing buffer {"connection_id":189507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89e4800012d196880071fec40003901102a..."} 
[2026-09-19 13:15:29] local.INFO: Packet analysis {"connection_id":189507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:29] local.INFO: Extracted packet for processing {"connection_id":189507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:15: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-19 13:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189761280001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789803776000,"timestamp_ms":1789803776000,"timestamp_seconds":1789803776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89e4800"} 
[2026-09-19 13:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:15:29] 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-19 13:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 13:15:29] 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-19 13:15: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-19 13:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:29] 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-19 13:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189761280001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189761280001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189761280001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":189507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:29] local.INFO: GPS data processed {"connection_id":189507,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:29] local.INFO: Acknowledgment sent {"connection_id":189507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:46] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:46] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:46] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:15:51] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:51] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:15:51] local.INFO: IMEI packet received {"connection_id":186782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":186782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:15:52] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89e9a08012d196880071fec40003901102b..."} 
[2026-09-19 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89e9a08012d196880071fec40003901102b..."} 
[2026-09-19 13:15:52] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89e9a08012d196880071fec40003901102b..."} 
[2026-09-19 13:15:52] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:52] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:15: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-19 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189766656001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803797000,"timestamp_ms":1789803797000,"timestamp_seconds":1789803797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89e9a08"} 
[2026-09-19 13:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:15:52] 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-19 13:15: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-19 13:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:52] 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-19 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189766656001,"66":12841,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189766656001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189766656001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:15:52] local.INFO: TCP Data received {"connection_id":189508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:15:52] local.INFO: Processing buffer {"connection_id":189508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:15:52] local.INFO: Packet analysis {"connection_id":189508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:15:52] local.INFO: Extracted packet for processing {"connection_id":189508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:15: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-19 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15: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-19 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:15: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:15: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-19 13:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:15:52] 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-19 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":189508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:52] local.INFO: GPS data processed {"connection_id":189508,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:52] local.INFO: Acknowledgment sent {"connection_id":189508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:52] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:52] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:15:56] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89eec10012d196880071fec40003901102a..."} 
[2026-09-19 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89eec10012d196880071fec40003901102a..."} 
[2026-09-19 13:15:56] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89eec10012d196880071fec40003901102a..."} 
[2026-09-19 13:15:56] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:56] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89e"} 
[2026-09-19 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:15: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-19 13:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189772032001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789803818000,"timestamp_ms":1789803818000,"timestamp_seconds":1789803818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89eec10"} 
[2026-09-19 13:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:15: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-19 13:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 13:15:56] 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-19 13:15: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-19 13:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:15:56] 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-19 13:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189772032001,"66":12841,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189772032001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:15:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189772032001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:15:56] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:15:56] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:16:09] local.INFO: TCP Data received {"connection_id":189509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:09] local.INFO: Processing buffer {"connection_id":189509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:09] local.INFO: IMEI packet received {"connection_id":189509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":189509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:16:14] local.INFO: TCP Data received {"connection_id":189509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:14] local.INFO: Processing buffer {"connection_id":189509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:16:14] local.INFO: IMEI packet received {"connection_id":189509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":189509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:16:15] local.INFO: TCP Data received {"connection_id":189509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:15] local.INFO: Processing buffer {"connection_id":189509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:15] local.INFO: Packet analysis {"connection_id":189509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:16:15] local.INFO: Extracted packet for processing {"connection_id":189509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16: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-19 13:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:16: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-19 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:16: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-19 13:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:16: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-19 13:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":189509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:16:15] local.INFO: GPS data processed {"connection_id":189509,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:16:15] local.INFO: Acknowledgment sent {"connection_id":189509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:16:27] local.INFO: TCP Data received {"connection_id":186782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89f3e18012d196880071fec400039011028..."} 
[2026-09-19 13:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89f3e18012d196880071fec400039011028..."} 
[2026-09-19 13:16:27] local.INFO: Processing buffer {"connection_id":186782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89f3e18012d196880071fec400039011028..."} 
[2026-09-19 13:16:27] local.INFO: Packet analysis {"connection_id":186782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:16:27] local.INFO: Extracted packet for processing {"connection_id":186782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:16: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-19 13:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189777408001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789803839000,"timestamp_ms":1789803839000,"timestamp_seconds":1789803839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89f3e18"} 
[2026-09-19 13:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:16:27] 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-19 13:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 13:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:16: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-19 13:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:16:27] 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-19 13:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189777408001,"66":12841,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189777408001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:16:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189777408001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":186782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:16:27] local.INFO: GPS data processed {"connection_id":186782,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:16:27] local.INFO: Acknowledgment sent {"connection_id":186782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:16:43] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:43] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:43] local.INFO: IMEI packet received {"connection_id":188186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":188186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:16:46] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:46] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:46] local.INFO: IMEI packet received {"connection_id":188186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":188186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:16:47] local.INFO: TCP Data received {"connection_id":189509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:47] local.INFO: Processing buffer {"connection_id":189509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:16:47] local.INFO: Packet analysis {"connection_id":189509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:16:47] local.INFO: Extracted packet for processing {"connection_id":189509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16: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-19 13:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:16: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-19 13: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-19 13: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-19 13:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:16: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-19 13:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":189509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:16:47] local.INFO: GPS data processed {"connection_id":189509,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:16:47] local.INFO: Acknowledgment sent {"connection_id":189509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:16:51] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:51] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:16:51] local.INFO: IMEI packet received {"connection_id":188186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":188186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:16:52] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89f9020012d196880071fec40003901102b..."} 
[2026-09-19 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89f9020012d196880071fec40003901102b..."} 
[2026-09-19 13:16:52] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89f9020012d196880071fec40003901102b..."} 
[2026-09-19 13:16:52] local.INFO: Packet analysis {"connection_id":188186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:16:52] local.INFO: Extracted packet for processing {"connection_id":188186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189782784001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803860000,"timestamp_ms":1789803860000,"timestamp_seconds":1789803860,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89f9020"} 
[2026-09-19 13:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:16:52] 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-19 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 13:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:16:52] 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-19 13:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189782784001,"66":12798,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189782784001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189782784001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":188186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:16:52] local.INFO: GPS data processed {"connection_id":188186,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:16:52] local.INFO: Acknowledgment sent {"connection_id":188186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:17:09] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:09] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:09] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:17:14] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:14] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:17:14] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:17:15] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:15] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:15] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:15] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17: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-19 13:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:17: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-19 13:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:17: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-19 13:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:17:15] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:17:15] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:17:23] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b89fe228012d196880071fec40003901102c..."} 
[2026-09-19 13:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b89fe228012d196880071fec40003901102c..."} 
[2026-09-19 13:17:23] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b89fe228012d196880071fec40003901102c..."} 
[2026-09-19 13:17:23] local.INFO: Packet analysis {"connection_id":188186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:17:23] local.INFO: Extracted packet for processing {"connection_id":188186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b89f"} 
[2026-09-19 13:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189788160001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803881000,"timestamp_ms":1789803881000,"timestamp_seconds":1789803881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b89fe228"} 
[2026-09-19 13:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:17:23] 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-19 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 13:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:17:23] 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-19 13:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189788160001,"66":12819,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189788160001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189788160001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":188186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:17:23] local.INFO: GPS data processed {"connection_id":188186,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:17:23] local.INFO: Acknowledgment sent {"connection_id":188186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:17:46] local.INFO: TCP Data received {"connection_id":189510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:46] local.INFO: Processing buffer {"connection_id":189510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:46] local.INFO: IMEI packet received {"connection_id":189510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":189510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:17:47] local.INFO: TCP Data received {"connection_id":189510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:47] local.INFO: Processing buffer {"connection_id":189510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:47] local.INFO: IMEI packet received {"connection_id":189510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":189510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:17:48] local.INFO: TCP Data received {"connection_id":186889,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:48] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:17:48] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:48] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17: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-19 13:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13: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-19 13:17: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:17: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-19 13: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-19 13: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-19 13:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:17: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-19 13:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:17:48] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:17:48] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:17:51] local.INFO: TCP Data received {"connection_id":189510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:51] local.INFO: Processing buffer {"connection_id":189510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:17:51] local.INFO: IMEI packet received {"connection_id":189510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":189510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:17:52] local.INFO: TCP Data received {"connection_id":189510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a03430012d196880071fec40003901102b..."} 
[2026-09-19 13:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a03430012d196880071fec40003901102b..."} 
[2026-09-19 13:17:52] local.INFO: Processing buffer {"connection_id":189510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a03430012d196880071fec40003901102b..."} 
[2026-09-19 13:17:52] local.INFO: Packet analysis {"connection_id":189510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:52] local.INFO: Extracted packet for processing {"connection_id":189510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189793536001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803902000,"timestamp_ms":1789803902000,"timestamp_seconds":1789803902,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a03430"} 
[2026-09-19 13:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3097359864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930329497600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-7087557500708755328,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":16045242591477760,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300283879380029483,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487875797765715,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751904605151212,"note":"Value kept but may cause issues"} 
[2026-09-19 13:17:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,255,160,144,45,128,236,57,43,10,66,62,40,1,240,41,227,184,31,4,113,205,72,104,64,42,239,48,2,76,7,50,164,98,69,232],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-19 13:17:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582116303208448,"timestamp_seconds":4107582116303208.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:17:52] 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-19 13:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189793536001,"66":12798,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189793536001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:17:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189793536001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":189510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:17:52] local.INFO: GPS data processed {"connection_id":189510,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:17:52] local.INFO: Acknowledgment sent {"connection_id":189510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:18:14] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:14] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:14] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:18:19] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:19] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:18:19] local.INFO: IMEI packet received {"connection_id":186783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":186783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:18:21] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:21] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:21] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:21] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:21] 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-19 13:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:18:21] 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-19 13:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:18:21] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:18:21] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:18:23] local.INFO: TCP Data received {"connection_id":189510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a08638012d196880071fec40003901102a..."} 
[2026-09-19 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a08638012d196880071fec40003901102a..."} 
[2026-09-19 13:18:23] local.INFO: Processing buffer {"connection_id":189510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a08638012d196880071fec40003901102a..."} 
[2026-09-19 13:18:23] local.INFO: Packet analysis {"connection_id":189510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:23] local.INFO: Extracted packet for processing {"connection_id":189510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189798912001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789803923000,"timestamp_ms":1789803923000,"timestamp_seconds":1789803923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a08638"} 
[2026-09-19 13:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 13:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:18:23] 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-19 13:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189798912001,"66":12776,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189798912001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189798912001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":189510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:18:23] local.INFO: GPS data processed {"connection_id":189510,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:18:23] local.INFO: Acknowledgment sent {"connection_id":189510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:18:25] local.INFO: TCP Data received {"connection_id":186783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:25] local.INFO: Processing buffer {"connection_id":186783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:18:25] local.INFO: Packet analysis {"connection_id":186783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:25] local.INFO: Extracted packet for processing {"connection_id":186783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:18: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-19 13:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:25] 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-19 13:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:18: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-19 13:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:18:25] 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-19 13:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":186783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:18:25] local.INFO: GPS data processed {"connection_id":186783,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:18:25] local.INFO: Acknowledgment sent {"connection_id":186783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:18:46] local.INFO: TCP Data received {"connection_id":189511,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:46] local.INFO: Processing buffer {"connection_id":189511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:46] local.INFO: IMEI packet received {"connection_id":189511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":189511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:18:49] local.INFO: TCP Data received {"connection_id":189511,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:49] local.INFO: Processing buffer {"connection_id":189511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:18:49] local.INFO: IMEI packet received {"connection_id":189511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":189511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:18:50] local.INFO: TCP Data received {"connection_id":189511,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a0d840012d196880071fec400039011029..."} 
[2026-09-19 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a0d840012d196880071fec400039011029..."} 
[2026-09-19 13:18:50] local.INFO: Processing buffer {"connection_id":189511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a0d840012d196880071fec400039011029..."} 
[2026-09-19 13:18:50] local.INFO: Packet analysis {"connection_id":189511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:50] local.INFO: Extracted packet for processing {"connection_id":189511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:18: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-19 13:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189804288001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789803944000,"timestamp_ms":1789803944000,"timestamp_seconds":1789803944,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a0d840"} 
[2026-09-19 13:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:18: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-19 13:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 13:18:50] 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-19 13:18: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-19 13:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:18:50] 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-19 13:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189804288001,"66":12743,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189804288001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:18:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189804288001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":189511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:18:50] local.INFO: GPS data processed {"connection_id":189511,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:18:50] local.INFO: Acknowledgment sent {"connection_id":189511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:19:09] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:09] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:09] local.INFO: IMEI packet received {"connection_id":186890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":186890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:19:14] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:14] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:19:14] local.INFO: IMEI packet received {"connection_id":186890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":186890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:19:15] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:15] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:15] local.INFO: Packet analysis {"connection_id":186890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:19:15] local.INFO: Extracted packet for processing {"connection_id":186890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19: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-19 13:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13: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-19 13:19: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:19: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-19 13: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-19 13: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-19 13:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:19: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-19 13:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":186890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:19:15] local.INFO: GPS data processed {"connection_id":186890,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:19:15] local.INFO: Acknowledgment sent {"connection_id":186890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:19:21] local.INFO: TCP Data received {"connection_id":189511,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a12a48012d196880071fec40003901102b..."} 
[2026-09-19 13:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a12a48012d196880071fec40003901102b..."} 
[2026-09-19 13:19:21] local.INFO: Processing buffer {"connection_id":189511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a12a48012d196880071fec40003901102b..."} 
[2026-09-19 13:19:21] local.INFO: Packet analysis {"connection_id":189511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:19:21] local.INFO: Extracted packet for processing {"connection_id":189511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189809664001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789803965000,"timestamp_ms":1789803965000,"timestamp_seconds":1789803965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a12a48"} 
[2026-09-19 13:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 13:19:21] 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-19 13:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:19:21] 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-19 13:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189809664001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189809664001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189809664001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":189511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:19:21] local.INFO: GPS data processed {"connection_id":189511,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:19:21] local.INFO: Acknowledgment sent {"connection_id":189511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:19:46] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:46] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:46] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:19:46] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:46] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:19:46] local.INFO: Packet analysis {"connection_id":186890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:19:46] local.INFO: Extracted packet for processing {"connection_id":186890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:46] 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-19 13:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13: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-19 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13: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-19 13: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-19 13: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-19 13:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:19: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-19 13:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":186890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:19:46] local.INFO: GPS data processed {"connection_id":186890,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:19:46] local.INFO: Acknowledgment sent {"connection_id":186890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:19:51] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:51] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:19:51] local.INFO: IMEI packet received {"connection_id":186784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":186784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:19:52] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a17c50012d196880071fec40003901102b..."} 
[2026-09-19 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a17c50012d196880071fec40003901102b..."} 
[2026-09-19 13:19:52] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a17c50012d196880071fec40003901102b..."} 
[2026-09-19 13:19:52] local.INFO: Packet analysis {"connection_id":186784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:19:52] local.INFO: Extracted packet for processing {"connection_id":186784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189815040001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789803986000,"timestamp_ms":1789803986000,"timestamp_seconds":1789803986,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a17c50"} 
[2026-09-19 13:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:19:52] 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-19 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:19:52] 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-19 13:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:19:52] 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-19 13:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189815040001,"66":12743,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189815040001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:19:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189815040001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:19:52] local.INFO: GPS data processed {"connection_id":186784,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:19:52] local.INFO: Acknowledgment sent {"connection_id":186784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:20:09] local.INFO: TCP Data received {"connection_id":186891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:09] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:09] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:20:14] local.INFO: TCP Data received {"connection_id":186891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:14] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:20:14] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:20:15] local.INFO: TCP Data received {"connection_id":186891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:15] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:15] local.INFO: Packet analysis {"connection_id":186891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:20:15] local.INFO: Extracted packet for processing {"connection_id":186891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20: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-19 13:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:20: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-19 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:20: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-19 13:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:20: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-19 13:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":186891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:20:15] local.INFO: GPS data processed {"connection_id":186891,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:20:15] local.INFO: Acknowledgment sent {"connection_id":186891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:20:23] local.INFO: TCP Data received {"connection_id":186784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a1ce58012d196880071fec40003901102a..."} 
[2026-09-19 13:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a1ce58012d196880071fec40003901102a..."} 
[2026-09-19 13:20:23] local.INFO: Processing buffer {"connection_id":186784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a1ce58012d196880071fec40003901102a..."} 
[2026-09-19 13:20:23] local.INFO: Packet analysis {"connection_id":186784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:20:23] local.INFO: Extracted packet for processing {"connection_id":186784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a1"} 
[2026-09-19 13:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189820416001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804007000,"timestamp_ms":1789804007000,"timestamp_seconds":1789804007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a1ce58"} 
[2026-09-19 13:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 13:20:23] 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-19 13:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:20:23] 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-19 13:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189820416001,"66":12667,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189820416001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189820416001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":186784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:20:23] local.INFO: GPS data processed {"connection_id":186784,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:20:23] local.INFO: Acknowledgment sent {"connection_id":186784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:20:47] local.INFO: TCP Data received {"connection_id":186891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:47] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a05370012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:20:47] local.INFO: Packet analysis {"connection_id":186891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:20:47] local.INFO: Extracted packet for processing {"connection_id":186891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a0"} 
[2026-09-19 13:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189723904001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20: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-19 13:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789803910000,"timestamp_ms":1789803910000,"timestamp_seconds":1789803910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a05370"} 
[2026-09-19 13:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:20: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-19 13:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:20: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-19 13:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:20: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-19 13:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189723904001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189723904001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189723904001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":186891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:20:47] local.INFO: GPS data processed {"connection_id":186891,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:20:47] local.INFO: Acknowledgment sent {"connection_id":186891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:20:51] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:51] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:51] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:20:55] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:55] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:20:55] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:20:56] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a22060012d196880071fec40003901102c..."} 
[2026-09-19 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a22060012d196880071fec40003901102c..."} 
[2026-09-19 13:20:56] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a22060012d196880071fec40003901102c..."} 
[2026-09-19 13:20:56] local.INFO: Packet analysis {"connection_id":188187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a2"} 
[2026-09-19 13:20:56] local.INFO: Extracted packet for processing {"connection_id":188187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a2"} 
[2026-09-19 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189825792001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789804028000,"timestamp_ms":1789804028000,"timestamp_seconds":1789804028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a22060"} 
[2026-09-19 13: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-19 13:20:56] 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-19 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 13:20:56] 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-19 13: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-19 13: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-19 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:20:56] 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-19 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189825792001,"66":12711,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189825792001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:20:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189825792001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":188187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:20:56] local.INFO: GPS data processed {"connection_id":188187,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:20:56] local.INFO: Acknowledgment sent {"connection_id":188187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:21:09] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:09] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:09] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:21:14] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:14] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:21:14] local.INFO: IMEI packet received {"connection_id":186785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":186785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:21:15] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:15] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:15] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:15] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21: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-19 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:21: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-19 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:21: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-19 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:21: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-19 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:21:15] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:21:15] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:21:41] local.INFO: TCP Data received {"connection_id":189512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:41] local.INFO: Processing buffer {"connection_id":189512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:41] local.INFO: IMEI packet received {"connection_id":189512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":189512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:21:46] local.INFO: TCP Data received {"connection_id":189512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:46] local.INFO: Processing buffer {"connection_id":189512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:21:46] local.INFO: IMEI packet received {"connection_id":189512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":189512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:21:47] local.INFO: TCP Data received {"connection_id":186785,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:47] local.INFO: TCP Data received {"connection_id":189512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a45e98012d196880071fec400039011029..."} 
[2026-09-19 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:47] local.INFO: Processing buffer {"connection_id":186785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:21:47] local.INFO: Packet analysis {"connection_id":186785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:47] local.INFO: Extracted packet for processing {"connection_id":186785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21: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-19 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13: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-19 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:21: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-19 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:21: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-19 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a45e98012d196880071fec400039011029..."} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:21:47] local.INFO: Processing buffer {"connection_id":189512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a45e98012d196880071fec400039011029..."} 
[2026-09-19 13:21:47] local.INFO: Packet analysis {"connection_id":189512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:47] local.INFO: Extracted packet for processing {"connection_id":189512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189863424001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804175000,"timestamp_ms":1789804175000,"timestamp_seconds":1789804175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a45e98"} 
[2026-09-19 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 13:21:47] 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-19 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:21:47] 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-19 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189863424001,"66":12667,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189863424001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189863424001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":186785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:21:47] local.INFO: GPS data processed {"connection_id":186785,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:21:47] local.INFO: Acknowledgment sent {"connection_id":186785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":189512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:21:47] local.INFO: GPS data processed {"connection_id":189512,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:21:47] local.INFO: Acknowledgment sent {"connection_id":189512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:22:09] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:09] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:09] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:22:14] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:14] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:22:14] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:22:15] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:15] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:15] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:15] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22: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-19 13:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13: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-19 13:22: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-19 13:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:22: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-19 13: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-19 13: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-19 13:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:22: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-19 13:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:22:15] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:22:15] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:22:18] local.INFO: TCP Data received {"connection_id":189512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4b0a0012d196880071fec40003901102b..."} 
[2026-09-19 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4b0a0012d196880071fec40003901102b..."} 
[2026-09-19 13:22:18] local.INFO: Processing buffer {"connection_id":189512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4b0a0012d196880071fec40003901102b..."} 
[2026-09-19 13:22:18] local.INFO: Packet analysis {"connection_id":189512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:18] local.INFO: Extracted packet for processing {"connection_id":189512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:22: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-19 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189868800001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789804196000,"timestamp_ms":1789804196000,"timestamp_seconds":1789804196,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4b0a0"} 
[2026-09-19 13:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 13:22:18] 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-19 13:22: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-19 13:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:22:18] 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-19 13:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189868800001,"66":12602,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189868800001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189868800001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":189512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:22:18] local.INFO: GPS data processed {"connection_id":189512,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:22:18] local.INFO: Acknowledgment sent {"connection_id":189512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:22:29] local.INFO: TCP Data received {"connection_id":186786,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: Processing buffer {"connection_id":186786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: IMEI packet received {"connection_id":186786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":186786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:22:29] local.INFO: TCP Data received {"connection_id":186786,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: Processing buffer {"connection_id":186786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:29] local.INFO: IMEI packet received {"connection_id":186786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":186786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:22:35] local.INFO: TCP Data received {"connection_id":186786,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:35] local.INFO: Processing buffer {"connection_id":186786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:22:35] local.INFO: IMEI packet received {"connection_id":186786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":186786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:22:37] local.INFO: TCP Data received {"connection_id":186786,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a53d40012c7bbc00084150e0000401602e..."} 
[2026-09-19 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a53d40012c7bbc00084150e0000401602e..."} 
[2026-09-19 13:22:37] local.INFO: Processing buffer {"connection_id":186786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a53d40012c7bbc00084150e0000401602e..."} 
[2026-09-19 13:22:37] local.INFO: Packet analysis {"connection_id":186786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:22:37] local.INFO: Extracted packet for processing {"connection_id":186786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":746306560,"raw_latitude":138498272,"longitude_deg":74.630656,"latitude_deg":13.8498272,"altitude":4,"angle":352,"satellites":46,"speed":57,"hex_longitude":"2c7bbc00","hex_latitude":"084150e0","is_valid_coordinates":true} 
[2026-09-19 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-19 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189881600001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":804047942582272,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8917619878855835648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789804232000,"timestamp_ms":1789804232000,"timestamp_seconds":1789804232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a53d40"} 
[2026-09-19 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-19 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 13:22:37] 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-19 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-19 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-19 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":186786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":186786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":186786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189881600001,"66":28267,"138":206,"9":53760,"24":57,"16":804047942582272,"44":8917619878855835648},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-19 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189881600001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:22:37] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-19 13:22:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":804047942582272,"km_value":804047942582.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":8917619878855835648,"description":"Unknown IO ID 44"} 
[2026-09-19 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189881600001,"power":28267,"unknown_138":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":8917619878855835648}} 
[2026-09-19 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":186786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:22:37] local.INFO: GPS data processed {"connection_id":186786,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:22:37] local.INFO: Acknowledgment sent {"connection_id":186786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:22:46] local.INFO: TCP Data received {"connection_id":186787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:46] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:46] local.INFO: IMEI packet received {"connection_id":186787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":186787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:22:47] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:47] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:22:47] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:47] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22: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-19 13:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13: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-19 13:22: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-19 13: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-19 13: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-19 13: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-19 13: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-19 13:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:22: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-19 13:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:22:47] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:22:47] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:22:51] local.INFO: TCP Data received {"connection_id":186787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:51] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:22:51] local.INFO: IMEI packet received {"connection_id":186787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":186787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:22:52] local.INFO: TCP Data received {"connection_id":186787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a502a8012d196880071fec40003901102a..."} 
[2026-09-19 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a502a8012d196880071fec40003901102a..."} 
[2026-09-19 13:22:52] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a502a8012d196880071fec40003901102a..."} 
[2026-09-19 13:22:52] local.INFO: Packet analysis {"connection_id":186787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:22:52] local.INFO: Extracted packet for processing {"connection_id":186787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189874176001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804217000,"timestamp_ms":1789804217000,"timestamp_seconds":1789804217,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a502a8"} 
[2026-09-19 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-19 13:22:52] 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-19 13:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:22:52] 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-19 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189874176001,"66":12645,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189874176001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:22:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189874176001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":186787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:22:52] local.INFO: GPS data processed {"connection_id":186787,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:22:52] local.INFO: Acknowledgment sent {"connection_id":186787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:14] local.INFO: TCP Data received {"connection_id":186788,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:14] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:14] local.INFO: IMEI packet received {"connection_id":186788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":186788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:23:14] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:14] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:14] local.INFO: IMEI packet received {"connection_id":189513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":189513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:23:15] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:15] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:15] local.INFO: IMEI packet received {"connection_id":189513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":189513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:23:19] local.INFO: TCP Data received {"connection_id":186788,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:19] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:23:19] local.INFO: IMEI packet received {"connection_id":186788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":186788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:23:20] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:20] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:23:20] local.INFO: IMEI packet received {"connection_id":189513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":189513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:23:20] local.INFO: TCP Data received {"connection_id":186788,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:20] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:20] local.INFO: Packet analysis {"connection_id":186788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:23:20] local.INFO: Extracted packet for processing {"connection_id":186788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:23: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-19 13:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:20] 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-19 13:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:23: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-19 13:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:23: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-19 13:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":186788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:20] local.INFO: GPS data processed {"connection_id":186788,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:20] local.INFO: Acknowledgment sent {"connection_id":186788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:21] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a69118012c7b80000842e7000002015f2d..."} 
[2026-09-19 13:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a69118012c7b80000842e7000002015f2d..."} 
[2026-09-19 13:23:21] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a69118012c7b80000842e7000002015f2d..."} 
[2026-09-19 13:23:21] local.INFO: Packet analysis {"connection_id":189513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:21] local.INFO: Extracted packet for processing {"connection_id":189513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":746291200,"raw_latitude":138602240,"longitude_deg":74.62912,"latitude_deg":13.860224,"altitude":2,"angle":351,"satellites":45,"speed":45,"hex_longitude":"2c7b8000","hex_latitude":"0842e700","is_valid_coordinates":true} 
[2026-09-19 13:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189903616001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":809141773795328,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8900731380280020992,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789804319000,"timestamp_ms":1789804319000,"timestamp_seconds":1789804319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a69118"} 
[2026-09-19 13:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-19 13:23: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-19 13:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189903616001,"66":27876,"138":206,"9":53760,"24":45,"16":809141773795328,"44":8900731380280020992},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-19 13:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189903616001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:21] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-19 13:23:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":809141773795328,"km_value":809141773795.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8900731380280020992,"description":"Unknown IO ID 44"} 
[2026-09-19 13:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189903616001,"power":27876,"unknown_138":206,"unknown_9":53760,"ignition":45,"odometer":null,"unknown_44":8900731380280020992}} 
[2026-09-19 13:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":189513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:21] local.INFO: GPS data processed {"connection_id":189513,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:21] local.INFO: Acknowledgment sent {"connection_id":189513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:22] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a6b058012c7b7b4008430b90000301602d..."} 
[2026-09-19 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a6b058012c7b7b4008430b90000301602d..."} 
[2026-09-19 13:23:22] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a6b058012c7b7b4008430b90000301602d..."} 
[2026-09-19 13:23:22] local.INFO: Packet analysis {"connection_id":189513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:22] local.INFO: Extracted packet for processing {"connection_id":189513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":746289984,"raw_latitude":138611600,"longitude_deg":74.6289984,"latitude_deg":13.86116,"altitude":3,"angle":352,"satellites":45,"speed":48,"hex_longitude":"2c7b7b40","hex_latitude":"08430b90","is_valid_coordinates":true} 
[2026-09-19 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189905664001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":809597040328704,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8899112899166273536,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789804327000,"timestamp_ms":1789804327000,"timestamp_seconds":1789804327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a6b058"} 
[2026-09-19 13:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:22] 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-19 13:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189905664001,"66":28256,"138":206,"9":53760,"24":48,"16":809597040328704,"44":8899112899166273536},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-19 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189905664001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:22] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-19 13:23:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":809597040328704,"km_value":809597040328.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":8899112899166273536,"description":"Unknown IO ID 44"} 
[2026-09-19 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189905664001,"power":28256,"unknown_138":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":8899112899166273536}} 
[2026-09-19 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":189513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:22] local.INFO: GPS data processed {"connection_id":189513,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:22] local.INFO: Acknowledgment sent {"connection_id":189513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:23] local.INFO: TCP Data received {"connection_id":186787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a554b0012d196880071fec400039011027..."} 
[2026-09-19 13:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a554b0012d196880071fec400039011027..."} 
[2026-09-19 13:23:23] local.INFO: Processing buffer {"connection_id":186787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a554b0012d196880071fec400039011027..."} 
[2026-09-19 13:23:23] local.INFO: Packet analysis {"connection_id":186787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:23:23] local.INFO: Extracted packet for processing {"connection_id":186787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189879552001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804238000,"timestamp_ms":1789804238000,"timestamp_seconds":1789804238,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a554b0"} 
[2026-09-19 13:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:23] 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-19 13:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:23] 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-19 13:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:23:23] 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-19 13:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189879552001,"66":12645,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189879552001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189879552001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":186787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:23] local.INFO: GPS data processed {"connection_id":186787,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:23] local.INFO: Acknowledgment sent {"connection_id":186787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:25] local.INFO: TCP Data received {"connection_id":189513,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a6cf98012c7b7580084332900002015f2e..."} 
[2026-09-19 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a6cf98012c7b7580084332900002015f2e..."} 
[2026-09-19 13:23:25] local.INFO: Processing buffer {"connection_id":189513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a6cf98012c7b7580084332900002015f2e..."} 
[2026-09-19 13:23:25] local.INFO: Packet analysis {"connection_id":189513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:25] local.INFO: Extracted packet for processing {"connection_id":189513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":746288512,"raw_latitude":138621584,"longitude_deg":74.6288512,"latitude_deg":13.8621584,"altitude":2,"angle":351,"satellites":46,"speed":52,"hex_longitude":"2c7b7580","hex_latitude":"08433290","is_valid_coordinates":true} 
[2026-09-19 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189907712001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":810086666600448,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8897775893029294080,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789804335000,"timestamp_ms":1789804335000,"timestamp_seconds":1789804335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a6cf98"} 
[2026-09-19 13:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:25] 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-19 13:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189907712001,"66":28267,"138":206,"9":53760,"24":52,"16":810086666600448,"44":8897775893029294080},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-19 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189907712001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:25] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-19 13:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":810086666600448,"km_value":810086666600.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8897775893029294080,"description":"Unknown IO ID 44"} 
[2026-09-19 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189907712001,"power":28267,"unknown_138":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8897775893029294080}} 
[2026-09-19 13:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":189513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:25] local.INFO: GPS data processed {"connection_id":189513,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:25] local.INFO: Acknowledgment sent {"connection_id":189513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:46] local.INFO: TCP Data received {"connection_id":188189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:46] local.INFO: Processing buffer {"connection_id":188189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:46] local.INFO: IMEI packet received {"connection_id":188189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:23:51] local.INFO: TCP Data received {"connection_id":188189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:51] local.INFO: Processing buffer {"connection_id":188189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:23:51] local.INFO: IMEI packet received {"connection_id":188189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":188189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:23:52] local.INFO: TCP Data received {"connection_id":186788,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:52] local.INFO: Processing buffer {"connection_id":186788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:23:52] local.INFO: Packet analysis {"connection_id":186788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:23:52] local.INFO: Extracted packet for processing {"connection_id":186788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:23: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-19 13:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23: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-19 13:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:23: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:23: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-19 13:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:23: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-19 13:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":186788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:52] local.INFO: GPS data processed {"connection_id":186788,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:52] local.INFO: Acknowledgment sent {"connection_id":186788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:23:52] local.INFO: TCP Data received {"connection_id":188189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a5a6b8012d196880071fec400039011029..."} 
[2026-09-19 13:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a5a6b8012d196880071fec400039011029..."} 
[2026-09-19 13:23:52] local.INFO: Processing buffer {"connection_id":188189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a5a6b8012d196880071fec400039011029..."} 
[2026-09-19 13:23:52] local.INFO: Packet analysis {"connection_id":188189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:23:52] local.INFO: Extracted packet for processing {"connection_id":188189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:23: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-19 13:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804259000,"timestamp_ms":1789804259000,"timestamp_seconds":1789804259,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a5a6b8"} 
[2026-09-19 13:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 13:23:52] 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-19 13:23: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-19 13:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:23:52] 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-19 13:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189884928001,"66":12558,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189884928001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":188189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:23:52] local.INFO: GPS data processed {"connection_id":188189,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:23:52] local.INFO: Acknowledgment sent {"connection_id":188189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:09] local.INFO: TCP Data received {"connection_id":188190,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:09] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:09] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:24:10] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:10] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:10] local.INFO: IMEI packet received {"connection_id":188191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":188191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:24:10] local.INFO: TCP Data received {"connection_id":188190,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:10] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:24:10] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:24:11] local.INFO: TCP Data received {"connection_id":188190,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a6eaf0012c7b7000084357e0000201602d..."} 
[2026-09-19 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a6eaf0012c7b7000084357e0000201602d..."} 
[2026-09-19 13:24:11] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a6eaf0012c7b7000084357e0000201602d..."} 
[2026-09-19 13:24:11] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:24:11] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:24:11] local.INFO: GPS Element Parsed {"raw_longitude":746287104,"raw_latitude":138631136,"longitude_deg":74.6287104,"latitude_deg":13.8631136,"altitude":2,"angle":352,"satellites":45,"speed":56,"hex_longitude":"2c7b7000","hex_latitude":"084357e0","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189909760001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":810554818035712,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8896157411915763712,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789804342000,"timestamp_ms":1789804342000,"timestamp_seconds":1789804342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a6eaf0"} 
[2026-09-19 13: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-19 13:24: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-19 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 13:24:11] 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-19 13: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-19 13: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-19 13:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189909760001,"66":28300,"138":206,"9":53760,"24":56,"16":810554818035712,"44":8896157411915763712},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-19 13:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189909760001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:11] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-19 13:24:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":810554818035712,"km_value":810554818035.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":8896157411915763712,"description":"Unknown IO ID 44"} 
[2026-09-19 13:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189909760001,"power":28300,"unknown_138":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":8896157411915763712}} 
[2026-09-19 13:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:12] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:12] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:14] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:14] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:24:14] local.INFO: IMEI packet received {"connection_id":188191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:24:16] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:16] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:16] local.INFO: Packet analysis {"connection_id":188191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:24:16] local.INFO: Extracted packet for processing {"connection_id":188191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:16] 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-19 13:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:24: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-19 13:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:24: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-19 13:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":188191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:16] local.INFO: GPS data processed {"connection_id":188191,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:16] local.INFO: Acknowledgment sent {"connection_id":188191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:23] local.INFO: TCP Data received {"connection_id":188189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a5f8c0012d196880071fec400039011024..."} 
[2026-09-19 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a5f8c0012d196880071fec400039011024..."} 
[2026-09-19 13:24:23] local.INFO: Processing buffer {"connection_id":188189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a5f8c0012d196880071fec400039011024..."} 
[2026-09-19 13:24:23] local.INFO: Packet analysis {"connection_id":188189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:24:23] local.INFO: Extracted packet for processing {"connection_id":188189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a5"} 
[2026-09-19 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189890304001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804280000,"timestamp_ms":1789804280000,"timestamp_seconds":1789804280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a5f8c0"} 
[2026-09-19 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:24:23] 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-19 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3097737864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158720,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2757662721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,255,160,84,45,128,236,57,39,10,66,2,42,176,1,240,58,227,184,31,4,113,205,12,104,64,43,239,49,76,7,120,80,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 13:24:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582103418306560,"timestamp_seconds":4107582103418306.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:24:23] 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-19 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189890304001,"66":12645,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189890304001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189890304001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":188189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:23] local.INFO: GPS data processed {"connection_id":188189,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:23] local.INFO: Acknowledgment sent {"connection_id":188189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:46] local.INFO: TCP Data received {"connection_id":189514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: Processing buffer {"connection_id":189514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: IMEI packet received {"connection_id":189514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":189514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:24:46] local.INFO: TCP Data received {"connection_id":189514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: Processing buffer {"connection_id":189514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:46] local.INFO: IMEI packet received {"connection_id":189514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":189514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:24:47] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:47] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:24:47] local.INFO: Packet analysis {"connection_id":188191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:24:47] local.INFO: Extracted packet for processing {"connection_id":188191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24: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-19 13:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13: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-19 13:24: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:24: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-19 13: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-19 13: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-19 13:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":188191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:47] local.INFO: GPS data processed {"connection_id":188191,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:47] local.INFO: Acknowledgment sent {"connection_id":188191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:51] local.INFO: TCP Data received {"connection_id":189514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:51] local.INFO: Processing buffer {"connection_id":189514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:24:51] local.INFO: IMEI packet received {"connection_id":189514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":189514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:24:51] local.INFO: TCP Data received {"connection_id":188190,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a86da8012c7b3d40084558e0001401312c..."} 
[2026-09-19 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a86da8012c7b3d40084558e0001401312c..."} 
[2026-09-19 13:24:51] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a86da8012c7b3d40084558e0001401312c..."} 
[2026-09-19 13:24:51] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:24:51] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":746274112,"raw_latitude":138762464,"longitude_deg":74.6274112,"latitude_deg":13.8762464,"altitude":20,"angle":305,"satellites":44,"speed":42,"hex_longitude":"2c7b3d40","hex_latitude":"084558e0","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189935872001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":817091758260224,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8884124356696731648,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789804441000,"timestamp_ms":1789804441000,"timestamp_seconds":1789804441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a86da8"} 
[2026-09-19 13: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-19 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:24:51] 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-19 13: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-19 13: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-19 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189935872001,"66":27930,"137":206,"9":53760,"24":42,"16":817091758260224,"44":8884124356696731648},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189935872001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":817091758260224,"km_value":817091758260.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8884124356696731648,"description":"Unknown IO ID 44"} 
[2026-09-19 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189935872001,"power":27930,"unknown_137":206,"unknown_9":53760,"ignition":42,"odometer":null,"unknown_44":8884124356696731648}} 
[2026-09-19 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:51] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:51] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:24:51] local.INFO: TCP Data received {"connection_id":189514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a64ac8012d196880071fec40003901102b..."} 
[2026-09-19 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a64ac8012d196880071fec40003901102b..."} 
[2026-09-19 13:24:51] local.INFO: Processing buffer {"connection_id":189514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a64ac8012d196880071fec40003901102b..."} 
[2026-09-19 13:24:51] local.INFO: Packet analysis {"connection_id":189514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:24:51] local.INFO: Extracted packet for processing {"connection_id":189514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189895680001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789804301000,"timestamp_ms":1789804301000,"timestamp_seconds":1789804301,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a64ac8"} 
[2026-09-19 13: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-19 13:24:51] 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-19 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 13:24:51] 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-19 13: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-19 13: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-19 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:24:51] 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-19 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189895680001,"66":12558,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189895680001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189895680001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":189514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:24:51] local.INFO: GPS data processed {"connection_id":189514,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:24:51] local.INFO: Acknowledgment sent {"connection_id":189514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:25:09] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:09] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:09] local.INFO: IMEI packet received {"connection_id":188192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:25:10] local.INFO: TCP Data received {"connection_id":188193,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:10] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:10] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:25:12] local.INFO: TCP Data received {"connection_id":188193,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:12] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:12] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:25:14] local.INFO: TCP Data received {"connection_id":188193,"ip":"117.224.86.240","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:14] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:25:14] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:25:14] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:14] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:25:14] local.INFO: IMEI packet received {"connection_id":188192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:25:15] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:15] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:15] local.INFO: Packet analysis {"connection_id":188192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:25:15] local.INFO: Extracted packet for processing {"connection_id":188192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25: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-19 13:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13: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-19 13:25: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:25: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-19 13: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-19 13: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-19 13:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:25: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-19 13:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":188192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:25:15] local.INFO: GPS data processed {"connection_id":188192,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:25:15] local.INFO: Acknowledgment sent {"connection_id":188192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:25:17] local.INFO: TCP Data received {"connection_id":188193,"ip":"117.224.86.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a87d48012c7b2ec0084560b0001601242c..."} 
[2026-09-19 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a87d48012c7b2ec0084560b0001601242c..."} 
[2026-09-19 13:25:17] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a87d48012c7b2ec0084560b0001601242c..."} 
[2026-09-19 13:25:17] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:25:17] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:25:17] local.INFO: GPS Element Parsed {"raw_longitude":746270400,"raw_latitude":138764464,"longitude_deg":74.62704,"latitude_deg":13.8764464,"altitude":22,"angle":292,"satellites":44,"speed":37,"hex_longitude":"2c7b2ec0","hex_latitude":"084560b0","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189936896001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":817289326755840,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8880324444511854592,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789804445000,"timestamp_ms":1789804445000,"timestamp_seconds":1789804445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a87d48"} 
[2026-09-19 13: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-19 13:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-19 13:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189936896001,"66":28234,"137":206,"9":53760,"24":37,"16":817289326755840,"44":8880324444511854592},"client_ip":"117.224.86.240","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-19 13:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189936896001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:25:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 13:25:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":817289326755840,"km_value":817289326755.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":8880324444511854592,"description":"Unknown IO ID 44"} 
[2026-09-19 13:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189936896001,"power":28234,"unknown_137":206,"unknown_9":53760,"ignition":37,"odometer":null,"unknown_44":8880324444511854592}} 
[2026-09-19 13:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:25:17] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:25:17] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:25:23] local.INFO: TCP Data received {"connection_id":189514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a69cd0012d196880071fec40003901102c..."} 
[2026-09-19 13:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a69cd0012d196880071fec40003901102c..."} 
[2026-09-19 13:25:23] local.INFO: Processing buffer {"connection_id":189514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a69cd0012d196880071fec40003901102c..."} 
[2026-09-19 13:25:23] local.INFO: Packet analysis {"connection_id":189514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:25:23] local.INFO: Extracted packet for processing {"connection_id":189514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189901056001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804322000,"timestamp_ms":1789804322000,"timestamp_seconds":1789804322,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a69cd0"} 
[2026-09-19 13:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:25:23] 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-19 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3097779864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158720,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2768414721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,255,160,248,45,128,236,57,36,10,66,166,41,84,1,240,101,227,184,31,4,113,205,176,104,64,43,239,49,2,76,7,120,80,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 13:25:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582112008241152,"timestamp_seconds":4107582112008241.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:25:23] 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-19 13:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189901056001,"66":12613,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189901056001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189901056001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":189514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:25:23] local.INFO: GPS data processed {"connection_id":189514,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:25:23] local.INFO: Acknowledgment sent {"connection_id":189514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:25:47] local.INFO: TCP Data received {"connection_id":188192,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:47] local.INFO: Processing buffer {"connection_id":188192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a4eb38012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:25:47] local.INFO: Packet analysis {"connection_id":188192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:25:47] local.INFO: Extracted packet for processing {"connection_id":188192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a4"} 
[2026-09-19 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189800960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 13:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25: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-19 13:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804211000,"timestamp_ms":1789804211000,"timestamp_seconds":1789804211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a4eb38"} 
[2026-09-19 13: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-19 13:25: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:25: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-19 13: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-19 13: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-19 13:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189800960001,"66":25756,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 13:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189800960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189800960001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":188192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:25:47] local.INFO: GPS data processed {"connection_id":188192,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:25:47] local.INFO: Acknowledgment sent {"connection_id":188192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:25:49] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:49] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:49] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:25:51] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:51] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:51] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:25:56] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:56] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:25:56] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:25:57] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a6eed8012d196880071fec400039011029..."} 
[2026-09-19 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a6eed8012d196880071fec400039011029..."} 
[2026-09-19 13:25:57] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a6eed8012d196880071fec400039011029..."} 
[2026-09-19 13:25:57] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:25:57] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a6"} 
[2026-09-19 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189906432001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789804343000,"timestamp_ms":1789804343000,"timestamp_seconds":1789804343,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a6eed8"} 
[2026-09-19 13:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 13:25:57] 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-19 13:25: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-19 13:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:25:57] 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-19 13:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189906432001,"66":12602,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189906432001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189906432001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:25:57] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:25:57] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:26:14] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:14] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:14] local.INFO: IMEI packet received {"connection_id":188194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":188194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:26:19] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:19] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:26:19] local.INFO: IMEI packet received {"connection_id":188194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":188194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:26:21] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:21] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:21] local.INFO: Packet analysis {"connection_id":188194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:26:21] local.INFO: Extracted packet for processing {"connection_id":188194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13: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-19 13: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-19 13:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":188194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:26:21] local.INFO: GPS data processed {"connection_id":188194,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:26:21] local.INFO: Acknowledgment sent {"connection_id":188194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:26:25] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:25] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:26:25] local.INFO: Packet analysis {"connection_id":188194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:26:25] local.INFO: Extracted packet for processing {"connection_id":188194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:26: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-19 13:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:26: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-19 13:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:26: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-19 13:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":188194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:26:25] local.INFO: GPS data processed {"connection_id":188194,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:26:25] local.INFO: Acknowledgment sent {"connection_id":188194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:26:28] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a740e0012d196880071fec400039011025..."} 
[2026-09-19 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a740e0012d196880071fec400039011025..."} 
[2026-09-19 13:26:28] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a740e0012d196880071fec400039011025..."} 
[2026-09-19 13:26:28] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:26:28] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189911808001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789804364000,"timestamp_ms":1789804364000,"timestamp_seconds":1789804364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a740e0"} 
[2026-09-19 13:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:26:28] 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-19 13:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-19 13:26:28] 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-19 13:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:26:28] 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-19 13:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189911808001,"66":12613,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189911808001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189911808001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:26:28] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:26:28] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:26:46] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:46] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:46] local.INFO: IMEI packet received {"connection_id":186789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":186789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:26:51] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:51] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:26:51] local.INFO: IMEI packet received {"connection_id":186789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":186789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:26:52] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a792e8012d196880071fec400039011026..."} 
[2026-09-19 13:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a792e8012d196880071fec400039011026..."} 
[2026-09-19 13:26:52] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a792e8012d196880071fec400039011026..."} 
[2026-09-19 13:26:52] local.INFO: Packet analysis {"connection_id":186789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:26:52] local.INFO: Extracted packet for processing {"connection_id":186789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189917184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804385000,"timestamp_ms":1789804385000,"timestamp_seconds":1789804385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a792e8"} 
[2026-09-19 13:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 13:26:52] 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-19 13:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:26:52] 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-19 13:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189917184001,"66":12591,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189917184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:26:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189917184001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":186789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:26:52] local.INFO: GPS data processed {"connection_id":186789,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:26:52] local.INFO: Acknowledgment sent {"connection_id":186789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:27:09] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:09] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:09] local.INFO: IMEI packet received {"connection_id":186790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":186790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:27:14] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:14] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:27:14] local.INFO: IMEI packet received {"connection_id":186790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":186790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:27:16] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:16] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:16] local.INFO: Packet analysis {"connection_id":186790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:27:16] local.INFO: Extracted packet for processing {"connection_id":186790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27: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-19 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:27: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-19 13: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-19 13: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-19 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:27: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-19 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:27:16] local.INFO: GPS data processed {"connection_id":186790,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:27:16] local.INFO: Acknowledgment sent {"connection_id":186790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:27:23] local.INFO: TCP Data received {"connection_id":186789,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a7e4f0012d196880071fec400039011028..."} 
[2026-09-19 13:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a7e4f0012d196880071fec400039011028..."} 
[2026-09-19 13:27:23] local.INFO: Processing buffer {"connection_id":186789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a7e4f0012d196880071fec400039011028..."} 
[2026-09-19 13:27:23] local.INFO: Packet analysis {"connection_id":186789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:27:23] local.INFO: Extracted packet for processing {"connection_id":186789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a7"} 
[2026-09-19 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:27: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-19 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189922560001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804406000,"timestamp_ms":1789804406000,"timestamp_seconds":1789804406,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a7e4f0"} 
[2026-09-19 13:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 13:27:23] 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-19 13:27: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-19 13:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:27:23] 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-19 13:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189922560001,"66":12591,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189922560001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189922560001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":186789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:27:23] local.INFO: GPS data processed {"connection_id":186789,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:27:23] local.INFO: Acknowledgment sent {"connection_id":186789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:27:46] local.INFO: TCP Data received {"connection_id":189515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:46] local.INFO: Processing buffer {"connection_id":189515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:46] local.INFO: IMEI packet received {"connection_id":189515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":189515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:27:49] local.INFO: TCP Data received {"connection_id":186790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:49] local.INFO: Processing buffer {"connection_id":186790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:27:49] local.INFO: Packet analysis {"connection_id":186790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:27:49] local.INFO: Extracted packet for processing {"connection_id":186790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13: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-19 13: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-19 13: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-19 13:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":186790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:27:49] local.INFO: GPS data processed {"connection_id":186790,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:27:49] local.INFO: Acknowledgment sent {"connection_id":186790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:27:51] local.INFO: TCP Data received {"connection_id":189515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:51] local.INFO: Processing buffer {"connection_id":189515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:27:51] local.INFO: IMEI packet received {"connection_id":189515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":189515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:27:52] local.INFO: TCP Data received {"connection_id":189515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a836f8012d196880071fec40003901102c..."} 
[2026-09-19 13:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a836f8012d196880071fec40003901102c..."} 
[2026-09-19 13:27:52] local.INFO: Processing buffer {"connection_id":189515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a836f8012d196880071fec40003901102c..."} 
[2026-09-19 13:27:52] local.INFO: Packet analysis {"connection_id":189515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:27:52] local.INFO: Extracted packet for processing {"connection_id":189515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:27: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-19 13:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189927936001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804427000,"timestamp_ms":1789804427000,"timestamp_seconds":1789804427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a836f8"} 
[2026-09-19 13:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:27: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 13:27:52] 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-19 13:27: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-19 13:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:27:52] 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-19 13:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189927936001,"66":12526,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189927936001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:27:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189927936001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":189515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:27:52] local.INFO: GPS data processed {"connection_id":189515,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:27:52] local.INFO: Acknowledgment sent {"connection_id":189515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:28:09] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:09] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:09] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:28:14] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:14] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:28:14] local.INFO: IMEI packet received {"connection_id":186791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:28:16] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:16] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:16] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:28:16] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28: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-19 13:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:28: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-19 13:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:28: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-19 13:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:28:16] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:28:16] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:28:23] local.INFO: TCP Data received {"connection_id":189515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a88900012d196880071fec400039011027..."} 
[2026-09-19 13:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a88900012d196880071fec400039011027..."} 
[2026-09-19 13:28:23] local.INFO: Processing buffer {"connection_id":189515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a88900012d196880071fec400039011027..."} 
[2026-09-19 13:28:23] local.INFO: Packet analysis {"connection_id":189515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:28:23] local.INFO: Extracted packet for processing {"connection_id":189515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189933312001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804448000,"timestamp_ms":1789804448000,"timestamp_seconds":1789804448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a88900"} 
[2026-09-19 13:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:28:23] 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-19 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 13:28:23] 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-19 13:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:28:23] 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-19 13:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189933312001,"66":12591,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189933312001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189933312001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":189515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:28:23] local.INFO: GPS data processed {"connection_id":189515,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:28:23] local.INFO: Acknowledgment sent {"connection_id":189515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:28:47] local.INFO: TCP Data received {"connection_id":189516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:47] local.INFO: Processing buffer {"connection_id":189516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:47] local.INFO: IMEI packet received {"connection_id":189516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":189516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:28:47] local.INFO: TCP Data received {"connection_id":186791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:47] local.INFO: Processing buffer {"connection_id":186791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:28:47] local.INFO: Packet analysis {"connection_id":186791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:28:47] local.INFO: Extracted packet for processing {"connection_id":186791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28: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-19 13:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:28: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:28: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-19 13: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-19 13: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-19 13:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:28: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-19 13:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":186791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:28:47] local.INFO: GPS data processed {"connection_id":186791,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:28:47] local.INFO: Acknowledgment sent {"connection_id":186791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:28:51] local.INFO: TCP Data received {"connection_id":189516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:51] local.INFO: Processing buffer {"connection_id":189516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:28:51] local.INFO: IMEI packet received {"connection_id":189516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":189516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:28:52] local.INFO: TCP Data received {"connection_id":189516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a8db08012d196880071fec40003901102d..."} 
[2026-09-19 13:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a8db08012d196880071fec40003901102d..."} 
[2026-09-19 13:28:52] local.INFO: Processing buffer {"connection_id":189516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a8db08012d196880071fec40003901102d..."} 
[2026-09-19 13:28:52] local.INFO: Packet analysis {"connection_id":189516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:28:52] local.INFO: Extracted packet for processing {"connection_id":189516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a8"} 
[2026-09-19 13:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189938688001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804469000,"timestamp_ms":1789804469000,"timestamp_seconds":1789804469,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a8db08"} 
[2026-09-19 13:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 13:28:52] 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-19 13:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:28:52] 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-19 13:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189938688001,"66":12580,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189938688001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:28:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189938688001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":189516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:28:52] local.INFO: GPS data processed {"connection_id":189516,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:28:52] local.INFO: Acknowledgment sent {"connection_id":189516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:29:09] local.INFO: TCP Data received {"connection_id":189517,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:09] local.INFO: Processing buffer {"connection_id":189517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:09] local.INFO: IMEI packet received {"connection_id":189517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:29:14] local.INFO: TCP Data received {"connection_id":189517,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:14] local.INFO: Processing buffer {"connection_id":189517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:29:14] local.INFO: IMEI packet received {"connection_id":189517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:29:15] local.INFO: TCP Data received {"connection_id":189517,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:15] local.INFO: Processing buffer {"connection_id":189517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:15] local.INFO: Packet analysis {"connection_id":189517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:15] local.INFO: Extracted packet for processing {"connection_id":189517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:29: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:29: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-19 13: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-19 13: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-19 13:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:29: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-19 13:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":189517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:29:15] local.INFO: GPS data processed {"connection_id":189517,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:29:15] local.INFO: Acknowledgment sent {"connection_id":189517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:29:23] local.INFO: TCP Data received {"connection_id":189516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a92d10012d196880071fec400039011026..."} 
[2026-09-19 13:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a92d10012d196880071fec400039011026..."} 
[2026-09-19 13:29:23] local.INFO: Processing buffer {"connection_id":189516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a92d10012d196880071fec400039011026..."} 
[2026-09-19 13:29:23] local.INFO: Packet analysis {"connection_id":189516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:23] local.INFO: Extracted packet for processing {"connection_id":189516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189944064001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804490000,"timestamp_ms":1789804490000,"timestamp_seconds":1789804490,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a92d10"} 
[2026-09-19 13:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:29:23] 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-19 13:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 13:29:23] 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-19 13:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:29:23] 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-19 13:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189944064001,"66":12558,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189944064001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189944064001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":189516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:29:23] local.INFO: GPS data processed {"connection_id":189516,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:29:23] local.INFO: Acknowledgment sent {"connection_id":189516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:29:27] local.INFO: TCP Data received {"connection_id":186893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:29:27] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:29:27] local.INFO: IMEI packet received {"connection_id":186893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":186893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:29:46] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:46] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:46] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:29:46] local.INFO: TCP Data received {"connection_id":189517,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:46] local.INFO: Processing buffer {"connection_id":189517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:29:46] local.INFO: Packet analysis {"connection_id":189517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:46] local.INFO: Extracted packet for processing {"connection_id":189517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:29: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-19 13: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-19 13: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-19 13:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:29: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-19 13:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":189517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:29:46] local.INFO: GPS data processed {"connection_id":189517,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:29:46] local.INFO: Acknowledgment sent {"connection_id":189517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:29:51] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:51] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:29:51] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:29:52] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a97f18012d196880071fec40003901102b..."} 
[2026-09-19 13:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a97f18012d196880071fec40003901102b..."} 
[2026-09-19 13:29:52] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a97f18012d196880071fec40003901102b..."} 
[2026-09-19 13:29:52] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:52] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189949440001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804511000,"timestamp_ms":1789804511000,"timestamp_seconds":1789804511,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a97f18"} 
[2026-09-19 13: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-19 13:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3097968864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158720,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2816798721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 13:29:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,255,160,219,45,128,236,57,10,66,137,39,54,1,240,238,227,184,31,4,113,205,146,104,64,38,239,49,2,76,7,120,81,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 13:29:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582090533404672,"timestamp_seconds":4107582090533404.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13: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-19 13:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:29:52] 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-19 13:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189949440001,"66":12113,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189949440001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:29:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189949440001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:29:52] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:29:52] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:30:09] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:09] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:09] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:30:14] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:14] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:30:14] local.INFO: IMEI packet received {"connection_id":186792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":186792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:30:16] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:16] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:16] local.INFO: Packet analysis {"connection_id":186792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:30:16] local.INFO: Extracted packet for processing {"connection_id":186792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30: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-19 13:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:30: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-19 13: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-19 13: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-19 13:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:30: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-19 13:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":186792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:30:16] local.INFO: GPS data processed {"connection_id":186792,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:30:16] local.INFO: Acknowledgment sent {"connection_id":186792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:30:23] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ad0570012d196880071fec400039011029..."} 
[2026-09-19 13:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ad0570012d196880071fec400039011029..."} 
[2026-09-19 13:30:23] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ad0570012d196880071fec400039011029..."} 
[2026-09-19 13:30:23] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:30:23] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190008576001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804742000,"timestamp_ms":1789804742000,"timestamp_seconds":1789804742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ad0570"} 
[2026-09-19 13:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3098199864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2875934721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,255,160,97,45,128,236,57,41,10,66,15,42,189,1,240,4,227,184,31,113,205,25,104,64,239,48,2,76,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 13:30:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582107713273856,"timestamp_seconds":4107582107713274.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:30:23] 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-19 13:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190008576001,"66":12537,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190008576001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:30:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190008576001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:30:23] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:30:23] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:30:48] local.INFO: TCP Data received {"connection_id":186792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:48] local.INFO: Processing buffer {"connection_id":186792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8a98300012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:30:48] local.INFO: Packet analysis {"connection_id":186792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:30:48] local.INFO: Extracted packet for processing {"connection_id":186792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8a9"} 
[2026-09-19 13:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189878016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789804512000,"timestamp_ms":1789804512000,"timestamp_seconds":1789804512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8a98300"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:30: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-19 13: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-19 13: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-19 13:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189878016001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189878016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189878016001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":186792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:30:48] local.INFO: GPS data processed {"connection_id":186792,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:30:48] local.INFO: Acknowledgment sent {"connection_id":186792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:30:51] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:51] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:51] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:30:56] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:56] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:30:56] local.INFO: IMEI packet received {"connection_id":186793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":186793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:30:57] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ad5778012d196880071fec40003901102b..."} 
[2026-09-19 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ad5778012d196880071fec40003901102b..."} 
[2026-09-19 13:30:57] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ad5778012d196880071fec40003901102b..."} 
[2026-09-19 13:30:57] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:30:57] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190013952001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789804763000,"timestamp_ms":1789804763000,"timestamp_seconds":1789804763,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ad5778"} 
[2026-09-19 13:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:30:57] 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-19 13:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 13:30:57] 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-19 13:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:30:57] 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-19 13:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190013952001,"66":12537,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190013952001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190013952001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:30:57] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:30:57] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:31:01] local.INFO: TCP Data received {"connection_id":186793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ada980012d196880071fec400039011028..."} 
[2026-09-19 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ada980012d196880071fec400039011028..."} 
[2026-09-19 13:31:01] local.INFO: Processing buffer {"connection_id":186793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ada980012d196880071fec400039011028..."} 
[2026-09-19 13:31:01] local.INFO: Packet analysis {"connection_id":186793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:31:01] local.INFO: Extracted packet for processing {"connection_id":186793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190019328001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789804784000,"timestamp_ms":1789804784000,"timestamp_seconds":1789804784,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ada980"} 
[2026-09-19 13: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-19 13:31:01] 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-19 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 13:31:01] 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-19 13: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-19 13: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-19 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:31: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-19 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190019328001,"66":12537,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190019328001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190019328001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":186793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:31:01] local.INFO: GPS data processed {"connection_id":186793,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:31:01] local.INFO: Acknowledgment sent {"connection_id":186793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:31:14] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:14] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:14] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:31:20] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:20] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:31:20] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:31:21] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:21] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:21] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:31:21] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:31:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:31:21] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:31:21] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:31:25] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:25] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:31:25] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:31:25] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:31: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-19 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:31:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:31:25] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:31:25] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:31:46] local.INFO: TCP Data received {"connection_id":189518,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:46] local.INFO: Processing buffer {"connection_id":189518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:46] local.INFO: IMEI packet received {"connection_id":189518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":189518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:31:47] local.INFO: TCP Data received {"connection_id":189518,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:47] local.INFO: Processing buffer {"connection_id":189518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:47] local.INFO: IMEI packet received {"connection_id":189518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":189518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:31:51] local.INFO: TCP Data received {"connection_id":189518,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:51] local.INFO: Processing buffer {"connection_id":189518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:31:51] local.INFO: IMEI packet received {"connection_id":189518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":189518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:31:52] local.INFO: TCP Data received {"connection_id":189518,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8adfb88012d196880071fec40003901102b..."} 
[2026-09-19 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8adfb88012d196880071fec40003901102b..."} 
[2026-09-19 13:31:52] local.INFO: Processing buffer {"connection_id":189518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8adfb88012d196880071fec40003901102b..."} 
[2026-09-19 13:31:52] local.INFO: Packet analysis {"connection_id":189518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:31:52] local.INFO: Extracted packet for processing {"connection_id":189518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ad"} 
[2026-09-19 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190024704001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804805000,"timestamp_ms":1789804805000,"timestamp_seconds":1789804805,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8adfb88"} 
[2026-09-19 13:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 13:31:52] 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-19 13:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:31:52] 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-19 13:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190024704001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190024704001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:31:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190024704001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":189518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:31:52] local.INFO: GPS data processed {"connection_id":189518,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:31:52] local.INFO: Acknowledgment sent {"connection_id":189518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:32:09] local.INFO: TCP Data received {"connection_id":189519,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:09] local.INFO: Processing buffer {"connection_id":189519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:09] local.INFO: IMEI packet received {"connection_id":189519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":189519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:32:14] local.INFO: TCP Data received {"connection_id":189519,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:14] local.INFO: Processing buffer {"connection_id":189519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:32:14] local.INFO: IMEI packet received {"connection_id":189519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":189519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:32:16] local.INFO: TCP Data received {"connection_id":189519,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:16] local.INFO: Processing buffer {"connection_id":189519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:16] local.INFO: Packet analysis {"connection_id":189519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:16] local.INFO: Extracted packet for processing {"connection_id":189519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13: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-19 13:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:32: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-19 13:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":189519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:32:16] local.INFO: GPS data processed {"connection_id":189519,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:32:16] local.INFO: Acknowledgment sent {"connection_id":189519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:32:23] local.INFO: TCP Data received {"connection_id":189518,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae4d90012d196880071fec40003901102c..."} 
[2026-09-19 13:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae4d90012d196880071fec40003901102c..."} 
[2026-09-19 13:32:23] local.INFO: Processing buffer {"connection_id":189518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae4d90012d196880071fec40003901102c..."} 
[2026-09-19 13:32:23] local.INFO: Packet analysis {"connection_id":189518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:23] local.INFO: Extracted packet for processing {"connection_id":189518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190030080001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804826000,"timestamp_ms":1789804826000,"timestamp_seconds":1789804826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae4d90"} 
[2026-09-19 13:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:32:23] 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-19 13:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:32:23] 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-19 13:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190030080001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190030080001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190030080001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":189518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:32:23] local.INFO: GPS data processed {"connection_id":189518,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:32:23] local.INFO: Acknowledgment sent {"connection_id":189518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:32:46] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:46] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:46] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:32:47] local.INFO: TCP Data received {"connection_id":189519,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:47] local.INFO: Processing buffer {"connection_id":189519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:32:47] local.INFO: Packet analysis {"connection_id":189519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:47] local.INFO: Extracted packet for processing {"connection_id":189519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32: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-19 13:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13: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-19 13:32: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-19 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:32: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-19 13: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-19 13: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-19 13:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":189519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:32:47] local.INFO: GPS data processed {"connection_id":189519,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:32:47] local.INFO: Acknowledgment sent {"connection_id":189519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:32:49] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:49] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:32:49] local.INFO: IMEI packet received {"connection_id":186794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":186794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:32:50] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae9f98012d196880071fec400039011029..."} 
[2026-09-19 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae9f98012d196880071fec400039011029..."} 
[2026-09-19 13:32:50] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae9f98012d196880071fec400039011029..."} 
[2026-09-19 13:32:50] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:50] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190035456001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789804847000,"timestamp_ms":1789804847000,"timestamp_seconds":1789804847,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae9f98"} 
[2026-09-19 13:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:32: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-19 13:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:32:50] 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-19 13:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:32:50] 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-19 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190035456001,"66":12526,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190035456001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190035456001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:32:50] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:32:50] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:33:10] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:10] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:10] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:33:15] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:15] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:33:15] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:33:18] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:18] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:18] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:18] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33: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-19 13:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:33:18] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:33:18] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:33:19] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:19] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:19] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:19] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33: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-19 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:33:19] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:33:19] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:33:21] local.INFO: TCP Data received {"connection_id":186794,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8aef1a0012d196880071fec400039011029..."} 
[2026-09-19 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8aef1a0012d196880071fec400039011029..."} 
[2026-09-19 13:33:21] local.INFO: Processing buffer {"connection_id":186794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8aef1a0012d196880071fec400039011029..."} 
[2026-09-19 13:33:21] local.INFO: Packet analysis {"connection_id":186794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:21] local.INFO: Extracted packet for processing {"connection_id":186794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190040832001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789804868000,"timestamp_ms":1789804868000,"timestamp_seconds":1789804868,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8aef1a0"} 
[2026-09-19 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 13:33:21] 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-19 13:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:33:21] 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-19 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190040832001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190040832001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190040832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":186794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:33:21] local.INFO: GPS data processed {"connection_id":186794,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:33:21] local.INFO: Acknowledgment sent {"connection_id":186794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:33:46] local.INFO: TCP Data received {"connection_id":189520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:46] local.INFO: Processing buffer {"connection_id":189520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:46] local.INFO: IMEI packet received {"connection_id":189520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":189520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:33:51] local.INFO: TCP Data received {"connection_id":189520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:51] local.INFO: Processing buffer {"connection_id":189520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:33:51] local.INFO: IMEI packet received {"connection_id":189520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":189520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:33:51] local.INFO: TCP Data received {"connection_id":189520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8af43a8012d196880071fec400039011026..."} 
[2026-09-19 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8af43a8012d196880071fec400039011026..."} 
[2026-09-19 13:33:51] local.INFO: Processing buffer {"connection_id":189520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8af43a8012d196880071fec400039011026..."} 
[2026-09-19 13:33:51] local.INFO: Packet analysis {"connection_id":189520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:33:51] local.INFO: Extracted packet for processing {"connection_id":189520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 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-19 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190046208001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789804889000,"timestamp_ms":1789804889000,"timestamp_seconds":1789804889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8af43a8"} 
[2026-09-19 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-19 13:33: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-19 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:33:51] 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-19 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-19 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-19 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:33:51] 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-19 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190046208001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190046208001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190046208001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":189520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:33:51] local.INFO: GPS data processed {"connection_id":189520,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:33:51] local.INFO: Acknowledgment sent {"connection_id":189520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:33:52] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:52] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:33:52] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:52] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:33: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-19 13:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13: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-19 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:33: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-19 13:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:33:52] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:33:52] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:34:09] local.INFO: TCP Data received {"connection_id":189521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:09] local.INFO: Processing buffer {"connection_id":189521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:09] local.INFO: IMEI packet received {"connection_id":189521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":189521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:34:14] local.INFO: TCP Data received {"connection_id":189521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:14] local.INFO: Processing buffer {"connection_id":189521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:34:14] local.INFO: IMEI packet received {"connection_id":189521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":189521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:34:15] local.INFO: TCP Data received {"connection_id":189521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:15] local.INFO: Processing buffer {"connection_id":189521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:15] local.INFO: Packet analysis {"connection_id":189521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:34:15] local.INFO: Extracted packet for processing {"connection_id":189521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34: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-19 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 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-19 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:34: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-19 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-19 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-19 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:34: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-19 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":189521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:34:15] local.INFO: GPS data processed {"connection_id":189521,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:34:15] local.INFO: Acknowledgment sent {"connection_id":189521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:34:22] local.INFO: TCP Data received {"connection_id":189520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8af95b0012d196880071fec400039011028..."} 
[2026-09-19 13:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8af95b0012d196880071fec400039011028..."} 
[2026-09-19 13:34:22] local.INFO: Processing buffer {"connection_id":189520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8af95b0012d196880071fec400039011028..."} 
[2026-09-19 13:34:22] local.INFO: Packet analysis {"connection_id":189520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:34:22] local.INFO: Extracted packet for processing {"connection_id":189520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190051584001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789804910000,"timestamp_ms":1789804910000,"timestamp_seconds":1789804910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8af95b0"} 
[2026-09-19 13:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:34:22] 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-19 13:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:34:22] 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-19 13:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190051584001,"66":12048,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190051584001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:34:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190051584001,"power":12048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":189520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:34:23] local.INFO: GPS data processed {"connection_id":189520,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:34:23] local.INFO: Acknowledgment sent {"connection_id":189520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:34:46] local.INFO: TCP Data received {"connection_id":186795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:46] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:46] local.INFO: IMEI packet received {"connection_id":186795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":186795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:34:47] local.INFO: TCP Data received {"connection_id":189521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:47] local.INFO: Processing buffer {"connection_id":189521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:34:47] local.INFO: Packet analysis {"connection_id":189521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:34:47] local.INFO: Extracted packet for processing {"connection_id":189521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 13:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:34: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-19 13:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:34: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-19 13:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:34: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-19 13:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":189521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:34:47] local.INFO: GPS data processed {"connection_id":189521,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:34:47] local.INFO: Acknowledgment sent {"connection_id":189521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:34:51] local.INFO: TCP Data received {"connection_id":186795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:51] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:34:51] local.INFO: IMEI packet received {"connection_id":186795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":186795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:34:52] local.INFO: TCP Data received {"connection_id":186795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8afe7b8012d196880071fec400039011024..."} 
[2026-09-19 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8afe7b8012d196880071fec400039011024..."} 
[2026-09-19 13:34:52] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8afe7b8012d196880071fec400039011024..."} 
[2026-09-19 13:34:52] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:34:52] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190056960001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804931000,"timestamp_ms":1789804931000,"timestamp_seconds":1789804931,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8afe7b8"} 
[2026-09-19 13:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":5548261018083262464,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3098388864,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930329497600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2924318721,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631194481358950,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":16045242625032192,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300283879380029480,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194944768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751904605151212,"note":"Value kept but may cause issues"} 
[2026-09-19 13:34:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,255,160,67,45,128,236,57,38,10,66,41,159,1,240,238,227,184,31,4,113,205,251,104,64,43,239,48,2,76,7,69,120],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-19 13:34:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582099123339264,"timestamp_seconds":4107582099123339.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 13:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:34:52] 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-19 13:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190056960001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190056960001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190056960001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:34:52] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:34:52] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:35:09] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:09] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:09] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:35:14] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:14] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:35:14] local.INFO: IMEI packet received {"connection_id":186796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":186796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:35:15] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:15] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:15] local.INFO: Packet analysis {"connection_id":186796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:35:15] local.INFO: Extracted packet for processing {"connection_id":186796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35: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-19 13:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 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-19 13:35: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:35: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-19 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-19 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-19 13:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:35: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-19 13:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":186796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:35:15] local.INFO: GPS data processed {"connection_id":186796,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:35:15] local.INFO: Acknowledgment sent {"connection_id":186796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:35:23] local.INFO: TCP Data received {"connection_id":186795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b039c0012d196880071fec40003901102b..."} 
[2026-09-19 13:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b039c0012d196880071fec40003901102b..."} 
[2026-09-19 13:35:23] local.INFO: Processing buffer {"connection_id":186795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b039c0012d196880071fec40003901102b..."} 
[2026-09-19 13:35:23] local.INFO: Packet analysis {"connection_id":186795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:35:23] local.INFO: Extracted packet for processing {"connection_id":186795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190062336001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804952000,"timestamp_ms":1789804952000,"timestamp_seconds":1789804952,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b039c0"} 
[2026-09-19 13:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:35:23] 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-19 13:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:35:23] 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-19 13:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190062336001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190062336001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190062336001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":186795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:35:23] local.INFO: GPS data processed {"connection_id":186795,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:35:23] local.INFO: Acknowledgment sent {"connection_id":186795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:35:46] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:46] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:46] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:35:47] local.INFO: TCP Data received {"connection_id":186796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:47] local.INFO: Processing buffer {"connection_id":186796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ae1ac8012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:35:47] local.INFO: Packet analysis {"connection_id":186796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:35:47] local.INFO: Extracted packet for processing {"connection_id":186796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458189955072001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35: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-19 13:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789804813000,"timestamp_ms":1789804813000,"timestamp_seconds":1789804813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ae1ac8"} 
[2026-09-19 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-19 13:35: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 13:35: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-19 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-19 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-19 13:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:35:47] 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-19 13:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458189955072001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458189955072001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458189955072001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":186796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:35:47] local.INFO: GPS data processed {"connection_id":186796,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:35:47] local.INFO: Acknowledgment sent {"connection_id":186796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:35:51] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:51] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:35:51] local.INFO: IMEI packet received {"connection_id":186797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":186797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:35:52] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b08bc8012d196880071fec40003901102b..."} 
[2026-09-19 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b08bc8012d196880071fec40003901102b..."} 
[2026-09-19 13:35:52] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b08bc8012d196880071fec40003901102b..."} 
[2026-09-19 13:35:52] local.INFO: Packet analysis {"connection_id":186797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:35:52] local.INFO: Extracted packet for processing {"connection_id":186797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190067712001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804973000,"timestamp_ms":1789804973000,"timestamp_seconds":1789804973,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b08bc8"} 
[2026-09-19 13:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:35:52] 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-19 13:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:35:52] 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-19 13:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190067712001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190067712001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190067712001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":186797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:35:52] local.INFO: GPS data processed {"connection_id":186797,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:35:52] local.INFO: Acknowledgment sent {"connection_id":186797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:36:14] local.INFO: TCP Data received {"connection_id":189522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:14] local.INFO: Processing buffer {"connection_id":189522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:14] local.INFO: IMEI packet received {"connection_id":189522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:36:19] local.INFO: TCP Data received {"connection_id":189522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:19] local.INFO: Processing buffer {"connection_id":189522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:36:19] local.INFO: IMEI packet received {"connection_id":189522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":189522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:36:20] local.INFO: TCP Data received {"connection_id":189522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:20] local.INFO: Processing buffer {"connection_id":189522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:20] local.INFO: Packet analysis {"connection_id":189522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:36:20] local.INFO: Extracted packet for processing {"connection_id":189522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:36:20] 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-19 13:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:36:20] 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-19 13:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":189522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:36:20] local.INFO: GPS data processed {"connection_id":189522,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:36:20] local.INFO: Acknowledgment sent {"connection_id":189522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:36:23] local.INFO: TCP Data received {"connection_id":186797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b0ddd0012d196880071fec400039011027..."} 
[2026-09-19 13:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b0ddd0012d196880071fec400039011027..."} 
[2026-09-19 13:36:23] local.INFO: Processing buffer {"connection_id":186797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b0ddd0012d196880071fec400039011027..."} 
[2026-09-19 13:36:23] local.INFO: Packet analysis {"connection_id":186797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:36:23] local.INFO: Extracted packet for processing {"connection_id":186797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b0"} 
[2026-09-19 13:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:36: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-19 13:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190073088001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789804994000,"timestamp_ms":1789804994000,"timestamp_seconds":1789804994,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b0ddd0"} 
[2026-09-19 13:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:36:23] 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-19 13:36: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-19 13:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:36:23] 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-19 13:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190073088001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190073088001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190073088001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":186797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:36:23] local.INFO: GPS data processed {"connection_id":186797,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:36:23] local.INFO: Acknowledgment sent {"connection_id":186797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:36:25] local.INFO: TCP Data received {"connection_id":189522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:25] local.INFO: Processing buffer {"connection_id":189522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:36:25] local.INFO: Packet analysis {"connection_id":189522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:36:25] local.INFO: Extracted packet for processing {"connection_id":189522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:36:25] 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-19 13:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:36:25] 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-19 13:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":189522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:36:25] local.INFO: GPS data processed {"connection_id":189522,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:36:25] local.INFO: Acknowledgment sent {"connection_id":189522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:36:51] local.INFO: TCP Data received {"connection_id":186897,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:51] local.INFO: Processing buffer {"connection_id":186897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:51] local.INFO: IMEI packet received {"connection_id":186897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":186897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:36:56] local.INFO: TCP Data received {"connection_id":186897,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:56] local.INFO: Processing buffer {"connection_id":186897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:36:56] local.INFO: IMEI packet received {"connection_id":186897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":186897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:36:57] local.INFO: TCP Data received {"connection_id":186897,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b12fd8012d196880071fec400039011029..."} 
[2026-09-19 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b12fd8012d196880071fec400039011029..."} 
[2026-09-19 13:36:57] local.INFO: Processing buffer {"connection_id":186897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b12fd8012d196880071fec400039011029..."} 
[2026-09-19 13:36:57] local.INFO: Packet analysis {"connection_id":186897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:36:57] local.INFO: Extracted packet for processing {"connection_id":186897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190078464001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789805015000,"timestamp_ms":1789805015000,"timestamp_seconds":1789805015,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b12fd8"} 
[2026-09-19 13:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:36:57] 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-19 13:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:36:57] 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-19 13:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:36:57] 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-19 13:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190078464001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190078464001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190078464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":186897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:36:57] local.INFO: GPS data processed {"connection_id":186897,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:36:57] local.INFO: Acknowledgment sent {"connection_id":186897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:37:01] local.INFO: TCP Data received {"connection_id":186897,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b181e0012d196880071fec40003901102b..."} 
[2026-09-19 13:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b181e0012d196880071fec40003901102b..."} 
[2026-09-19 13:37:01] local.INFO: Processing buffer {"connection_id":186897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b181e0012d196880071fec40003901102b..."} 
[2026-09-19 13:37:01] local.INFO: Packet analysis {"connection_id":186897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:37:01] local.INFO: Extracted packet for processing {"connection_id":186897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190083840001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789805036000,"timestamp_ms":1789805036000,"timestamp_seconds":1789805036,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b181e0"} 
[2026-09-19 13: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-19 13:37:01] 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-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:37: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-19 13:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190083840001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190083840001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190083840001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":186897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:37:01] local.INFO: GPS data processed {"connection_id":186897,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:37:01] local.INFO: Acknowledgment sent {"connection_id":186897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:37:09] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:09] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:09] local.INFO: IMEI packet received {"connection_id":186898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:37:14] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:14] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:37:14] local.INFO: IMEI packet received {"connection_id":186898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:37:15] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:15] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:15] local.INFO: Packet analysis {"connection_id":186898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:15] local.INFO: Extracted packet for processing {"connection_id":186898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37: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-19 13:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13: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-19 13:37: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-19 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:37: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-19 13: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-19 13: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-19 13:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37: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-19 13:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":186898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:37:15] local.INFO: GPS data processed {"connection_id":186898,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:37:15] local.INFO: Acknowledgment sent {"connection_id":186898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:37:20] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:20] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:20] local.INFO: Packet analysis {"connection_id":186898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:20] local.INFO: Extracted packet for processing {"connection_id":186898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:37:20] 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-19 13:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37:20] 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-19 13:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":186898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:37:20] local.INFO: GPS data processed {"connection_id":186898,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:37:20] local.INFO: Acknowledgment sent {"connection_id":186898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:37:43] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:43] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:43] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:37:46] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:46] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:46] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:37:51] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:51] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:37:51] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:37:51] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:51] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:37:51] local.INFO: Packet analysis {"connection_id":186898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:51] local.INFO: Extracted packet for processing {"connection_id":186898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37: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-19 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13: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-19 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:37:51] 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-19 13: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-19 13: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-19 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:37:51] 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-19 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":186898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:37:51] local.INFO: GPS data processed {"connection_id":186898,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:37:51] local.INFO: Acknowledgment sent {"connection_id":186898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:37:52] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b1d3e8012d196880071fec400039011023..."} 
[2026-09-19 13:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b1d3e8012d196880071fec400039011023..."} 
[2026-09-19 13:37:52] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b1d3e8012d196880071fec400039011023..."} 
[2026-09-19 13:37:52] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:37:52] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b1"} 
[2026-09-19 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:37: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-19 13:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190089216001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805057000,"timestamp_ms":1789805057000,"timestamp_seconds":1789805057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b1d3e8"} 
[2026-09-19 13:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:37: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:37:52] 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-19 13:37: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-19 13:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:37:52] 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-19 13:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190089216001,"66":12493,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190089216001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:37:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190089216001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:37:52] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:37:52] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:38:09] local.INFO: TCP Data received {"connection_id":189523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:09] local.INFO: Processing buffer {"connection_id":189523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:09] local.INFO: IMEI packet received {"connection_id":189523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":189523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:38:14] local.INFO: TCP Data received {"connection_id":189523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:14] local.INFO: Processing buffer {"connection_id":189523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:38:14] local.INFO: IMEI packet received {"connection_id":189523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":189523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:38:15] local.INFO: TCP Data received {"connection_id":189523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:15] local.INFO: Processing buffer {"connection_id":189523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:15] local.INFO: Packet analysis {"connection_id":189523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:15] local.INFO: Extracted packet for processing {"connection_id":189523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38: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-19 13:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13: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-19 13:38: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-19 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:38: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-19 13: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-19 13: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-19 13:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:38: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-19 13:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":189523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:38:15] local.INFO: GPS data processed {"connection_id":189523,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:38:15] local.INFO: Acknowledgment sent {"connection_id":189523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:38:23] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b225f0012d196880071fec400039011029..."} 
[2026-09-19 13:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b225f0012d196880071fec400039011029..."} 
[2026-09-19 13:38:23] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b225f0012d196880071fec400039011029..."} 
[2026-09-19 13:38:23] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:23] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190094592001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805078000,"timestamp_ms":1789805078000,"timestamp_seconds":1789805078,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b225f0"} 
[2026-09-19 13:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 13:38:23] 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-19 13:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:38:23] 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-19 13:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190094592001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190094592001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190094592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:38:23] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:38:23] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:38:46] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:46] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:46] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:38:46] local.INFO: TCP Data received {"connection_id":189523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:46] local.INFO: Processing buffer {"connection_id":189523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:38:46] local.INFO: Packet analysis {"connection_id":189523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:46] local.INFO: Extracted packet for processing {"connection_id":189523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38: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-19 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:38: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-19 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:38: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-19 13:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:38: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-19 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":189523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:38:46] local.INFO: GPS data processed {"connection_id":189523,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:38:46] local.INFO: Acknowledgment sent {"connection_id":189523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:38:47] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:47] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:47] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:38:51] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:51] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:38:51] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:38:52] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b277f8012d196880071fec400039011028..."} 
[2026-09-19 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b277f8012d196880071fec400039011028..."} 
[2026-09-19 13:38:52] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b277f8012d196880071fec400039011028..."} 
[2026-09-19 13:38:52] local.INFO: Packet analysis {"connection_id":186899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:52] local.INFO: Extracted packet for processing {"connection_id":186899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190099968001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805099000,"timestamp_ms":1789805099000,"timestamp_seconds":1789805099,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b277f8"} 
[2026-09-19 13:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:38:52] 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-19 13:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:38:52] 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-19 13:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190099968001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190099968001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:38:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190099968001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:38:52] local.INFO: GPS data processed {"connection_id":186899,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:38:52] local.INFO: Acknowledgment sent {"connection_id":186899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:39:10] local.INFO: TCP Data received {"connection_id":189524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:10] local.INFO: Processing buffer {"connection_id":189524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:10] local.INFO: IMEI packet received {"connection_id":189524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":189524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:39:14] local.INFO: TCP Data received {"connection_id":189524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:14] local.INFO: Processing buffer {"connection_id":189524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:39:14] local.INFO: IMEI packet received {"connection_id":189524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":189524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:39:15] local.INFO: TCP Data received {"connection_id":189524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:15] local.INFO: Processing buffer {"connection_id":189524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:15] local.INFO: Packet analysis {"connection_id":189524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:15] local.INFO: Extracted packet for processing {"connection_id":189524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39: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-19 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13: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-19 13:39: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-19 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:39: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-19 13: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-19 13: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-19 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:39: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-19 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":189524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:39:15] local.INFO: GPS data processed {"connection_id":189524,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:39:15] local.INFO: Acknowledgment sent {"connection_id":189524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:39:23] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2ca00012d196880071fec400039011028..."} 
[2026-09-19 13:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2ca00012d196880071fec400039011028..."} 
[2026-09-19 13:39:23] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2ca00012d196880071fec400039011028..."} 
[2026-09-19 13:39:23] local.INFO: Packet analysis {"connection_id":186899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:23] local.INFO: Extracted packet for processing {"connection_id":186899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190105344001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805120000,"timestamp_ms":1789805120000,"timestamp_seconds":1789805120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2ca00"} 
[2026-09-19 13:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:39:23] 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-19 13:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:39:23] 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-19 13:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190105344001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190105344001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190105344001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:39:23] local.INFO: GPS data processed {"connection_id":186899,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:39:23] local.INFO: Acknowledgment sent {"connection_id":186899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:39:46] local.INFO: TCP Data received {"connection_id":189525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:46] local.INFO: Processing buffer {"connection_id":189525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:46] local.INFO: IMEI packet received {"connection_id":189525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":189525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:39:47] local.INFO: TCP Data received {"connection_id":189524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:47] local.INFO: Processing buffer {"connection_id":189524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:39:47] local.INFO: Packet analysis {"connection_id":189524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:47] local.INFO: Extracted packet for processing {"connection_id":189524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39: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-19 13:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13: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-19 13:39: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-19 13:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:39:47] 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-19 13: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-19 13: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-19 13:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:39:47] 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-19 13:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":189524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:39:47] local.INFO: GPS data processed {"connection_id":189524,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:39:47] local.INFO: Acknowledgment sent {"connection_id":189524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:39:49] local.INFO: TCP Data received {"connection_id":189525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:49] local.INFO: Processing buffer {"connection_id":189525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:39:49] local.INFO: IMEI packet received {"connection_id":189525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":189525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:39:50] local.INFO: TCP Data received {"connection_id":189525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b31c08012d196880071fec40003901102a..."} 
[2026-09-19 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b31c08012d196880071fec40003901102a..."} 
[2026-09-19 13:39:50] local.INFO: Processing buffer {"connection_id":189525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b31c08012d196880071fec40003901102a..."} 
[2026-09-19 13:39:50] local.INFO: Packet analysis {"connection_id":189525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:39:50] local.INFO: Extracted packet for processing {"connection_id":189525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190110720001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789805141000,"timestamp_ms":1789805141000,"timestamp_seconds":1789805141,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b31c08"} 
[2026-09-19 13:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:39: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-19 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:39:50] 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-19 13:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:39:50] 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-19 13:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190110720001,"66":12504,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190110720001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190110720001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":189525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:39:50] local.INFO: GPS data processed {"connection_id":189525,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:39:50] local.INFO: Acknowledgment sent {"connection_id":189525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:40:09] local.INFO: TCP Data received {"connection_id":188196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:09] local.INFO: Processing buffer {"connection_id":188196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:09] local.INFO: IMEI packet received {"connection_id":188196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:40:19] local.INFO: TCP Data received {"connection_id":188196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: Processing buffer {"connection_id":188196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: IMEI packet received {"connection_id":188196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":188196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:40:19] local.INFO: TCP Data received {"connection_id":188196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: Processing buffer {"connection_id":188196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:19] local.INFO: IMEI packet received {"connection_id":188196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":188196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:40:21] local.INFO: TCP Data received {"connection_id":189525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b36e10012d196880071fec400039011027..."} 
[2026-09-19 13:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b36e10012d196880071fec400039011027..."} 
[2026-09-19 13:40:21] local.INFO: Processing buffer {"connection_id":189525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b36e10012d196880071fec400039011027..."} 
[2026-09-19 13:40:21] local.INFO: Packet analysis {"connection_id":189525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:40:21] local.INFO: Extracted packet for processing {"connection_id":189525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190116096001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789805162000,"timestamp_ms":1789805162000,"timestamp_seconds":1789805162,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b36e10"} 
[2026-09-19 13: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-19 13:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:40:21] 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-19 13: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-19 13: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-19 13:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:40:21] 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-19 13:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190116096001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190116096001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190116096001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":189525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:40:21] local.INFO: GPS data processed {"connection_id":189525,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:40:21] local.INFO: Acknowledgment sent {"connection_id":189525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:40:24] local.INFO: TCP Data received {"connection_id":188196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:24] local.INFO: Processing buffer {"connection_id":188196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:40:24] local.INFO: IMEI packet received {"connection_id":188196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":188196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:40:25] local.INFO: TCP Data received {"connection_id":188196,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:40:25] local.INFO: Processing buffer {"connection_id":188196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b2b290012d34c14006aa41400008010e2b..."} 
[2026-09-19 13:40:25] local.INFO: Packet analysis {"connection_id":188196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:40:25] local.INFO: Extracted packet for processing {"connection_id":188196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b2"} 
[2026-09-19 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:40: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-19 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190032128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789805114000,"timestamp_ms":1789805114000,"timestamp_seconds":1789805114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b2b290"} 
[2026-09-19 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 13:40:25] 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-19 13:40: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-19 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:40:25] 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-19 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190032128001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190032128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:40:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190032128001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":188196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:40:25] local.INFO: GPS data processed {"connection_id":188196,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:40:25] local.INFO: Acknowledgment sent {"connection_id":188196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:40:46] local.INFO: TCP Data received {"connection_id":189526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:46] local.INFO: Processing buffer {"connection_id":189526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:46] local.INFO: IMEI packet received {"connection_id":189526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":189526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:40:51] local.INFO: TCP Data received {"connection_id":189526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:51] local.INFO: Processing buffer {"connection_id":189526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:40:51] local.INFO: IMEI packet received {"connection_id":189526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":189526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:40:52] local.INFO: TCP Data received {"connection_id":189526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3c018012d196880071fec40003901102a..."} 
[2026-09-19 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3c018012d196880071fec40003901102a..."} 
[2026-09-19 13:40:52] local.INFO: Processing buffer {"connection_id":189526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3c018012d196880071fec40003901102a..."} 
[2026-09-19 13:40:52] local.INFO: Packet analysis {"connection_id":189526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:40:52] local.INFO: Extracted packet for processing {"connection_id":189526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190121472001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805183000,"timestamp_ms":1789805183000,"timestamp_seconds":1789805183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3c018"} 
[2026-09-19 13:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:40:52] 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-19 13:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:40:52] 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-19 13:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190121472001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190121472001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:40:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190121472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":189526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:40:52] local.INFO: GPS data processed {"connection_id":189526,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:40:52] local.INFO: Acknowledgment sent {"connection_id":189526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:41:14] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:14] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:14] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:41:19] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:19] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:41:19] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:41:21] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:21] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:21] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:41:21] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:41:21] 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-19 13:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:41:21] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:41:21] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:41:23] local.INFO: TCP Data received {"connection_id":189526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b41220012d196880071fec40003901102a..."} 
[2026-09-19 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b41220012d196880071fec40003901102a..."} 
[2026-09-19 13:41:23] local.INFO: Processing buffer {"connection_id":189526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b41220012d196880071fec40003901102a..."} 
[2026-09-19 13:41:23] local.INFO: Packet analysis {"connection_id":189526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b4"} 
[2026-09-19 13:41:23] local.INFO: Extracted packet for processing {"connection_id":189526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b4"} 
[2026-09-19 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190126848001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805204000,"timestamp_ms":1789805204000,"timestamp_seconds":1789805204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b41220"} 
[2026-09-19 13:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:41:23] 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-19 13:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:41:23] 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-19 13:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190126848001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190126848001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190126848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":189526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:41:23] local.INFO: GPS data processed {"connection_id":189526,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:41:23] local.INFO: Acknowledgment sent {"connection_id":189526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:41:25] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:25] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:41:25] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:41:25] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:41:25] 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-19 13:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:41:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:41:25] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:41:25] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:41:46] local.INFO: TCP Data received {"connection_id":188198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:46] local.INFO: Processing buffer {"connection_id":188198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:46] local.INFO: IMEI packet received {"connection_id":188198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":188198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:41:51] local.INFO: TCP Data received {"connection_id":188198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:51] local.INFO: Processing buffer {"connection_id":188198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:41:51] local.INFO: IMEI packet received {"connection_id":188198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":188198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:41:52] local.INFO: TCP Data received {"connection_id":188198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b46428012d196880071fec40003901102a..."} 
[2026-09-19 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b46428012d196880071fec40003901102a..."} 
[2026-09-19 13:41:52] local.INFO: Processing buffer {"connection_id":188198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b46428012d196880071fec40003901102a..."} 
[2026-09-19 13:41:52] local.INFO: Packet analysis {"connection_id":188198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b4"} 
[2026-09-19 13:41:52] local.INFO: Extracted packet for processing {"connection_id":188198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b4"} 
[2026-09-19 13:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:41: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-19 13:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190132224001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805225000,"timestamp_ms":1789805225000,"timestamp_seconds":1789805225,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b46428"} 
[2026-09-19 13:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:41: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:41:52] 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-19 13:41: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-19 13:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:41:52] 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-19 13:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190132224001,"66":12145,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190132224001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:41:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190132224001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":188198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:41:52] local.INFO: GPS data processed {"connection_id":188198,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:41:52] local.INFO: Acknowledgment sent {"connection_id":188198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:42:09] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:09] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:09] local.INFO: IMEI packet received {"connection_id":186900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:42:14] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:14] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:42:14] local.INFO: IMEI packet received {"connection_id":186900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":186900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:42:15] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:15] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:15] local.INFO: Packet analysis {"connection_id":186900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:15] local.INFO: Extracted packet for processing {"connection_id":186900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42: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-19 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13:42: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-19 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:42: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-19 13: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-19 13: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-19 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:42: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-19 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":186900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:42:15] local.INFO: GPS data processed {"connection_id":186900,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:42:15] local.INFO: Acknowledgment sent {"connection_id":186900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:42:23] local.INFO: TCP Data received {"connection_id":188198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b7ea80012d196880071fec400039011028..."} 
[2026-09-19 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b7ea80012d196880071fec400039011028..."} 
[2026-09-19 13:42:23] local.INFO: Processing buffer {"connection_id":188198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b7ea80012d196880071fec400039011028..."} 
[2026-09-19 13:42:23] local.INFO: Packet analysis {"connection_id":188198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:23] local.INFO: Extracted packet for processing {"connection_id":188198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:42: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-19 13:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190191360001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805456000,"timestamp_ms":1789805456000,"timestamp_seconds":1789805456,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b7ea80"} 
[2026-09-19 13:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:42:23] 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-19 13:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:23] 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-19 13:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190191360001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190191360001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190191360001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":188198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:42:23] local.INFO: GPS data processed {"connection_id":188198,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:42:23] local.INFO: Acknowledgment sent {"connection_id":188198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:42:47] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:47] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:42:47] local.INFO: Packet analysis {"connection_id":186900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:47] local.INFO: Extracted packet for processing {"connection_id":186900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42: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-19 13:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:42: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-19 13:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:42:47] 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-19 13:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":186900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:42:47] local.INFO: GPS data processed {"connection_id":186900,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:42:47] local.INFO: Acknowledgment sent {"connection_id":186900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:42:51] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:51] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:51] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:42:56] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:56] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:42:56] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:42:57] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b83c88012d196880071fec400039011029..."} 
[2026-09-19 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b83c88012d196880071fec400039011029..."} 
[2026-09-19 13:42:57] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b83c88012d196880071fec400039011029..."} 
[2026-09-19 13:42:57] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:42:57] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:42: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-19 13:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190196736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789805477000,"timestamp_ms":1789805477000,"timestamp_seconds":1789805477,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b83c88"} 
[2026-09-19 13:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:42: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:42:57] 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-19 13:42: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-19 13:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:57] 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-19 13:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190196736001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190196736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190196736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:42:57] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:42:57] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:42:58] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b88e90012d196880071fec400039011028..."} 
[2026-09-19 13:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b88e90012d196880071fec400039011028..."} 
[2026-09-19 13:42:58] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b88e90012d196880071fec400039011028..."} 
[2026-09-19 13:42:58] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:42:58] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190202112001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789805498000,"timestamp_ms":1789805498000,"timestamp_seconds":1789805498,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b88e90"} 
[2026-09-19 13:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:42:58] 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-19 13:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:42:58] 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-19 13:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190202112001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190202112001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:42:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190202112001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:42:58] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:42:58] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:43:09] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:09] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:09] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:43:14] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:14] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:43:14] local.INFO: IMEI packet received {"connection_id":188199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:43:15] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:15] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:15] local.INFO: Packet analysis {"connection_id":188199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:43:15] local.INFO: Extracted packet for processing {"connection_id":188199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43: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-19 13:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13:43: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-19 13:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:43: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-19 13: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-19 13: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-19 13:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:43: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-19 13:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":188199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:43:15] local.INFO: GPS data processed {"connection_id":188199,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:43:15] local.INFO: Acknowledgment sent {"connection_id":188199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:43:29] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b8e098012d196880071fec400039011028..."} 
[2026-09-19 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b8e098012d196880071fec400039011028..."} 
[2026-09-19 13:43:29] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b8e098012d196880071fec400039011028..."} 
[2026-09-19 13:43:29] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:43:29] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b8"} 
[2026-09-19 13:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:43: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-19 13:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190207488001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789805519000,"timestamp_ms":1789805519000,"timestamp_seconds":1789805519,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b8e098"} 
[2026-09-19 13:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:43: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-19 13:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:29] 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-19 13:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190207488001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190207488001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:43:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190207488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:43:29] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:43:29] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:43:46] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:46] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:46] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:43:46] local.INFO: TCP Data received {"connection_id":188199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:46] local.INFO: Processing buffer {"connection_id":188199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:43:46] local.INFO: Packet analysis {"connection_id":188199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:43:46] local.INFO: Extracted packet for processing {"connection_id":188199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43: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-19 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:43: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-19 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:43: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-19 13:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:43: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-19 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":188199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:43:46] local.INFO: GPS data processed {"connection_id":188199,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:43:46] local.INFO: Acknowledgment sent {"connection_id":188199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:43:51] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:51] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:43:51] local.INFO: IMEI packet received {"connection_id":186798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":186798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:43:52] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b932a0012d196880071fec400039011028..."} 
[2026-09-19 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b932a0012d196880071fec400039011028..."} 
[2026-09-19 13:43:52] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b932a0012d196880071fec400039011028..."} 
[2026-09-19 13:43:52] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:43:52] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190212864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805540000,"timestamp_ms":1789805540000,"timestamp_seconds":1789805540,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b932a0"} 
[2026-09-19 13:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:43:52] 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-19 13:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:52] 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-19 13:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190212864001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190212864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:43:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190212864001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:43:52] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:43:52] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:43:56] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b984a8012d196880071fec400039011029..."} 
[2026-09-19 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b984a8012d196880071fec400039011029..."} 
[2026-09-19 13:43:56] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b984a8012d196880071fec400039011029..."} 
[2026-09-19 13:43:56] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:43:56] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190218240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789805561000,"timestamp_ms":1789805561000,"timestamp_seconds":1789805561,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b984a8"} 
[2026-09-19 13:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:43: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-19 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:43:56] 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-19 13:43: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-19 13:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:43:56] 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-19 13:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190218240001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190218240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:43:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190218240001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:43:56] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:43:56] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:09] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:09] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:09] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:44:09] local.INFO: TCP Data received {"connection_id":188200,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:09] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:09] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:44:14] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:14] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:44:14] local.INFO: IMEI packet received {"connection_id":186799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:44:14] local.INFO: TCP Data received {"connection_id":188200,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:14] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:44:14] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:44:15] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:15] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:15] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:44:15] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:44: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-19 13: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-19 13: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-19 13:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:44: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-19 13:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:15] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:15] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:15] local.INFO: TCP Data received {"connection_id":188200,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8aee200012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8aee200012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:15] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8aee200012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:15] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:44:15] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ae"} 
[2026-09-19 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190039808001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789804864000,"timestamp_ms":1789804864000,"timestamp_seconds":1789804864,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8aee200"} 
[2026-09-19 13: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-19 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 13:44:15] 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-19 13: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-19 13: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-19 13:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190039808001,"66":28452,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190039808001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190039808001,"power":28452,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:16] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:16] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:20] local.INFO: TCP Data received {"connection_id":188200,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8af3408012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8af3408012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:20] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8af3408012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:20] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:44:20] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:44:20] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190045184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789804885000,"timestamp_ms":1789804885000,"timestamp_seconds":1789804885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8af3408"} 
[2026-09-19 13:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 13:44:20] 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-19 13:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190045184001,"66":28452,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190045184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:20] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:44:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190045184001,"power":28452,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:20] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:20] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:27] local.INFO: TCP Data received {"connection_id":186798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b9d6b0012d196880071fec40003901102a..."} 
[2026-09-19 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b9d6b0012d196880071fec40003901102a..."} 
[2026-09-19 13:44:27] local.INFO: Processing buffer {"connection_id":186798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b9d6b0012d196880071fec40003901102a..."} 
[2026-09-19 13:44:27] local.INFO: Packet analysis {"connection_id":186798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:44:27] local.INFO: Extracted packet for processing {"connection_id":186798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b9"} 
[2026-09-19 13:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190223616001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789805582000,"timestamp_ms":1789805582000,"timestamp_seconds":1789805582,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b9d6b0"} 
[2026-09-19 13:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:44:27] 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-19 13:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:44:27] 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-19 13:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190223616001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190223616001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190223616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":186798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:27] local.INFO: GPS data processed {"connection_id":186798,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:27] local.INFO: Acknowledgment sent {"connection_id":186798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:43] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:43] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:43] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:44:46] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:46] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:46] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:44:46] local.INFO: TCP Data received {"connection_id":186799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:46] local.INFO: Processing buffer {"connection_id":186799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:44:46] local.INFO: Packet analysis {"connection_id":186799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:44:46] local.INFO: Extracted packet for processing {"connection_id":186799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:44: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-19 13: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-19 13: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-19 13:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:44: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-19 13:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":186799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:46] local.INFO: GPS data processed {"connection_id":186799,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:46] local.INFO: Acknowledgment sent {"connection_id":186799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:51] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:51] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:44:51] local.INFO: IMEI packet received {"connection_id":186800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":186800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:44:52] local.INFO: TCP Data received {"connection_id":188200,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8af5730012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8af5730012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:52] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8af5730012c7939000848b730000d01612d..."} 
[2026-09-19 13:44:52] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:44:52] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8af"} 
[2026-09-19 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13:44: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-19 13:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190050560001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789804894000,"timestamp_ms":1789804894000,"timestamp_seconds":1789804894,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8af5730"} 
[2026-09-19 13:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 13:44:52] 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-19 13:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190050560001,"66":28430,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190050560001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190050560001,"power":28430,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:44:52] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ba28b8012d196880071fec400039011025..."} 
[2026-09-19 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ba28b8012d196880071fec400039011025..."} 
[2026-09-19 13:44:52] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ba28b8012d196880071fec400039011025..."} 
[2026-09-19 13:44:52] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:44:52] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190228992001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805603000,"timestamp_ms":1789805603000,"timestamp_seconds":1789805603,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ba28b8"} 
[2026-09-19 13:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:44:52] 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-19 13:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:52] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:44:52] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:44:52] 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-19 13:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190228992001,"66":12439,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190228992001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190228992001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:44:52] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:44:52] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:09] local.INFO: TCP Data received {"connection_id":189527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:09] local.INFO: Processing buffer {"connection_id":189527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:09] local.INFO: IMEI packet received {"connection_id":189527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":189527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:45:09] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:09] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:09] local.INFO: IMEI packet received {"connection_id":186801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:45:14] local.INFO: TCP Data received {"connection_id":189527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:14] local.INFO: Processing buffer {"connection_id":189527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:45:14] local.INFO: IMEI packet received {"connection_id":189527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":189527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:45:14] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:14] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:45:14] local.INFO: IMEI packet received {"connection_id":186801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:45:15] local.INFO: TCP Data received {"connection_id":189527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:15] local.INFO: Processing buffer {"connection_id":189527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:15] local.INFO: Packet analysis {"connection_id":189527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:45:15] local.INFO: Extracted packet for processing {"connection_id":189527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13:45: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-19 13:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:45: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-19 13:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":189527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:15] local.INFO: GPS data processed {"connection_id":189527,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:15] local.INFO: Acknowledgment sent {"connection_id":189527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:15] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:15] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:15] local.INFO: Packet analysis {"connection_id":186801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:45:15] local.INFO: Extracted packet for processing {"connection_id":186801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:45:15] 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-19 13: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-19 13: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-19 13:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:16] local.INFO: GPS data processed {"connection_id":186801,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:16] local.INFO: Acknowledgment sent {"connection_id":186801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:23] local.INFO: TCP Data received {"connection_id":186800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ba7ac0012d196880071fec400039011029..."} 
[2026-09-19 13:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ba7ac0012d196880071fec400039011029..."} 
[2026-09-19 13:45:23] local.INFO: Processing buffer {"connection_id":186800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ba7ac0012d196880071fec400039011029..."} 
[2026-09-19 13:45:23] local.INFO: Packet analysis {"connection_id":186800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:45:23] local.INFO: Extracted packet for processing {"connection_id":186800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190234368001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805624000,"timestamp_ms":1789805624000,"timestamp_seconds":1789805624,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ba7ac0"} 
[2026-09-19 13:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 13:45:23] 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-19 13:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:45:23] 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-19 13:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190234368001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190234368001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190234368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":186800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:23] local.INFO: GPS data processed {"connection_id":186800,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:23] local.INFO: Acknowledgment sent {"connection_id":186800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:46] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:46] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:46] local.INFO: IMEI packet received {"connection_id":186902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":186902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:45:46] local.INFO: TCP Data received {"connection_id":189527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:46] local.INFO: Processing buffer {"connection_id":189527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b74a58012d34c14006aa41400008010e2d..."} 
[2026-09-19 13:45:46] local.INFO: Packet analysis {"connection_id":189527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:45:46] local.INFO: Extracted packet for processing {"connection_id":189527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b7"} 
[2026-09-19 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190109184001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805415000,"timestamp_ms":1789805415000,"timestamp_seconds":1789805415,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b74a58"} 
[2026-09-19 13: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-19 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:45: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-19 13: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-19 13: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-19 13:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190109184001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190109184001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190109184001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":189527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:46] local.INFO: GPS data processed {"connection_id":189527,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:46] local.INFO: Acknowledgment sent {"connection_id":189527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:47] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:47] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:47] local.INFO: IMEI packet received {"connection_id":186902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":186902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:45:47] local.INFO: TCP Data received {"connection_id":186801,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:47] local.INFO: Processing buffer {"connection_id":186801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:45:47] local.INFO: Packet analysis {"connection_id":186801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:45:47] local.INFO: Extracted packet for processing {"connection_id":186801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:45:47] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:45:47] 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-19 13: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-19 13: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-19 13:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:45:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:47] local.INFO: GPS data processed {"connection_id":186801,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:47] local.INFO: Acknowledgment sent {"connection_id":186801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:45:51] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:51] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:45:51] local.INFO: IMEI packet received {"connection_id":186902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":186902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:45:52] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8baccc8012d196880071fec400039011029..."} 
[2026-09-19 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8baccc8012d196880071fec400039011029..."} 
[2026-09-19 13:45:52] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8baccc8012d196880071fec400039011029..."} 
[2026-09-19 13:45:52] local.INFO: Packet analysis {"connection_id":186902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:45:52] local.INFO: Extracted packet for processing {"connection_id":186902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ba"} 
[2026-09-19 13:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190239744001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805645000,"timestamp_ms":1789805645000,"timestamp_seconds":1789805645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8baccc8"} 
[2026-09-19 13:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:45:52] 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-19 13:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:45:52] 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-19 13:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190239744001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190239744001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:45:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190239744001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":186902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:45:52] local.INFO: GPS data processed {"connection_id":186902,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:45:52] local.INFO: Acknowledgment sent {"connection_id":186902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:09] local.INFO: TCP Data received {"connection_id":186903,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:09] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:09] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:46:14] local.INFO: TCP Data received {"connection_id":186903,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:14] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:46:14] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:46:15] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:15] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:15] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:46:16] local.INFO: TCP Data received {"connection_id":186903,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:16] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:16] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:46:16] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:46:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:16] 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-19 13:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:46:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:16] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:16] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:19] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:19] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:46:19] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:46:20] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:20] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:20] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:20] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13: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-19 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:46:20] 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-19 13:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:20] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:20] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:23] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bb1ed0012d196880071fec400039011029..."} 
[2026-09-19 13:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bb1ed0012d196880071fec400039011029..."} 
[2026-09-19 13:46:23] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bb1ed0012d196880071fec400039011029..."} 
[2026-09-19 13:46:23] local.INFO: Packet analysis {"connection_id":186902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:23] local.INFO: Extracted packet for processing {"connection_id":186902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:46: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-19 13:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190245120001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805666000,"timestamp_ms":1789805666000,"timestamp_seconds":1789805666,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bb1ed0"} 
[2026-09-19 13:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:23] 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-19 13:46: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-19 13:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:23] 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-19 13:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190245120001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190245120001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190245120001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":186902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:23] local.INFO: GPS data processed {"connection_id":186902,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:23] local.INFO: Acknowledgment sent {"connection_id":186902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:25] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:25] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:46:25] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:25] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:46:25] 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-19 13:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:25] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:25] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:46] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:46] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:46] local.INFO: IMEI packet received {"connection_id":186904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":186904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:46:48] local.INFO: TCP Data received {"connection_id":186903,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:48] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:46:48] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:46:48] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:48] 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-19 13: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-19 13: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-19 13:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:48] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:46:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:48] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:48] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:49] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:49] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:49] local.INFO: IMEI packet received {"connection_id":186904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":186904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:46:52] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:52] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:46:52] local.INFO: IMEI packet received {"connection_id":186904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":186904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:46:52] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bb70d8012d196880071fec40003901102a..."} 
[2026-09-19 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bb70d8012d196880071fec40003901102a..."} 
[2026-09-19 13:46:52] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bb70d8012d196880071fec40003901102a..."} 
[2026-09-19 13:46:52] local.INFO: Packet analysis {"connection_id":186904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:52] local.INFO: Extracted packet for processing {"connection_id":186904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:46: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-19 13:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190250496001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805687000,"timestamp_ms":1789805687000,"timestamp_seconds":1789805687,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bb70d8"} 
[2026-09-19 13:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:46: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:52] 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-19 13:46: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-19 13:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:52] 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-19 13:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190250496001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190250496001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190250496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":186904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:52] local.INFO: GPS data processed {"connection_id":186904,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:52] local.INFO: Acknowledgment sent {"connection_id":186904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:46:56] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbc2e0012d196880071fec40003901102a..."} 
[2026-09-19 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbc2e0012d196880071fec40003901102a..."} 
[2026-09-19 13:46:56] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbc2e0012d196880071fec40003901102a..."} 
[2026-09-19 13:46:56] local.INFO: Packet analysis {"connection_id":186904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:56] local.INFO: Extracted packet for processing {"connection_id":186904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190255872001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789805708000,"timestamp_ms":1789805708000,"timestamp_seconds":1789805708,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbc2e0"} 
[2026-09-19 13:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:46: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-19 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:46:56] 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-19 13:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:46:56] 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-19 13:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190255872001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190255872001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:46:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190255872001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":186904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:46:56] local.INFO: GPS data processed {"connection_id":186904,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:46:56] local.INFO: Acknowledgment sent {"connection_id":186904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:47:09] local.INFO: TCP Data received {"connection_id":189528,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:09] local.INFO: Processing buffer {"connection_id":189528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:09] local.INFO: IMEI packet received {"connection_id":189528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":189528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:47:09] local.INFO: TCP Data received {"connection_id":186802,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:09] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:09] local.INFO: IMEI packet received {"connection_id":186802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":186802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:47:14] local.INFO: TCP Data received {"connection_id":189528,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:14] local.INFO: Processing buffer {"connection_id":189528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:47:14] local.INFO: IMEI packet received {"connection_id":189528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":189528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:47:14] local.INFO: TCP Data received {"connection_id":186802,"ip":"117.225.186.202","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:14] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:47:14] local.INFO: IMEI packet received {"connection_id":186802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:47:15] local.INFO: TCP Data received {"connection_id":189528,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:15] local.INFO: Processing buffer {"connection_id":189528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:15] local.INFO: Packet analysis {"connection_id":189528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:47:15] local.INFO: Extracted packet for processing {"connection_id":189528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47: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-19 13:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:47: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-19 13:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:47: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-19 13:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:47: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-19 13:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":189528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:47:15] local.INFO: GPS data processed {"connection_id":189528,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:47:15] local.INFO: Acknowledgment sent {"connection_id":189528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:47:16] local.INFO: TCP Data received {"connection_id":186802,"ip":"117.225.186.202","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:47:16] local.INFO: Processing buffer {"connection_id":186802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:47:16] local.INFO: Packet analysis {"connection_id":186802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:47:16] local.INFO: Extracted packet for processing {"connection_id":186802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:47:16] 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-19 13:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.186.202","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.186.202","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:47:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:47:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":186802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:47:16] local.INFO: GPS data processed {"connection_id":186802,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:47:16] local.INFO: Acknowledgment sent {"connection_id":186802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:47:27] local.INFO: TCP Data received {"connection_id":186904,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bc14e8012d196880071fec400039011029..."} 
[2026-09-19 13:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bc14e8012d196880071fec400039011029..."} 
[2026-09-19 13:47:27] local.INFO: Processing buffer {"connection_id":186904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bc14e8012d196880071fec400039011029..."} 
[2026-09-19 13:47:27] local.INFO: Packet analysis {"connection_id":186904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:47:27] local.INFO: Extracted packet for processing {"connection_id":186904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:47: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-19 13:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190261248001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789805729000,"timestamp_ms":1789805729000,"timestamp_seconds":1789805729,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bc14e8"} 
[2026-09-19 13:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:47: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":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:47:27] 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-19 13:47: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-19 13:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:47:27] 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-19 13:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190261248001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190261248001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:47:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190261248001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":186904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:47:27] local.INFO: GPS data processed {"connection_id":186904,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:47:27] local.INFO: Acknowledgment sent {"connection_id":186904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:47:46] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:46] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:46] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:47:47] local.INFO: TCP Data received {"connection_id":189528,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:47] local.INFO: Processing buffer {"connection_id":189528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:47:47] local.INFO: Packet analysis {"connection_id":189528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:47:47] local.INFO: Extracted packet for processing {"connection_id":189528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47: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-19 13:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:47: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-19 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:47: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-19 13:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:47:47] 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-19 13:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":189528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:47:47] local.INFO: GPS data processed {"connection_id":189528,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:47:47] local.INFO: Acknowledgment sent {"connection_id":189528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:47:51] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:51] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:47:51] local.INFO: IMEI packet received {"connection_id":186803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":186803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:47:52] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bc66f0012d196880071fec400039011029..."} 
[2026-09-19 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bc66f0012d196880071fec400039011029..."} 
[2026-09-19 13:47:52] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bc66f0012d196880071fec400039011029..."} 
[2026-09-19 13:47:52] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:47:52] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190266624001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805750000,"timestamp_ms":1789805750000,"timestamp_seconds":1789805750,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bc66f0"} 
[2026-09-19 13:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:47:52] 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-19 13:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:47:52] 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-19 13:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190266624001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190266624001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:47:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190266624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:47:52] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:47:52] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:48:09] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:09] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:09] local.INFO: IMEI packet received {"connection_id":186804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":186804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:48:15] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:15] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:48:15] local.INFO: IMEI packet received {"connection_id":186804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":186804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:48:16] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:16] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:16] local.INFO: Packet analysis {"connection_id":186804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:48:16] local.INFO: Extracted packet for processing {"connection_id":186804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48: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-19 13:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 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-19 13:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:48: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-19 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-19 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-19 13:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:48: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-19 13:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":186804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:48:16] local.INFO: GPS data processed {"connection_id":186804,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:48:16] local.INFO: Acknowledgment sent {"connection_id":186804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:48:23] local.INFO: TCP Data received {"connection_id":186803,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bcb8f8012d196880071fec40003901102a..."} 
[2026-09-19 13:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bcb8f8012d196880071fec40003901102a..."} 
[2026-09-19 13:48:23] local.INFO: Processing buffer {"connection_id":186803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bcb8f8012d196880071fec40003901102a..."} 
[2026-09-19 13:48:23] local.INFO: Packet analysis {"connection_id":186803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:48:23] local.INFO: Extracted packet for processing {"connection_id":186803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bc"} 
[2026-09-19 13:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190272000001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805771000,"timestamp_ms":1789805771000,"timestamp_seconds":1789805771,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bcb8f8"} 
[2026-09-19 13:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:48:23] 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-19 13:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:48:23] 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-19 13:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190272000001,"66":12374,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190272000001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:48:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190272000001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":186803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:48:23] local.INFO: GPS data processed {"connection_id":186803,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:48:23] local.INFO: Acknowledgment sent {"connection_id":186803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:48:39] local.INFO: TCP Data received {"connection_id":189529,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:39] local.INFO: Processing buffer {"connection_id":189529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:39] local.INFO: IMEI packet received {"connection_id":189529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":189529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:48:44] local.INFO: TCP Data received {"connection_id":189529,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:44] local.INFO: Processing buffer {"connection_id":189529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:48:44] local.INFO: IMEI packet received {"connection_id":189529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":189529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:48:45] local.INFO: TCP Data received {"connection_id":189529,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:48:45] local.INFO: Processing buffer {"connection_id":189529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:48:45] local.INFO: Packet analysis {"connection_id":189529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:48:45] local.INFO: Extracted packet for processing {"connection_id":189529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:48:45] 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-19 13:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:48:45] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:48:45] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:48:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":189529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:48:45] local.INFO: GPS data processed {"connection_id":189529,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:48:45] local.INFO: Acknowledgment sent {"connection_id":189529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:48:46] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:46] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:46] local.INFO: IMEI packet received {"connection_id":186905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":186905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:48:47] local.INFO: TCP Data received {"connection_id":186804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:47] local.INFO: Processing buffer {"connection_id":186804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:48:47] local.INFO: Packet analysis {"connection_id":186804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:48:47] local.INFO: Extracted packet for processing {"connection_id":186804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48: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-19 13:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:48: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-19 13:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:48: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-19 13:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:48: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-19 13:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":186804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:48:47] local.INFO: GPS data processed {"connection_id":186804,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:48:47] local.INFO: Acknowledgment sent {"connection_id":186804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:48:51] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:51] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:48:51] local.INFO: IMEI packet received {"connection_id":186905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":186905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:48:52] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bd0b00012d196880071fec40003901102b..."} 
[2026-09-19 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bd0b00012d196880071fec40003901102b..."} 
[2026-09-19 13:48:52] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bd0b00012d196880071fec40003901102b..."} 
[2026-09-19 13:48:52] local.INFO: Packet analysis {"connection_id":186905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:48:52] local.INFO: Extracted packet for processing {"connection_id":186905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190277376001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805792000,"timestamp_ms":1789805792000,"timestamp_seconds":1789805792,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bd0b00"} 
[2026-09-19 13:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 13:48:52] 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-19 13:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:48:52] 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-19 13:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190277376001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190277376001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:48:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190277376001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":186905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:48:52] local.INFO: GPS data processed {"connection_id":186905,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:48:52] local.INFO: Acknowledgment sent {"connection_id":186905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:04] local.INFO: TCP Data received {"connection_id":188202,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:04] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:04] local.INFO: IMEI packet received {"connection_id":188202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:49:09] local.INFO: TCP Data received {"connection_id":188202,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:09] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:49:09] local.INFO: IMEI packet received {"connection_id":188202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:49:09] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:09] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:09] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:49:10] local.INFO: TCP Data received {"connection_id":188202,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:10] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:10] local.INFO: Packet analysis {"connection_id":188202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:49:10] local.INFO: Extracted packet for processing {"connection_id":188202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 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-19 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 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-19 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:49:10] 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-19 13:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 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-19 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:49:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:10] local.INFO: GPS data processed {"connection_id":188202,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:10] local.INFO: Acknowledgment sent {"connection_id":188202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:14] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:14] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:49:14] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:49:15] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:15] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:15] local.INFO: Packet analysis {"connection_id":188203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:49:15] local.INFO: Extracted packet for processing {"connection_id":188203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49: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-19 13:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13: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-19 13:49: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:49: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-19 13: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-19 13: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-19 13:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:49: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-19 13:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":188203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:15] local.INFO: GPS data processed {"connection_id":188203,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:15] local.INFO: Acknowledgment sent {"connection_id":188203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:23] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bd5d08012d196880071fec400039011028..."} 
[2026-09-19 13:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bd5d08012d196880071fec400039011028..."} 
[2026-09-19 13:49:23] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bd5d08012d196880071fec400039011028..."} 
[2026-09-19 13:49:23] local.INFO: Packet analysis {"connection_id":186905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:49:23] local.INFO: Extracted packet for processing {"connection_id":186905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190282752001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805813000,"timestamp_ms":1789805813000,"timestamp_seconds":1789805813,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bd5d08"} 
[2026-09-19 13:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:23] 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-19 13:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190282752001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190282752001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190282752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":186905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:23] local.INFO: GPS data processed {"connection_id":186905,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:23] local.INFO: Acknowledgment sent {"connection_id":186905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:42] local.INFO: TCP Data received {"connection_id":188202,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:42] local.INFO: Processing buffer {"connection_id":188202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:49:42] local.INFO: Packet analysis {"connection_id":188202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:49:42] local.INFO: Extracted packet for processing {"connection_id":188202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:49:42] 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-19 13: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-19 13: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-19 13:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:49:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:42] local.INFO: GPS data processed {"connection_id":188202,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:42] local.INFO: Acknowledgment sent {"connection_id":188202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:46] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:46] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:49:46] local.INFO: Packet analysis {"connection_id":188203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:49:46] local.INFO: Extracted packet for processing {"connection_id":188203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:49: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-19 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13: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-19 13:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13: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-19 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":188203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:46] local.INFO: GPS data processed {"connection_id":188203,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:46] local.INFO: Acknowledgment sent {"connection_id":188203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:51] local.INFO: TCP Data received {"connection_id":189530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:51] local.INFO: Processing buffer {"connection_id":189530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:51] local.INFO: IMEI packet received {"connection_id":189530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":189530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:49:56] local.INFO: TCP Data received {"connection_id":189530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:56] local.INFO: Processing buffer {"connection_id":189530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:49:56] local.INFO: IMEI packet received {"connection_id":189530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":189530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:49:57] local.INFO: TCP Data received {"connection_id":189530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bdaf10012d196880071fec40003901102b..."} 
[2026-09-19 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bdaf10012d196880071fec40003901102b..."} 
[2026-09-19 13:49:57] local.INFO: Processing buffer {"connection_id":189530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bdaf10012d196880071fec40003901102b..."} 
[2026-09-19 13:49:57] local.INFO: Packet analysis {"connection_id":189530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:49:57] local.INFO: Extracted packet for processing {"connection_id":189530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bd"} 
[2026-09-19 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:49: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-19 13:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190288128001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789805834000,"timestamp_ms":1789805834000,"timestamp_seconds":1789805834,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bdaf10"} 
[2026-09-19 13:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:49: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:49:57] 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-19 13:49: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-19 13:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:57] 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-19 13:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190288128001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190288128001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190288128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":189530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:57] local.INFO: GPS data processed {"connection_id":189530,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:57] local.INFO: Acknowledgment sent {"connection_id":189530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:49:58] local.INFO: TCP Data received {"connection_id":189530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8be0118012d196880071fec400039011026..."} 
[2026-09-19 13:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8be0118012d196880071fec400039011026..."} 
[2026-09-19 13:49:58] local.INFO: Processing buffer {"connection_id":189530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8be0118012d196880071fec400039011026..."} 
[2026-09-19 13:49:58] local.INFO: Packet analysis {"connection_id":189530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:49:58] local.INFO: Extracted packet for processing {"connection_id":189530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190293504001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789805855000,"timestamp_ms":1789805855000,"timestamp_seconds":1789805855,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8be0118"} 
[2026-09-19 13:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:49:58] 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-19 13:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":189530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:49:58] 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-19 13:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190293504001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190293504001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:49:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190293504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":189530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:49:58] local.INFO: GPS data processed {"connection_id":189530,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:49:58] local.INFO: Acknowledgment sent {"connection_id":189530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:09] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:09] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:09] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:50:09] local.INFO: TCP Data received {"connection_id":186906,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:09] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:09] local.INFO: IMEI packet received {"connection_id":186906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":186906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:50:14] local.INFO: TCP Data received {"connection_id":186906,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:14] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:50:14] local.INFO: IMEI packet received {"connection_id":186906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":186906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:50:14] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:14] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:50:14] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:50:15] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:15] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:15] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:50:15] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50: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-19 13:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:50: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-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:50: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-19 13:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:15] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:15] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:15] local.INFO: TCP Data received {"connection_id":186906,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:15] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:15] local.INFO: Packet analysis {"connection_id":186906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:50:15] local.INFO: Extracted packet for processing {"connection_id":186906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:50:15] 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-19 13:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":186906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:15] local.INFO: GPS data processed {"connection_id":186906,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:15] local.INFO: Acknowledgment sent {"connection_id":186906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:29] local.INFO: TCP Data received {"connection_id":189530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8be5320012d196880071fec400039011029..."} 
[2026-09-19 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8be5320012d196880071fec400039011029..."} 
[2026-09-19 13:50:29] local.INFO: Processing buffer {"connection_id":189530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8be5320012d196880071fec400039011029..."} 
[2026-09-19 13:50:29] local.INFO: Packet analysis {"connection_id":189530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:50:29] local.INFO: Extracted packet for processing {"connection_id":189530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190298880001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789805876000,"timestamp_ms":1789805876000,"timestamp_seconds":1789805876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8be5320"} 
[2026-09-19 13:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:50: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-19 13:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:50:29] 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-19 13:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190298880001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190298880001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190298880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":189530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:29] local.INFO: GPS data processed {"connection_id":189530,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:29] local.INFO: Acknowledgment sent {"connection_id":189530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:46] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:46] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:46] local.INFO: IMEI packet received {"connection_id":188205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":188205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:50:46] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:46] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bbe220012d34c14006aa41400008010e29..."} 
[2026-09-19 13:50:46] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:50:46] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bb"} 
[2026-09-19 13:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190186240001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50: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-19 13:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789805716000,"timestamp_ms":1789805716000,"timestamp_seconds":1789805716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bbe220"} 
[2026-09-19 13: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-19 13:50: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:50: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-19 13: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-19 13: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-19 13:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:50: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-19 13:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190186240001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190186240001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190186240001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:46] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:46] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:47] local.INFO: TCP Data received {"connection_id":186906,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:47] local.INFO: Processing buffer {"connection_id":186906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:50:47] local.INFO: Packet analysis {"connection_id":186906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:50:47] local.INFO: Extracted packet for processing {"connection_id":186906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:50:47] 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-19 13: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-19 13: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-19 13:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":186906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:47] local.INFO: GPS data processed {"connection_id":186906,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:47] local.INFO: Acknowledgment sent {"connection_id":186906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:50:51] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:51] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:50:51] local.INFO: IMEI packet received {"connection_id":188205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":188205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:50:52] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bea528012d196880071fec400039011026..."} 
[2026-09-19 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bea528012d196880071fec400039011026..."} 
[2026-09-19 13:50:52] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bea528012d196880071fec400039011026..."} 
[2026-09-19 13:50:52] local.INFO: Packet analysis {"connection_id":188205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:50:52] local.INFO: Extracted packet for processing {"connection_id":188205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:50: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-19 13:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190304256001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805897000,"timestamp_ms":1789805897000,"timestamp_seconds":1789805897,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bea528"} 
[2026-09-19 13:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:50: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-19 13:50: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:50:52] 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-19 13:50: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-19 13:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:50:52] 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-19 13:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190304256001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190304256001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190304256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":188205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:50:52] local.INFO: GPS data processed {"connection_id":188205,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:50:52] local.INFO: Acknowledgment sent {"connection_id":188205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:09] local.INFO: TCP Data received {"connection_id":186907,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:09] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:09] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:51:14] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:14] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:14] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:51:14] local.INFO: TCP Data received {"connection_id":186907,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:14] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:51:14] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:51:16] local.INFO: TCP Data received {"connection_id":186907,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:16] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:16] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:51:16] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:51:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:16] 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-19 13: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-19 13: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-19 13:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:51:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:16] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:16] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:19] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:19] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:51:19] local.INFO: IMEI packet received {"connection_id":186805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":186805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:51:20] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:20] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:20] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:51:20] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:51:20] 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-19 13:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:20] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:20] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:23] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bef730012d196880071fec400039011029..."} 
[2026-09-19 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bef730012d196880071fec400039011029..."} 
[2026-09-19 13:51:23] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bef730012d196880071fec400039011029..."} 
[2026-09-19 13:51:23] local.INFO: Packet analysis {"connection_id":188205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:51:23] local.INFO: Extracted packet for processing {"connection_id":188205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8be"} 
[2026-09-19 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190309632001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805918000,"timestamp_ms":1789805918000,"timestamp_seconds":1789805918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bef730"} 
[2026-09-19 13:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:51: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-19 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:23] 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-19 13:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:51:23] 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-19 13:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190309632001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190309632001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190309632001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":188205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:23] local.INFO: GPS data processed {"connection_id":188205,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:23] local.INFO: Acknowledgment sent {"connection_id":188205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:25] local.INFO: TCP Data received {"connection_id":186805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:25] local.INFO: Processing buffer {"connection_id":186805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:51:25] local.INFO: Packet analysis {"connection_id":186805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:51:25] local.INFO: Extracted packet for processing {"connection_id":186805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:51: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-19 13:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:51: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-19 13:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:51:25] 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-19 13:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":186805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:25] local.INFO: GPS data processed {"connection_id":186805,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:25] local.INFO: Acknowledgment sent {"connection_id":186805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:46] local.INFO: TCP Data received {"connection_id":189531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:46] local.INFO: Processing buffer {"connection_id":189531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:46] local.INFO: IMEI packet received {"connection_id":189531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":189531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:51:47] local.INFO: TCP Data received {"connection_id":186907,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:47] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:51:47] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:51:47] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:51:47] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:47] 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-19 13: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-19 13: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-19 13:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:51:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:47] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:47] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:51:51] local.INFO: TCP Data received {"connection_id":189531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:51] local.INFO: Processing buffer {"connection_id":189531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:51:51] local.INFO: IMEI packet received {"connection_id":189531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":189531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:51:52] local.INFO: TCP Data received {"connection_id":189531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bf4938012d196880071fec400039011022..."} 
[2026-09-19 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bf4938012d196880071fec400039011022..."} 
[2026-09-19 13:51:52] local.INFO: Processing buffer {"connection_id":189531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bf4938012d196880071fec400039011022..."} 
[2026-09-19 13:51:52] local.INFO: Packet analysis {"connection_id":189531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:51:52] local.INFO: Extracted packet for processing {"connection_id":189531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190315008001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805939000,"timestamp_ms":1789805939000,"timestamp_seconds":1789805939,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bf4938"} 
[2026-09-19 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:51: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-19 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:51:52] 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-19 13:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:51:52] 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-19 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190315008001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190315008001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:51:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190315008001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":189531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:51:52] local.INFO: GPS data processed {"connection_id":189531,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:51:52] local.INFO: Acknowledgment sent {"connection_id":189531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:09] local.INFO: TCP Data received {"connection_id":186909,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:09] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:09] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:52:09] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:09] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:09] local.INFO: IMEI packet received {"connection_id":186908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:52:14] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:14] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:52:14] local.INFO: IMEI packet received {"connection_id":186908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:52:14] local.INFO: TCP Data received {"connection_id":186909,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:14] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:52:14] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:52:16] local.INFO: TCP Data received {"connection_id":186909,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:16] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:16] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:52:16] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:52:16] 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-19 13:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:52:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:16] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:16] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:17] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:17] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:17] local.INFO: Packet analysis {"connection_id":186908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:52:17] local.INFO: Extracted packet for processing {"connection_id":186908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:52: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-19 13:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":186908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:52:17] 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-19 13:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":186908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:17] local.INFO: GPS data processed {"connection_id":186908,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:17] local.INFO: Acknowledgment sent {"connection_id":186908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:23] local.INFO: TCP Data received {"connection_id":189531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bf9b40012d196880071fec400039011025..."} 
[2026-09-19 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bf9b40012d196880071fec400039011025..."} 
[2026-09-19 13:52:23] local.INFO: Processing buffer {"connection_id":189531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bf9b40012d196880071fec400039011025..."} 
[2026-09-19 13:52:23] local.INFO: Packet analysis {"connection_id":189531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:52:23] local.INFO: Extracted packet for processing {"connection_id":189531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190320384001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789805960000,"timestamp_ms":1789805960000,"timestamp_seconds":1789805960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bf9b40"} 
[2026-09-19 13:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:52: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-19 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:52:23] 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-19 13:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:52:23] 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-19 13:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190320384001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190320384001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190320384001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":189531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:23] local.INFO: GPS data processed {"connection_id":189531,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:23] local.INFO: Acknowledgment sent {"connection_id":189531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:46] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:46] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:46] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:52:47] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:47] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:47] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:52:47] local.INFO: TCP Data received {"connection_id":186909,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:47] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:52:47] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:52:47] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:52:47] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13: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-19 13:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:52:47] 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-19 13: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-19 13: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-19 13:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:52:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:47] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:47] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:48] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:48] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:52:48] local.INFO: Packet analysis {"connection_id":186908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:52:48] local.INFO: Extracted packet for processing {"connection_id":186908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13: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-19 13: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:52: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-19 13: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-19 13: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-19 13:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:52: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-19 13:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":186908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:48] local.INFO: GPS data processed {"connection_id":186908,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:48] local.INFO: Acknowledgment sent {"connection_id":186908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:52:51] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:51] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:52:51] local.INFO: IMEI packet received {"connection_id":188206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":188206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:52:52] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8bfed48012d196880071fec400039011028..."} 
[2026-09-19 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8bfed48012d196880071fec400039011028..."} 
[2026-09-19 13:52:52] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8bfed48012d196880071fec400039011028..."} 
[2026-09-19 13:52:52] local.INFO: Packet analysis {"connection_id":188206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:52:52] local.INFO: Extracted packet for processing {"connection_id":188206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8bf"} 
[2026-09-19 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190325760001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789805981000,"timestamp_ms":1789805981000,"timestamp_seconds":1789805981,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8bfed48"} 
[2026-09-19 13:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:52:52] 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-19 13:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:52:52] 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-19 13:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190325760001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190325760001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:52:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:52:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190325760001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":188206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:52:52] local.INFO: GPS data processed {"connection_id":188206,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:52:52] local.INFO: Acknowledgment sent {"connection_id":188206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:09] local.INFO: TCP Data received {"connection_id":189532,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:09] local.INFO: Processing buffer {"connection_id":189532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:09] local.INFO: IMEI packet received {"connection_id":189532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":189532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:53:09] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:09] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:09] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:53:14] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:14] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:53:14] local.INFO: IMEI packet received {"connection_id":186806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":186806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:53:14] local.INFO: TCP Data received {"connection_id":189532,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:14] local.INFO: Processing buffer {"connection_id":189532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:53:14] local.INFO: IMEI packet received {"connection_id":189532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":189532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:53:15] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:15] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:15] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:15] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53: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-19 13:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:53: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-19 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:53: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-19 13:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:53:15] 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-19 13:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:15] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:15] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:16] local.INFO: TCP Data received {"connection_id":189532,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:16] local.INFO: Processing buffer {"connection_id":189532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8b3f6c8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:16] local.INFO: Packet analysis {"connection_id":189532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:53:16] local.INFO: Extracted packet for processing {"connection_id":189532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8b3"} 
[2026-09-19 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190052864001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789805197000,"timestamp_ms":1789805197000,"timestamp_seconds":1789805197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8b3f6c8"} 
[2026-09-19 13:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 13:53:16] 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-19 13:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190052864001,"66":26810,"40":206,"117":19968,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-19 13:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190052864001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-19 13:53:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-19 13:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190052864001,"power":26810,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":189532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:16] local.INFO: GPS data processed {"connection_id":189532,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:16] local.INFO: Acknowledgment sent {"connection_id":189532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:23] local.INFO: TCP Data received {"connection_id":188206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c03f50012d196880071fec40003901102a..."} 
[2026-09-19 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c03f50012d196880071fec40003901102a..."} 
[2026-09-19 13:53:23] local.INFO: Processing buffer {"connection_id":188206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c03f50012d196880071fec40003901102a..."} 
[2026-09-19 13:53:23] local.INFO: Packet analysis {"connection_id":188206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:23] local.INFO: Extracted packet for processing {"connection_id":188206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:53: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-19 13:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190331136001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806002000,"timestamp_ms":1789806002000,"timestamp_seconds":1789806002,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c03f50"} 
[2026-09-19 13:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:53: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-19 13:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:53:23] 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-19 13:53: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-19 13:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:23] 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-19 13:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190331136001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190331136001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190331136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":188206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:23] local.INFO: GPS data processed {"connection_id":188206,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:23] local.INFO: Acknowledgment sent {"connection_id":188206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:46] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:46] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:46] local.INFO: IMEI packet received {"connection_id":186807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":186807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:53:47] local.INFO: TCP Data received {"connection_id":186806,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:47] local.INFO: Processing buffer {"connection_id":186806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:53:47] local.INFO: Packet analysis {"connection_id":186806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:47] local.INFO: Extracted packet for processing {"connection_id":186806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13: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-19 13:53: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:53: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-19 13: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-19 13: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-19 13:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:53:47] 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-19 13:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:47] local.INFO: GPS data processed {"connection_id":186806,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:47] local.INFO: Acknowledgment sent {"connection_id":186806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:47] local.INFO: TCP Data received {"connection_id":189532,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c2c3d8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c2c3d8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:47] local.INFO: Processing buffer {"connection_id":189532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c2c3d8012c793ac00848b700000d01612d..."} 
[2026-09-19 13:53:47] local.INFO: Packet analysis {"connection_id":189532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:53:47] local.INFO: Extracted packet for processing {"connection_id":189532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:53:47] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190130432001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735505569050722304,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806167000,"timestamp_ms":1789806167000,"timestamp_seconds":1789806167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c2c3d8"} 
[2026-09-19 13: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-19 13:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-19 13:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13: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-19 13: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-19 13:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190130432001,"66":26430,"119":206,"9":53760,"24":0,"16":829607292960768,"44":8735505569050722304},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190130432001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735505569050722304,"description":"Unknown IO ID 44"} 
[2026-09-19 13:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190130432001,"power":26430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735505569050722304}} 
[2026-09-19 13:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":189532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:47] local.INFO: GPS data processed {"connection_id":189532,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:47] local.INFO: Acknowledgment sent {"connection_id":189532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:49] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:49] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:49] local.INFO: IMEI packet received {"connection_id":186807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":186807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:53:51] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:51] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:53:51] local.INFO: IMEI packet received {"connection_id":186807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":186807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:53:51] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c09158012d196880071fec400039011027..."} 
[2026-09-19 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c09158012d196880071fec400039011027..."} 
[2026-09-19 13:53:51] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c09158012d196880071fec400039011027..."} 
[2026-09-19 13:53:51] local.INFO: Packet analysis {"connection_id":186807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:51] local.INFO: Extracted packet for processing {"connection_id":186807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190336512001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789806023000,"timestamp_ms":1789806023000,"timestamp_seconds":1789806023,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c09158"} 
[2026-09-19 13: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-19 13:53: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-19 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:53:51] 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-19 13: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-19 13: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-19 13:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:51] 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-19 13:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190336512001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190336512001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190336512001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":186807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:51] local.INFO: GPS data processed {"connection_id":186807,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:51] local.INFO: Acknowledgment sent {"connection_id":186807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:53:56] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c0e360012d196880071fec400039011027..."} 
[2026-09-19 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c0e360012d196880071fec400039011027..."} 
[2026-09-19 13:53:56] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c0e360012d196880071fec400039011027..."} 
[2026-09-19 13:53:56] local.INFO: Packet analysis {"connection_id":186807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:56] local.INFO: Extracted packet for processing {"connection_id":186807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190341888001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789806044000,"timestamp_ms":1789806044000,"timestamp_seconds":1789806044,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c0e360"} 
[2026-09-19 13:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:53: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-19 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:53:56] 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-19 13:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:53:56] 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-19 13:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190341888001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190341888001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:53:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190341888001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":186807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:53:56] local.INFO: GPS data processed {"connection_id":186807,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:53:56] local.INFO: Acknowledgment sent {"connection_id":186807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:09] local.INFO: TCP Data received {"connection_id":188208,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:09] local.INFO: Processing buffer {"connection_id":188208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:09] local.INFO: IMEI packet received {"connection_id":188208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:54:09] local.INFO: TCP Data received {"connection_id":188207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:09] local.INFO: Processing buffer {"connection_id":188207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:09] local.INFO: IMEI packet received {"connection_id":188207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:54:14] local.INFO: TCP Data received {"connection_id":188207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:14] local.INFO: Processing buffer {"connection_id":188207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:54:14] local.INFO: IMEI packet received {"connection_id":188207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:54:14] local.INFO: TCP Data received {"connection_id":188208,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:14] local.INFO: Processing buffer {"connection_id":188208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:54:14] local.INFO: IMEI packet received {"connection_id":188208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:54:15] local.INFO: TCP Data received {"connection_id":188207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:15] local.INFO: Processing buffer {"connection_id":188207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:15] local.INFO: Packet analysis {"connection_id":188207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:54:15] local.INFO: Extracted packet for processing {"connection_id":188207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54: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-19 13:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13: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-19 13:54: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-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:54: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-19 13: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-19 13: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-19 13:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:54: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-19 13:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:15] local.INFO: GPS data processed {"connection_id":188207,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:15] local.INFO: Acknowledgment sent {"connection_id":188207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:16] local.INFO: TCP Data received {"connection_id":188208,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c35c30012c793ac00848b700000d01612d..."} 
[2026-09-19 13:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c35c30012c793ac00848b700000d01612d..."} 
[2026-09-19 13:54:16] local.INFO: Processing buffer {"connection_id":188208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c35c30012c793ac00848b700000d01612d..."} 
[2026-09-19 13:54:16] local.INFO: Packet analysis {"connection_id":188208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:54:16] local.INFO: Extracted packet for processing {"connection_id":188208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:54:16] local.INFO: GPS Element Parsed {"raw_longitude":746142400,"raw_latitude":138983168,"longitude_deg":74.61424,"latitude_deg":13.8983168,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793ac0","hex_latitude":"0848b700","is_valid_coordinates":true} 
[2026-09-19 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190378752001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735505569050722304,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806206000,"timestamp_ms":1789806206000,"timestamp_seconds":1789806206,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c35c30"} 
[2026-09-19 13:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:54: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-19 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 13:54:16] 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-19 13:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190378752001,"66":26430,"119":206,"9":53760,"24":0,"16":829607292960768,"44":8735505569050722304},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190378752001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:54:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735505569050722304,"description":"Unknown IO ID 44"} 
[2026-09-19 13:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190378752001,"power":26430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735505569050722304}} 
[2026-09-19 13:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":188208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:16] local.INFO: GPS data processed {"connection_id":188208,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:16] local.INFO: Acknowledgment sent {"connection_id":188208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:27] local.INFO: TCP Data received {"connection_id":186807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c13568012d196880071fec400039011028..."} 
[2026-09-19 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c13568012d196880071fec400039011028..."} 
[2026-09-19 13:54:27] local.INFO: Processing buffer {"connection_id":186807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c13568012d196880071fec400039011028..."} 
[2026-09-19 13:54:27] local.INFO: Packet analysis {"connection_id":186807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:54:27] local.INFO: Extracted packet for processing {"connection_id":186807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 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-19 13:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190347264001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789806065000,"timestamp_ms":1789806065000,"timestamp_seconds":1789806065,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c13568"} 
[2026-09-19 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-19 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:54:27] 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-19 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190347264001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190347264001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190347264001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":186807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:27] local.INFO: GPS data processed {"connection_id":186807,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:27] local.INFO: Acknowledgment sent {"connection_id":186807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:46] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:46] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:46] local.INFO: IMEI packet received {"connection_id":186910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":186910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:54:47] local.INFO: TCP Data received {"connection_id":188207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:47] local.INFO: Processing buffer {"connection_id":188207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:54:47] local.INFO: Packet analysis {"connection_id":188207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:54:47] local.INFO: Extracted packet for processing {"connection_id":188207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13: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-19 13:54: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:54: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-19 13: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-19 13: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-19 13:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:54:47] 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-19 13:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:47] local.INFO: GPS data processed {"connection_id":188207,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:47] local.INFO: Acknowledgment sent {"connection_id":188207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:47] local.INFO: TCP Data received {"connection_id":188208,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c3c1c0012c7939000848b730000d01612d..."} 
[2026-09-19 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c3c1c0012c7939000848b730000d01612d..."} 
[2026-09-19 13:54:47] local.INFO: Processing buffer {"connection_id":188208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c3c1c0012c7939000848b730000d01612d..."} 
[2026-09-19 13:54:47] local.INFO: Packet analysis {"connection_id":188208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:54:47] local.INFO: Extracted packet for processing {"connection_id":188208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190388736001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735505569050722304,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806232000,"timestamp_ms":1789806232000,"timestamp_seconds":1789806232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c3c1c0"} 
[2026-09-19 13: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-19 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":62,"data_length":795,"current_offset":136} 
[2026-09-19 13:54:47] 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-19 13: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-19 13: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-19 13:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190388736001,"66":28234,"119":206,"9":53760,"24":0,"16":829607292960768,"44":8735505569050722304},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190388736001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735505569050722304,"description":"Unknown IO ID 44"} 
[2026-09-19 13:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190388736001,"power":28234,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735505569050722304}} 
[2026-09-19 13:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":188208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:48] local.INFO: GPS data processed {"connection_id":188208,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:48] local.INFO: Acknowledgment sent {"connection_id":188208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:54:51] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:51] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:54:51] local.INFO: IMEI packet received {"connection_id":186910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":186910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:54:52] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c18770012d196880071fec40003901102a..."} 
[2026-09-19 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c18770012d196880071fec40003901102a..."} 
[2026-09-19 13:54:52] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c18770012d196880071fec40003901102a..."} 
[2026-09-19 13:54:52] local.INFO: Packet analysis {"connection_id":186910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:54:52] local.INFO: Extracted packet for processing {"connection_id":186910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190352640001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806086000,"timestamp_ms":1789806086000,"timestamp_seconds":1789806086,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c18770"} 
[2026-09-19 13:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:54: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-19 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:54:52] 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-19 13:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:54:52] 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-19 13:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190352640001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190352640001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190352640001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":186910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:54:52] local.INFO: GPS data processed {"connection_id":186910,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:54:52] local.INFO: Acknowledgment sent {"connection_id":186910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:09] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:09] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:09] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:55:09] local.INFO: TCP Data received {"connection_id":186808,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:09] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:09] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:55:12] local.INFO: TCP Data received {"connection_id":186808,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:12] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:55:12] local.INFO: IMEI packet received {"connection_id":186808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":186808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:55:14] local.INFO: TCP Data received {"connection_id":186808,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c413c8012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c413c8012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:14] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c413c8012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:14] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:55:14] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:55:14] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190395392001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789806253000,"timestamp_ms":1789806253000,"timestamp_seconds":1789806253,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c413c8"} 
[2026-09-19 13:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55: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-19 13:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 13:55:14] 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-19 13:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190395392001,"66":28376,"119":206,"9":53760,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190395392001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:55:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190395392001,"power":28376,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:14] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:14] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:14] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:14] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:55:14] local.INFO: IMEI packet received {"connection_id":186809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:55:15] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:15] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:15] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:55:15] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55: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-19 13:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55: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-19 13:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:55: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-19 13:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:55: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-19 13:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:15] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:15] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:23] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c1d978012d196880071fec400039011029..."} 
[2026-09-19 13:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c1d978012d196880071fec400039011029..."} 
[2026-09-19 13:55:23] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c1d978012d196880071fec400039011029..."} 
[2026-09-19 13:55:23] local.INFO: Packet analysis {"connection_id":186910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:55:23] local.INFO: Extracted packet for processing {"connection_id":186910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c1"} 
[2026-09-19 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:55: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-19 13:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190358016001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806107000,"timestamp_ms":1789806107000,"timestamp_seconds":1789806107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c1d978"} 
[2026-09-19 13:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:55:23] 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-19 13:55: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-19 13:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:23] 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-19 13:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190358016001,"66":12015,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190358016001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190358016001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":186910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:23] local.INFO: GPS data processed {"connection_id":186910,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:23] local.INFO: Acknowledgment sent {"connection_id":186910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:45] local.INFO: TCP Data received {"connection_id":186808,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c465d0012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c465d0012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:45] local.INFO: Processing buffer {"connection_id":186808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c465d0012c7939000848b730000d01612d..."} 
[2026-09-19 13:55:45] local.INFO: Packet analysis {"connection_id":186808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:55:45] local.INFO: Extracted packet for processing {"connection_id":186808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:55:45] local.INFO: GPS Element Parsed {"raw_longitude":746141952,"raw_latitude":138983216,"longitude_deg":74.6141952,"latitude_deg":13.8983216,"altitude":13,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2c793900","hex_latitude":"0848b730","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190400768001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829607292960768,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789806274000,"timestamp_ms":1789806274000,"timestamp_seconds":1789806274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c465d0"} 
[2026-09-19 13: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-19 13:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 13:55:45] 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-19 13: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-19 13: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-19 13:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190400768001,"66":28485,"119":206,"9":53760,"24":0,"16":829607292960768,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190400768001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:45] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:55:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829607292960768,"km_value":829607292960.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190400768001,"power":28485,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":186808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:45] local.INFO: GPS data processed {"connection_id":186808,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:45] local.INFO: Acknowledgment sent {"connection_id":186808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:47] local.INFO: TCP Data received {"connection_id":186809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:47] local.INFO: Processing buffer {"connection_id":186809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c079e8012d34c14006aa41400008010e2c..."} 
[2026-09-19 13:55:47] local.INFO: Packet analysis {"connection_id":186809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:55:47] local.INFO: Extracted packet for processing {"connection_id":186809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c0"} 
[2026-09-19 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190263296001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55: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-19 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806017000,"timestamp_ms":1789806017000,"timestamp_seconds":1789806017,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c079e8"} 
[2026-09-19 13:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55: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-19 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:55: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-19 13:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:55:47] 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-19 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190263296001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190263296001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190263296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":186809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:47] local.INFO: GPS data processed {"connection_id":186809,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:47] local.INFO: Acknowledgment sent {"connection_id":186809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:51] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:51] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:51] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:55:55] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:55] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:55:55] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:55:56] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c22b80012d196880071fec400039011029..."} 
[2026-09-19 13:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c22b80012d196880071fec400039011029..."} 
[2026-09-19 13:55:56] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c22b80012d196880071fec400039011029..."} 
[2026-09-19 13:55:56] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:55:56] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:55: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-19 13:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190363392001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789806128000,"timestamp_ms":1789806128000,"timestamp_seconds":1789806128,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c22b80"} 
[2026-09-19 13:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55: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-19 13:55: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-19 13:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:55: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-19 13:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:56] 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-19 13:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190363392001,"66":12341,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190363392001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190363392001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:56] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:56] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:55:57] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c27d88012d196880071fec400039011028..."} 
[2026-09-19 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c27d88012d196880071fec400039011028..."} 
[2026-09-19 13:55:57] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c27d88012d196880071fec400039011028..."} 
[2026-09-19 13:55:57] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:55:57] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190368768001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789806149000,"timestamp_ms":1789806149000,"timestamp_seconds":1789806149,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c27d88"} 
[2026-09-19 13:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 13:55:57] 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-19 13:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:55:57] 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-19 13:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190368768001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190368768001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190368768001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:55:57] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:55:57] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:09] local.INFO: TCP Data received {"connection_id":188210,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:09] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:09] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:56:14] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:14] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:14] local.INFO: IMEI packet received {"connection_id":188211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:56:14] local.INFO: TCP Data received {"connection_id":188210,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:14] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:56:14] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:56:16] local.INFO: TCP Data received {"connection_id":188210,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4b7d8012c7938400848d130000b01622f..."} 
[2026-09-19 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4b7d8012c7938400848d130000b01622f..."} 
[2026-09-19 13:56:16] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4b7d8012c7938400848d130000b01622f..."} 
[2026-09-19 13:56:16] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:56:16] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138989872,"longitude_deg":74.614176,"latitude_deg":13.8989872,"altitude":11,"angle":354,"satellites":47,"speed":23,"hex_longitude":"2c793840","hex_latitude":"0848d130","is_valid_coordinates":true} 
[2026-09-19 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190406144001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":829933710475264,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735012987841490944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806295000,"timestamp_ms":1789806295000,"timestamp_seconds":1789806295,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4b7d8"} 
[2026-09-19 13:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:56: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-19 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190406144001,"66":28495,"119":206,"9":53760,"24":23,"16":829933710475264,"44":8735012987841490944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190406144001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":829933710475264,"km_value":829933710475.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735012987841490944,"description":"Unknown IO ID 44"} 
[2026-09-19 13:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190406144001,"power":28495,"unknown_119":206,"unknown_9":53760,"ignition":23,"odometer":null,"unknown_44":8735012987841490944}} 
[2026-09-19 13:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:16] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:16] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:19] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:19] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:56:19] local.INFO: IMEI packet received {"connection_id":188211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":188211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:56:20] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:20] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:20] local.INFO: Packet analysis {"connection_id":188211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:56:20] local.INFO: Extracted packet for processing {"connection_id":188211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:56:20] 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-19 13:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:20] local.INFO: GPS data processed {"connection_id":188211,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:20] local.INFO: Acknowledgment sent {"connection_id":188211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:25] local.INFO: TCP Data received {"connection_id":188211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:25] local.INFO: Processing buffer {"connection_id":188211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:56:25] local.INFO: Packet analysis {"connection_id":188211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:56:25] local.INFO: Extracted packet for processing {"connection_id":188211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:56: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-19 13:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 13:56: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-19 13:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:56:25] 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-19 13:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":188211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:25] local.INFO: GPS data processed {"connection_id":188211,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:25] local.INFO: Acknowledgment sent {"connection_id":188211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:27] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c2cf90012d196880071fec400039011028..."} 
[2026-09-19 13:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c2cf90012d196880071fec400039011028..."} 
[2026-09-19 13:56:27] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c2cf90012d196880071fec400039011028..."} 
[2026-09-19 13:56:27] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:56:27] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c2"} 
[2026-09-19 13:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190374144001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789806170000,"timestamp_ms":1789806170000,"timestamp_seconds":1789806170,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c2cf90"} 
[2026-09-19 13:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:56:27] 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-19 13:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190374144001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190374144001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190374144001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:27] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:27] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:46] local.INFO: TCP Data received {"connection_id":189533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:46] local.INFO: Processing buffer {"connection_id":189533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:46] local.INFO: IMEI packet received {"connection_id":189533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":189533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:56:47] local.INFO: TCP Data received {"connection_id":188210,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:56:47] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:56:47] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:56:47] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:56: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-19 13:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13: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-19 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:47] 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-19 13: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-19 13: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-19 13:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:56:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:47] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:47] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:56:51] local.INFO: TCP Data received {"connection_id":189533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:51] local.INFO: Processing buffer {"connection_id":189533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:56:51] local.INFO: IMEI packet received {"connection_id":189533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":189533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:56:52] local.INFO: TCP Data received {"connection_id":189533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c32198012d196880071fec40003901102a..."} 
[2026-09-19 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c32198012d196880071fec40003901102a..."} 
[2026-09-19 13:56:52] local.INFO: Processing buffer {"connection_id":189533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c32198012d196880071fec40003901102a..."} 
[2026-09-19 13:56:52] local.INFO: Packet analysis {"connection_id":189533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:56:52] local.INFO: Extracted packet for processing {"connection_id":189533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190379520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806191000,"timestamp_ms":1789806191000,"timestamp_seconds":1789806191,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c32198"} 
[2026-09-19 13:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:56:52] 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-19 13:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:56:52] 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-19 13:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190379520001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190379520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:56:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190379520001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":189533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:56:52] local.INFO: GPS data processed {"connection_id":189533,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:56:52] local.INFO: Acknowledgment sent {"connection_id":189533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:09] local.INFO: TCP Data received {"connection_id":189535,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:09] local.INFO: Processing buffer {"connection_id":189535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:09] local.INFO: IMEI packet received {"connection_id":189535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":189535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:57:09] local.INFO: TCP Data received {"connection_id":189534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:09] local.INFO: Processing buffer {"connection_id":189534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:09] local.INFO: IMEI packet received {"connection_id":189534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":189534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:57:14] local.INFO: TCP Data received {"connection_id":189535,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:14] local.INFO: Processing buffer {"connection_id":189535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:57:14] local.INFO: IMEI packet received {"connection_id":189535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:57:14] local.INFO: TCP Data received {"connection_id":189534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:14] local.INFO: Processing buffer {"connection_id":189534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:57:14] local.INFO: IMEI packet received {"connection_id":189534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:57:15] local.INFO: TCP Data received {"connection_id":189535,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:15] local.INFO: Processing buffer {"connection_id":189535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:15] local.INFO: Packet analysis {"connection_id":189535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:57:15] local.INFO: Extracted packet for processing {"connection_id":189535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:57: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-19 13:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13: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-19 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:57:15] 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-19 13: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-19 13: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-19 13:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":189535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:15] local.INFO: GPS data processed {"connection_id":189535,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:15] local.INFO: Acknowledgment sent {"connection_id":189535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:15] local.INFO: TCP Data received {"connection_id":189534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:15] local.INFO: Processing buffer {"connection_id":189534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:15] local.INFO: Packet analysis {"connection_id":189534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:57:15] local.INFO: Extracted packet for processing {"connection_id":189534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13: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-19 13:57: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-19 13: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-19 13: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-19 13: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-19 13: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-19 13:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:57:15] 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-19 13:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":189534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:15] local.INFO: GPS data processed {"connection_id":189534,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:15] local.INFO: Acknowledgment sent {"connection_id":189534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:23] local.INFO: TCP Data received {"connection_id":189533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c373a0012d196880071fec400039011029..."} 
[2026-09-19 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c373a0012d196880071fec400039011029..."} 
[2026-09-19 13:57:23] local.INFO: Processing buffer {"connection_id":189533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c373a0012d196880071fec400039011029..."} 
[2026-09-19 13:57:23] local.INFO: Packet analysis {"connection_id":189533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:57:23] local.INFO: Extracted packet for processing {"connection_id":189533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190384896001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806212000,"timestamp_ms":1789806212000,"timestamp_seconds":1789806212,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c373a0"} 
[2026-09-19 13:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 13:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:57:23] 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-19 13:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190384896001,"66":12385,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190384896001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190384896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:23] local.INFO: GPS data processed {"connection_id":189533,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:23] local.INFO: Acknowledgment sent {"connection_id":189533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:46] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:46] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:46] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:57:46] local.INFO: TCP Data received {"connection_id":189534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:46] local.INFO: Processing buffer {"connection_id":189534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:57:46] local.INFO: Packet analysis {"connection_id":189534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:57:46] local.INFO: Extracted packet for processing {"connection_id":189534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13: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-19 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:57: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-19 13:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:57: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-19 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":189534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:46] local.INFO: GPS data processed {"connection_id":189534,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:46] local.INFO: Acknowledgment sent {"connection_id":189534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:47] local.INFO: TCP Data received {"connection_id":189535,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:47] local.INFO: Processing buffer {"connection_id":189535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:57:47] local.INFO: Packet analysis {"connection_id":189535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:57:47] local.INFO: Extracted packet for processing {"connection_id":189535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:57:47] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:57: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-19 13:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:57:47] 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-19 13:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:57:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":189535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:47] local.INFO: GPS data processed {"connection_id":189535,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:47] local.INFO: Acknowledgment sent {"connection_id":189535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:57:51] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:51] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:57:51] local.INFO: IMEI packet received {"connection_id":186810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":186810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:57:52] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c3c5a8012d196880071fec400039011027..."} 
[2026-09-19 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c3c5a8012d196880071fec400039011027..."} 
[2026-09-19 13:57:52] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c3c5a8012d196880071fec400039011027..."} 
[2026-09-19 13:57:52] local.INFO: Packet analysis {"connection_id":186810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:57:52] local.INFO: Extracted packet for processing {"connection_id":186810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c3"} 
[2026-09-19 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190390272001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806233000,"timestamp_ms":1789806233000,"timestamp_seconds":1789806233,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c3c5a8"} 
[2026-09-19 13:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 13:57:52] 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-19 13:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:57:52] 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-19 13:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190390272001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190390272001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:57:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190390272001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":186810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:57:52] local.INFO: GPS data processed {"connection_id":186810,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:57:52] local.INFO: Acknowledgment sent {"connection_id":186810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:09] local.INFO: TCP Data received {"connection_id":189536,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:09] local.INFO: Processing buffer {"connection_id":189536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:09] local.INFO: IMEI packet received {"connection_id":189536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":189536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:58:09] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:09] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:09] local.INFO: IMEI packet received {"connection_id":186811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:58:14] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:14] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:58:14] local.INFO: IMEI packet received {"connection_id":186811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:58:14] local.INFO: TCP Data received {"connection_id":189536,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:14] local.INFO: Processing buffer {"connection_id":189536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:58:14] local.INFO: IMEI packet received {"connection_id":189536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":189536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:58:15] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:15] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:15] local.INFO: Packet analysis {"connection_id":186811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:58:15] local.INFO: Extracted packet for processing {"connection_id":186811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13: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-19 13: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-19 13: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-19 13: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-19 13: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-19 13: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-19 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:58: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-19 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":186811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:15] local.INFO: GPS data processed {"connection_id":186811,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:15] local.INFO: Acknowledgment sent {"connection_id":186811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:16] local.INFO: TCP Data received {"connection_id":189536,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:16] local.INFO: Processing buffer {"connection_id":189536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:16] local.INFO: Packet analysis {"connection_id":189536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:16] local.INFO: Extracted packet for processing {"connection_id":189536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:16] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:58: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-19 13:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:58:16] 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-19 13:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:58:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":189536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:16] local.INFO: GPS data processed {"connection_id":189536,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:16] local.INFO: Acknowledgment sent {"connection_id":189536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:23] local.INFO: TCP Data received {"connection_id":186810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c417b0012d196880071fec400039011028..."} 
[2026-09-19 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c417b0012d196880071fec400039011028..."} 
[2026-09-19 13:58:23] local.INFO: Processing buffer {"connection_id":186810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c417b0012d196880071fec400039011028..."} 
[2026-09-19 13:58:23] local.INFO: Packet analysis {"connection_id":186810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:23] local.INFO: Extracted packet for processing {"connection_id":186810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:58: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-19 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190395648001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806254000,"timestamp_ms":1789806254000,"timestamp_seconds":1789806254,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c417b0"} 
[2026-09-19 13:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:58:23] 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-19 13:58: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-19 13:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:58:23] 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-19 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190395648001,"66":12428,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190395648001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190395648001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":186810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:23] local.INFO: GPS data processed {"connection_id":186810,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:23] local.INFO: Acknowledgment sent {"connection_id":186810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:46] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:46] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:46] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:58:47] local.INFO: TCP Data received {"connection_id":186811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:47] local.INFO: Processing buffer {"connection_id":186811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:58:47] local.INFO: Packet analysis {"connection_id":186811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:58:47] local.INFO: Extracted packet for processing {"connection_id":186811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58: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-19 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13: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-19 13:58: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-19 13: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:58: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-19 13: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-19 13: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-19 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:58:47] 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-19 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":186811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:47] local.INFO: GPS data processed {"connection_id":186811,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:47] local.INFO: Acknowledgment sent {"connection_id":186811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:47] local.INFO: TCP Data received {"connection_id":189536,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:47] local.INFO: Processing buffer {"connection_id":189536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:58:47] local.INFO: Packet analysis {"connection_id":189536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:47] local.INFO: Extracted packet for processing {"connection_id":189536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:58: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-19 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13: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-19 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:58:47] 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-19 13: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-19 13: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-19 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":189536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:47] local.INFO: GPS data processed {"connection_id":189536,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:47] local.INFO: Acknowledgment sent {"connection_id":189536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:58:51] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:51] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:58:51] local.INFO: IMEI packet received {"connection_id":186812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":186812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:58:52] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c469b8012d196880071fec400039011027..."} 
[2026-09-19 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c469b8012d196880071fec400039011027..."} 
[2026-09-19 13:58:52] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c469b8012d196880071fec400039011027..."} 
[2026-09-19 13:58:52] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:52] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190401024001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806275000,"timestamp_ms":1789806275000,"timestamp_seconds":1789806275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c469b8"} 
[2026-09-19 13:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 13:58:52] 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-19 13:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:58:52] 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-19 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190401024001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190401024001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:58:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190401024001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:58:52] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:58:52] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:09] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:09] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:09] local.INFO: IMEI packet received {"connection_id":186813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:59:14] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:14] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 13:59:14] local.INFO: IMEI packet received {"connection_id":186813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:59:14] local.INFO: TCP Data received {"connection_id":186911,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:14] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:14] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:59:16] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:16] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:16] local.INFO: Packet analysis {"connection_id":186813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:16] local.INFO: Extracted packet for processing {"connection_id":186813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 13: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-19 13:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59: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-19 13:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 13: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-19 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:59: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-19 13: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-19 13: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-19 13:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:59:16] 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-19 13:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:16] local.INFO: GPS data processed {"connection_id":186813,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:16] local.INFO: Acknowledgment sent {"connection_id":186813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:19] local.INFO: TCP Data received {"connection_id":186911,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:19] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 13:59:19] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 13:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:59:20] local.INFO: TCP Data received {"connection_id":186911,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:20] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:20] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:20] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:59:20] 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-19 13:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:21] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:21] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:23] local.INFO: TCP Data received {"connection_id":186812,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4bbc0012d196880071fec400039011028..."} 
[2026-09-19 13:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4bbc0012d196880071fec400039011028..."} 
[2026-09-19 13:59:23] local.INFO: Processing buffer {"connection_id":186812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4bbc0012d196880071fec400039011028..."} 
[2026-09-19 13:59:23] local.INFO: Packet analysis {"connection_id":186812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:23] local.INFO: Extracted packet for processing {"connection_id":186812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190406400001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806296000,"timestamp_ms":1789806296000,"timestamp_seconds":1789806296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4bbc0"} 
[2026-09-19 13:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 13:59:23] 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-19 13:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:59:23] 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-19 13:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190406400001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190406400001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190406400001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":186812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:23] local.INFO: GPS data processed {"connection_id":186812,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:23] local.INFO: Acknowledgment sent {"connection_id":186812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:25] local.INFO: TCP Data received {"connection_id":186911,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:25] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c4cb60012c7937000848dd40000c01622e..."} 
[2026-09-19 13:59:25] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:25] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c4"} 
[2026-09-19 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":138992960,"longitude_deg":74.614144,"latitude_deg":13.899296,"altitude":12,"angle":354,"satellites":46,"speed":24,"hex_longitude":"2c793700","hex_latitude":"0848dd40","is_valid_coordinates":true} 
[2026-09-19 13:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-19 13:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411520001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881610661888,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806300000,"timestamp_ms":1789806300000,"timestamp_seconds":1789806300,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c4cb60"} 
[2026-09-19 13:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:59: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 13:59:25] 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-19 13:59: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-19 13:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 13:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 13:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 13:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 13:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411520001,"66":28539,"119":206,"9":53760,"24":24,"16":830084034330624,"44":8734801881610661888},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 13:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 13:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 13:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411520001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 13:59:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 13:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881610661888,"description":"Unknown IO ID 44"} 
[2026-09-19 13:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411520001,"power":28539,"unknown_119":206,"unknown_9":53760,"ignition":24,"odometer":null,"unknown_44":8734801881610661888}} 
[2026-09-19 13:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:25] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:25] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:46] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 13:59:46] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:46] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:59:47] local.INFO: TCP Data received {"connection_id":186813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:47] local.INFO: Processing buffer {"connection_id":186813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 13:59:47] local.INFO: Packet analysis {"connection_id":186813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:47] local.INFO: Extracted packet for processing {"connection_id":186813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 13: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-19 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 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-19 13:59: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-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 13:59: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-19 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-19 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-19 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 13:59: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-19 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 13:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:47] local.INFO: GPS data processed {"connection_id":186813,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:47] local.INFO: Acknowledgment sent {"connection_id":186813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 13:59:51] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:51] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 13:59:51] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 13:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 13:59:52] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c50dc8012d196880071fec400039011027..."} 
[2026-09-19 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c50dc8012d196880071fec400039011027..."} 
[2026-09-19 13:59:52] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c50dc8012d196880071fec400039011027..."} 
[2026-09-19 13:59:52] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:52] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 13:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 13:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 13:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190411776001,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 13:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 13:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806317000,"timestamp_ms":1789806317000,"timestamp_seconds":1789806317,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c50dc8"} 
[2026-09-19 13:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 13:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 13:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 13:59:52] 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-19 13:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 13:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 13:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 13:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 13:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 13:59:52] 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-19 13:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 13:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 13:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190411776001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 13:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 13:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 13:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190411776001,"description":"Unknown IO ID 0"} 
[2026-09-19 13:59:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 13:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 13:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 13:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 13:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190411776001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 13:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 13:59:52] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-19 13:59:52] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:00:09] local.INFO: TCP Data received {"connection_id":189537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:09] local.INFO: Processing buffer {"connection_id":189537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:09] local.INFO: IMEI packet received {"connection_id":189537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":189537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:00:14] local.INFO: TCP Data received {"connection_id":189537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:14] local.INFO: Processing buffer {"connection_id":189537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:00:14] local.INFO: IMEI packet received {"connection_id":189537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":189537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:00:15] local.INFO: TCP Data received {"connection_id":189537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:15] local.INFO: Processing buffer {"connection_id":189537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:15] local.INFO: Packet analysis {"connection_id":189537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:15] local.INFO: Extracted packet for processing {"connection_id":189537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00: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-19 14:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 14:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:00: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-19 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:00: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-19 14:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:00: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-19 14:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":189537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:00:15] local.INFO: GPS data processed {"connection_id":189537,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:00:15] local.INFO: Acknowledgment sent {"connection_id":189537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:00:23] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c55fd0012d196880071fec400039011029..."} 
[2026-09-19 14:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c55fd0012d196880071fec400039011029..."} 
[2026-09-19 14:00:23] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c55fd0012d196880071fec400039011029..."} 
[2026-09-19 14:00:23] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:23] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417152001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806338000,"timestamp_ms":1789806338000,"timestamp_seconds":1789806338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c55fd0"} 
[2026-09-19 14:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:00:23] 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-19 14:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:00:23] 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-19 14:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417152001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417152001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417152001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:00:23] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:00:23] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:00:46] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:46] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:46] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:00:47] local.INFO: TCP Data received {"connection_id":189537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:47] local.INFO: Processing buffer {"connection_id":189537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c511b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:00:47] local.INFO: Packet analysis {"connection_id":189537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:47] local.INFO: Extracted packet for processing {"connection_id":189537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c5"} 
[2026-09-19 14:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190340352001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00: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-19 14:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806318000,"timestamp_ms":1789806318000,"timestamp_seconds":1789806318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c511b0"} 
[2026-09-19 14:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:00: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-19 14:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:00: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-19 14:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:00: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-19 14:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190340352001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190340352001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190340352001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":189537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:00:47] local.INFO: GPS data processed {"connection_id":189537,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:00:47] local.INFO: Acknowledgment sent {"connection_id":189537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:00:49] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:49] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:49] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:00:51] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:51] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:00:51] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:00:52] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c8e628012d196880071fec400039011027..."} 
[2026-09-19 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c8e628012d196880071fec400039011027..."} 
[2026-09-19 14:00:52] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c8e628012d196880071fec400039011027..."} 
[2026-09-19 14:00:52] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c8"} 
[2026-09-19 14:00:52] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c8"} 
[2026-09-19 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190476288001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806569000,"timestamp_ms":1789806569000,"timestamp_seconds":1789806569,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c8e628"} 
[2026-09-19 14:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 14:00:52] 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-19 14:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:00:52] 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-19 14:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190476288001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190476288001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:00:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190476288001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:00:52] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:00:52] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:14] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:14] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:14] local.INFO: IMEI packet received {"connection_id":186914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":186914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:01:15] local.INFO: TCP Data received {"connection_id":186915,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:15] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:15] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:01:19] local.INFO: TCP Data received {"connection_id":186915,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:19] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:01:19] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:01:19] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:19] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:01:19] local.INFO: IMEI packet received {"connection_id":186914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":186914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:01:20] local.INFO: TCP Data received {"connection_id":186915,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:20] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:20] local.INFO: Packet analysis {"connection_id":186915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:20] local.INFO: Extracted packet for processing {"connection_id":186915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:20] 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-19 14:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":186915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:20] local.INFO: GPS data processed {"connection_id":186915,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:20] local.INFO: Acknowledgment sent {"connection_id":186915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:20] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:20] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:20] local.INFO: Packet analysis {"connection_id":186914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:20] local.INFO: Extracted packet for processing {"connection_id":186914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:20] 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-19 14:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:01:20] 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-19 14:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":186914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:20] local.INFO: GPS data processed {"connection_id":186914,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:20] local.INFO: Acknowledgment sent {"connection_id":186914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:23] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c93830012d196880071fec400039011027..."} 
[2026-09-19 14:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c93830012d196880071fec400039011027..."} 
[2026-09-19 14:01:23] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c93830012d196880071fec400039011027..."} 
[2026-09-19 14:01:23] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:23] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190481664001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806590000,"timestamp_ms":1789806590000,"timestamp_seconds":1789806590,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c93830"} 
[2026-09-19 14:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:23] 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-19 14:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:23] 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-19 14:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190481664001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190481664001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190481664001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:23] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:23] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:25] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:25] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:01:25] local.INFO: Packet analysis {"connection_id":186914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:25] local.INFO: Extracted packet for processing {"connection_id":186914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:01: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-19 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:25] 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-19 14:01: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-19 14:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:01:25] 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-19 14:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":186914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:25] local.INFO: GPS data processed {"connection_id":186914,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:25] local.INFO: Acknowledgment sent {"connection_id":186914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:51] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:51] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:51] local.INFO: IMEI packet received {"connection_id":186916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":186916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:01:52] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:52] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:01:52] local.INFO: IMEI packet received {"connection_id":186916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":186916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:01:52] local.INFO: TCP Data received {"connection_id":186915,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:52] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:01:52] local.INFO: Packet analysis {"connection_id":186915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:52] local.INFO: Extracted packet for processing {"connection_id":186915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:52] 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-19 14:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":186915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:52] local.INFO: GPS data processed {"connection_id":186915,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:52] local.INFO: Acknowledgment sent {"connection_id":186915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:52] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c98a38012d196880071fec400039011025..."} 
[2026-09-19 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c98a38012d196880071fec400039011025..."} 
[2026-09-19 14:01:52] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c98a38012d196880071fec400039011025..."} 
[2026-09-19 14:01:52] local.INFO: Packet analysis {"connection_id":186916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:52] local.INFO: Extracted packet for processing {"connection_id":186916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190487040001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806611000,"timestamp_ms":1789806611000,"timestamp_seconds":1789806611,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c98a38"} 
[2026-09-19 14:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:52] 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-19 14:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:52] 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-19 14:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190487040001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190487040001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190487040001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":186916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:52] local.INFO: GPS data processed {"connection_id":186916,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:52] local.INFO: Acknowledgment sent {"connection_id":186916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:01:56] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9dc40012d196880071fec400039011028..."} 
[2026-09-19 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9dc40012d196880071fec400039011028..."} 
[2026-09-19 14:01:56] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9dc40012d196880071fec400039011028..."} 
[2026-09-19 14:01:56] local.INFO: Packet analysis {"connection_id":186916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:56] local.INFO: Extracted packet for processing {"connection_id":186916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:01: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-19 14:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190492416001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789806632000,"timestamp_ms":1789806632000,"timestamp_seconds":1789806632,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9dc40"} 
[2026-09-19 14:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14:01: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:01:56] 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-19 14:01: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-19 14:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:01:56] 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-19 14:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190492416001,"66":12037,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190492416001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:01:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190492416001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":186916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:01:56] local.INFO: GPS data processed {"connection_id":186916,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:01:56] local.INFO: Acknowledgment sent {"connection_id":186916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:09] local.INFO: TCP Data received {"connection_id":189539,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:09] local.INFO: Processing buffer {"connection_id":189539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:09] local.INFO: IMEI packet received {"connection_id":189539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":189539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:02:09] local.INFO: TCP Data received {"connection_id":189538,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:09] local.INFO: Processing buffer {"connection_id":189538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:09] local.INFO: IMEI packet received {"connection_id":189538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":189538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:02:14] local.INFO: TCP Data received {"connection_id":189538,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:14] local.INFO: Processing buffer {"connection_id":189538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:02:14] local.INFO: IMEI packet received {"connection_id":189538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":189538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:02:14] local.INFO: TCP Data received {"connection_id":189539,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:14] local.INFO: Processing buffer {"connection_id":189539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:02:14] local.INFO: IMEI packet received {"connection_id":189539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":189539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:02:15] local.INFO: TCP Data received {"connection_id":189538,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:15] local.INFO: Processing buffer {"connection_id":189538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:15] local.INFO: Packet analysis {"connection_id":189538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:15] local.INFO: Extracted packet for processing {"connection_id":189538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02: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-19 14:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14: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-19 14:02: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-19 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:02: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-19 14: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-19 14: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-19 14:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:02: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-19 14:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":189538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:15] local.INFO: GPS data processed {"connection_id":189538,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:15] local.INFO: Acknowledgment sent {"connection_id":189538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:15] local.INFO: TCP Data received {"connection_id":189539,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:15] local.INFO: Processing buffer {"connection_id":189539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:15] local.INFO: Packet analysis {"connection_id":189539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:15] local.INFO: Extracted packet for processing {"connection_id":189539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14: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-19 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:02:15] 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-19 14: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-19 14: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-19 14:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":189539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:16] local.INFO: GPS data processed {"connection_id":189539,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:16] local.INFO: Acknowledgment sent {"connection_id":189539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:27] local.INFO: TCP Data received {"connection_id":186916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ca2e48012d196880071fec400039011028..."} 
[2026-09-19 14:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ca2e48012d196880071fec400039011028..."} 
[2026-09-19 14:02:27] local.INFO: Processing buffer {"connection_id":186916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ca2e48012d196880071fec400039011028..."} 
[2026-09-19 14:02:27] local.INFO: Packet analysis {"connection_id":186916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:27] local.INFO: Extracted packet for processing {"connection_id":186916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190497792001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789806653000,"timestamp_ms":1789806653000,"timestamp_seconds":1789806653,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ca2e48"} 
[2026-09-19 14:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:02: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-19 14:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3100110864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3365150721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3963617337,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4284612608,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300283879380029481,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194925312,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,255,160,138,45,128,236,57,37,10,66,56,39,230,1,240,173,227,184,31,4,113,205,104,64,41,239,48,2,76,7,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-19 14:02:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107582099123339264,"timestamp_seconds":4107582099123339.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:27] 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-19 14:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190497792001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190497792001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190497792001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":186916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:27] local.INFO: GPS data processed {"connection_id":186916,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:27] local.INFO: Acknowledgment sent {"connection_id":186916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:46] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:46] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:46] local.INFO: IMEI packet received {"connection_id":188213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":188213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:02:46] local.INFO: TCP Data received {"connection_id":189538,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:46] local.INFO: Processing buffer {"connection_id":189538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:02:46] local.INFO: Packet analysis {"connection_id":189538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:46] local.INFO: Extracted packet for processing {"connection_id":189538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02: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-19 14:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14: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-19 14:02: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-19 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:02: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-19 14: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-19 14: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-19 14:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:02: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-19 14:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":189538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:46] local.INFO: GPS data processed {"connection_id":189538,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:46] local.INFO: Acknowledgment sent {"connection_id":189538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:47] local.INFO: TCP Data received {"connection_id":189539,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:47] local.INFO: Processing buffer {"connection_id":189539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:02:47] local.INFO: Packet analysis {"connection_id":189539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:47] local.INFO: Extracted packet for processing {"connection_id":189539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:02:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 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-19 14:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:02:47] 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-19 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-19 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-19 14:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:02:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":189539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:47] local.INFO: GPS data processed {"connection_id":189539,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:47] local.INFO: Acknowledgment sent {"connection_id":189539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:51] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:51] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:02:51] local.INFO: IMEI packet received {"connection_id":188213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":188213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:02:52] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ca8050012d196880071fec400039011027..."} 
[2026-09-19 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ca8050012d196880071fec400039011027..."} 
[2026-09-19 14:02:52] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ca8050012d196880071fec400039011027..."} 
[2026-09-19 14:02:52] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:52] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190503168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806674000,"timestamp_ms":1789806674000,"timestamp_seconds":1789806674,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ca8050"} 
[2026-09-19 14:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:02: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-19 14:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:02:52] 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-19 14:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:52] 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-19 14:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190503168001,"66":12439,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190503168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190503168001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:52] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:52] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:02:55] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cad258012d196880071fec400039011029..."} 
[2026-09-19 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cad258012d196880071fec400039011029..."} 
[2026-09-19 14:02:55] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cad258012d196880071fec400039011029..."} 
[2026-09-19 14:02:55] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:55] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ca"} 
[2026-09-19 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:02: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-19 14:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190508544001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789806695000,"timestamp_ms":1789806695000,"timestamp_seconds":1789806695,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cad258"} 
[2026-09-19 14:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 14:02:55] 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-19 14:02: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-19 14:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:02:55] 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-19 14:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190508544001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190508544001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:02:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190508544001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:02:56] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:02:56] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:09] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:09] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:09] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:03:09] local.INFO: TCP Data received {"connection_id":186918,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:09] local.INFO: Processing buffer {"connection_id":186918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:09] local.INFO: IMEI packet received {"connection_id":186918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":186918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:03:14] local.INFO: TCP Data received {"connection_id":186918,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:14] local.INFO: Processing buffer {"connection_id":186918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:03:14] local.INFO: IMEI packet received {"connection_id":186918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":186918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:03:15] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:15] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:03:15] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:03:16] local.INFO: TCP Data received {"connection_id":186918,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:16] local.INFO: Processing buffer {"connection_id":186918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:16] local.INFO: Packet analysis {"connection_id":186918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:16] local.INFO: Extracted packet for processing {"connection_id":186918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:03: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-19 14:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":186918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:16] local.INFO: GPS data processed {"connection_id":186918,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:16] local.INFO: Acknowledgment sent {"connection_id":186918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:16] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:16] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:16] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:16] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03: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-19 14:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:03:16] 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-19 14:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:03: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-19 14:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:16] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:16] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:27] local.INFO: TCP Data received {"connection_id":188213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cb2460012d196880071fec400039011028..."} 
[2026-09-19 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cb2460012d196880071fec400039011028..."} 
[2026-09-19 14:03:27] local.INFO: Processing buffer {"connection_id":188213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cb2460012d196880071fec400039011028..."} 
[2026-09-19 14:03:27] local.INFO: Packet analysis {"connection_id":188213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:03:27] local.INFO: Extracted packet for processing {"connection_id":188213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190513920001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789806716000,"timestamp_ms":1789806716000,"timestamp_seconds":1789806716,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cb2460"} 
[2026-09-19 14:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:03: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-19 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:03:27] 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-19 14:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190513920001,"66":12406,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190513920001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190513920001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":188213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:27] local.INFO: GPS data processed {"connection_id":188213,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:27] local.INFO: Acknowledgment sent {"connection_id":188213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:46] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:46] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:46] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:03:47] local.INFO: TCP Data received {"connection_id":186918,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:47] local.INFO: Processing buffer {"connection_id":186918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:03:47] local.INFO: Packet analysis {"connection_id":186918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:47] local.INFO: Extracted packet for processing {"connection_id":186918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14: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-19 14:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:03:47] 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-19 14: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-19 14: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-19 14:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":186918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:47] local.INFO: GPS data processed {"connection_id":186918,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:47] local.INFO: Acknowledgment sent {"connection_id":186918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:47] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:47] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:03:47] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:47] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03: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-19 14:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14: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-19 14:03: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-19 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:03:47] 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-19 14: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-19 14: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-19 14:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:03: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-19 14:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:47] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:47] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:03:51] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:51] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:03:51] local.INFO: IMEI packet received {"connection_id":186814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:03:52] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cb7668012d196880071fec400039011028..."} 
[2026-09-19 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cb7668012d196880071fec400039011028..."} 
[2026-09-19 14:03:52] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cb7668012d196880071fec400039011028..."} 
[2026-09-19 14:03:52] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:03:52] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190519296001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806737000,"timestamp_ms":1789806737000,"timestamp_seconds":1789806737,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cb7668"} 
[2026-09-19 14: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-19 14:03: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-19 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 14:03:52] 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-19 14: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-19 14: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-19 14:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:03:52] 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-19 14:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190519296001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190519296001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:03:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190519296001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:03:52] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:03:52] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:09] local.INFO: TCP Data received {"connection_id":189540,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:09] local.INFO: Processing buffer {"connection_id":189540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:09] local.INFO: IMEI packet received {"connection_id":189540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:04:09] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:09] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:09] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:04:14] local.INFO: TCP Data received {"connection_id":189540,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:14] local.INFO: Processing buffer {"connection_id":189540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:04:14] local.INFO: IMEI packet received {"connection_id":189540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":189540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:04:14] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:14] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:04:14] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:04:15] local.INFO: TCP Data received {"connection_id":189540,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:15] local.INFO: Processing buffer {"connection_id":189540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:15] local.INFO: Packet analysis {"connection_id":189540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:15] local.INFO: Extracted packet for processing {"connection_id":189540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14: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-19 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:04:15] 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-19 14: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-19 14: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-19 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":189540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:15] local.INFO: GPS data processed {"connection_id":189540,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:15] local.INFO: Acknowledgment sent {"connection_id":189540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:15] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:15] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:15] local.INFO: Packet analysis {"connection_id":188214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:15] local.INFO: Extracted packet for processing {"connection_id":188214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04: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-19 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14: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-19 14:04: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-19 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:04: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-19 14: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-19 14: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-19 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:04: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-19 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":188214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:15] local.INFO: GPS data processed {"connection_id":188214,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:15] local.INFO: Acknowledgment sent {"connection_id":188214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:23] local.INFO: TCP Data received {"connection_id":186814,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cbc870012d196880071fec400039011029..."} 
[2026-09-19 14:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cbc870012d196880071fec400039011029..."} 
[2026-09-19 14:04:23] local.INFO: Processing buffer {"connection_id":186814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cbc870012d196880071fec400039011029..."} 
[2026-09-19 14:04:23] local.INFO: Packet analysis {"connection_id":186814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:04:23] local.INFO: Extracted packet for processing {"connection_id":186814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cb"} 
[2026-09-19 14:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190524672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806758000,"timestamp_ms":1789806758000,"timestamp_seconds":1789806758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cbc870"} 
[2026-09-19 14:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:04: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-19 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:04:23] 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-19 14:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:04:23] 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-19 14:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190524672001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190524672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190524672001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":186814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:23] local.INFO: GPS data processed {"connection_id":186814,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:23] local.INFO: Acknowledgment sent {"connection_id":186814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:46] local.INFO: TCP Data received {"connection_id":189541,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:46] local.INFO: Processing buffer {"connection_id":189541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:46] local.INFO: IMEI packet received {"connection_id":189541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":189541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:04:46] local.INFO: TCP Data received {"connection_id":189540,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:46] local.INFO: Processing buffer {"connection_id":189540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:04:46] local.INFO: Packet analysis {"connection_id":189540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:46] local.INFO: Extracted packet for processing {"connection_id":189540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14: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-19 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:04:46] 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-19 14: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-19 14: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-19 14:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:46] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:04:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":189540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:46] local.INFO: GPS data processed {"connection_id":189540,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:46] local.INFO: Acknowledgment sent {"connection_id":189540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:47] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:47] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:04:47] local.INFO: Packet analysis {"connection_id":188214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:47] local.INFO: Extracted packet for processing {"connection_id":188214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04: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-19 14:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:04: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-19 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:04:47] 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-19 14:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:04: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-19 14:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":188214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:47] local.INFO: GPS data processed {"connection_id":188214,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:47] local.INFO: Acknowledgment sent {"connection_id":188214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:04:51] local.INFO: TCP Data received {"connection_id":189541,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:51] local.INFO: Processing buffer {"connection_id":189541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:04:51] local.INFO: IMEI packet received {"connection_id":189541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":189541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:04:52] local.INFO: TCP Data received {"connection_id":189541,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cc1a78012d196880071fec400039011025..."} 
[2026-09-19 14:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cc1a78012d196880071fec400039011025..."} 
[2026-09-19 14:04:52] local.INFO: Processing buffer {"connection_id":189541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cc1a78012d196880071fec400039011025..."} 
[2026-09-19 14:04:52] local.INFO: Packet analysis {"connection_id":189541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:04:52] local.INFO: Extracted packet for processing {"connection_id":189541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 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-19 14:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190530048001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806779000,"timestamp_ms":1789806779000,"timestamp_seconds":1789806779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cc1a78"} 
[2026-09-19 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-19 14:04: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-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:04:52] 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-19 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-19 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-19 14:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:04:52] 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-19 14:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190530048001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190530048001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:04:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190530048001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":189541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:04:52] local.INFO: GPS data processed {"connection_id":189541,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:04:52] local.INFO: Acknowledgment sent {"connection_id":189541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:09] local.INFO: TCP Data received {"connection_id":188215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:09] local.INFO: Processing buffer {"connection_id":188215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:09] local.INFO: IMEI packet received {"connection_id":188215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:05:14] local.INFO: TCP Data received {"connection_id":188215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:14] local.INFO: Processing buffer {"connection_id":188215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:05:14] local.INFO: IMEI packet received {"connection_id":188215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:05:14] local.INFO: TCP Data received {"connection_id":189542,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:14] local.INFO: Processing buffer {"connection_id":189542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:14] local.INFO: IMEI packet received {"connection_id":189542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":189542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:05:15] local.INFO: TCP Data received {"connection_id":188215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:15] local.INFO: Processing buffer {"connection_id":188215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:15] local.INFO: Packet analysis {"connection_id":188215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:15] local.INFO: Extracted packet for processing {"connection_id":188215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:05: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-19 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:05: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-19 14:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:05: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-19 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":188215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:15] local.INFO: GPS data processed {"connection_id":188215,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:15] local.INFO: Acknowledgment sent {"connection_id":188215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:19] local.INFO: TCP Data received {"connection_id":189542,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:19] local.INFO: Processing buffer {"connection_id":189542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:05:19] local.INFO: IMEI packet received {"connection_id":189542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":189542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:05:20] local.INFO: TCP Data received {"connection_id":189542,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:20] local.INFO: Processing buffer {"connection_id":189542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:20] local.INFO: Packet analysis {"connection_id":189542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:20] local.INFO: Extracted packet for processing {"connection_id":189542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 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-19 14:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:05:20] 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-19 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-19 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-19 14:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":189542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:20] local.INFO: GPS data processed {"connection_id":189542,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:20] local.INFO: Acknowledgment sent {"connection_id":189542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:22] local.INFO: TCP Data received {"connection_id":189541,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cc6c80012d196880071fec400039011026..."} 
[2026-09-19 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cc6c80012d196880071fec400039011026..."} 
[2026-09-19 14:05:22] local.INFO: Processing buffer {"connection_id":189541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cc6c80012d196880071fec400039011026..."} 
[2026-09-19 14:05:22] local.INFO: Packet analysis {"connection_id":189541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:05:22] local.INFO: Extracted packet for processing {"connection_id":189541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190535424001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789806800000,"timestamp_ms":1789806800000,"timestamp_seconds":1789806800,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cc6c80"} 
[2026-09-19 14:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:05:22] 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-19 14:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:05:22] 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-19 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190535424001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190535424001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190535424001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":189541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:22] local.INFO: GPS data processed {"connection_id":189541,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:22] local.INFO: Acknowledgment sent {"connection_id":189541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:25] local.INFO: TCP Data received {"connection_id":189542,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:25] local.INFO: Processing buffer {"connection_id":189542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c96710012c7931800848f770000c01612f..."} 
[2026-09-19 14:05:25] local.INFO: Packet analysis {"connection_id":189542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:25] local.INFO: Extracted packet for processing {"connection_id":189542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:05: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-19 14:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190412800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037890564096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806602000,"timestamp_ms":1789806602000,"timestamp_seconds":1789806602,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c96710"} 
[2026-09-19 14:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:05: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:05:25] 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-19 14:05: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-19 14:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190412800001,"66":26202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8734450037890564096},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190412800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:05:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037890564096,"description":"Unknown IO ID 44"} 
[2026-09-19 14:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190412800001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037890564096}} 
[2026-09-19 14:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":189542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:25] local.INFO: GPS data processed {"connection_id":189542,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:25] local.INFO: Acknowledgment sent {"connection_id":189542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:46] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:46] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:46] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:05:47] local.INFO: TCP Data received {"connection_id":188215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:47] local.INFO: Processing buffer {"connection_id":188215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8c9a978012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:05:47] local.INFO: Packet analysis {"connection_id":188215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:47] local.INFO: Extracted packet for processing {"connection_id":188215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8c9"} 
[2026-09-19 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190417408001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05: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-19 14:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806619000,"timestamp_ms":1789806619000,"timestamp_seconds":1789806619,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8c9a978"} 
[2026-09-19 14: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-19 14:05: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-19 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:05:47] 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-19 14: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-19 14: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-19 14:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:05: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-19 14:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190417408001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190417408001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190417408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":188215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:47] local.INFO: GPS data processed {"connection_id":188215,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:47] local.INFO: Acknowledgment sent {"connection_id":188215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:05:51] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:51] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:05:51] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:05:52] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ccbe88012d196880071fec400039011026..."} 
[2026-09-19 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ccbe88012d196880071fec400039011026..."} 
[2026-09-19 14:05:52] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ccbe88012d196880071fec400039011026..."} 
[2026-09-19 14:05:52] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:05:52] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cc"} 
[2026-09-19 14:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":57,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-19 14:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190540800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672894601887744,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806821000,"timestamp_ms":1789806821000,"timestamp_seconds":1789806821,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ccbe88"} 
[2026-09-19 14:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:05: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-19 14:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 14:05:52] 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-19 14:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:05:52] 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-19 14:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190540800001,"66":12461,"102":206,"83":41984,"24":0,"16":21672894601887744,"45":1830854016614809600},"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-19 14:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190540800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:05:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672894601887744,"km_value":21672894601887.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190540800001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-19 14:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:05:52] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:05:52] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:10] local.INFO: TCP Data received {"connection_id":186815,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:10] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:10] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:06:14] local.INFO: TCP Data received {"connection_id":189543,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:14] local.INFO: Processing buffer {"connection_id":189543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:14] local.INFO: IMEI packet received {"connection_id":189543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":189543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:06:14] local.INFO: TCP Data received {"connection_id":186815,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:14] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:06:14] local.INFO: IMEI packet received {"connection_id":186815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":186815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:06:16] local.INFO: TCP Data received {"connection_id":186815,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:16] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:16] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:06:16] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14: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-19 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:06:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:16] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:16] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:19] local.INFO: TCP Data received {"connection_id":189543,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:19] local.INFO: Processing buffer {"connection_id":189543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:06:19] local.INFO: IMEI packet received {"connection_id":189543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":189543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:06:20] local.INFO: TCP Data received {"connection_id":189543,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:20] local.INFO: Processing buffer {"connection_id":189543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:20] local.INFO: Packet analysis {"connection_id":189543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:20] local.INFO: Extracted packet for processing {"connection_id":189543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:06:20] 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-19 14:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":189543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:21] local.INFO: GPS data processed {"connection_id":189543,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:21] local.INFO: Acknowledgment sent {"connection_id":189543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:23] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce7408012d1968c0071feda0004000672b..."} 
[2026-09-19 14:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce7408012d1968c0071feda0004000672b..."} 
[2026-09-19 14:06:23] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce7408012d1968c0071feda0004000672b..."} 
[2026-09-19 14:06:23] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:23] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532960,"longitude_deg":75.6639936,"latitude_deg":11.953296,"altitude":64,"angle":103,"satellites":43,"speed":3,"hex_longitude":"2d1968c0","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-09-19 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190574592001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672933256593408,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614912000,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806933000,"timestamp_ms":1789806933000,"timestamp_seconds":1789806933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce7408"} 
[2026-09-19 14:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:06: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-19 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:23] 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-19 14:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:23] 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-19 14:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190574592001,"66":13928,"102":206,"83":41984,"24":3,"16":21672933256593408,"45":1830854016614912000},"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-19 14:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190574592001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672933256593408,"km_value":21672933256593.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614912000,"description":"Unknown IO ID 45"} 
[2026-09-19 14:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190574592001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830854016614912000}} 
[2026-09-19 14:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:23] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:23] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:25] local.INFO: TCP Data received {"connection_id":189543,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:25] local.INFO: Processing buffer {"connection_id":189543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:06:25] local.INFO: Packet analysis {"connection_id":189543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:25] local.INFO: Extracted packet for processing {"connection_id":189543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:06: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-19 14:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:06: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-19 14:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:06:25] 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-19 14:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":189543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:25] local.INFO: GPS data processed {"connection_id":189543,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:25] local.INFO: Acknowledgment sent {"connection_id":189543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:46] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:46] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:46] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:06:47] local.INFO: TCP Data received {"connection_id":186815,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:47] local.INFO: Processing buffer {"connection_id":186815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:06:47] local.INFO: Packet analysis {"connection_id":186815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:06:47] local.INFO: Extracted packet for processing {"connection_id":186815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14: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-19 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:06:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":186815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:48] local.INFO: GPS data processed {"connection_id":186815,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:48] local.INFO: Acknowledgment sent {"connection_id":186815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:49] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:49] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:49] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:06:50] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:50] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:06:50] local.INFO: IMEI packet received {"connection_id":186816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":186816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:06:50] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce7bd8012d1969c0071fed38004000722b..."} 
[2026-09-19 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce7bd8012d1969c0071fed38004000722b..."} 
[2026-09-19 14:06:50] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce7bd8012d1969c0071fed38004000722b..."} 
[2026-09-19 14:06:50] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:50] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532856,"longitude_deg":75.6640192,"latitude_deg":11.9532856,"altitude":64,"angle":114,"satellites":43,"speed":4,"hex_longitude":"2d1969c0","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190574848001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672946141495296,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359077376,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789806935000,"timestamp_ms":1789806935000,"timestamp_seconds":1789806935,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce7bd8"} 
[2026-09-19 14: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-19 14:06: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-19 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:50] 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-19 14: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-19 14: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-19 14:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:50] 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-19 14:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190574848001,"66":13917,"102":206,"83":41984,"24":4,"16":21672946141495296,"45":1830924385359077376},"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-19 14:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190574848001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672946141495296,"km_value":21672946141495.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359077376,"description":"Unknown IO ID 45"} 
[2026-09-19 14:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190574848001,"power":13917,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830924385359077376}} 
[2026-09-19 14:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:50] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:50] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:06:51] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce8790012d196b80071fecc8004000612a..."} 
[2026-09-19 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce8790012d196b80071fecc8004000612a..."} 
[2026-09-19 14:06:51] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce8790012d196b80071fecc8004000612a..."} 
[2026-09-19 14:06:51] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:51] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532744,"longitude_deg":75.664064,"latitude_deg":11.9532744,"altitude":64,"angle":97,"satellites":42,"speed":8,"hex_longitude":"2d196b80","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-19 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190575360001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21672967616331776,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335761408,"note":"Value kept but may cause issues"} 
[2026-09-19 14:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789806938000,"timestamp_ms":1789806938000,"timestamp_seconds":1789806938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce8790"} 
[2026-09-19 14:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:06: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-19 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-19 14:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:06:51] 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-19 14:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190575360001,"66":14102,"102":206,"83":41984,"24":8,"16":21672967616331776,"45":1831205860335761408},"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-19 14:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190575360001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21672967616331776,"km_value":21672967616331.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335761408,"description":"Unknown IO ID 45"} 
[2026-09-19 14:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190575360001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831205860335761408}} 
[2026-09-19 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:06:51] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:06:51] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:09] local.INFO: TCP Data received {"connection_id":186920,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:09] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:09] local.INFO: IMEI packet received {"connection_id":186920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":186920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:07:09] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:09] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:09] local.INFO: IMEI packet received {"connection_id":186919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":186919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:07:14] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:14] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:07:14] local.INFO: IMEI packet received {"connection_id":186919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:07:14] local.INFO: TCP Data received {"connection_id":186920,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:14] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:07:14] local.INFO: IMEI packet received {"connection_id":186920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:07:15] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:15] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:15] local.INFO: Packet analysis {"connection_id":186919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:07:15] local.INFO: Extracted packet for processing {"connection_id":186919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07: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-19 14:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:07: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-19 14:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:07: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-19 14:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:07: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-19 14:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":186919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:15] local.INFO: GPS data processed {"connection_id":186919,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:15] local.INFO: Acknowledgment sent {"connection_id":186919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:16] local.INFO: TCP Data received {"connection_id":186920,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:16] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:16] local.INFO: Packet analysis {"connection_id":186920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:07:16] local.INFO: Extracted packet for processing {"connection_id":186920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:07:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":186920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:16] local.INFO: GPS data processed {"connection_id":186920,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:16] local.INFO: Acknowledgment sent {"connection_id":186920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:23] local.INFO: TCP Data received {"connection_id":186816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cf6250012d19cd80071ff9000032002826..."} 
[2026-09-19 14:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cf6250012d19cd80071ff9000032002826..."} 
[2026-09-19 14:07:23] local.INFO: Processing buffer {"connection_id":186816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cf6250012d19cd80071ff9000032002826..."} 
[2026-09-19 14:07:23] local.INFO: Packet analysis {"connection_id":186816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cf"} 
[2026-09-19 14:07:23] local.INFO: Extracted packet for processing {"connection_id":186816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cf"} 
[2026-09-19 14:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535872,"longitude_deg":75.6665728,"latitude_deg":11.9535872,"altitude":50,"angle":40,"satellites":38,"speed":21,"hex_longitude":"2d19cd80","hex_latitude":"071ff900","is_valid_coordinates":true} 
[2026-09-19 14:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190589952001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21674238926651392,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309778944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789806994000,"timestamp_ms":1789806994000,"timestamp_seconds":1789806994,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cf6250"} 
[2026-09-19 14:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:07: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-19 14:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 14:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:07:23] 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-19 14:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190589952001,"66":14167,"101":206,"83":41984,"24":21,"16":21674238926651392,"45":1858720039309778944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 14:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190589952001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 14:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21674238926651392,"km_value":21674238926651.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309778944,"description":"Unknown IO ID 45"} 
[2026-09-19 14:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190589952001,"power":14167,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1858720039309778944}} 
[2026-09-19 14:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":186816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:23] local.INFO: GPS data processed {"connection_id":186816,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:23] local.INFO: Acknowledgment sent {"connection_id":186816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:46] local.INFO: TCP Data received {"connection_id":189544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: Processing buffer {"connection_id":189544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: IMEI packet received {"connection_id":189544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":189544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:07:46] local.INFO: TCP Data received {"connection_id":189544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: Processing buffer {"connection_id":189544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:46] local.INFO: IMEI packet received {"connection_id":189544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":189544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:07:47] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:47] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:07:47] local.INFO: Packet analysis {"connection_id":186919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:07:47] local.INFO: Extracted packet for processing {"connection_id":186919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07: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-19 14:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:07: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-19 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:07: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-19 14:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:07: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-19 14:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":186919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:47] local.INFO: GPS data processed {"connection_id":186919,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:47] local.INFO: Acknowledgment sent {"connection_id":186919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:51] local.INFO: TCP Data received {"connection_id":189544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:51] local.INFO: Processing buffer {"connection_id":189544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:07:51] local.INFO: IMEI packet received {"connection_id":189544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":189544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:07:52] local.INFO: TCP Data received {"connection_id":189544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cf6638012d19cf40071ffa580032003828..."} 
[2026-09-19 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cf6638012d19cf40071ffa580032003828..."} 
[2026-09-19 14:07:52] local.INFO: Processing buffer {"connection_id":189544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cf6638012d19cf40071ffa580032003828..."} 
[2026-09-19 14:07:52] local.INFO: Packet analysis {"connection_id":189544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cf"} 
[2026-09-19 14:07:52] local.INFO: Extracted packet for processing {"connection_id":189544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cf"} 
[2026-09-19 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119536216,"longitude_deg":75.6666176,"latitude_deg":11.9536216,"altitude":50,"angle":56,"satellites":40,"speed":22,"hex_longitude":"2d19cf40","hex_latitude":"071ffa58","is_valid_coordinates":true} 
[2026-09-19 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-19 14:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190590464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21674264696455168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989263421440,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:52] 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-19 14:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806995000,"timestamp_ms":1789806995000,"timestamp_seconds":1789806995,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cf6638"} 
[2026-09-19 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-19 14:07: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-19 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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-19 14:07:52] 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-19 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-19 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-19 14:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:07:52] 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-19 14:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190590464001,"66":14189,"101":206,"83":41984,"24":22,"16":21674264696455168,"45":1859282989263421440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-19 14:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190590464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-19 14:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21674264696455168,"km_value":21674264696455.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989263421440,"description":"Unknown IO ID 45"} 
[2026-09-19 14:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190590464001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1859282989263421440}} 
[2026-09-19 14:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":189544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:52] local.INFO: GPS data processed {"connection_id":189544,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:52] local.INFO: Acknowledgment sent {"connection_id":189544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:07:52] local.INFO: TCP Data received {"connection_id":186920,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:53] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:07:53] local.INFO: Packet analysis {"connection_id":186920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:07:53] local.INFO: Extracted packet for processing {"connection_id":186920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:07:53] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:07:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:07:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":186920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:07:53] local.INFO: GPS data processed {"connection_id":186920,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:07:53] local.INFO: Acknowledgment sent {"connection_id":186920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:08:09] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:09] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:09] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:08:14] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:14] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:08:14] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:08:15] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:15] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:15] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:08:15] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08: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-19 14:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14: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-19 14:08: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-19 14:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:08: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-19 14: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-19 14: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-19 14:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:08: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-19 14:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:08:15] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:08:15] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:08:23] local.INFO: TCP Data received {"connection_id":189544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d06808012d19b8400720ac880031015228..."} 
[2026-09-19 14:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d06808012d19b8400720ac880031015228..."} 
[2026-09-19 14:08:23] local.INFO: Processing buffer {"connection_id":189544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d06808012d19b8400720ac880031015228..."} 
[2026-09-19 14:08:23] local.INFO: Packet analysis {"connection_id":189544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:08:23] local.INFO: Extracted packet for processing {"connection_id":189544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581832,"longitude_deg":75.6660288,"latitude_deg":11.9581832,"altitude":49,"angle":338,"satellites":40,"speed":24,"hex_longitude":"2d19b840","hex_latitude":"0720ac88","is_valid_coordinates":true} 
[2026-09-19 14:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190607360001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21676794432192512,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996653056,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:23] local.INFO: IO Element Parsed {"io_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-19 14:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807061000,"timestamp_ms":1789807061000,"timestamp_seconds":1789807061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d06808"} 
[2026-09-19 14:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:08: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-19 14:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 14:08:23] 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-19 14:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:08:23] 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-19 14:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190607360001,"66":14233,"103":206,"83":41984,"24":24,"16":21676794432192512,"45":1853583120996653056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190607360001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:08:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21676794432192512,"km_value":21676794432192.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996653056,"description":"Unknown IO ID 45"} 
[2026-09-19 14:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190607360001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853583120996653056}} 
[2026-09-19 14:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":189544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:08:24] local.INFO: GPS data processed {"connection_id":189544,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:08:24] local.INFO: Acknowledgment sent {"connection_id":189544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:08:46] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:46] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:46] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:08:47] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:47] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:08:47] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:08:47] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08: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-19 14:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14: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-19 14:08: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-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:08: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-19 14: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-19 14: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-19 14:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:08: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-19 14:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:08:47] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:08:47] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:08:49] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:49] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:49] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:08:50] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:50] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:50] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:08:51] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:51] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:08:51] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:08:51] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d06bf0012d19b6800720ae20003101412a..."} 
[2026-09-19 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d06bf0012d19b6800720ae20003101412a..."} 
[2026-09-19 14:08:51] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d06bf0012d19b6800720ae20003101412a..."} 
[2026-09-19 14:08:51] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:08:51] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119582240,"longitude_deg":75.665984,"latitude_deg":11.958224,"altitude":49,"angle":321,"satellites":42,"speed":23,"hex_longitude":"2d19b680","hex_latitude":"0720ae20","is_valid_coordinates":true} 
[2026-09-19 14:08: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-19 14:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190607616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21676820201996288,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646020085760,"note":"Value kept but may cause issues"} 
[2026-09-19 14:08:51] local.INFO: IO Element Parsed {"io_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-19 14:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789807062000,"timestamp_ms":1789807062000,"timestamp_seconds":1789807062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d06bf0"} 
[2026-09-19 14:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:08: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-19 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 14:08:51] 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-19 14:08: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-19 14:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:08:51] 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-19 14:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190607616001,"66":14233,"103":206,"83":41984,"24":23,"16":21676820201996288,"45":1853301646020085760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190607616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:08:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21676820201996288,"km_value":21676820201996.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646020085760,"description":"Unknown IO ID 45"} 
[2026-09-19 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190607616001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853301646020085760}} 
[2026-09-19 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:08:51] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:08:51] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:09] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:09] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:09] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:09:14] local.INFO: TCP Data received {"connection_id":188220,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:14] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:14] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:09:14] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:14] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:09:14] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:09:15] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:15] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:15] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:09:15] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09: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-19 14:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:09: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-19 14:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:09: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-19 14:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:09: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-19 14:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:15] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:15] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:19] local.INFO: TCP Data received {"connection_id":188220,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:19] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:09:19] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:09:20] local.INFO: TCP Data received {"connection_id":188220,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:21] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:21] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:09:21] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:21] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:09:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:21] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:21] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:22] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d06fd8012d19b3800720aef8003201292b..."} 
[2026-09-19 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d06fd8012d19b3800720aef8003201292b..."} 
[2026-09-19 14:09:22] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d06fd8012d19b3800720aef8003201292b..."} 
[2026-09-19 14:09:22] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:09:22] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d0"} 
[2026-09-19 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119582456,"longitude_deg":75.6659072,"latitude_deg":11.9582456,"altitude":50,"angle":297,"satellites":43,"speed":26,"hex_longitude":"2d19b380","hex_latitude":"0720aef8","is_valid_coordinates":true} 
[2026-09-19 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190607872001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21676858856701952,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810946560,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:22] local.INFO: IO Element Parsed {"io_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-19 14:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789807063000,"timestamp_ms":1789807063000,"timestamp_seconds":1789807063,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d06fd8"} 
[2026-09-19 14:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 14:09:22] 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-19 14:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:22] 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-19 14:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190607872001,"66":14233,"103":206,"83":41984,"24":26,"16":21676858856701952,"45":1852809064810946560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190607872001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21676858856701952,"km_value":21676858856701.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810946560,"description":"Unknown IO ID 45"} 
[2026-09-19 14:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190607872001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1852809064810946560}} 
[2026-09-19 14:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:22] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:22] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:46] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:46] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:09:46] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:09:46] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09: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-19 14:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14: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-19 14:09: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-19 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:09: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-19 14: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-19 14: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-19 14:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:09: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-19 14:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:46] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:46] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:51] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:51] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:51] local.INFO: IMEI packet received {"connection_id":186818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":186818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:09:52] local.INFO: TCP Data received {"connection_id":188220,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:52] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:09:52] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:09:52] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14: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-19 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:09:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:52] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:52] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:56] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:56] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:09:56] local.INFO: IMEI packet received {"connection_id":186818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":186818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:09:57] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d15e20012d18eec00720df58003c014629..."} 
[2026-09-19 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d15e20012d18eec00720df58003c014629..."} 
[2026-09-19 14:09:57] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d15e20012d18eec00720df58003c014629..."} 
[2026-09-19 14:09:57] local.INFO: Packet analysis {"connection_id":186818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:09:57] local.INFO: Extracted packet for processing {"connection_id":186818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119594840,"longitude_deg":75.6608704,"latitude_deg":11.959484,"altitude":60,"angle":326,"satellites":41,"speed":38,"hex_longitude":"2d18eec0","hex_latitude":"0720df58","is_valid_coordinates":true} 
[2026-09-19 14:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190623232001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21679453016948736,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797991813099364352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789807124000,"timestamp_ms":1789807124000,"timestamp_seconds":1789807124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d15e20"} 
[2026-09-19 14:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:09: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-19 14:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3100695864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":53248,"corrected_to":0} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":185,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3504926721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-5690297892942567168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-5321001666525478905,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,5,160,58,45,128,203,56,40,10,66,27,191,50,4,244,192,1,240,185,227,184,32,113,205,38,221,87,104,41,239,55,2,77,7,52,39,208],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":203,"original":53248,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 14:09:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323801065022816256,"timestamp_seconds":4323801065022816.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:57] 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-19 14:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190623232001,"66":13374,"103":206,"83":41984,"24":38,"16":21679453016948736,"45":1797991813099364352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190623232001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21679453016948736,"km_value":21679453016948.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797991813099364352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190623232001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1797991813099364352}} 
[2026-09-19 14:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":186818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:57] local.INFO: GPS data processed {"connection_id":186818,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:57] local.INFO: Acknowledgment sent {"connection_id":186818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:09:58] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d17d60012d18de400720f7e0003e013829..."} 
[2026-09-19 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d17d60012d18de400720f7e0003e013829..."} 
[2026-09-19 14:09:58] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d17d60012d18de400720f7e0003e013829..."} 
[2026-09-19 14:09:58] local.INFO: Packet analysis {"connection_id":186818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:09:58] local.INFO: Extracted packet for processing {"connection_id":186818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119601120,"longitude_deg":75.660448,"latitude_deg":11.960112,"altitude":62,"angle":312,"satellites":41,"speed":35,"hex_longitude":"2d18de40","hex_latitude":"0720f7e0","is_valid_coordinates":true} 
[2026-09-19 14:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190623744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21679822384136192,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438216218624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:09:58] local.INFO: IO Element Parsed {"io_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-19 14:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789807132000,"timestamp_ms":1789807132000,"timestamp_seconds":1789807132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d17d60"} 
[2026-09-19 14:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-19 14:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:09:58] 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-19 14:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190623744001,"66":13352,"103":206,"83":41984,"24":35,"16":21679822384136192,"45":1796584438216218624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190623744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:09:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21679822384136192,"km_value":21679822384136.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438216218624,"description":"Unknown IO ID 45"} 
[2026-09-19 14:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190623744001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1796584438216218624}} 
[2026-09-19 14:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":186818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:09:58] local.INFO: GPS data processed {"connection_id":186818,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:09:58] local.INFO: Acknowledgment sent {"connection_id":186818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:09] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:09] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:09] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:10:14] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:14] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:10:14] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:10:14] local.INFO: TCP Data received {"connection_id":186921,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:14] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:14] local.INFO: IMEI packet received {"connection_id":186921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:10:15] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:15] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:15] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:10:15] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10: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-19 14:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:10: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-19 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:10: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-19 14:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:10: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-19 14:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:15] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:15] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:19] local.INFO: TCP Data received {"connection_id":186921,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:19] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:10:19] local.INFO: IMEI packet received {"connection_id":186921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":186921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:10:20] local.INFO: TCP Data received {"connection_id":186921,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:20] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:20] local.INFO: Packet analysis {"connection_id":186921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:10:20] local.INFO: Extracted packet for processing {"connection_id":186921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:10:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":186921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:21] local.INFO: GPS data processed {"connection_id":186921,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:21] local.INFO: Acknowledgment sent {"connection_id":186921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:25] local.INFO: TCP Data received {"connection_id":186921,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:25] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8cdfed8012c7931800848f770000c01612f..."} 
[2026-09-19 14:10:25] local.INFO: Packet analysis {"connection_id":186921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:10:25] local.INFO: Extracted packet for processing {"connection_id":186921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8cd"} 
[2026-09-19 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789806903000,"timestamp_ms":1789806903000,"timestamp_seconds":1789806903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8cdfed8"} 
[2026-09-19 14:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 14:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190490112001,"66":25897,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:10:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190490112001,"power":25897,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":186921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:25] local.INFO: GPS data processed {"connection_id":186921,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:25] local.INFO: Acknowledgment sent {"connection_id":186921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:29] local.INFO: TCP Data received {"connection_id":186818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d18918012d18d7400720ff88003e01492b..."} 
[2026-09-19 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d18918012d18d7400720ff88003e01492b..."} 
[2026-09-19 14:10:29] local.INFO: Processing buffer {"connection_id":186818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d18918012d18d7400720ff88003e01492b..."} 
[2026-09-19 14:10:29] local.INFO: Packet analysis {"connection_id":186818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:10:29] local.INFO: Extracted packet for processing {"connection_id":186818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603080,"longitude_deg":75.6602688,"latitude_deg":11.960308,"altitude":62,"angle":329,"satellites":43,"speed":33,"hex_longitude":"2d18d740","hex_latitude":"0720ff88","is_valid_coordinates":true} 
[2026-09-19 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-19 14:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190625792001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21679946938187776,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101102100480,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789807135000,"timestamp_ms":1789807135000,"timestamp_seconds":1789807135,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d18918"} 
[2026-09-19 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-19 14:10: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-19 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-19 14:10:29] 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-19 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-19 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-19 14:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:10:29] 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-19 14:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190625792001,"66":13254,"103":206,"83":41984,"24":33,"16":21679946938187776,"45":1791940101102100480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190625792001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21679946938187776,"km_value":21679946938187.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101102100480,"description":"Unknown IO ID 45"} 
[2026-09-19 14:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190625792001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1791940101102100480}} 
[2026-09-19 14:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":186818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:29] local.INFO: GPS data processed {"connection_id":186818,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:29] local.INFO: Acknowledgment sent {"connection_id":186818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:46] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:46] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:46] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:10:47] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:47] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ce4140012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:10:47] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:10:47] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ce"} 
[2026-09-19 14:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190494464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10: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-19 14:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789806920000,"timestamp_ms":1789806920000,"timestamp_seconds":1789806920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ce4140"} 
[2026-09-19 14: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-19 14:10: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-19 14:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:10: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-19 14: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-19 14: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-19 14:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:10:47] 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-19 14:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190494464001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190494464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190494464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:47] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:47] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:10:51] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:51] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:10:51] local.INFO: IMEI packet received {"connection_id":186819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":186819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:10:52] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d194d0012d18d440072106f0003f01582a..."} 
[2026-09-19 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d194d0012d18d440072106f0003f01582a..."} 
[2026-09-19 14:10:52] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d194d0012d18d440072106f0003f01582a..."} 
[2026-09-19 14:10:52] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:10:52] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604976,"longitude_deg":75.660192,"latitude_deg":11.9604976,"altitude":63,"angle":344,"satellites":42,"speed":22,"hex_longitude":"2d18d440","hex_latitude":"072106f0","is_valid_coordinates":true} 
[2026-09-19 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190626560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680045722435584,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265627648,"note":"Value kept but may cause issues"} 
[2026-09-19 14:10:52] local.INFO: IO Element Parsed {"io_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-19 14:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807138000,"timestamp_ms":1789807138000,"timestamp_seconds":1789807138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d194d0"} 
[2026-09-19 14:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 14:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:10:52] 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-19 14:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190626560001,"66":13276,"103":206,"83":41984,"24":22,"16":21680045722435584,"45":1789969776265627648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190626560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:10:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680045722435584,"km_value":21680045722435.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265627648,"description":"Unknown IO ID 45"} 
[2026-09-19 14:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190626560001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1789969776265627648}} 
[2026-09-19 14:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:10:52] local.INFO: GPS data processed {"connection_id":186819,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:10:52] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:09] local.INFO: TCP Data received {"connection_id":186820,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:09] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:09] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:11:14] local.INFO: TCP Data received {"connection_id":189545,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:14] local.INFO: Processing buffer {"connection_id":189545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:14] local.INFO: IMEI packet received {"connection_id":189545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":189545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:11:14] local.INFO: TCP Data received {"connection_id":186820,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:14] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:11:14] local.INFO: IMEI packet received {"connection_id":186820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":186820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:11:15] local.INFO: TCP Data received {"connection_id":186820,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:15] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:15] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:15] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14: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-19 14:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:15] 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-19 14: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-19 14: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-19 14:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:11:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:16] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:16] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:19] local.INFO: TCP Data received {"connection_id":189545,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:19] local.INFO: Processing buffer {"connection_id":189545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:11:19] local.INFO: IMEI packet received {"connection_id":189545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":189545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:11:20] local.INFO: TCP Data received {"connection_id":189545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:20] local.INFO: Processing buffer {"connection_id":189545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:20] local.INFO: Packet analysis {"connection_id":189545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:20] local.INFO: Extracted packet for processing {"connection_id":189545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:11: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-19 14:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:11: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-19 14:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:11: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-19 14:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":189545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:20] local.INFO: GPS data processed {"connection_id":189545,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:20] local.INFO: Acknowledgment sent {"connection_id":189545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:23] local.INFO: TCP Data received {"connection_id":186819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d1e6d8012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d1e6d8012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:23] local.INFO: Processing buffer {"connection_id":186819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d1e6d8012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:23] local.INFO: Packet analysis {"connection_id":186819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:11:23] local.INFO: Extracted packet for processing {"connection_id":186819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d1"} 
[2026-09-19 14:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190627328001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351335981056,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:23] local.INFO: IO Element Parsed {"io_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-19 14:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807159000,"timestamp_ms":1789807159000,"timestamp_seconds":1789807159,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d1e6d8"} 
[2026-09-19 14:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:23] 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-19 14:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:11:23] 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-19 14:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190627328001,"66":13156,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1789125351335981056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190627328001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351335981056,"description":"Unknown IO ID 45"} 
[2026-09-19 14:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190627328001,"power":13156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789125351335981056}} 
[2026-09-19 14:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":186819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:23] local.INFO: GPS data processed {"connection_id":186819,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:23] local.INFO: Acknowledgment sent {"connection_id":186819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:25] local.INFO: TCP Data received {"connection_id":189545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:25] local.INFO: Processing buffer {"connection_id":189545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:11:25] local.INFO: Packet analysis {"connection_id":189545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:25] local.INFO: Extracted packet for processing {"connection_id":189545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:11: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-19 14:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":189545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:25] local.INFO: GPS data processed {"connection_id":189545,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:25] local.INFO: Acknowledgment sent {"connection_id":189545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:46] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:46] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:46] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:11:47] local.INFO: TCP Data received {"connection_id":186820,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:47] local.INFO: Processing buffer {"connection_id":186820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:11:47] local.INFO: Packet analysis {"connection_id":186820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:47] local.INFO: Extracted packet for processing {"connection_id":186820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14: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-19 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:47] 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-19 14: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-19 14: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-19 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:11:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":186820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:47] local.INFO: GPS data processed {"connection_id":186820,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:47] local.INFO: Acknowledgment sent {"connection_id":186820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:11:51] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:51] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:11:51] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:11:52] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d238e0012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d238e0012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:52] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d238e0012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:11:52] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:52] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190632704001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:11:52] local.INFO: IO Element Parsed {"io_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-19 14:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807180000,"timestamp_ms":1789807180000,"timestamp_seconds":1789807180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d238e0"} 
[2026-09-19 14:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:11: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-19 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 14:11:52] 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-19 14:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:11:52] 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-19 14:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190632704001,"66":13091,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190632704001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:11:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190632704001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:11:52] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:11:52] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:09] local.INFO: TCP Data received {"connection_id":189547,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:09] local.INFO: Processing buffer {"connection_id":189547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:09] local.INFO: IMEI packet received {"connection_id":189547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":189547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:12:10] local.INFO: TCP Data received {"connection_id":189546,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:10] local.INFO: Processing buffer {"connection_id":189546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:10] local.INFO: IMEI packet received {"connection_id":189546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":189546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:12:14] local.INFO: TCP Data received {"connection_id":189547,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:14] local.INFO: Processing buffer {"connection_id":189547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:12:14] local.INFO: IMEI packet received {"connection_id":189547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":189547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:12:14] local.INFO: TCP Data received {"connection_id":189546,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:14] local.INFO: Processing buffer {"connection_id":189546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:12:14] local.INFO: IMEI packet received {"connection_id":189546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":189546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:12:15] local.INFO: TCP Data received {"connection_id":189547,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:15] local.INFO: Processing buffer {"connection_id":189547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:15] local.INFO: Packet analysis {"connection_id":189547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:15] local.INFO: Extracted packet for processing {"connection_id":189547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:12:15] 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-19 14:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":189547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:15] local.INFO: GPS data processed {"connection_id":189547,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:15] local.INFO: Acknowledgment sent {"connection_id":189547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:15] local.INFO: TCP Data received {"connection_id":189546,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:15] local.INFO: Processing buffer {"connection_id":189546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:15] local.INFO: Packet analysis {"connection_id":189546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:15] local.INFO: Extracted packet for processing {"connection_id":189546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12: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-19 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14: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-19 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:12: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-19 14:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:12: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-19 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":189546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:15] local.INFO: GPS data processed {"connection_id":189546,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:15] local.INFO: Acknowledgment sent {"connection_id":189546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:23] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d28ae8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d28ae8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:12:23] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d28ae8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:12:23] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:23] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":45,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190638080001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:23] local.INFO: IO Element Parsed {"io_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-19 14:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807201000,"timestamp_ms":1789807201000,"timestamp_seconds":1789807201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d28ae8"} 
[2026-09-19 14:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:12: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-19 14:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 14:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:12:23] 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-19 14:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190638080001,"66":13015,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190638080001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190638080001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:23] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:23] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:46] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:12:46] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:46] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:12:46] local.INFO: TCP Data received {"connection_id":189546,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:46] local.INFO: Processing buffer {"connection_id":189546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:12:46] local.INFO: Packet analysis {"connection_id":189546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:46] local.INFO: Extracted packet for processing {"connection_id":189546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:12: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-19 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:12: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-19 14:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:12: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-19 14:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":189546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:46] local.INFO: GPS data processed {"connection_id":189546,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:46] local.INFO: Acknowledgment sent {"connection_id":189546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:47] local.INFO: TCP Data received {"connection_id":189547,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:47] local.INFO: Processing buffer {"connection_id":189547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:12:47] local.INFO: Packet analysis {"connection_id":189547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:47] local.INFO: Extracted packet for processing {"connection_id":189547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 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-19 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:12:47] 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-19 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-19 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-19 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":189547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:47] local.INFO: GPS data processed {"connection_id":189547,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:47] local.INFO: Acknowledgment sent {"connection_id":189547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:12:51] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:51] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:12:51] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:12:52] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2dcf0012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2dcf0012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:12:52] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2dcf0012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:12:52] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:52] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190643456001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:12:52] local.INFO: IO Element Parsed {"io_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-19 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807222000,"timestamp_ms":1789807222000,"timestamp_seconds":1789807222,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2dcf0"} 
[2026-09-19 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 14:12:52] 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-19 14:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:12:52] 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-19 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190643456001,"66":12972,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190643456001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190643456001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:12:52] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:12:52] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:09] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:09] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:09] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:13:09] local.INFO: TCP Data received {"connection_id":186924,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:09] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:09] local.INFO: IMEI packet received {"connection_id":186924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":186924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:13:14] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:14] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:13:14] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:13:14] local.INFO: TCP Data received {"connection_id":186924,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:14] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:13:14] local.INFO: IMEI packet received {"connection_id":186924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:13:15] local.INFO: TCP Data received {"connection_id":186924,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:15] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:15] local.INFO: Packet analysis {"connection_id":186924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:15] local.INFO: Extracted packet for processing {"connection_id":186924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:13:15] 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-19 14:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:16] local.INFO: GPS data processed {"connection_id":186924,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:16] local.INFO: Acknowledgment sent {"connection_id":186924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:16] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:16] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:16] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:16] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13: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-19 14:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:13: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-19 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:13: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-19 14:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:13: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-19 14:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:16] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:16] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:23] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d32ef8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d32ef8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:13:23] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d32ef8012d18d1c007210fd8004001572d..."} 
[2026-09-19 14:13:23] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:23] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":45,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648832001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:23] local.INFO: IO Element Parsed {"io_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-19 14:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807243000,"timestamp_ms":1789807243000,"timestamp_seconds":1789807243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d32ef8"} 
[2026-09-19 14:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:13: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-19 14:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 14:13:23] 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-19 14:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:23] 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-19 14:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648832001,"66":12939,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648832001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648832001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:23] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:23] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:46] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:46] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:46] local.INFO: IMEI packet received {"connection_id":189548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":189548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:13:47] local.INFO: TCP Data received {"connection_id":186924,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:47] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:13:47] local.INFO: Packet analysis {"connection_id":186924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:47] local.INFO: Extracted packet for processing {"connection_id":186924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14: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-19 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:13:47] 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-19 14: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-19 14: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-19 14:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:13:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":186924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:47] local.INFO: GPS data processed {"connection_id":186924,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:47] local.INFO: Acknowledgment sent {"connection_id":186924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:48] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:48] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:13:48] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:48] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14: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-19 14:13: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-19 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:13: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-19 14: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-19 14: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-19 14:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:13: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-19 14:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:48] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:48] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:49] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:49] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:49] local.INFO: IMEI packet received {"connection_id":189548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":189548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:13:51] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:51] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:13:51] local.INFO: IMEI packet received {"connection_id":189548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":189548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:13:52] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d38100012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d38100012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:13:52] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d38100012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:13:52] local.INFO: Packet analysis {"connection_id":189548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:52] local.INFO: Extracted packet for processing {"connection_id":189548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190654208001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:52] local.INFO: IO Element Parsed {"io_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-19 14:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807264000,"timestamp_ms":1789807264000,"timestamp_seconds":1789807264,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d38100"} 
[2026-09-19 14:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 14:13:52] 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-19 14:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:52] 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-19 14:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190654208001,"66":12852,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190654208001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190654208001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":189548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:52] local.INFO: GPS data processed {"connection_id":189548,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:52] local.INFO: Acknowledgment sent {"connection_id":189548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:13:56] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d3d308012d18d1c007210fd80040015727..."} 
[2026-09-19 14:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d3d308012d18d1c007210fd80040015727..."} 
[2026-09-19 14:13:56] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d3d308012d18d1c007210fd80040015727..."} 
[2026-09-19 14:13:56] local.INFO: Packet analysis {"connection_id":189548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:56] local.INFO: Extracted packet for processing {"connection_id":189548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d3"} 
[2026-09-19 14:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:13: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-19 14:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190659584001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:13:56] local.INFO: IO Element Parsed {"io_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-19 14:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789807285000,"timestamp_ms":1789807285000,"timestamp_seconds":1789807285,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d3d308"} 
[2026-09-19 14:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-19 14:13:56] 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-19 14:13: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-19 14:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:13:56] 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-19 14:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190659584001,"66":12809,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190659584001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:13:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190659584001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":189548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:13:56] local.INFO: GPS data processed {"connection_id":189548,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:13:56] local.INFO: Acknowledgment sent {"connection_id":189548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:09] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:09] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:09] local.INFO: IMEI packet received {"connection_id":186821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":186821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:14:14] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:14] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:14:14] local.INFO: IMEI packet received {"connection_id":186821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:14:14] local.INFO: TCP Data received {"connection_id":186822,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:14] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:14] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:14:15] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:15] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:15] local.INFO: Packet analysis {"connection_id":186821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:15] local.INFO: Extracted packet for processing {"connection_id":186821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14: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-19 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:14: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-19 14:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:14: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-19 14:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":186821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:15] local.INFO: GPS data processed {"connection_id":186821,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:15] local.INFO: Acknowledgment sent {"connection_id":186821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:19] local.INFO: TCP Data received {"connection_id":186822,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:19] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:14:19] local.INFO: IMEI packet received {"connection_id":186822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":186822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:14:21] local.INFO: TCP Data received {"connection_id":186822,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:21] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:21] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:21] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:14:21] 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-19 14:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:21] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:14:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:21] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:21] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:25] local.INFO: TCP Data received {"connection_id":186822,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:25] local.INFO: Processing buffer {"connection_id":186822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:14:25] local.INFO: Packet analysis {"connection_id":186822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:25] local.INFO: Extracted packet for processing {"connection_id":186822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:14:25] 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-19 14:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:14:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":186822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:25] local.INFO: GPS data processed {"connection_id":186822,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:25] local.INFO: Acknowledgment sent {"connection_id":186822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:27] local.INFO: TCP Data received {"connection_id":189548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d42510012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d42510012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:14:27] local.INFO: Processing buffer {"connection_id":189548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d42510012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:14:27] local.INFO: Packet analysis {"connection_id":189548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:14:27] local.INFO: Extracted packet for processing {"connection_id":189548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190664960001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.INFO: IO Element Parsed {"io_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-19 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789807306000,"timestamp_ms":1789807306000,"timestamp_seconds":1789807306,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d42510"} 
[2026-09-19 14:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14: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-19 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3100763864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-3344819919759289280,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692687,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":7205985320800669267,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2379853336959604778,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,6,160,129,45,192,15,64,44,10,66,46,220,1,240,172,227,184,33,4,113,205,56,209,216,43,239,51,2,77,7,164],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 14:14:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612063318419439616,"timestamp_seconds":4612063318419440.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:14:27] 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-19 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190664960001,"66":12026,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190664960001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190664960001,"power":12026,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":189548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:27] local.INFO: GPS data processed {"connection_id":189548,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:27] local.INFO: Acknowledgment sent {"connection_id":189548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:46] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:46] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:46] local.INFO: IMEI packet received {"connection_id":188223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":188223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:14:47] local.INFO: TCP Data received {"connection_id":186821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:47] local.INFO: Processing buffer {"connection_id":186821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:14:47] local.INFO: Packet analysis {"connection_id":186821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:47] local.INFO: Extracted packet for processing {"connection_id":186821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14: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-19 14:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14: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-19 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:14: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-19 14:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:14: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-19 14:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:47] local.INFO: GPS data processed {"connection_id":186821,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:47] local.INFO: Acknowledgment sent {"connection_id":186821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:14:51] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:51] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:14:51] local.INFO: IMEI packet received {"connection_id":188223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":188223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:14:52] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d47718012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d47718012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:14:52] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d47718012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:14:52] local.INFO: Packet analysis {"connection_id":188223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:14:52] local.INFO: Extracted packet for processing {"connection_id":188223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190670336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:14:52] local.INFO: IO Element Parsed {"io_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-19 14:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807327000,"timestamp_ms":1789807327000,"timestamp_seconds":1789807327,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d47718"} 
[2026-09-19 14:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:14: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-19 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-19 14:14:52] 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-19 14:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:14:52] 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-19 14:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190670336001,"66":12722,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190670336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:14:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190670336001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":188223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:14:52] local.INFO: GPS data processed {"connection_id":188223,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:14:52] local.INFO: Acknowledgment sent {"connection_id":188223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:10] local.INFO: TCP Data received {"connection_id":186925,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:10] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:10] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:15:14] local.INFO: TCP Data received {"connection_id":186925,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:14] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:15:14] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:15:14] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:14] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:14] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:15:15] local.INFO: TCP Data received {"connection_id":186925,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:15] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d296a0012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:15] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:15] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190567168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807204000,"timestamp_ms":1789807204000,"timestamp_seconds":1789807204,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d296a0"} 
[2026-09-19 14:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:15:15] 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-19 14:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190567168001,"66":25832,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190567168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:15:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190567168001,"power":25832,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:16] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:16] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:19] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:19] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:15:19] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:15:21] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:21] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:21] local.INFO: Packet analysis {"connection_id":186926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:21] local.INFO: Extracted packet for processing {"connection_id":186926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:15:21] 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-19 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":186926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:21] local.INFO: GPS data processed {"connection_id":186926,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:21] local.INFO: Acknowledgment sent {"connection_id":186926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:23] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d4c920012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d4c920012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:15:23] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d4c920012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:15:23] local.INFO: Packet analysis {"connection_id":188223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:15:23] local.INFO: Extracted packet for processing {"connection_id":188223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d4"} 
[2026-09-19 14:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:15: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-19 14:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190675712001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:23] local.INFO: IO Element Parsed {"io_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-19 14:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807348000,"timestamp_ms":1789807348000,"timestamp_seconds":1789807348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d4c920"} 
[2026-09-19 14:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15: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-19 14:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:15:23] 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-19 14:15: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-19 14:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:15:23] 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-19 14:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190675712001,"66":12689,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190675712001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190675712001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":188223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:23] local.INFO: GPS data processed {"connection_id":188223,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:23] local.INFO: Acknowledgment sent {"connection_id":188223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:26] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:26] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d2d908012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:15:26] local.INFO: Packet analysis {"connection_id":186926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:26] local.INFO: Extracted packet for processing {"connection_id":186926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d2"} 
[2026-09-19 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:15: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-19 14:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190571520001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789807221000,"timestamp_ms":1789807221000,"timestamp_seconds":1789807221,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d2d908"} 
[2026-09-19 14:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:15: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-19 14:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:15:26] 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-19 14:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190571520001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190571520001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:15:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190571520001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":186926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:26] local.INFO: GPS data processed {"connection_id":186926,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:26] local.INFO: Acknowledgment sent {"connection_id":186926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:46] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:46] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:46] local.INFO: IMEI packet received {"connection_id":188224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":188224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:15:47] local.INFO: TCP Data received {"connection_id":186925,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:47] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:15:47] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:15:47] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:15:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:15: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-19 14:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:15:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:48] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:48] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:15:51] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:51] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:15:51] local.INFO: IMEI packet received {"connection_id":188224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":188224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:15:52] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d51b28012d18d1c007210fd80040015729..."} 
[2026-09-19 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d51b28012d18d1c007210fd80040015729..."} 
[2026-09-19 14:15:52] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d51b28012d18d1c007210fd80040015729..."} 
[2026-09-19 14:15:52] local.INFO: Packet analysis {"connection_id":188224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:15:52] local.INFO: Extracted packet for processing {"connection_id":188224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:15: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-19 14:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190681088001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:15:52] local.INFO: IO Element Parsed {"io_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-19 14:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807369000,"timestamp_ms":1789807369000,"timestamp_seconds":1789807369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d51b28"} 
[2026-09-19 14:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:15:52] 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-19 14:15: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-19 14:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:15:52] 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-19 14:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190681088001,"66":12689,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190681088001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:15:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190681088001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":188224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:15:52] local.INFO: GPS data processed {"connection_id":188224,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:15:52] local.INFO: Acknowledgment sent {"connection_id":188224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:09] local.INFO: TCP Data received {"connection_id":188226,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:09] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:09] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:16:09] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:09] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:09] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:16:14] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:14] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:16:14] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:16:14] local.INFO: TCP Data received {"connection_id":188226,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:14] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:16:14] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:16:15] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:15] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:15] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:15] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16: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-19 14:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:16: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-19 14:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:16:15] 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-19 14:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:15] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:15] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:16] local.INFO: TCP Data received {"connection_id":188226,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:16] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:16] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:16] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:16:16] 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-19 14:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:16:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:16] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:16] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:23] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d56d30012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d56d30012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:23] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d56d30012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:23] local.INFO: Packet analysis {"connection_id":188224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:16:23] local.INFO: Extracted packet for processing {"connection_id":188224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:16: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-19 14:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190686464001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:23] local.INFO: IO Element Parsed {"io_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-19 14:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807390000,"timestamp_ms":1789807390000,"timestamp_seconds":1789807390,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d56d30"} 
[2026-09-19 14:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:16:23] 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-19 14:16: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-19 14:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:16:23] 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-19 14:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190686464001,"66":12645,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190686464001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190686464001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":188224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:23] local.INFO: GPS data processed {"connection_id":188224,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:23] local.INFO: Acknowledgment sent {"connection_id":188224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:46] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:46] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:46] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:16:47] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:47] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:16:47] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:47] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14: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-19 14:16: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-19 14: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-19 14: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-19 14: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-19 14: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-19 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:16: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-19 14:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:47] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:47] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:47] local.INFO: TCP Data received {"connection_id":188226,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:47] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:16:47] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:47] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14: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-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:16: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-19 14: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-19 14: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-19 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:47] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:47] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:16:51] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:51] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:16:51] local.INFO: IMEI packet received {"connection_id":186823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":186823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:16:52] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d5bf38012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d5bf38012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:52] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d5bf38012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:16:52] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:16:52] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d5"} 
[2026-09-19 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190691840001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:16:52] local.INFO: IO Element Parsed {"io_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-19 14:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807411000,"timestamp_ms":1789807411000,"timestamp_seconds":1789807411,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d5bf38"} 
[2026-09-19 14:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:16: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-19 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 14:16:52] 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-19 14:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:16:52] 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-19 14:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190691840001,"66":12667,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190691840001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:16:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190691840001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:16:52] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:16:52] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:09] local.INFO: TCP Data received {"connection_id":188227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:09] local.INFO: Processing buffer {"connection_id":188227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:09] local.INFO: IMEI packet received {"connection_id":188227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:17:09] local.INFO: TCP Data received {"connection_id":188228,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:09] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:09] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:17:14] local.INFO: TCP Data received {"connection_id":188227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:14] local.INFO: Processing buffer {"connection_id":188227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:17:14] local.INFO: IMEI packet received {"connection_id":188227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:17:14] local.INFO: TCP Data received {"connection_id":188228,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:14] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:17:14] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:17:15] local.INFO: TCP Data received {"connection_id":188227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:15] local.INFO: Processing buffer {"connection_id":188227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:15] local.INFO: Packet analysis {"connection_id":188227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:15] local.INFO: Extracted packet for processing {"connection_id":188227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17: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-19 14:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:17: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-19 14:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:17: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-19 14:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:17: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-19 14:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:15] local.INFO: GPS data processed {"connection_id":188227,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:15] local.INFO: Acknowledgment sent {"connection_id":188227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:15] local.INFO: TCP Data received {"connection_id":188228,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:15] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:15] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:15] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:16] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:16] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:22] local.INFO: TCP Data received {"connection_id":186823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d61140012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d61140012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:17:22] local.INFO: Processing buffer {"connection_id":186823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d61140012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:17:22] local.INFO: Packet analysis {"connection_id":186823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:17:22] local.INFO: Extracted packet for processing {"connection_id":186823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190697216001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:22] local.INFO: IO Element Parsed {"io_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-19 14:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789807432000,"timestamp_ms":1789807432000,"timestamp_seconds":1789807432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d61140"} 
[2026-09-19 14:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 14:17:22] 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-19 14:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:17:22] 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-19 14:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190697216001,"66":12591,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190697216001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190697216001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":186823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:23] local.INFO: GPS data processed {"connection_id":186823,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:23] local.INFO: Acknowledgment sent {"connection_id":186823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:47] local.INFO: TCP Data received {"connection_id":188228,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:47] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:17:47] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:47] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:17: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-19 14:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:17:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:47] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:47] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:48] local.INFO: TCP Data received {"connection_id":188227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:48] local.INFO: Processing buffer {"connection_id":188227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:17:48] local.INFO: Packet analysis {"connection_id":188227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:48] local.INFO: Extracted packet for processing {"connection_id":188227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14: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-19 14:17: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-19 14: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:17: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-19 14: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-19 14: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-19 14:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:17: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-19 14:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":188227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:48] local.INFO: GPS data processed {"connection_id":188227,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:48] local.INFO: Acknowledgment sent {"connection_id":188227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:17:51] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:51] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:51] local.INFO: IMEI packet received {"connection_id":188229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":188229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:17:56] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:56] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:17:56] local.INFO: IMEI packet received {"connection_id":188229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":188229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:17:57] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d66348012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d66348012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:17:57] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d66348012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:17:57] local.INFO: Packet analysis {"connection_id":188229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:17:57] local.INFO: Extracted packet for processing {"connection_id":188229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:17: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-19 14:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190702592001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789807453000,"timestamp_ms":1789807453000,"timestamp_seconds":1789807453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d66348"} 
[2026-09-19 14:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:17: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-19 14:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 14:17:57] 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-19 14:17: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-19 14:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:17:57] 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-19 14:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190702592001,"66":12613,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190702592001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:17:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190702592001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":188229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:17:57] local.INFO: GPS data processed {"connection_id":188229,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:17:57] local.INFO: Acknowledgment sent {"connection_id":188229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:00] local.INFO: TCP Data received {"connection_id":188229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d6b550012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d6b550012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:18:00] local.INFO: Processing buffer {"connection_id":188229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d6b550012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:18:00] local.INFO: Packet analysis {"connection_id":188229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:18:00] local.INFO: Extracted packet for processing {"connection_id":188229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d6"} 
[2026-09-19 14:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190707968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18: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-19 14:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789807474000,"timestamp_ms":1789807474000,"timestamp_seconds":1789807474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d6b550"} 
[2026-09-19 14:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:18: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-19 14:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 14:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:18:00] 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-19 14:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190707968001,"66":12602,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190707968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190707968001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":188229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:00] local.INFO: GPS data processed {"connection_id":188229,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:00] local.INFO: Acknowledgment sent {"connection_id":188229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:09] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:09] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:09] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:18:14] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:14] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:18:14] local.INFO: IMEI packet received {"connection_id":186824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:18:14] local.INFO: TCP Data received {"connection_id":186927,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:14] local.INFO: Processing buffer {"connection_id":186927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:14] local.INFO: IMEI packet received {"connection_id":186927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:18:15] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:15] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:15] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:15] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18: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-19 14:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14: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-19 14:18: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-19 14:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:18: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-19 14: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-19 14: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-19 14:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:18:15] 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-19 14:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:15] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:15] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:19] local.INFO: TCP Data received {"connection_id":186927,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:19] local.INFO: Processing buffer {"connection_id":186927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:18:19] local.INFO: IMEI packet received {"connection_id":186927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":186927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:18:20] local.INFO: TCP Data received {"connection_id":186927,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:20] local.INFO: Processing buffer {"connection_id":186927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:20] local.INFO: Packet analysis {"connection_id":186927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:20] local.INFO: Extracted packet for processing {"connection_id":186927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:18:20] 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-19 14:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":186927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:21] local.INFO: GPS data processed {"connection_id":186927,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:21] local.INFO: Acknowledgment sent {"connection_id":186927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:25] local.INFO: TCP Data received {"connection_id":186927,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:25] local.INFO: Processing buffer {"connection_id":186927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:18:25] local.INFO: Packet analysis {"connection_id":186927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:25] local.INFO: Extracted packet for processing {"connection_id":186927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:18: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-19 14:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:18:25] 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-19 14:18: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-19 14:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":186927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:25] local.INFO: GPS data processed {"connection_id":186927,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:25] local.INFO: Acknowledgment sent {"connection_id":186927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:46] local.INFO: TCP Data received {"connection_id":189549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:46] local.INFO: Processing buffer {"connection_id":189549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:46] local.INFO: IMEI packet received {"connection_id":189549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":189549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:18:47] local.INFO: TCP Data received {"connection_id":186824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:47] local.INFO: Processing buffer {"connection_id":186824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:18:47] local.INFO: Packet analysis {"connection_id":186824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:47] local.INFO: Extracted packet for processing {"connection_id":186824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18: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-19 14:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 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-19 14:18: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-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:18: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-19 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-19 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-19 14:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:18:47] 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-19 14:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:47] local.INFO: GPS data processed {"connection_id":186824,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:47] local.INFO: Acknowledgment sent {"connection_id":186824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:18:51] local.INFO: TCP Data received {"connection_id":189549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:51] local.INFO: Processing buffer {"connection_id":189549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:18:51] local.INFO: IMEI packet received {"connection_id":189549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":189549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:18:52] local.INFO: TCP Data received {"connection_id":189549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d70758012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d70758012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:18:52] local.INFO: Processing buffer {"connection_id":189549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d70758012d18d1c007210fd8004001572c..."} 
[2026-09-19 14:18:52] local.INFO: Packet analysis {"connection_id":189549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:52] local.INFO: Extracted packet for processing {"connection_id":189549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190713344001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:18:52] local.INFO: IO Element Parsed {"io_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-19 14:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807495000,"timestamp_ms":1789807495000,"timestamp_seconds":1789807495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d70758"} 
[2026-09-19 14:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:18: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-19 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-19 14:18:52] 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-19 14:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:18:52] 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-19 14:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190713344001,"66":12548,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190713344001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:18:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190713344001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":189549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:18:52] local.INFO: GPS data processed {"connection_id":189549,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:18:52] local.INFO: Acknowledgment sent {"connection_id":189549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:09] local.INFO: TCP Data received {"connection_id":188230,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:09] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:09] local.INFO: IMEI packet received {"connection_id":188230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:19:14] local.INFO: TCP Data received {"connection_id":188230,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:14] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:19:14] local.INFO: IMEI packet received {"connection_id":188230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":188230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:19:15] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:15] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:15] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:19:15] local.INFO: TCP Data received {"connection_id":188230,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:15] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:15] local.INFO: Packet analysis {"connection_id":188230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:15] local.INFO: Extracted packet for processing {"connection_id":188230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:19:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":188230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:16] local.INFO: GPS data processed {"connection_id":188230,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:16] local.INFO: Acknowledgment sent {"connection_id":188230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:19] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:19] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:19:19] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:19:20] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:20] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:20] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:20] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 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-19 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 14:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:19: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-19 14:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:20] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:20] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:22] local.INFO: TCP Data received {"connection_id":189549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d75960012d18d1c007210fd80040015729..."} 
[2026-09-19 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d75960012d18d1c007210fd80040015729..."} 
[2026-09-19 14:19:22] local.INFO: Processing buffer {"connection_id":189549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d75960012d18d1c007210fd80040015729..."} 
[2026-09-19 14:19:22] local.INFO: Packet analysis {"connection_id":189549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:22] local.INFO: Extracted packet for processing {"connection_id":189549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190718720001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.INFO: IO Element Parsed {"io_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-19 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789807516000,"timestamp_ms":1789807516000,"timestamp_seconds":1789807516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d75960"} 
[2026-09-19 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3100973864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3586078721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692687,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,6,160,181,45,192,15,64,42,10,66,99,17,1,240,47,227,184,33,4,113,205,109,209,216,44,239,49,2,77,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 14:19:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612063339894276096,"timestamp_seconds":4612063339894276.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:19:22] 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-19 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190718720001,"66":12526,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190718720001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190718720001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":189549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:23] local.INFO: GPS data processed {"connection_id":189549,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:23] local.INFO: Acknowledgment sent {"connection_id":189549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:25] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:25] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:19:25] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:25] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:19: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-19 14:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:25] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:25] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:45] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:45] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:45] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:19:46] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:46] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:46] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:19:47] local.INFO: TCP Data received {"connection_id":188230,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:47] local.INFO: Processing buffer {"connection_id":188230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:19:47] local.INFO: Packet analysis {"connection_id":188230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:47] local.INFO: Extracted packet for processing {"connection_id":188230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:19: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-19 14:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:19:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":188230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:47] local.INFO: GPS data processed {"connection_id":188230,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:47] local.INFO: Acknowledgment sent {"connection_id":188230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:19:51] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:51] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:19:51] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:19:52] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d7ab68012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d7ab68012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:19:52] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d7ab68012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:19:52] local.INFO: Packet analysis {"connection_id":186929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:52] local.INFO: Extracted packet for processing {"connection_id":186929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190724096001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:19:52] local.INFO: IO Element Parsed {"io_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-19 14:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807537000,"timestamp_ms":1789807537000,"timestamp_seconds":1789807537,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d7ab68"} 
[2026-09-19 14:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 14:19:52] 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-19 14:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:19:52] 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-19 14:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190724096001,"66":12558,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190724096001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:19:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190724096001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:19:52] local.INFO: GPS data processed {"connection_id":186929,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:19:52] local.INFO: Acknowledgment sent {"connection_id":186929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:20:09] local.INFO: TCP Data received {"connection_id":186931,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:09] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:09] local.INFO: IMEI packet received {"connection_id":186931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":186931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:20:09] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:09] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:09] local.INFO: IMEI packet received {"connection_id":186930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":186930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:20:14] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:14] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:14] local.INFO: IMEI packet received {"connection_id":186930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:20:14] local.INFO: TCP Data received {"connection_id":186931,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:14] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:20:14] local.INFO: IMEI packet received {"connection_id":186931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:20:15] local.INFO: TCP Data received {"connection_id":186930,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:20:15] local.INFO: Processing buffer {"connection_id":186930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d770d0012d34c14006aa41400008010e2e..."} 
[2026-09-19 14:20:15] local.INFO: Packet analysis {"connection_id":186930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:15] local.INFO: Extracted packet for processing {"connection_id":186930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190648576001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807522000,"timestamp_ms":1789807522000,"timestamp_seconds":1789807522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d770d0"} 
[2026-09-19 14: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-19 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:20: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-19 14:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190648576001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190648576001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190648576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":186930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:20:15] local.INFO: GPS data processed {"connection_id":186930,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:20:15] local.INFO: Acknowledgment sent {"connection_id":186930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:20:16] local.INFO: TCP Data received {"connection_id":186931,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:16] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d72e68012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:16] local.INFO: Packet analysis {"connection_id":186931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:16] local.INFO: Extracted packet for processing {"connection_id":186931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190644224001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789807505000,"timestamp_ms":1789807505000,"timestamp_seconds":1789807505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d72e68"} 
[2026-09-19 14: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-19 14:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:20:16] 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-19 14: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-19 14: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-19 14:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190644224001,"66":25810,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190644224001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:20:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:20:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190644224001,"power":25810,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":186931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:20:16] local.INFO: GPS data processed {"connection_id":186931,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:20:16] local.INFO: Acknowledgment sent {"connection_id":186931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:20:23] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d7fd70012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d7fd70012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:20:23] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d7fd70012d18d1c007210fd8004001572b..."} 
[2026-09-19 14:20:23] local.INFO: Packet analysis {"connection_id":186929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:23] local.INFO: Extracted packet for processing {"connection_id":186929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d7"} 
[2026-09-19 14:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 14:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190729472001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.INFO: IO Element Parsed {"io_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-19 14:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807558000,"timestamp_ms":1789807558000,"timestamp_seconds":1789807558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d7fd70"} 
[2026-09-19 14:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:20: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-19 14:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3101015864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249577753831346136,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3596830721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692687,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,6,160,89,45,192,15,64,41,10,66,7,44,181,1,240,58,227,184,33,4,113,205,17,209,216,239,49,2,77,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 14:20:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612063331304341504,"timestamp_seconds":4612063331304342.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:20:23] 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-19 14:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190729472001,"66":12548,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190729472001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:20:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190729472001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":186929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:20:24] local.INFO: GPS data processed {"connection_id":186929,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:20:24] local.INFO: Acknowledgment sent {"connection_id":186929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:20:46] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:46] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:46] local.INFO: IMEI packet received {"connection_id":186825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":186825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:20:47] local.INFO: TCP Data received {"connection_id":186931,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:47] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:20:47] local.INFO: Packet analysis {"connection_id":186931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:20:47] local.INFO: Extracted packet for processing {"connection_id":186931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":186931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:20:47] local.INFO: GPS data processed {"connection_id":186931,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:20:47] local.INFO: Acknowledgment sent {"connection_id":186931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:20:50] local.INFO: TCP Data received {"connection_id":189550,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:50] local.INFO: Processing buffer {"connection_id":189550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:20:50] local.INFO: IMEI packet received {"connection_id":189550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":189550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:20:51] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:51] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:20:51] local.INFO: IMEI packet received {"connection_id":186825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":186825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:20:51] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8d84f78012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8d84f78012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:20:51] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8d84f78012d18d1c007210fd8004001572a..."} 
[2026-09-19 14:20:51] local.INFO: Packet analysis {"connection_id":186825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8d8"} 
[2026-09-19 14:20:51] local.INFO: Extracted packet for processing {"connection_id":186825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8d8"} 
[2026-09-19 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607256,"longitude_deg":75.660128,"latitude_deg":11.9607256,"altitude":64,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d18d1c0","hex_latitude":"07210fd8","is_valid_coordinates":true} 
[2026-09-19 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-19 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190734848001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680170276487168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894788096,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.INFO: IO Element Parsed {"io_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-19 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789807579000,"timestamp_ms":1789807579000,"timestamp_seconds":1789807579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8d84f78"} 
[2026-09-19 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-19 14:20: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-19 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3101036864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3602206721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692687,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-19 14:20:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,6,160,171,45,192,15,64,42,10,66,89,41,7,1,240,4,227,184,33,113,205,99,209,216,239,49,2,77,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 14:20:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612063335599308800,"timestamp_seconds":4612063335599309.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 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-19 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:20:51] 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-19 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190734848001,"66":12558,"103":206,"83":41984,"24":0,"16":21680170276487168,"45":1788421663894788096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190734848001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:20:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 14:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680170276487168,"km_value":21680170276487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894788096,"description":"Unknown IO ID 45"} 
[2026-09-19 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190734848001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788421663894788096}} 
[2026-09-19 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":186825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:20:51] local.INFO: GPS data processed {"connection_id":186825,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:20:51] local.INFO: Acknowledgment sent {"connection_id":186825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:21:14] local.INFO: TCP Data received {"connection_id":189551,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:14] local.INFO: Processing buffer {"connection_id":189551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:14] local.INFO: IMEI packet received {"connection_id":189551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":189551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:21:19] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:19] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:19] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:21:19] local.INFO: TCP Data received {"connection_id":189551,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:19] local.INFO: Processing buffer {"connection_id":189551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:21:19] local.INFO: IMEI packet received {"connection_id":189551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":189551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:21:20] local.INFO: TCP Data received {"connection_id":189551,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:20] local.INFO: Processing buffer {"connection_id":189551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:20] local.INFO: Packet analysis {"connection_id":189551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:21:20] local.INFO: Extracted packet for processing {"connection_id":189551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 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-19 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 14:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:21:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:21:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":189551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:21:21] local.INFO: GPS data processed {"connection_id":189551,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:21:21] local.INFO: Acknowledgment sent {"connection_id":189551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:21:22] local.INFO: TCP Data received {"connection_id":186825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc3f48012d18c440072143580043016329..."} 
[2026-09-19 14:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc3f48012d18c440072143580043016329..."} 
[2026-09-19 14:21:22] local.INFO: Processing buffer {"connection_id":186825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc3f48012d18c440072143580043016329..."} 
[2026-09-19 14:21:22] local.INFO: Packet analysis {"connection_id":186825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:22] local.INFO: Extracted packet for processing {"connection_id":186825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620440,"longitude_deg":75.6597824,"latitude_deg":11.962044,"altitude":67,"angle":355,"satellites":41,"speed":33,"hex_longitude":"2d18c440","hex_latitude":"07214358","is_valid_coordinates":true} 
[2026-09-19 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190805760001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21680857471254528,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433046016,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:22] 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-19 14:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789807837000,"timestamp_ms":1789807837000,"timestamp_seconds":1789807837,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc3f48"} 
[2026-09-19 14:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 14:21:22] 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-19 14:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:21:22] 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-19 14:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190805760001,"66":14189,"106":206,"83":41984,"24":33,"16":21680857471254528,"45":1784973595433046016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 14:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190805760001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:21:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 14:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21680857471254528,"km_value":21680857471254.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433046016,"description":"Unknown IO ID 45"} 
[2026-09-19 14:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190805760001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784973595433046016}} 
[2026-09-19 14:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":186825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:21:22] local.INFO: GPS data processed {"connection_id":186825,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:21:22] local.INFO: Acknowledgment sent {"connection_id":186825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:21:24] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:24] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:21:24] local.INFO: IMEI packet received {"connection_id":186826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":186826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:21:25] local.INFO: TCP Data received {"connection_id":189551,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:25] local.INFO: Processing buffer {"connection_id":189551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:21:25] local.INFO: Packet analysis {"connection_id":189551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:21:25] local.INFO: Extracted packet for processing {"connection_id":189551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:21:25] local.INFO: TCP Data received {"connection_id":186826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:21:25] local.INFO: Processing buffer {"connection_id":186826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:21:25] local.INFO: Packet analysis {"connection_id":186826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:25] local.INFO: Extracted packet for processing {"connection_id":186826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:21:25] 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-19 14:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":186826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:21:25] local.INFO: GPS data processed {"connection_id":186826,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:21:25] local.INFO: Acknowledgment sent {"connection_id":186826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":189551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:21:25] local.INFO: GPS data processed {"connection_id":189551,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:21:25] local.INFO: Acknowledgment sent {"connection_id":189551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:21:46] local.INFO: TCP Data received {"connection_id":189552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:46] local.INFO: Processing buffer {"connection_id":189552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:46] local.INFO: IMEI packet received {"connection_id":189552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":189552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:21:47] local.INFO: TCP Data received {"connection_id":189552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:47] local.INFO: Processing buffer {"connection_id":189552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:47] local.INFO: IMEI packet received {"connection_id":189552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":189552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:21:50] local.INFO: TCP Data received {"connection_id":189552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:50] local.INFO: Processing buffer {"connection_id":189552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:21:50] local.INFO: IMEI packet received {"connection_id":189552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":189552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:21:51] local.INFO: TCP Data received {"connection_id":189552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc4ee8012d18c30007215100004401562a..."} 
[2026-09-19 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc4ee8012d18c30007215100004401562a..."} 
[2026-09-19 14:21:51] local.INFO: Processing buffer {"connection_id":189552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc4ee8012d18c30007215100004401562a..."} 
[2026-09-19 14:21:51] local.INFO: Packet analysis {"connection_id":189552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:51] local.INFO: Extracted packet for processing {"connection_id":189552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623936,"longitude_deg":75.6597504,"latitude_deg":11.9623936,"altitude":68,"angle":342,"satellites":42,"speed":35,"hex_longitude":"2d18c300","hex_latitude":"07215100","is_valid_coordinates":true} 
[2026-09-19 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-19 14:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190806272001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21681029269946368,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712569344,"note":"Value kept but may cause issues"} 
[2026-09-19 14:21:51] 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-19 14:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789807841000,"timestamp_ms":1789807841000,"timestamp_seconds":1789807841,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc4ee8"} 
[2026-09-19 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-19 14:21: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-19 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 14:21:51] 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-19 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-19 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-19 14:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:21:51] 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-19 14:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190806272001,"66":14243,"106":206,"83":41984,"24":35,"16":21681029269946368,"45":1784621751712569344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 14:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190806272001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:21:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 14:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21681029269946368,"km_value":21681029269946.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712569344,"description":"Unknown IO ID 45"} 
[2026-09-19 14:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190806272001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784621751712569344}} 
[2026-09-19 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":189552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:21:51] local.INFO: GPS data processed {"connection_id":189552,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:21:51] local.INFO: Acknowledgment sent {"connection_id":189552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:09] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:09] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:09] local.INFO: IMEI packet received {"connection_id":188232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:22:09] local.INFO: TCP Data received {"connection_id":188231,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:09] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:09] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:22:14] local.INFO: TCP Data received {"connection_id":188231,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:14] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:22:14] local.INFO: IMEI packet received {"connection_id":188231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:15] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:15] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:15] local.INFO: IMEI packet received {"connection_id":188232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:15] local.INFO: TCP Data received {"connection_id":188231,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:15] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:15] local.INFO: Packet analysis {"connection_id":188231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:22:15] local.INFO: Extracted packet for processing {"connection_id":188231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:22:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14: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-19 14:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:22:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":188231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:16] local.INFO: GPS data processed {"connection_id":188231,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:16] local.INFO: Acknowledgment sent {"connection_id":188231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:19] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:19] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:22:19] local.INFO: IMEI packet received {"connection_id":188232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":188232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:21] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:21] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:21] local.INFO: Packet analysis {"connection_id":188232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:21] local.INFO: Extracted packet for processing {"connection_id":188232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:22: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-19 14:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:22:21] 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-19 14:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":188232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:21] local.INFO: GPS data processed {"connection_id":188232,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:21] local.INFO: Acknowledgment sent {"connection_id":188232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:22] local.INFO: TCP Data received {"connection_id":189552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc56b8012d18bf8007215708004401442b..."} 
[2026-09-19 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc56b8012d18bf8007215708004401442b..."} 
[2026-09-19 14:22:22] local.INFO: Processing buffer {"connection_id":189552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc56b8012d18bf8007215708004401442b..."} 
[2026-09-19 14:22:22] local.INFO: Packet analysis {"connection_id":189552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:22] local.INFO: Extracted packet for processing {"connection_id":189552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119625480,"longitude_deg":75.6596608,"latitude_deg":11.962548,"altitude":68,"angle":324,"satellites":43,"speed":34,"hex_longitude":"2d18bf80","hex_latitude":"07215708","is_valid_coordinates":true} 
[2026-09-19 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190807296001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21681115169292288,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992576000,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:22] 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-19 14:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789807843000,"timestamp_ms":1789807843000,"timestamp_seconds":1789807843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc56b8"} 
[2026-09-19 14:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:22] 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-19 14:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:22] 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-19 14:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190807296001,"66":14189,"106":206,"83":41984,"24":34,"16":21681115169292288,"45":1784269907992576000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 14:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190807296001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 14:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21681115169292288,"km_value":21681115169292.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992576000,"description":"Unknown IO ID 45"} 
[2026-09-19 14:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190807296001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784269907992576000}} 
[2026-09-19 14:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":189552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:22] local.INFO: GPS data processed {"connection_id":189552,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:22] local.INFO: Acknowledgment sent {"connection_id":189552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:46] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:46] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:46] local.INFO: IMEI packet received {"connection_id":189553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":189553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:22:47] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:47] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:47] local.INFO: IMEI packet received {"connection_id":189553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":189553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:47] local.INFO: TCP Data received {"connection_id":188231,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:47] local.INFO: Processing buffer {"connection_id":188231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:22:47] local.INFO: Packet analysis {"connection_id":188231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:22:47] local.INFO: Extracted packet for processing {"connection_id":188231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:22:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14: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-19 14:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:22:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":188231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:48] local.INFO: GPS data processed {"connection_id":188231,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:48] local.INFO: Acknowledgment sent {"connection_id":188231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:49] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:49] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:49] local.INFO: IMEI packet received {"connection_id":189553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":189553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:51] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:51] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:22:51] local.INFO: IMEI packet received {"connection_id":189553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":189553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:22:52] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc79e0012d18ac80072170a80046013829..."} 
[2026-09-19 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc79e0012d18ac80072170a80046013829..."} 
[2026-09-19 14:22:52] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc79e0012d18ac80072170a80046013829..."} 
[2026-09-19 14:22:52] local.INFO: Packet analysis {"connection_id":189553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: Extracted packet for processing {"connection_id":189553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632040,"longitude_deg":75.6591744,"latitude_deg":11.963204,"altitude":70,"angle":312,"satellites":41,"speed":33,"hex_longitude":"2d18ac80","hex_latitude":"072170a8","is_valid_coordinates":true} 
[2026-09-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190807808001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21681510306283520,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745574483968,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807852000,"timestamp_ms":1789807852000,"timestamp_seconds":1789807852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc79e0"} 
[2026-09-19 14:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190807808001,"66":14004,"106":206,"83":41984,"24":33,"16":21681510306283520,"45":1783284745574483968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190807808001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21681510306283520,"km_value":21681510306283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745574483968,"description":"Unknown IO ID 45"} 
[2026-09-19 14:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190807808001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1783284745574483968}} 
[2026-09-19 14:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":189553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:52] local.INFO: GPS data processed {"connection_id":189553,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:52] local.INFO: Acknowledgment sent {"connection_id":189553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:52] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc7dc8012d18a980072172880046012c2a..."} 
[2026-09-19 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc7dc8012d18a980072172880046012c2a..."} 
[2026-09-19 14:22:52] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc7dc8012d18a980072172880046012c2a..."} 
[2026-09-19 14:22:52] local.INFO: Packet analysis {"connection_id":189553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: Extracted packet for processing {"connection_id":189553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632520,"longitude_deg":75.6590976,"latitude_deg":11.963252,"altitude":70,"angle":300,"satellites":42,"speed":32,"hex_longitude":"2d18a980","hex_latitude":"07217288","is_valid_coordinates":true} 
[2026-09-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190810112001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21681553255956480,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018660864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807853000,"timestamp_ms":1789807853000,"timestamp_seconds":1789807853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc7dc8"} 
[2026-09-19 14:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:22: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-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190810112001,"66":14004,"106":206,"83":41984,"24":32,"16":21681553255956480,"45":1777936721018660864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190810112001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21681553255956480,"km_value":21681553255956.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018660864,"description":"Unknown IO ID 45"} 
[2026-09-19 14:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190810112001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1777936721018660864}} 
[2026-09-19 14:22:52] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:52] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:22:52] local.INFO: Packet analysis {"connection_id":188232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: Extracted packet for processing {"connection_id":188232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:22: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-19 14:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:22:52] 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-19 14:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":188232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:52] local.INFO: GPS data processed {"connection_id":188232,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:52] local.INFO: Acknowledgment sent {"connection_id":188232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":189553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:22:52] local.INFO: GPS data processed {"connection_id":189553,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:22:52] local.INFO: Acknowledgment sent {"connection_id":189553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:09] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:09] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:09] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:23:09] local.INFO: TCP Data received {"connection_id":189554,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:09] local.INFO: Processing buffer {"connection_id":189554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:09] local.INFO: IMEI packet received {"connection_id":189554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":189554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:23:14] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:14] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:23:14] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:23:14] local.INFO: TCP Data received {"connection_id":189554,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:14] local.INFO: Processing buffer {"connection_id":189554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:23:14] local.INFO: IMEI packet received {"connection_id":189554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":189554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:23:15] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:15] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:15] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:23:15] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23: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-19 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:23: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-19 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:23: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-19 14:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:23: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-19 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:15] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:15] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:15] local.INFO: TCP Data received {"connection_id":189554,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:15] local.INFO: Processing buffer {"connection_id":189554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:15] local.INFO: Packet analysis {"connection_id":189554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:23:15] local.INFO: Extracted packet for processing {"connection_id":189554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":189554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:16] local.INFO: GPS data processed {"connection_id":189554,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:16] local.INFO: Acknowledgment sent {"connection_id":189554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:23] local.INFO: TCP Data received {"connection_id":189553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de23a8012d181e400721ae00004b00bc28..."} 
[2026-09-19 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de23a8012d181e400721ae00004b00bc28..."} 
[2026-09-19 14:23:23] local.INFO: Processing buffer {"connection_id":189553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de23a8012d181e400721ae00004b00bc28..."} 
[2026-09-19 14:23:23] local.INFO: Packet analysis {"connection_id":189553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:23:23] local.INFO: Extracted packet for processing {"connection_id":189553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":75,"angle":188,"satellites":40,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190836480001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683571890585600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073986560,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:23] local.INFO: IO Element Parsed {"io_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-19 14:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807961000,"timestamp_ms":1789807961000,"timestamp_seconds":1789807961,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de23a8"} 
[2026-09-19 14:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:23: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-19 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 14:23:23] 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-19 14:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:23:23] 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-19 14:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190836480001,"66":13156,"105":206,"83":41984,"24":2,"16":21683571890585600,"45":1738037643073986560},"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-19 14:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190836480001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683571890585600,"km_value":21683571890585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073986560,"description":"Unknown IO ID 45"} 
[2026-09-19 14:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190836480001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738037643073986560}} 
[2026-09-19 14:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":189553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:23] local.INFO: GPS data processed {"connection_id":189553,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:23] local.INFO: Acknowledgment sent {"connection_id":189553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:46] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:46] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:46] local.INFO: IMEI packet received {"connection_id":186827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":186827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:23:47] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:47] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:23:47] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:23:47] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23: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-19 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 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-19 14:23: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-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:23: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-19 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-19 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-19 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:23:47] 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-19 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:47] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:47] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:47] local.INFO: TCP Data received {"connection_id":189554,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:47] local.INFO: Processing buffer {"connection_id":189554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:23:47] local.INFO: Packet analysis {"connection_id":189554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:23:47] local.INFO: Extracted packet for processing {"connection_id":189554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 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-19 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":189554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:47] local.INFO: GPS data processed {"connection_id":189554,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:47] local.INFO: Acknowledgment sent {"connection_id":189554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:23:51] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:51] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:23:51] local.INFO: IMEI packet received {"connection_id":186827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":186827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:23:51] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de2790012d181e800721adc8004b00a728..."} 
[2026-09-19 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de2790012d181e800721adc8004b00a728..."} 
[2026-09-19 14:23:51] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de2790012d181e800721adc8004b00a728..."} 
[2026-09-19 14:23:51] local.INFO: Packet analysis {"connection_id":186827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:23:51] local.INFO: Extracted packet for processing {"connection_id":186827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647688,"longitude_deg":75.6555392,"latitude_deg":11.9647688,"altitude":75,"angle":167,"satellites":40,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-09-19 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190838016001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683576185552896,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-09-19 14:23:51] local.INFO: IO Element Parsed {"io_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-19 14:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789807962000,"timestamp_ms":1789807962000,"timestamp_seconds":1789807962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de2790"} 
[2026-09-19 14:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:23: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-19 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 14:23:51] 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-19 14:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:23:51] 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-19 14:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190838016001,"66":13156,"105":206,"83":41984,"24":2,"16":21683576185552896,"45":1737896905585590272},"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-19 14:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190838016001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:23:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683576185552896,"km_value":21683576185552.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-09-19 14:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190838016001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-09-19 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":186827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:23:51] local.INFO: GPS data processed {"connection_id":186827,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:23:51] local.INFO: Acknowledgment sent {"connection_id":186827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:09] local.INFO: TCP Data received {"connection_id":188234,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:09] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:09] local.INFO: IMEI packet received {"connection_id":188234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:24:14] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:14] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:14] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:24:14] local.INFO: TCP Data received {"connection_id":188234,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:14] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:24:14] local.INFO: IMEI packet received {"connection_id":188234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:24:15] local.INFO: TCP Data received {"connection_id":188234,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:15] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:15] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:24:15] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:16] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:16] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:19] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:19] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:24:19] local.INFO: IMEI packet received {"connection_id":186828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":186828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:24:20] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:20] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:20] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:24:20] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:24:20] 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-19 14:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:20] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:20] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:23] local.INFO: TCP Data received {"connection_id":186827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de3348012d181e800721ad58004b008b29..."} 
[2026-09-19 14:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de3348012d181e800721ad58004b008b29..."} 
[2026-09-19 14:24:23] local.INFO: Processing buffer {"connection_id":186827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de3348012d181e800721ad58004b008b29..."} 
[2026-09-19 14:24:23] local.INFO: Packet analysis {"connection_id":186827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:24:23] local.INFO: Extracted packet for processing {"connection_id":186827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647576,"longitude_deg":75.6555392,"latitude_deg":11.9647576,"altitude":75,"angle":139,"satellites":41,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-09-19 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190838272001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683580480520192,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329753600,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:23] local.INFO: IO Element Parsed {"io_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-19 14:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807965000,"timestamp_ms":1789807965000,"timestamp_seconds":1789807965,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de3348"} 
[2026-09-19 14:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:23] 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-19 14:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:24:23] 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-19 14:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190838272001,"66":13124,"105":206,"83":41984,"24":1,"16":21683580480520192,"45":1737967274329753600},"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-19 14:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190838272001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683580480520192,"km_value":21683580480520.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329753600,"description":"Unknown IO ID 45"} 
[2026-09-19 14:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190838272001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329753600}} 
[2026-09-19 14:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":186827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:23] local.INFO: GPS data processed {"connection_id":186827,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:23] local.INFO: Acknowledgment sent {"connection_id":186827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:47] local.INFO: TCP Data received {"connection_id":188234,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:47] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:24:47] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:24:47] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:24:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14: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-19 14:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:47] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:47] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:51] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:51] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:51] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:24:52] local.INFO: TCP Data received {"connection_id":186828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:52] local.INFO: Processing buffer {"connection_id":186828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:24:52] local.INFO: Packet analysis {"connection_id":186828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:24:52] local.INFO: Extracted packet for processing {"connection_id":186828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24: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-19 14:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:24: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-19 14:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":186828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:52] local.INFO: GPS data processed {"connection_id":186828,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:52] local.INFO: Acknowledgment sent {"connection_id":186828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:24:54] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:54] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:24:54] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:24:55] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de3b18012d181e800721ad48004b010428..."} 
[2026-09-19 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de3b18012d181e800721ad48004b010428..."} 
[2026-09-19 14:24:55] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de3b18012d181e800721ad48004b010428..."} 
[2026-09-19 14:24:55] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:24:55] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647560,"longitude_deg":75.6555392,"latitude_deg":11.964756,"altitude":75,"angle":260,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-19 14:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190839040001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683584775487488,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329724928,"note":"Value kept but may cause issues"} 
[2026-09-19 14:24:55] local.INFO: IO Element Parsed {"io_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-19 14:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789807967000,"timestamp_ms":1789807967000,"timestamp_seconds":1789807967,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de3b18"} 
[2026-09-19 14:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-19 14:24:55] 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-19 14:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:24:55] 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-19 14:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190839040001,"66":13124,"105":206,"83":41984,"24":0,"16":21683584775487488,"45":1737967274329724928},"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-19 14:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190839040001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:24:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683584775487488,"km_value":21683584775487.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329724928,"description":"Unknown IO ID 45"} 
[2026-09-19 14:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190839040001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329724928}} 
[2026-09-19 14:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:24:55] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:24:55] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:09] local.INFO: TCP Data received {"connection_id":189555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:09] local.INFO: Processing buffer {"connection_id":189555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:09] local.INFO: IMEI packet received {"connection_id":189555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:25:14] local.INFO: TCP Data received {"connection_id":189555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:14] local.INFO: Processing buffer {"connection_id":189555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:25:14] local.INFO: IMEI packet received {"connection_id":189555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":189555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:25:14] local.INFO: TCP Data received {"connection_id":188236,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:14] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:14] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:25:15] local.INFO: TCP Data received {"connection_id":189555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:15] local.INFO: Processing buffer {"connection_id":189555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:15] local.INFO: Packet analysis {"connection_id":189555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:25:15] local.INFO: Extracted packet for processing {"connection_id":189555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:25: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-19 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:25: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-19 14:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:25: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-19 14:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":189555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:15] local.INFO: GPS data processed {"connection_id":189555,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:15] local.INFO: Acknowledgment sent {"connection_id":189555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:19] local.INFO: TCP Data received {"connection_id":188236,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:19] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:25:19] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:25:20] local.INFO: TCP Data received {"connection_id":188236,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:20] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:20] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:25:20] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:25:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:21] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:21] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:25] local.INFO: TCP Data received {"connection_id":188236,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:25] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dbc630012c7931800848f770000c01612f..."} 
[2026-09-19 14:25:25] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:25:25] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8db"} 
[2026-09-19 14:25:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789807806000,"timestamp_ms":1789807806000,"timestamp_seconds":1789807806,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dbc630"} 
[2026-09-19 14:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-19 14:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190721280001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:25:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190721280001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:25] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:25] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:26] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de3f00012d181e400721ad18004b00eb29..."} 
[2026-09-19 14:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de3f00012d181e400721ad18004b00eb29..."} 
[2026-09-19 14:25:26] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de3f00012d181e400721ad18004b00eb29..."} 
[2026-09-19 14:25:26] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:25:26] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647512,"longitude_deg":75.6555328,"latitude_deg":11.9647512,"altitude":75,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad18","is_valid_coordinates":true} 
[2026-09-19 14:25: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-19 14:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190839552001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683589070454784,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329720832,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789807968000,"timestamp_ms":1789807968000,"timestamp_seconds":1789807968,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de3f00"} 
[2026-09-19 14:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-19 14:25:26] 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-19 14:25: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-19 14:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:25:26] 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-19 14:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190839552001,"66":13124,"105":206,"83":41984,"24":0,"16":21683589070454784,"45":1737967274329720832},"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-19 14:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190839552001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683589070454784,"km_value":21683589070454.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329720832,"description":"Unknown IO ID 45"} 
[2026-09-19 14:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190839552001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329720832}} 
[2026-09-19 14:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:26] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:26] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:46] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:46] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:46] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:25:47] local.INFO: TCP Data received {"connection_id":189555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:47] local.INFO: Processing buffer {"connection_id":189555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8dc0898012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:25:47] local.INFO: Packet analysis {"connection_id":189555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:25:47] local.INFO: Extracted packet for processing {"connection_id":189555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8dc"} 
[2026-09-19 14:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190725632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789807823000,"timestamp_ms":1789807823000,"timestamp_seconds":1789807823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8dc0898"} 
[2026-09-19 14: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-19 14:25: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-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:25: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-19 14: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-19 14: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-19 14:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:25: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-19 14:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190725632001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190725632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190725632001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":189555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:47] local.INFO: GPS data processed {"connection_id":189555,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:47] local.INFO: Acknowledgment sent {"connection_id":189555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:25:51] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:51] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:25:51] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:25:51] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de42e8012d181e000721acd8004b00dc29..."} 
[2026-09-19 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de42e8012d181e000721acd8004b00dc29..."} 
[2026-09-19 14:25:51] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de42e8012d181e000721acd8004b00dc29..."} 
[2026-09-19 14:25:51] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:25:51] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647448,"longitude_deg":75.6555264,"latitude_deg":11.9647448,"altitude":75,"angle":220,"satellites":41,"speed":4,"hex_longitude":"2d181e00","hex_latitude":"0721acd8","is_valid_coordinates":true} 
[2026-09-19 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190839808001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683593365422080,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585530880,"note":"Value kept but may cause issues"} 
[2026-09-19 14:25:51] local.INFO: IO Element Parsed {"io_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-19 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789807969000,"timestamp_ms":1789807969000,"timestamp_seconds":1789807969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de42e8"} 
[2026-09-19 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:25: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-19 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-19 14:25:51] 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-19 14:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:25:51] 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-19 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190839808001,"66":13080,"105":206,"83":41984,"24":4,"16":21683593365422080,"45":1737896905585530880},"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-19 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190839808001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:25:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683593365422080,"km_value":21683593365422.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585530880,"description":"Unknown IO ID 45"} 
[2026-09-19 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190839808001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737896905585530880}} 
[2026-09-19 14:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:25:52] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:25:52] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:09] local.INFO: TCP Data received {"connection_id":186829,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:09] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:09] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:26:10] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:10] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:10] local.INFO: IMEI packet received {"connection_id":188238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":188238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:26:14] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:14] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:26:14] local.INFO: IMEI packet received {"connection_id":188238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":188238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:26:14] local.INFO: TCP Data received {"connection_id":186829,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:14] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:26:14] local.INFO: IMEI packet received {"connection_id":186829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":186829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:26:15] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:15] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:15] local.INFO: Packet analysis {"connection_id":188238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:15] local.INFO: Extracted packet for processing {"connection_id":188238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:26: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-19 14: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:26: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-19 14: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-19 14: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-19 14:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:26: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-19 14:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":188238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:26:15] local.INFO: GPS data processed {"connection_id":188238,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:26:15] local.INFO: Acknowledgment sent {"connection_id":188238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:15] local.INFO: TCP Data received {"connection_id":186829,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:15] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:15] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:15] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14: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-19 14:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:26: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-19 14: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-19 14: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-19 14:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:26:16] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:26:16] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:23] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8de4ab8012d181dc00721ac60004b00ce29..."} 
[2026-09-19 14:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8de4ab8012d181dc00721ac60004b00ce29..."} 
[2026-09-19 14:26:23] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8de4ab8012d181dc00721ac60004b00ce29..."} 
[2026-09-19 14:26:23] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:26:23] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8de"} 
[2026-09-19 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647328,"longitude_deg":75.65552,"latitude_deg":11.9647328,"altitude":75,"angle":206,"satellites":41,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-09-19 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190840064001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21683597660389376,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841336832,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:23] local.INFO: IO Element Parsed {"io_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-19 14:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789807971000,"timestamp_ms":1789807971000,"timestamp_seconds":1789807971,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8de4ab8"} 
[2026-09-19 14:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 14:26:23] 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-19 14:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:26:23] 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-19 14:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190840064001,"66":13091,"105":206,"83":41984,"24":2,"16":21683597660389376,"45":1737826536841336832},"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-19 14:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190840064001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:26:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21683597660389376,"km_value":21683597660389.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841336832,"description":"Unknown IO ID 45"} 
[2026-09-19 14:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190840064001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737826536841336832}} 
[2026-09-19 14:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:26:23] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:26:23] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:46] local.INFO: TCP Data received {"connection_id":188238,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:46] local.INFO: Processing buffer {"connection_id":188238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:26:46] local.INFO: Packet analysis {"connection_id":188238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:46] local.INFO: Extracted packet for processing {"connection_id":188238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26: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-19 14:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:26: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-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:26: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-19 14: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-19 14: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-19 14:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:26: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-19 14:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":188238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:26:46] local.INFO: GPS data processed {"connection_id":188238,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:26:46] local.INFO: Acknowledgment sent {"connection_id":188238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:46] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:46] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:46] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:26:47] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:26:47] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:47] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:26:47] local.INFO: TCP Data received {"connection_id":186829,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:47] local.INFO: Processing buffer {"connection_id":186829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:26:47] local.INFO: Packet analysis {"connection_id":186829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:47] local.INFO: Extracted packet for processing {"connection_id":186829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:26:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14: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-19 14:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:26: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-19 14: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-19 14: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-19 14:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:26:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:26:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":186829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:26:47] local.INFO: GPS data processed {"connection_id":186829,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:26:47] local.INFO: Acknowledgment sent {"connection_id":186829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:26:48] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:48] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:26:48] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:27:09] local.INFO: TCP Data received {"connection_id":189557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:09] local.INFO: Processing buffer {"connection_id":189557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:09] local.INFO: IMEI packet received {"connection_id":189557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:27:10] local.INFO: TCP Data received {"connection_id":189556,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:10] local.INFO: Processing buffer {"connection_id":189556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:10] local.INFO: IMEI packet received {"connection_id":189556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":189556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:27:14] local.INFO: TCP Data received {"connection_id":189557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:14] local.INFO: Processing buffer {"connection_id":189557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:27:14] local.INFO: IMEI packet received {"connection_id":189557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":189557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:27:14] local.INFO: TCP Data received {"connection_id":189556,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:14] local.INFO: Processing buffer {"connection_id":189556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:27:14] local.INFO: IMEI packet received {"connection_id":189556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":189556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:27:15] local.INFO: TCP Data received {"connection_id":189557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:15] local.INFO: Processing buffer {"connection_id":189557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:15] local.INFO: Packet analysis {"connection_id":189557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:15] local.INFO: Extracted packet for processing {"connection_id":189557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:27: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-19 14: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-19 14: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-19 14: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-19 14: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-19 14:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:27: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-19 14:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":189557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:27:15] local.INFO: GPS data processed {"connection_id":189557,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:27:15] local.INFO: Acknowledgment sent {"connection_id":189557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:27:15] local.INFO: TCP Data received {"connection_id":189556,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:15] local.INFO: Processing buffer {"connection_id":189556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:15] local.INFO: Packet analysis {"connection_id":189556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:15] local.INFO: Extracted packet for processing {"connection_id":189556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14: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-19 14:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:27: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-19 14: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-19 14: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-19 14:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":189556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:27:16] local.INFO: GPS data processed {"connection_id":189556,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:27:16] local.INFO: Acknowledgment sent {"connection_id":189556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:27:47] local.INFO: TCP Data received {"connection_id":189557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:47] local.INFO: Processing buffer {"connection_id":189557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:27:47] local.INFO: Packet analysis {"connection_id":189557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:47] local.INFO: Extracted packet for processing {"connection_id":189557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27: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-19 14:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:27: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-19 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:27: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-19 14:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:27: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-19 14:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":189557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:27:47] local.INFO: GPS data processed {"connection_id":189557,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:27:47] local.INFO: Acknowledgment sent {"connection_id":189557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:27:47] local.INFO: TCP Data received {"connection_id":189556,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:47] local.INFO: Processing buffer {"connection_id":189556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:27:47] local.INFO: Packet analysis {"connection_id":189556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:47] local.INFO: Extracted packet for processing {"connection_id":189556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:27:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:27: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-19 14:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:27:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":189556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:27:48] local.INFO: GPS data processed {"connection_id":189556,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:27:48] local.INFO: Acknowledgment sent {"connection_id":189556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:28:09] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:09] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:09] local.INFO: IMEI packet received {"connection_id":186830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:28:14] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:14] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:28:14] local.INFO: IMEI packet received {"connection_id":186830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:28:14] local.INFO: TCP Data received {"connection_id":189558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:14] local.INFO: Processing buffer {"connection_id":189558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:14] local.INFO: IMEI packet received {"connection_id":189558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":189558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:28:15] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:15] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:15] local.INFO: Packet analysis {"connection_id":186830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:15] local.INFO: Extracted packet for processing {"connection_id":186830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:28: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-19 14:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":186830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:28:15] local.INFO: GPS data processed {"connection_id":186830,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:28:15] local.INFO: Acknowledgment sent {"connection_id":186830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:28:19] local.INFO: TCP Data received {"connection_id":189558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:19] local.INFO: Processing buffer {"connection_id":189558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:28:19] local.INFO: IMEI packet received {"connection_id":189558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":189558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:28:20] local.INFO: TCP Data received {"connection_id":189558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:20] local.INFO: Processing buffer {"connection_id":189558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:20] local.INFO: Packet analysis {"connection_id":189558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:20] local.INFO: Extracted packet for processing {"connection_id":189558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:28:20] 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-19 14:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":189558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:28:20] local.INFO: GPS data processed {"connection_id":189558,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:28:20] local.INFO: Acknowledgment sent {"connection_id":189558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:28:25] local.INFO: TCP Data received {"connection_id":189558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:25] local.INFO: Processing buffer {"connection_id":189558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:28:25] local.INFO: Packet analysis {"connection_id":189558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:25] local.INFO: Extracted packet for processing {"connection_id":189558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:28:25] 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-19 14:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":189558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:28:25] local.INFO: GPS data processed {"connection_id":189558,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:28:25] local.INFO: Acknowledgment sent {"connection_id":189558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:28:46] local.INFO: TCP Data received {"connection_id":186830,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:46] local.INFO: Processing buffer {"connection_id":186830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:28:46] local.INFO: Packet analysis {"connection_id":186830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:46] local.INFO: Extracted packet for processing {"connection_id":186830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:28: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-19 14:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":186830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:28:46] local.INFO: GPS data processed {"connection_id":186830,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:28:46] local.INFO: Acknowledgment sent {"connection_id":186830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:29:09] local.INFO: TCP Data received {"connection_id":189559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:09] local.INFO: Processing buffer {"connection_id":189559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:09] local.INFO: IMEI packet received {"connection_id":189559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:29:14] local.INFO: TCP Data received {"connection_id":188241,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:14] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:14] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:29:14] local.INFO: TCP Data received {"connection_id":189559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:14] local.INFO: Processing buffer {"connection_id":189559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:29:14] local.INFO: IMEI packet received {"connection_id":189559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:29:15] local.INFO: TCP Data received {"connection_id":189559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:15] local.INFO: Processing buffer {"connection_id":189559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:15] local.INFO: Packet analysis {"connection_id":189559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:15] local.INFO: Extracted packet for processing {"connection_id":189559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:29: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-19 14: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:29: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-19 14: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-19 14: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-19 14:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:29: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-19 14:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":189559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:29:15] local.INFO: GPS data processed {"connection_id":189559,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:29:15] local.INFO: Acknowledgment sent {"connection_id":189559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:29:19] local.INFO: TCP Data received {"connection_id":188241,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:19] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:29:19] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:29:20] local.INFO: TCP Data received {"connection_id":188241,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:20] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:20] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:20] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:29:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:29:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:29:20] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:29:20] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:29:25] local.INFO: TCP Data received {"connection_id":188241,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:25] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:25] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:25] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:29:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:29:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:29:25] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:29:25] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:29:30] local.INFO: TCP Data received {"connection_id":188241,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:30] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:29:30] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:30] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:30] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:29:30] 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-19 14:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:29:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:29:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:29:30] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:29:30] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:29:47] local.INFO: TCP Data received {"connection_id":189559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:47] local.INFO: Processing buffer {"connection_id":189559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:29:47] local.INFO: Packet analysis {"connection_id":189559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:47] local.INFO: Extracted packet for processing {"connection_id":189559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:29: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-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:29: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-19 14: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-19 14: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-19 14:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:29: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-19 14:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":189559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:29:47] local.INFO: GPS data processed {"connection_id":189559,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:29:47] local.INFO: Acknowledgment sent {"connection_id":189559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:30:09] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:09] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:09] local.INFO: IMEI packet received {"connection_id":188244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:30:09] local.INFO: TCP Data received {"connection_id":188243,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:09] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:09] local.INFO: IMEI packet received {"connection_id":188243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:30:14] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:14] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:30:14] local.INFO: IMEI packet received {"connection_id":188244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:30:14] local.INFO: TCP Data received {"connection_id":188243,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:14] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:30:14] local.INFO: IMEI packet received {"connection_id":188243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:30:15] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:15] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:15] local.INFO: Packet analysis {"connection_id":188244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:15] local.INFO: Extracted packet for processing {"connection_id":188244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30: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-19 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:30: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-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:30: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-19 14:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:30: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-19 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":188244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:30:15] local.INFO: GPS data processed {"connection_id":188244,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:30:15] local.INFO: Acknowledgment sent {"connection_id":188244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:30:15] local.INFO: TCP Data received {"connection_id":188243,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:15] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:15] local.INFO: Packet analysis {"connection_id":188243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:15] local.INFO: Extracted packet for processing {"connection_id":188243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:30: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-19 14:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":188243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:30:16] local.INFO: GPS data processed {"connection_id":188243,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:30:16] local.INFO: Acknowledgment sent {"connection_id":188243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:30:20] local.INFO: TCP Data received {"connection_id":188243,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:20] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e05df8012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:20] local.INFO: Packet analysis {"connection_id":188243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:20] local.INFO: Extracted packet for processing {"connection_id":188243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190798336001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808107000,"timestamp_ms":1789808107000,"timestamp_seconds":1789808107,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e05df8"} 
[2026-09-19 14: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-19 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190798336001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190798336001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:30:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:30:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190798336001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:30:20] local.INFO: GPS data processed {"connection_id":188243,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:30:20] local.INFO: Acknowledgment sent {"connection_id":188243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:30:47] local.INFO: TCP Data received {"connection_id":188244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:47] local.INFO: Processing buffer {"connection_id":188244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e0a060012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:30:47] local.INFO: Packet analysis {"connection_id":188244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:47] local.INFO: Extracted packet for processing {"connection_id":188244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e0"} 
[2026-09-19 14:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190802688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30: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-19 14:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808124000,"timestamp_ms":1789808124000,"timestamp_seconds":1789808124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e0a060"} 
[2026-09-19 14: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-19 14:30: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-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:30: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-19 14: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-19 14: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-19 14:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:30: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-19 14:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190802688001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190802688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190802688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":188244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:30:47] local.INFO: GPS data processed {"connection_id":188244,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:30:47] local.INFO: Acknowledgment sent {"connection_id":188244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:30:52] local.INFO: TCP Data received {"connection_id":188243,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:52] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:30:52] local.INFO: Packet analysis {"connection_id":188243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:30:52] local.INFO: Extracted packet for processing {"connection_id":188243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:30:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:30:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":188243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:30:52] local.INFO: GPS data processed {"connection_id":188243,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:30:52] local.INFO: Acknowledgment sent {"connection_id":188243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:09] local.INFO: TCP Data received {"connection_id":186933,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:09] local.INFO: Processing buffer {"connection_id":186933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:09] local.INFO: IMEI packet received {"connection_id":186933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:31:09] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:09] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:09] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:31:14] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:14] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:31:14] local.INFO: IMEI packet received {"connection_id":186832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:31:14] local.INFO: TCP Data received {"connection_id":186933,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:14] local.INFO: Processing buffer {"connection_id":186933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:31:14] local.INFO: IMEI packet received {"connection_id":186933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:31:15] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:15] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:15] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:15] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:31: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-19 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:31: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-19 14: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-19 14: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-19 14:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:31: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-19 14:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:15] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:15] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:15] local.INFO: TCP Data received {"connection_id":186933,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:15] local.INFO: Processing buffer {"connection_id":186933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:15] local.INFO: Packet analysis {"connection_id":186933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:31:15] local.INFO: Extracted packet for processing {"connection_id":186933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:31:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:31: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-19 14: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-19 14: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-19 14:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":186933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:16] local.INFO: GPS data processed {"connection_id":186933,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:16] local.INFO: Acknowledgment sent {"connection_id":186933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:46] local.INFO: TCP Data received {"connection_id":186832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:46] local.INFO: Processing buffer {"connection_id":186832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:31:46] local.INFO: Packet analysis {"connection_id":186832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:46] local.INFO: Extracted packet for processing {"connection_id":186832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31: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-19 14:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:31: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-19 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:31: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-19 14:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:31: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-19 14:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":186832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:46] local.INFO: GPS data processed {"connection_id":186832,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:46] local.INFO: Acknowledgment sent {"connection_id":186832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:47] local.INFO: TCP Data received {"connection_id":186933,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:47] local.INFO: Processing buffer {"connection_id":186933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:31:47] local.INFO: Packet analysis {"connection_id":186933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:31:47] local.INFO: Extracted packet for processing {"connection_id":186933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:31:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:31: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-19 14: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-19 14: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-19 14:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:31:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":186933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:47] local.INFO: GPS data processed {"connection_id":186933,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:47] local.INFO: Acknowledgment sent {"connection_id":186933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:51] local.INFO: TCP Data received {"connection_id":189560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:51] local.INFO: Processing buffer {"connection_id":189560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:51] local.INFO: IMEI packet received {"connection_id":189560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":189560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:31:53] local.INFO: TCP Data received {"connection_id":189560,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:53] local.INFO: Processing buffer {"connection_id":189560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:31:53] local.INFO: IMEI packet received {"connection_id":189560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":189560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:31:54] local.INFO: TCP Data received {"connection_id":189560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e595e8012d1846c00721e540004f00e427..."} 
[2026-09-19 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e595e8012d1846c00721e540004f00e427..."} 
[2026-09-19 14:31:54] local.INFO: Processing buffer {"connection_id":189560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e595e8012d1846c00721e540004f00e427..."} 
[2026-09-19 14:31:54] local.INFO: Packet analysis {"connection_id":189560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:54] local.INFO: Extracted packet for processing {"connection_id":189560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756565696,"raw_latitude":119661888,"longitude_deg":75.6565696,"latitude_deg":11.9661888,"altitude":79,"angle":228,"satellites":39,"speed":9,"hex_longitude":"2d1846c0","hex_latitude":"0721e540","is_valid_coordinates":true} 
[2026-09-19 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190962688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21687875447816192,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749507748378548224,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:54] local.INFO: IO Element Parsed {"io_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-19 14:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789808449000,"timestamp_ms":1789808449000,"timestamp_seconds":1789808449,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e595e8"} 
[2026-09-19 14:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 14:31:54] 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-19 14:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:31:54] 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-19 14:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190962688001,"66":12863,"105":206,"83":41984,"24":9,"16":21687875447816192,"45":1749507748378548224},"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-19 14:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190962688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:31:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21687875447816192,"km_value":21687875447816.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749507748378548224,"description":"Unknown IO ID 45"} 
[2026-09-19 14:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190962688001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1749507748378548224}} 
[2026-09-19 14:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":189560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:54] local.INFO: GPS data processed {"connection_id":189560,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:54] local.INFO: Acknowledgment sent {"connection_id":189560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:31:56] local.INFO: TCP Data received {"connection_id":189560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e599d0012d1846000721e450004f00d827..."} 
[2026-09-19 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e599d0012d1846000721e450004f00d827..."} 
[2026-09-19 14:31:56] local.INFO: Processing buffer {"connection_id":189560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e599d0012d1846000721e450004f00d827..."} 
[2026-09-19 14:31:56] local.INFO: Packet analysis {"connection_id":189560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:56] local.INFO: Extracted packet for processing {"connection_id":189560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756565504,"raw_latitude":119661648,"longitude_deg":75.6565504,"latitude_deg":11.9661648,"altitude":79,"angle":216,"satellites":39,"speed":15,"hex_longitude":"2d184600","hex_latitude":"0721e450","is_valid_coordinates":true} 
[2026-09-19 14:31: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-19 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190962944001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21687892627685376,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749296642145992704,"note":"Value kept but may cause issues"} 
[2026-09-19 14:31:56] local.INFO: IO Element Parsed {"io_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-19 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789808450000,"timestamp_ms":1789808450000,"timestamp_seconds":1789808450,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e599d0"} 
[2026-09-19 14:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 14:31:56] 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-19 14:31: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-19 14:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:31:56] 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-19 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190962944001,"66":12863,"105":206,"83":41984,"24":15,"16":21687892627685376,"45":1749296642145992704},"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-19 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190962944001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21687892627685376,"km_value":21687892627685.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749296642145992704,"description":"Unknown IO ID 45"} 
[2026-09-19 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190962944001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1749296642145992704}} 
[2026-09-19 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":189560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:31:56] local.INFO: GPS data processed {"connection_id":189560,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:31:56] local.INFO: Acknowledgment sent {"connection_id":189560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:09] local.INFO: TCP Data received {"connection_id":188245,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:09] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:09] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:32:09] local.INFO: TCP Data received {"connection_id":186934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:09] local.INFO: Processing buffer {"connection_id":186934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:09] local.INFO: IMEI packet received {"connection_id":186934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":186934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:32:14] local.INFO: TCP Data received {"connection_id":186934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:14] local.INFO: Processing buffer {"connection_id":186934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:32:14] local.INFO: IMEI packet received {"connection_id":186934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:32:14] local.INFO: TCP Data received {"connection_id":188245,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:14] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:32:14] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:32:15] local.INFO: TCP Data received {"connection_id":188245,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:15] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:15] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:32:15] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:32:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:32: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-19 14:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:32:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:16] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:16] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:16] local.INFO: TCP Data received {"connection_id":186934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:16] local.INFO: Processing buffer {"connection_id":186934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:16] local.INFO: Packet analysis {"connection_id":186934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:16] local.INFO: Extracted packet for processing {"connection_id":186934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:32:16] 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-19 14:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":186934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:16] local.INFO: GPS data processed {"connection_id":186934,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:16] local.INFO: Acknowledgment sent {"connection_id":186934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:27] local.INFO: TCP Data received {"connection_id":189560,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e5cc98012d1831400721c5f8004800d529..."} 
[2026-09-19 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e5cc98012d1831400721c5f8004800d529..."} 
[2026-09-19 14:32:27] local.INFO: Processing buffer {"connection_id":189560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e5cc98012d1831400721c5f8004800d529..."} 
[2026-09-19 14:32:27] local.INFO: Packet analysis {"connection_id":189560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:27] local.INFO: Extracted packet for processing {"connection_id":189560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756560192,"raw_latitude":119653880,"longitude_deg":75.6560192,"latitude_deg":11.965388,"altitude":72,"angle":213,"satellites":41,"speed":33,"hex_longitude":"2d183140","hex_latitude":"0721c5f8","is_valid_coordinates":true} 
[2026-09-19 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190963200001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21688343599251456,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749085535913398272,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:27] local.INFO: IO Element Parsed {"io_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-19 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789808463000,"timestamp_ms":1789808463000,"timestamp_seconds":1789808463,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e5cc98"} 
[2026-09-19 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:32: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-19 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 14:32:27] 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-19 14:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:32:27] 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-19 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190963200001,"66":12993,"105":206,"83":41984,"24":33,"16":21688343599251456,"45":1749085535913398272},"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-19 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190963200001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21688343599251456,"km_value":21688343599251.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749085535913398272,"description":"Unknown IO ID 45"} 
[2026-09-19 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190963200001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1749085535913398272}} 
[2026-09-19 14:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":189560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:27] local.INFO: GPS data processed {"connection_id":189560,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:27] local.INFO: Acknowledgment sent {"connection_id":189560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:46] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:32:46] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:46] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:32:47] local.INFO: TCP Data received {"connection_id":188245,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:47] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:32:47] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:32:47] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:32:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:32: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-19 14: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-19 14: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-19 14:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:32:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:47] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:47] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:48] local.INFO: TCP Data received {"connection_id":186934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:48] local.INFO: Processing buffer {"connection_id":186934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:32:48] local.INFO: Packet analysis {"connection_id":186934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:48] local.INFO: Extracted packet for processing {"connection_id":186934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32: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-19 14:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:32: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-19 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:32: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-19 14: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-19 14: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-19 14:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:32: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-19 14:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":186934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:48] local.INFO: GPS data processed {"connection_id":186934,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:48] local.INFO: Acknowledgment sent {"connection_id":186934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:32:51] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:51] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:32:51] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:32:52] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e5fb78012d181d000721a7b0004400d628..."} 
[2026-09-19 14:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e5fb78012d181d000721a7b0004400d628..."} 
[2026-09-19 14:32:52] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e5fb78012d181d000721a7b0004400d628..."} 
[2026-09-19 14:32:52] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:52] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646128,"longitude_deg":75.6555008,"latitude_deg":11.9646128,"altitude":68,"angle":214,"satellites":40,"speed":18,"hex_longitude":"2d181d00","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190966528001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21688794570817536,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743244930144663552,"note":"Value kept but may cause issues"} 
[2026-09-19 14:32:52] local.INFO: IO Element Parsed {"io_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-19 14:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808475000,"timestamp_ms":1789808475000,"timestamp_seconds":1789808475,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e5fb78"} 
[2026-09-19 14: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-19 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 14:32:52] 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-19 14: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-19 14: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-19 14:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:32:52] 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-19 14:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190966528001,"66":12993,"105":206,"83":41984,"24":18,"16":21688794570817536,"45":1743244930144663552},"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-19 14:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190966528001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:32:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21688794570817536,"km_value":21688794570817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743244930144663552,"description":"Unknown IO ID 45"} 
[2026-09-19 14:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190966528001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1743244930144663552}} 
[2026-09-19 14:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:32:52] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:32:52] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:09] local.INFO: TCP Data received {"connection_id":188246,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:09] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:09] local.INFO: IMEI packet received {"connection_id":188246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:33:14] local.INFO: TCP Data received {"connection_id":189561,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:14] local.INFO: Processing buffer {"connection_id":189561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:14] local.INFO: IMEI packet received {"connection_id":189561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":189561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:33:14] local.INFO: TCP Data received {"connection_id":188246,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:14] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:33:14] local.INFO: IMEI packet received {"connection_id":188246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":188246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:33:15] local.INFO: TCP Data received {"connection_id":188246,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:15] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:15] local.INFO: Packet analysis {"connection_id":188246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:33:15] local.INFO: Extracted packet for processing {"connection_id":188246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:33:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:33: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-19 14:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:33:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":188246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:16] local.INFO: GPS data processed {"connection_id":188246,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:16] local.INFO: Acknowledgment sent {"connection_id":188246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:19] local.INFO: TCP Data received {"connection_id":189561,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:19] local.INFO: Processing buffer {"connection_id":189561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:33:19] local.INFO: IMEI packet received {"connection_id":189561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":189561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:33:20] local.INFO: TCP Data received {"connection_id":189561,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:20] local.INFO: Processing buffer {"connection_id":189561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:20] local.INFO: Packet analysis {"connection_id":189561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:33:20] local.INFO: Extracted packet for processing {"connection_id":189561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:33:20] 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-19 14:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":189561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:20] local.INFO: GPS data processed {"connection_id":189561,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:20] local.INFO: Acknowledgment sent {"connection_id":189561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:23] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e62288012d18158007219b10004500c628..."} 
[2026-09-19 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e62288012d18158007219b10004500c628..."} 
[2026-09-19 14:33:23] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e62288012d18158007219b10004500c628..."} 
[2026-09-19 14:33:23] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:33:23] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642896,"longitude_deg":75.6553088,"latitude_deg":11.9642896,"altitude":69,"angle":198,"satellites":40,"speed":8,"hex_longitude":"2d181580","hex_latitude":"07219b10","is_valid_coordinates":true} 
[2026-09-19 14:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190969600001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21688974959443968,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864288256,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:23] local.INFO: IO Element Parsed {"io_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-19 14:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808485000,"timestamp_ms":1789808485000,"timestamp_seconds":1789808485,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e62288"} 
[2026-09-19 14:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:33: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-19 14:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 14:33:23] 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-19 14:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:33:23] 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-19 14:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190969600001,"66":12993,"105":206,"83":41984,"24":8,"16":21688974959443968,"45":1737545061864288256},"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-19 14:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190969600001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21688974959443968,"km_value":21688974959443.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864288256,"description":"Unknown IO ID 45"} 
[2026-09-19 14:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190969600001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864288256}} 
[2026-09-19 14:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:23] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:23] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:26] local.INFO: TCP Data received {"connection_id":189561,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:26] local.INFO: Processing buffer {"connection_id":189561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:33:26] local.INFO: Packet analysis {"connection_id":189561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:33:26] local.INFO: Extracted packet for processing {"connection_id":189561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:33: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-19 14:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:33: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:33: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-19 14:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:33:26] 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-19 14:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":189561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:26] local.INFO: GPS data processed {"connection_id":189561,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:26] local.INFO: Acknowledgment sent {"connection_id":189561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:46] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:46] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:46] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:33:47] local.INFO: TCP Data received {"connection_id":188246,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:47] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:33:47] local.INFO: Packet analysis {"connection_id":188246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:33:47] local.INFO: Extracted packet for processing {"connection_id":188246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:33:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:33: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-19 14: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-19 14: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-19 14:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:33:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":188246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:47] local.INFO: GPS data processed {"connection_id":188246,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:47] local.INFO: Acknowledgment sent {"connection_id":188246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:33:49] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:49] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:33:49] local.INFO: IMEI packet received {"connection_id":186833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":186833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:33:50] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e62670012d18158007219a50004500ba28..."} 
[2026-09-19 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e62670012d18158007219a50004500ba28..."} 
[2026-09-19 14:33:50] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e62670012d18158007219a50004500ba28..."} 
[2026-09-19 14:33:50] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:33:50] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642704,"longitude_deg":75.6553088,"latitude_deg":11.9642704,"altitude":69,"angle":186,"satellites":40,"speed":7,"hex_longitude":"2d181580","hex_latitude":"07219a50","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190972160001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21688983549378560,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538130944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:33:50] local.INFO: IO Element Parsed {"io_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-19 14:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789808486000,"timestamp_ms":1789808486000,"timestamp_seconds":1789808486,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e62670"} 
[2026-09-19 14: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-19 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 14:33:50] 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-19 14: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-19 14: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-19 14:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:33:50] 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-19 14:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190972160001,"66":12993,"105":206,"83":41984,"24":7,"16":21688983549378560,"45":1735433999538130944},"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-19 14:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190972160001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:33:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21688983549378560,"km_value":21688983549378.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538130944,"description":"Unknown IO ID 45"} 
[2026-09-19 14:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190972160001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1735433999538130944}} 
[2026-09-19 14:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:33:50] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:33:50] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:09] local.INFO: TCP Data received {"connection_id":186834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:09] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:09] local.INFO: IMEI packet received {"connection_id":186834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":186834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:34:14] local.INFO: TCP Data received {"connection_id":186834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:14] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:34:14] local.INFO: IMEI packet received {"connection_id":186834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":186834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:34:14] local.INFO: TCP Data received {"connection_id":189562,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:14] local.INFO: Processing buffer {"connection_id":189562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:14] local.INFO: IMEI packet received {"connection_id":189562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":189562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:34:15] local.INFO: TCP Data received {"connection_id":186834,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:15] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:15] local.INFO: Packet analysis {"connection_id":186834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:34:15] local.INFO: Extracted packet for processing {"connection_id":186834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34: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-19 14:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:34: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-19 14:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:34: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-19 14:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":186834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:15] local.INFO: GPS data processed {"connection_id":186834,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:15] local.INFO: Acknowledgment sent {"connection_id":186834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:19] local.INFO: TCP Data received {"connection_id":189562,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:19] local.INFO: Processing buffer {"connection_id":189562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:34:19] local.INFO: IMEI packet received {"connection_id":189562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":189562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:34:20] local.INFO: TCP Data received {"connection_id":189562,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:20] local.INFO: Processing buffer {"connection_id":189562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:20] local.INFO: Packet analysis {"connection_id":189562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:34:20] local.INFO: Extracted packet for processing {"connection_id":189562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:34:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:34:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":189562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:21] local.INFO: GPS data processed {"connection_id":189562,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:21] local.INFO: Acknowledgment sent {"connection_id":189562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:21] local.INFO: TCP Data received {"connection_id":186833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e67878012d18158007219960004500ba29..."} 
[2026-09-19 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e67878012d18158007219960004500ba29..."} 
[2026-09-19 14:34:21] local.INFO: Processing buffer {"connection_id":186833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e67878012d18158007219960004500ba29..."} 
[2026-09-19 14:34:21] local.INFO: Packet analysis {"connection_id":186833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:34:21] local.INFO: Extracted packet for processing {"connection_id":186833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":41,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190972416001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538081792,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:21] local.INFO: IO Element Parsed {"io_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-19 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789808507000,"timestamp_ms":1789808507000,"timestamp_seconds":1789808507,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e67878"} 
[2026-09-19 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 14:34:21] 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-19 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:34:21] 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-19 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190972416001,"66":12558,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538081792},"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-19 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190972416001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538081792,"description":"Unknown IO ID 45"} 
[2026-09-19 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190972416001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538081792}} 
[2026-09-19 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":186833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:21] local.INFO: GPS data processed {"connection_id":186833,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:21] local.INFO: Acknowledgment sent {"connection_id":186833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:25] local.INFO: TCP Data received {"connection_id":189562,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:25] local.INFO: Processing buffer {"connection_id":189562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:34:25] local.INFO: Packet analysis {"connection_id":189562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:34:25] local.INFO: Extracted packet for processing {"connection_id":189562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:34:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:34:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":189562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:25] local.INFO: GPS data processed {"connection_id":189562,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:25] local.INFO: Acknowledgment sent {"connection_id":189562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:46] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:46] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:46] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:34:47] local.INFO: TCP Data received {"connection_id":186834,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:47] local.INFO: Processing buffer {"connection_id":186834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:34:47] local.INFO: Packet analysis {"connection_id":186834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:34:47] local.INFO: Extracted packet for processing {"connection_id":186834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:34: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-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:34: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-19 14: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-19 14: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-19 14:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:34: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-19 14:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":186834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:47] local.INFO: GPS data processed {"connection_id":186834,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:47] local.INFO: Acknowledgment sent {"connection_id":186834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:34:51] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:51] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:34:51] local.INFO: IMEI packet received {"connection_id":186835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":186835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:34:52] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e6ca80012d18158007219960004500ba28..."} 
[2026-09-19 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e6ca80012d18158007219960004500ba28..."} 
[2026-09-19 14:34:52] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e6ca80012d18158007219960004500ba28..."} 
[2026-09-19 14:34:52] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:34:52] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e6"} 
[2026-09-19 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":40,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190977792001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.INFO: IO Element Parsed {"io_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-19 14:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808528000,"timestamp_ms":1789808528000,"timestamp_seconds":1789808528,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e6ca80"} 
[2026-09-19 14:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3102053864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249425746348860824,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3855390721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408174594,"note":"Value kept but may cause issues"} 
[2026-09-19 14:34:52] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,14,160,38,45,128,154,69,40,10,66,34,155,251,1,240,193,227,13,184,33,4,113,205,153,70,80,39,239,50,2,77,7,79,9,106,84,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 14:34:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972178673873453056,"timestamp_seconds":4972178673873453.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:34:52] 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-19 14:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190977792001,"66":12939,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190977792001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:34:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190977792001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:34:52] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:34:52] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:09] local.INFO: TCP Data received {"connection_id":186937,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:09] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:09] local.INFO: IMEI packet received {"connection_id":186937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":186937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:35:10] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:10] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:10] local.INFO: IMEI packet received {"connection_id":186936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":186936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:35:14] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:14] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:35:14] local.INFO: IMEI packet received {"connection_id":186936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":186936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:35:14] local.INFO: TCP Data received {"connection_id":186937,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:14] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:35:14] local.INFO: IMEI packet received {"connection_id":186937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":186937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:35:15] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:15] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:15] local.INFO: Packet analysis {"connection_id":186936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:35:15] local.INFO: Extracted packet for processing {"connection_id":186936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35: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-19 14:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:35: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-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:35: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-19 14: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-19 14: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-19 14:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:35:15] 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-19 14:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":186936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:15] local.INFO: GPS data processed {"connection_id":186936,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:15] local.INFO: Acknowledgment sent {"connection_id":186936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:15] local.INFO: TCP Data received {"connection_id":186937,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:15] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:15] local.INFO: Packet analysis {"connection_id":186937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:35:15] local.INFO: Extracted packet for processing {"connection_id":186937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:35: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-19 14: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-19 14: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-19 14:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:16] local.INFO: GPS data processed {"connection_id":186937,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:16] local.INFO: Acknowledgment sent {"connection_id":186937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:23] local.INFO: TCP Data received {"connection_id":186835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e71c88012d18158007219960004500ba2a..."} 
[2026-09-19 14:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e71c88012d18158007219960004500ba2a..."} 
[2026-09-19 14:35:23] local.INFO: Processing buffer {"connection_id":186835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e71c88012d18158007219960004500ba2a..."} 
[2026-09-19 14:35:23] local.INFO: Packet analysis {"connection_id":186835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:35:23] local.INFO: Extracted packet for processing {"connection_id":186835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":42,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190983168001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:23] local.INFO: IO Element Parsed {"io_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-19 14:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808549000,"timestamp_ms":1789808549000,"timestamp_seconds":1789808549,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e71c88"} 
[2026-09-19 14:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:35: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-19 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 14:35:23] 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-19 14:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:35:23] 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-19 14:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190983168001,"66":12863,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190983168001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190983168001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":186835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:23] local.INFO: GPS data processed {"connection_id":186835,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:23] local.INFO: Acknowledgment sent {"connection_id":186835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:46] local.INFO: TCP Data received {"connection_id":189563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:46] local.INFO: Processing buffer {"connection_id":189563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:46] local.INFO: IMEI packet received {"connection_id":189563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":189563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:35:47] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:47] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e53828012d34c14006aa41400008010e2c..."} 
[2026-09-19 14:35:47] local.INFO: Packet analysis {"connection_id":186936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:35:47] local.INFO: Extracted packet for processing {"connection_id":186936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e5"} 
[2026-09-19 14:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190879744001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35: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-19 14:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808425000,"timestamp_ms":1789808425000,"timestamp_seconds":1789808425,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e53828"} 
[2026-09-19 14: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-19 14:35: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-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:35: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-19 14: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-19 14: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-19 14:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:35: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-19 14:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190879744001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190879744001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190879744001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":186936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:47] local.INFO: GPS data processed {"connection_id":186936,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:47] local.INFO: Acknowledgment sent {"connection_id":186936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:47] local.INFO: TCP Data received {"connection_id":186937,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:47] local.INFO: Processing buffer {"connection_id":186937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e4f5c0012c7931800848f770000c01612f..."} 
[2026-09-19 14:35:47] local.INFO: Packet analysis {"connection_id":186937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:35:47] local.INFO: Extracted packet for processing {"connection_id":186937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e4"} 
[2026-09-19 14:35:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190875392001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808408000,"timestamp_ms":1789808408000,"timestamp_seconds":1789808408,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e4f5c0"} 
[2026-09-19 14: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-19 14:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:35: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-19 14: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-19 14: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-19 14:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190875392001,"66":25778,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190875392001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190875392001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":186937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:47] local.INFO: GPS data processed {"connection_id":186937,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:47] local.INFO: Acknowledgment sent {"connection_id":186937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:35:51] local.INFO: TCP Data received {"connection_id":189563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:51] local.INFO: Processing buffer {"connection_id":189563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:35:51] local.INFO: IMEI packet received {"connection_id":189563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":189563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:35:52] local.INFO: TCP Data received {"connection_id":189563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e76e90012d18158007219960004500ba29..."} 
[2026-09-19 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e76e90012d18158007219960004500ba29..."} 
[2026-09-19 14:35:52] local.INFO: Processing buffer {"connection_id":189563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e76e90012d18158007219960004500ba29..."} 
[2026-09-19 14:35:52] local.INFO: Packet analysis {"connection_id":189563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:35:52] local.INFO: Extracted packet for processing {"connection_id":189563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":41,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190988544001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:35:52] local.INFO: IO Element Parsed {"io_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-19 14:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808570000,"timestamp_ms":1789808570000,"timestamp_seconds":1789808570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e76e90"} 
[2026-09-19 14:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:35: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-19 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 14:35:52] 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-19 14:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:35:52] 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-19 14:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190988544001,"66":12863,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190988544001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:35:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190988544001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":189563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:35:52] local.INFO: GPS data processed {"connection_id":189563,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:35:52] local.INFO: Acknowledgment sent {"connection_id":189563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:09] local.INFO: TCP Data received {"connection_id":189564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:09] local.INFO: Processing buffer {"connection_id":189564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:09] local.INFO: IMEI packet received {"connection_id":189564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:36:14] local.INFO: TCP Data received {"connection_id":189564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:14] local.INFO: Processing buffer {"connection_id":189564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:36:14] local.INFO: IMEI packet received {"connection_id":189564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:36:14] local.INFO: TCP Data received {"connection_id":186836,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:14] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:14] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:36:15] local.INFO: TCP Data received {"connection_id":189564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:15] local.INFO: Processing buffer {"connection_id":189564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:15] local.INFO: Packet analysis {"connection_id":189564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:15] local.INFO: Extracted packet for processing {"connection_id":189564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14: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-19 14: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:36: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-19 14: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-19 14: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-19 14:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14: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-19 14:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":189564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:15] local.INFO: GPS data processed {"connection_id":189564,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:15] local.INFO: Acknowledgment sent {"connection_id":189564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:19] local.INFO: TCP Data received {"connection_id":186836,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:19] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:36:19] local.INFO: IMEI packet received {"connection_id":186836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":186836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:36:20] local.INFO: TCP Data received {"connection_id":186836,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:20] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:20] local.INFO: Packet analysis {"connection_id":186836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:20] local.INFO: Extracted packet for processing {"connection_id":186836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:36:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":186836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:21] local.INFO: GPS data processed {"connection_id":186836,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:21] local.INFO: Acknowledgment sent {"connection_id":186836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:23] local.INFO: TCP Data received {"connection_id":189563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e7c098012d18158007219960004500ba28..."} 
[2026-09-19 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e7c098012d18158007219960004500ba28..."} 
[2026-09-19 14:36:23] local.INFO: Processing buffer {"connection_id":189563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e7c098012d18158007219960004500ba28..."} 
[2026-09-19 14:36:23] local.INFO: Packet analysis {"connection_id":189563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:36:23] local.INFO: Extracted packet for processing {"connection_id":189563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e7"} 
[2026-09-19 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":40,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:36: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-19 14:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190993920001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:23] local.INFO: IO Element Parsed {"io_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-19 14:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808591000,"timestamp_ms":1789808591000,"timestamp_seconds":1789808591,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e7c098"} 
[2026-09-19 14:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 14:36:23] 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-19 14:36: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-19 14:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:36:23] 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-19 14:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190993920001,"66":12885,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190993920001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190993920001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":189563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:23] local.INFO: GPS data processed {"connection_id":189563,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:23] local.INFO: Acknowledgment sent {"connection_id":189563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:46] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:46] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:46] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:36:47] local.INFO: TCP Data received {"connection_id":189564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:47] local.INFO: Processing buffer {"connection_id":189564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:36:47] local.INFO: Packet analysis {"connection_id":189564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:47] local.INFO: Extracted packet for processing {"connection_id":189564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36: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-19 14:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:36: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-19 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:36: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-19 14: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-19 14: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-19 14:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:36:47] 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-19 14:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":189564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:47] local.INFO: GPS data processed {"connection_id":189564,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:47] local.INFO: Acknowledgment sent {"connection_id":189564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:51] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:51] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:36:51] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:36:52] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e812a0012d18158007219960004500ba28..."} 
[2026-09-19 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e812a0012d18158007219960004500ba28..."} 
[2026-09-19 14:36:52] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e812a0012d18158007219960004500ba28..."} 
[2026-09-19 14:36:52] local.INFO: Packet analysis {"connection_id":188247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e8"} 
[2026-09-19 14:36:52] local.INFO: Extracted packet for processing {"connection_id":188247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e8"} 
[2026-09-19 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":40,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190999296001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.INFO: IO Element Parsed {"io_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-19 14:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808612000,"timestamp_ms":1789808612000,"timestamp_seconds":1789808612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e812a0"} 
[2026-09-19 14:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 14:36:52] 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-19 14:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:36:52] 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-19 14:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190999296001,"66":12841,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190999296001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190999296001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":188247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:52] local.INFO: GPS data processed {"connection_id":188247,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:52] local.INFO: Acknowledgment sent {"connection_id":188247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:36:52] local.INFO: TCP Data received {"connection_id":186836,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:52] local.INFO: Processing buffer {"connection_id":186836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:36:52] local.INFO: Packet analysis {"connection_id":186836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:52] local.INFO: Extracted packet for processing {"connection_id":186836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":186836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:36:52] local.INFO: GPS data processed {"connection_id":186836,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:36:52] local.INFO: Acknowledgment sent {"connection_id":186836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:09] local.INFO: TCP Data received {"connection_id":186938,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:09] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:09] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:37:14] local.INFO: TCP Data received {"connection_id":189565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:14] local.INFO: Processing buffer {"connection_id":189565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:14] local.INFO: IMEI packet received {"connection_id":189565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":189565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:37:14] local.INFO: TCP Data received {"connection_id":186938,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:14] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:37:14] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:37:16] local.INFO: TCP Data received {"connection_id":186938,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:16] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:16] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:16] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:37: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-19 14:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:37:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:16] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:16] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:19] local.INFO: TCP Data received {"connection_id":189565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:19] local.INFO: Processing buffer {"connection_id":189565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:37:19] local.INFO: IMEI packet received {"connection_id":189565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":189565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:37:20] local.INFO: TCP Data received {"connection_id":189565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:20] local.INFO: Processing buffer {"connection_id":189565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:20] local.INFO: Packet analysis {"connection_id":189565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:20] local.INFO: Extracted packet for processing {"connection_id":189565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:37:20] 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-19 14:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":189565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:20] local.INFO: GPS data processed {"connection_id":189565,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:20] local.INFO: Acknowledgment sent {"connection_id":189565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:23] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e864a8012d18158007219960004500ba2a..."} 
[2026-09-19 14:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e864a8012d18158007219960004500ba2a..."} 
[2026-09-19 14:37:23] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e864a8012d18158007219960004500ba2a..."} 
[2026-09-19 14:37:23] local.INFO: Packet analysis {"connection_id":188247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e8"} 
[2026-09-19 14:37:23] local.INFO: Extracted packet for processing {"connection_id":188247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e8"} 
[2026-09-19 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642464,"longitude_deg":75.6553088,"latitude_deg":11.9642464,"altitude":69,"angle":186,"satellites":42,"speed":0,"hex_longitude":"2d181580","hex_latitude":"07219960","is_valid_coordinates":true} 
[2026-09-19 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191004672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689005024215040,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538020352,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:23] local.INFO: IO Element Parsed {"io_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-19 14:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808633000,"timestamp_ms":1789808633000,"timestamp_seconds":1789808633,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e864a8"} 
[2026-09-19 14:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 14:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:37:23] 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-19 14:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191004672001,"66":12841,"105":206,"83":41984,"24":0,"16":21689005024215040,"45":1735433999538020352},"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-19 14:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191004672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689005024215040,"km_value":21689005024215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538020352,"description":"Unknown IO ID 45"} 
[2026-09-19 14:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191004672001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735433999538020352}} 
[2026-09-19 14:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":188247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:23] local.INFO: GPS data processed {"connection_id":188247,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:23] local.INFO: Acknowledgment sent {"connection_id":188247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:25] local.INFO: TCP Data received {"connection_id":189565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:25] local.INFO: Processing buffer {"connection_id":189565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:37:25] local.INFO: Packet analysis {"connection_id":189565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:25] local.INFO: Extracted packet for processing {"connection_id":189565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:37:25] 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-19 14:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":189565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:25] local.INFO: GPS data processed {"connection_id":189565,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:25] local.INFO: Acknowledgment sent {"connection_id":189565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:46] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:46] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:46] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:37:48] local.INFO: TCP Data received {"connection_id":186938,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:48] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:37:48] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:48] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:37: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-19 14: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-19 14: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-19 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:37:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:48] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:48] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:37:48] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:48] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:48] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:37:51] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:51] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:37:51] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:37:52] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb2f80012d181500072198c0004e010c2b..."} 
[2026-09-19 14:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb2f80012d181500072198c0004e010c2b..."} 
[2026-09-19 14:37:52] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb2f80012d181500072198c0004e010c2b..."} 
[2026-09-19 14:37:52] local.INFO: Packet analysis {"connection_id":188248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:37:52] local.INFO: Extracted packet for processing {"connection_id":188248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119642304,"longitude_deg":75.655296,"latitude_deg":11.9642304,"altitude":78,"angle":268,"satellites":43,"speed":3,"hex_longitude":"2d181500","hex_latitude":"072198c0","is_valid_coordinates":true} 
[2026-09-19 14:37: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-19 14:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191056640001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689022204084224,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735363630793801728,"note":"Value kept but may cause issues"} 
[2026-09-19 14:37:52] local.INFO: IO Element Parsed {"io_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-19 14:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808816000,"timestamp_ms":1789808816000,"timestamp_seconds":1789808816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb2f80"} 
[2026-09-19 14:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:37: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-19 14:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 14:37:52] 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-19 14:37: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-19 14:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:37:52] 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-19 14:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191056640001,"66":14243,"105":206,"83":41984,"24":3,"16":21689022204084224,"45":1735363630793801728},"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-19 14:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191056640001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:37:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689022204084224,"km_value":21689022204084.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735363630793801728,"description":"Unknown IO ID 45"} 
[2026-09-19 14:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191056640001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1735363630793801728}} 
[2026-09-19 14:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":188248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:37:52] local.INFO: GPS data processed {"connection_id":188248,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:37:52] local.INFO: Acknowledgment sent {"connection_id":188248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:09] local.INFO: TCP Data received {"connection_id":186838,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:09] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:09] local.INFO: IMEI packet received {"connection_id":186838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":186838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:38:09] local.INFO: TCP Data received {"connection_id":186837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:09] local.INFO: Processing buffer {"connection_id":186837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:09] local.INFO: IMEI packet received {"connection_id":186837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":186837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:38:14] local.INFO: TCP Data received {"connection_id":186837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:14] local.INFO: Processing buffer {"connection_id":186837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:38:14] local.INFO: IMEI packet received {"connection_id":186837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":186837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:38:14] local.INFO: TCP Data received {"connection_id":186838,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:14] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:38:14] local.INFO: IMEI packet received {"connection_id":186838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":186838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:38:15] local.INFO: TCP Data received {"connection_id":186837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:15] local.INFO: Processing buffer {"connection_id":186837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:15] local.INFO: Packet analysis {"connection_id":186837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:15] local.INFO: Extracted packet for processing {"connection_id":186837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38: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-19 14:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:38: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-19 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:38: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-19 14: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-19 14: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-19 14:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:38:15] 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-19 14:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":186837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:15] local.INFO: GPS data processed {"connection_id":186837,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:15] local.INFO: Acknowledgment sent {"connection_id":186837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:15] local.INFO: TCP Data received {"connection_id":186838,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:15] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:15] local.INFO: Packet analysis {"connection_id":186838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:15] local.INFO: Extracted packet for processing {"connection_id":186838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:38: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-19 14: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-19 14: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-19 14:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":186838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:16] local.INFO: GPS data processed {"connection_id":186838,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:16] local.INFO: Acknowledgment sent {"connection_id":186838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:23] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb4ad8012d18148007219918004d01452b..."} 
[2026-09-19 14:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb4ad8012d18148007219918004d01452b..."} 
[2026-09-19 14:38:23] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb4ad8012d18148007219918004d01452b..."} 
[2026-09-19 14:38:23] local.INFO: Packet analysis {"connection_id":188248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:38:23] local.INFO: Extracted packet for processing {"connection_id":188248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756552832,"raw_latitude":119642392,"longitude_deg":75.6552832,"latitude_deg":11.9642392,"altitude":77,"angle":325,"satellites":43,"speed":3,"hex_longitude":"2d181480","hex_latitude":"07219918","is_valid_coordinates":true} 
[2026-09-19 14:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191056896001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689035088986112,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262049624064,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:23] local.INFO: IO Element Parsed {"io_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-19 14:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808823000,"timestamp_ms":1789808823000,"timestamp_seconds":1789808823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb4ad8"} 
[2026-09-19 14:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:38: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-19 14:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 14:38:23] 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-19 14:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:38:23] 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-19 14:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191056896001,"66":12972,"105":206,"83":41984,"24":3,"16":21689035088986112,"45":1735293262049624064},"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-19 14:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191056896001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689035088986112,"km_value":21689035088986.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262049624064,"description":"Unknown IO ID 45"} 
[2026-09-19 14:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191056896001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1735293262049624064}} 
[2026-09-19 14:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":188248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:23] local.INFO: GPS data processed {"connection_id":188248,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:23] local.INFO: Acknowledgment sent {"connection_id":188248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:46] local.INFO: TCP Data received {"connection_id":186939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:46] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:46] local.INFO: IMEI packet received {"connection_id":186939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":186939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:38:47] local.INFO: TCP Data received {"connection_id":186837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:47] local.INFO: Processing buffer {"connection_id":186837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:38:47] local.INFO: Packet analysis {"connection_id":186837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:47] local.INFO: Extracted packet for processing {"connection_id":186837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:38: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-19 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:38: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-19 14: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-19 14: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-19 14:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:38: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-19 14:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":186837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:47] local.INFO: GPS data processed {"connection_id":186837,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:47] local.INFO: Acknowledgment sent {"connection_id":186837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:47] local.INFO: TCP Data received {"connection_id":186838,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:47] local.INFO: Processing buffer {"connection_id":186838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:38:47] local.INFO: Packet analysis {"connection_id":186838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:47] local.INFO: Extracted packet for processing {"connection_id":186838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:38: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-19 14: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-19 14: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-19 14:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":186838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:47] local.INFO: GPS data processed {"connection_id":186838,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:47] local.INFO: Acknowledgment sent {"connection_id":186838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:38:51] local.INFO: TCP Data received {"connection_id":186939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:51] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:38:51] local.INFO: IMEI packet received {"connection_id":186939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":186939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:38:52] local.INFO: TCP Data received {"connection_id":186939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb4ec0012d181400072199b8004d01582b..."} 
[2026-09-19 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb4ec0012d181400072199b8004d01582b..."} 
[2026-09-19 14:38:52] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb4ec0012d181400072199b8004d01582b..."} 
[2026-09-19 14:38:52] local.INFO: Packet analysis {"connection_id":186939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:38:52] local.INFO: Extracted packet for processing {"connection_id":186939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119642552,"longitude_deg":75.6552704,"latitude_deg":11.9642552,"altitude":77,"angle":344,"satellites":43,"speed":6,"hex_longitude":"2d181400","hex_latitude":"072199b8","is_valid_coordinates":true} 
[2026-09-19 14:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191058688001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689043678920704,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735152524561291264,"note":"Value kept but may cause issues"} 
[2026-09-19 14:38:52] local.INFO: IO Element Parsed {"io_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-19 14:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808824000,"timestamp_ms":1789808824000,"timestamp_seconds":1789808824,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb4ec0"} 
[2026-09-19 14:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:38: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-19 14:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 14:38:52] 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-19 14:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:38:52] 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-19 14:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191058688001,"66":12972,"105":206,"83":41984,"24":6,"16":21689043678920704,"45":1735152524561291264},"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-19 14:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191058688001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:38:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689043678920704,"km_value":21689043678920.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735152524561291264,"description":"Unknown IO ID 45"} 
[2026-09-19 14:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191058688001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1735152524561291264}} 
[2026-09-19 14:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":186939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:38:52] local.INFO: GPS data processed {"connection_id":186939,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:38:52] local.INFO: Acknowledgment sent {"connection_id":186939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:09] local.INFO: TCP Data received {"connection_id":186941,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:09] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:09] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:39:09] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:09] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:09] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:39:14] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:14] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:39:14] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:39:14] local.INFO: TCP Data received {"connection_id":186941,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:14] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:39:14] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:39:15] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:15] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:15] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:15] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39: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-19 14:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:39: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-19 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:39: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-19 14: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-19 14: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-19 14:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:39:15] 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-19 14:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:15] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:15] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:15] local.INFO: TCP Data received {"connection_id":186941,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:15] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:15] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:15] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:39: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-19 14: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-19 14: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-19 14:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:16] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:16] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:23] local.INFO: TCP Data received {"connection_id":186939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb52a8012d18140007219a78004d00062b..."} 
[2026-09-19 14:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb52a8012d18140007219a78004d00062b..."} 
[2026-09-19 14:39:23] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb52a8012d18140007219a78004d00062b..."} 
[2026-09-19 14:39:23] local.INFO: Packet analysis {"connection_id":186939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:39:23] local.INFO: Extracted packet for processing {"connection_id":186939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119642744,"longitude_deg":75.6552704,"latitude_deg":11.9642744,"altitude":77,"angle":6,"satellites":43,"speed":10,"hex_longitude":"2d181400","hex_latitude":"07219a78","is_valid_coordinates":true} 
[2026-09-19 14:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191058944001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689052268855296,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787072976896,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:23] local.INFO: IO Element Parsed {"io_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-19 14:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808825000,"timestamp_ms":1789808825000,"timestamp_seconds":1789808825,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb52a8"} 
[2026-09-19 14:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:39: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-19 14:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 14:39:23] 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-19 14:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:39:23] 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-19 14:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191058944001,"66":13004,"105":206,"83":41984,"24":10,"16":21689052268855296,"45":1735011787072976896},"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-19 14:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191058944001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689052268855296,"km_value":21689052268855.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787072976896,"description":"Unknown IO ID 45"} 
[2026-09-19 14:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191058944001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1735011787072976896}} 
[2026-09-19 14:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":186939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:23] local.INFO: GPS data processed {"connection_id":186939,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:23] local.INFO: Acknowledgment sent {"connection_id":186939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:46] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:46] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:39:46] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:46] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:39: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-19 14: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:39: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-19 14: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-19 14: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-19 14:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14: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-19 14:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:46] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:46] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:47] local.INFO: TCP Data received {"connection_id":186941,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:47] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:39:47] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:47] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:39:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:39: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-19 14: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-19 14: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-19 14:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:48] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:48] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:39:51] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:51] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:51] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:39:56] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:56] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:39:56] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:39:57] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb5690012d18148007219b90004c00162b..."} 
[2026-09-19 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb5690012d18148007219b90004c00162b..."} 
[2026-09-19 14:39:57] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb5690012d18148007219b90004c00162b..."} 
[2026-09-19 14:39:57] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:39:57] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756552832,"raw_latitude":119643024,"longitude_deg":75.6552832,"latitude_deg":11.9643024,"altitude":76,"angle":22,"satellites":43,"speed":14,"hex_longitude":"2d181480","hex_latitude":"07219b90","is_valid_coordinates":true} 
[2026-09-19 14:39: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-19 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191059200001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689065153757184,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787073026048,"note":"Value kept but may cause issues"} 
[2026-09-19 14:39:57] local.INFO: IO Element Parsed {"io_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-19 14:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789808826000,"timestamp_ms":1789808826000,"timestamp_seconds":1789808826,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb5690"} 
[2026-09-19 14:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 14:39:57] 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-19 14:39: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-19 14:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:39:57] 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-19 14:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191059200001,"66":13004,"105":206,"83":41984,"24":14,"16":21689065153757184,"45":1735011787073026048},"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-19 14:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191059200001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689065153757184,"km_value":21689065153757.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787073026048,"description":"Unknown IO ID 45"} 
[2026-09-19 14:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191059200001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1735011787073026048}} 
[2026-09-19 14:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:39:57] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:39:57] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:01] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb6630012d1819000721a200004c00212b..."} 
[2026-09-19 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb6630012d1819000721a200004c00212b..."} 
[2026-09-19 14:40:01] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb6630012d1819000721a200004c00212b..."} 
[2026-09-19 14:40:01] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:40:01] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644672,"longitude_deg":75.6553984,"latitude_deg":11.9644672,"altitude":76,"angle":33,"satellites":43,"speed":25,"hex_longitude":"2d181900","hex_latitude":"0721a200","is_valid_coordinates":true} 
[2026-09-19 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-19 14:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191059456001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689163938004992,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735152524561453056,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40: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-19 14:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789808830000,"timestamp_ms":1789808830000,"timestamp_seconds":1789808830,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb6630"} 
[2026-09-19 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-19 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-19 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 14:40:01] 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-19 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-19 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-19 14:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:40: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-19 14:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191059456001,"66":13004,"105":206,"83":41984,"24":25,"16":21689163938004992,"45":1735152524561453056},"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-19 14:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191059456001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689163938004992,"km_value":21689163938004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735152524561453056,"description":"Unknown IO ID 45"} 
[2026-09-19 14:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191059456001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1735152524561453056}} 
[2026-09-19 14:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:01] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:01] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:09] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:09] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:09] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:40:14] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:14] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:40:14] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:40:14] local.INFO: TCP Data received {"connection_id":186943,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:14] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:14] local.INFO: IMEI packet received {"connection_id":186943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":186943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:40:15] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:15] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:15] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:15] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40: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-19 14:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14: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-19 14:40: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-19 14:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:40: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-19 14: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-19 14: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-19 14:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:40: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-19 14:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:15] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:15] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:19] local.INFO: TCP Data received {"connection_id":186943,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:19] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:40:19] local.INFO: IMEI packet received {"connection_id":186943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":186943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:40:20] local.INFO: TCP Data received {"connection_id":186943,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:20] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:20] local.INFO: Packet analysis {"connection_id":186943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:20] local.INFO: Extracted packet for processing {"connection_id":186943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14: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-19 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":186943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:21] local.INFO: GPS data processed {"connection_id":186943,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:21] local.INFO: Acknowledgment sent {"connection_id":186943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:25] local.INFO: TCP Data received {"connection_id":186943,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:25] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e98d88012c7931800848f770000c01612f..."} 
[2026-09-19 14:40:25] local.INFO: Packet analysis {"connection_id":186943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:25] local.INFO: Extracted packet for processing {"connection_id":186943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:40: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-19 14:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789808709000,"timestamp_ms":1789808709000,"timestamp_seconds":1789808709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e98d88"} 
[2026-09-19 14:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:40: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-19 14:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190952448001,"66":25756,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:40:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190952448001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":186943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:25] local.INFO: GPS data processed {"connection_id":186943,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:25] local.INFO: Acknowledgment sent {"connection_id":186943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:46] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:46] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:46] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:40:47] local.INFO: TCP Data received {"connection_id":186942,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:47] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8e9cff0012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:40:47] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:47] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8e9"} 
[2026-09-19 14:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458190956800001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40: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-19 14:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789808726000,"timestamp_ms":1789808726000,"timestamp_seconds":1789808726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8e9cff0"} 
[2026-09-19 14:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:40: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-19 14:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 14:40: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-19 14:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:40: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-19 14:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458190956800001,"66":25734,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458190956800001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458190956800001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:47] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:47] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:40:51] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:51] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:40:51] local.INFO: IMEI packet received {"connection_id":186839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":186839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:40:52] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eb8570012d1822c00721b058004a00122a..."} 
[2026-09-19 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eb8570012d1822c00721b058004a00122a..."} 
[2026-09-19 14:40:52] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eb8570012d1822c00721b058004a00122a..."} 
[2026-09-19 14:40:52] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:40:52] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648344,"longitude_deg":75.655648,"latitude_deg":11.9648344,"altitude":74,"angle":18,"satellites":42,"speed":7,"hex_longitude":"2d1822c0","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-09-19 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191060480001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689378686369792,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161957072896,"note":"Value kept but may cause issues"} 
[2026-09-19 14:40:52] local.INFO: IO Element Parsed {"io_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-19 14:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808838000,"timestamp_ms":1789808838000,"timestamp_seconds":1789808838,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eb8570"} 
[2026-09-19 14:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:40: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-19 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 14:40:52] 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-19 14:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:40:52] 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-19 14:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191060480001,"66":12993,"105":206,"83":41984,"24":7,"16":21689378686369792,"45":1736419161957072896},"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-19 14:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191060480001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:40:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689378686369792,"km_value":21689378686369.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161957072896,"description":"Unknown IO ID 45"} 
[2026-09-19 14:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191060480001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736419161957072896}} 
[2026-09-19 14:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:40:52] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:40:52] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:09] local.INFO: TCP Data received {"connection_id":188250,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:09] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:09] local.INFO: IMEI packet received {"connection_id":188250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:41:09] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:09] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:09] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:41:14] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:14] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:41:14] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:41:14] local.INFO: TCP Data received {"connection_id":188250,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:14] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:41:14] local.INFO: IMEI packet received {"connection_id":188250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:41:15] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:15] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:15] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:15] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14: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-19 14: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:41: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-19 14: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-19 14: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-19 14:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:41: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-19 14:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:15] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:15] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:15] local.INFO: TCP Data received {"connection_id":188250,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:15] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:15] local.INFO: Packet analysis {"connection_id":188250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:15] local.INFO: Extracted packet for processing {"connection_id":188250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14: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-19 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":188250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:16] local.INFO: GPS data processed {"connection_id":188250,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:16] local.INFO: Acknowledgment sent {"connection_id":188250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:23] local.INFO: TCP Data received {"connection_id":186839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ebd778012d1820000721af40004900122a..."} 
[2026-09-19 14:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ebd778012d1820000721af40004900122a..."} 
[2026-09-19 14:41:23] local.INFO: Processing buffer {"connection_id":186839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ebd778012d1820000721af40004900122a..."} 
[2026-09-19 14:41:23] local.INFO: Packet analysis {"connection_id":186839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:41:23] local.INFO: Extracted packet for processing {"connection_id":186839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8eb"} 
[2026-09-19 14:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648064,"longitude_deg":75.6555776,"latitude_deg":11.9648064,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-19 14:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191062528001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689438815911936,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980941824,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:23] local.INFO: IO Element Parsed {"io_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-19 14:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789808859000,"timestamp_ms":1789808859000,"timestamp_seconds":1789808859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ebd778"} 
[2026-09-19 14:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-19 14:41:23] 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-19 14:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:41:23] 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-19 14:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191062528001,"66":12961,"105":206,"83":41984,"24":0,"16":21689438815911936,"45":1739163542980941824},"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-19 14:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191062528001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689438815911936,"km_value":21689438815911.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980941824,"description":"Unknown IO ID 45"} 
[2026-09-19 14:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191062528001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542980941824}} 
[2026-09-19 14:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":186839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:23] local.INFO: GPS data processed {"connection_id":186839,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:23] local.INFO: Acknowledgment sent {"connection_id":186839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:46] local.INFO: TCP Data received {"connection_id":186840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:46] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:46] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:41:47] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:47] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:41:47] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:47] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41: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-19 14:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:41: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-19 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:41:47] 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-19 14: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-19 14: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-19 14:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:41:47] 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-19 14:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:47] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:47] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:48] local.INFO: TCP Data received {"connection_id":188250,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:48] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:41:48] local.INFO: Packet analysis {"connection_id":188250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:48] local.INFO: Extracted packet for processing {"connection_id":188250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:41:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14: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-19 14:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:41:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":188250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:48] local.INFO: GPS data processed {"connection_id":188250,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:48] local.INFO: Acknowledgment sent {"connection_id":188250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:41:49] local.INFO: TCP Data received {"connection_id":186840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:49] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:41:49] local.INFO: IMEI packet received {"connection_id":186840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":186840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:41:49] local.INFO: TCP Data received {"connection_id":186840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ec2980012d181e800721ae38004800122a..."} 
[2026-09-19 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ec2980012d181e800721ae38004800122a..."} 
[2026-09-19 14:41:49] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ec2980012d181e800721ae38004800122a..."} 
[2026-09-19 14:41:49] local.INFO: Packet analysis {"connection_id":186840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:41:49] local.INFO: Extracted packet for processing {"connection_id":186840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647800,"longitude_deg":75.6555392,"latitude_deg":11.96478,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-19 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191067904001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689464585715712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794915840,"note":"Value kept but may cause issues"} 
[2026-09-19 14:41:49] local.INFO: IO Element Parsed {"io_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-19 14:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789808880000,"timestamp_ms":1789808880000,"timestamp_seconds":1789808880,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ec2980"} 
[2026-09-19 14:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:41: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-19 14:41:49] 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-19 14:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:41:49] 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-19 14:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191067904001,"66":12950,"105":206,"83":41984,"24":0,"16":21689464585715712,"45":1738389486794915840},"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-19 14:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191067904001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:41:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689464585715712,"km_value":21689464585715.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794915840,"description":"Unknown IO ID 45"} 
[2026-09-19 14:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191067904001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794915840}} 
[2026-09-19 14:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":186840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:41:49] local.INFO: GPS data processed {"connection_id":186840,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:41:49] local.INFO: Acknowledgment sent {"connection_id":186840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:09] local.INFO: TCP Data received {"connection_id":188252,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:09] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:09] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:42:09] local.INFO: TCP Data received {"connection_id":186944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:09] local.INFO: Processing buffer {"connection_id":186944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:09] local.INFO: IMEI packet received {"connection_id":186944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":186944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:42:14] local.INFO: TCP Data received {"connection_id":186944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:14] local.INFO: Processing buffer {"connection_id":186944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:42:14] local.INFO: IMEI packet received {"connection_id":186944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":186944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:42:14] local.INFO: TCP Data received {"connection_id":188252,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:14] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:42:14] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:42:15] local.INFO: TCP Data received {"connection_id":186944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:15] local.INFO: Processing buffer {"connection_id":186944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:15] local.INFO: Packet analysis {"connection_id":186944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:15] local.INFO: Extracted packet for processing {"connection_id":186944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42: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-19 14:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:42: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-19 14:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:42: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-19 14: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-19 14: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-19 14:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:42: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-19 14:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":186944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:15] local.INFO: GPS data processed {"connection_id":186944,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:15] local.INFO: Acknowledgment sent {"connection_id":186944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:16] local.INFO: TCP Data received {"connection_id":188252,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:16] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:16] local.INFO: Packet analysis {"connection_id":188252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:16] local.INFO: Extracted packet for processing {"connection_id":188252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:42: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-19 14:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:42:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":188252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:16] local.INFO: GPS data processed {"connection_id":188252,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:16] local.INFO: Acknowledgment sent {"connection_id":188252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:21] local.INFO: TCP Data received {"connection_id":186840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ec7b88012d181ec00721ae38004800122a..."} 
[2026-09-19 14:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ec7b88012d181ec00721ae38004800122a..."} 
[2026-09-19 14:42:21] local.INFO: Processing buffer {"connection_id":186840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ec7b88012d181ec00721ae38004800122a..."} 
[2026-09-19 14:42:21] local.INFO: Packet analysis {"connection_id":186840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:42:21] local.INFO: Extracted packet for processing {"connection_id":186840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647800,"longitude_deg":75.6555456,"latitude_deg":11.96478,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-19 14:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191073280001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689468880683008,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329782272,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:21] local.INFO: IO Element Parsed {"io_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-19 14:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789808901000,"timestamp_ms":1789808901000,"timestamp_seconds":1789808901,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ec7b88"} 
[2026-09-19 14:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 14:42:21] 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-19 14:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:42:21] 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-19 14:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191073280001,"66":12928,"105":206,"83":41984,"24":0,"16":21689468880683008,"45":1737967274329782272},"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-19 14:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191073280001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689468880683008,"km_value":21689468880683.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329782272,"description":"Unknown IO ID 45"} 
[2026-09-19 14:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191073280001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329782272}} 
[2026-09-19 14:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":186840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:21] local.INFO: GPS data processed {"connection_id":186840,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:21] local.INFO: Acknowledgment sent {"connection_id":186840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:46] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:46] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:46] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:42:46] local.INFO: TCP Data received {"connection_id":186944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:46] local.INFO: Processing buffer {"connection_id":186944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:42:46] local.INFO: Packet analysis {"connection_id":186944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:46] local.INFO: Extracted packet for processing {"connection_id":186944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42: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-19 14:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:42: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-19 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:42: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-19 14: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-19 14: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-19 14:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:42: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-19 14:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":186944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:46] local.INFO: GPS data processed {"connection_id":186944,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:46] local.INFO: Acknowledgment sent {"connection_id":186944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:47] local.INFO: TCP Data received {"connection_id":188252,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:47] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:42:47] local.INFO: Packet analysis {"connection_id":188252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:47] local.INFO: Extracted packet for processing {"connection_id":188252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:42:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:42: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-19 14:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:42:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":188252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:48] local.INFO: GPS data processed {"connection_id":188252,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:48] local.INFO: Acknowledgment sent {"connection_id":188252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:42:51] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:51] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:42:51] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:42:52] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8eccd90012d181ec00721ae380048001228..."} 
[2026-09-19 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8eccd90012d181ec00721ae380048001228..."} 
[2026-09-19 14:42:52] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8eccd90012d181ec00721ae380048001228..."} 
[2026-09-19 14:42:52] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:42:52] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ec"} 
[2026-09-19 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647800,"longitude_deg":75.6555456,"latitude_deg":11.96478,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-19 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191078656001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689468880683008,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073959936,"note":"Value kept but may cause issues"} 
[2026-09-19 14:42:52] local.INFO: IO Element Parsed {"io_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-19 14:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789808922000,"timestamp_ms":1789808922000,"timestamp_seconds":1789808922,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8eccd90"} 
[2026-09-19 14:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-19 14:42:52] 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-19 14:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:42:52] 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-19 14:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191078656001,"66":13993,"105":206,"83":41984,"24":0,"16":21689468880683008,"45":1738037643073959936},"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-19 14:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191078656001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:42:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689468880683008,"km_value":21689468880683.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073959936,"description":"Unknown IO ID 45"} 
[2026-09-19 14:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191078656001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643073959936}} 
[2026-09-19 14:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:42:52] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:42:52] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:09] local.INFO: TCP Data received {"connection_id":189566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:09] local.INFO: Processing buffer {"connection_id":189566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:09] local.INFO: IMEI packet received {"connection_id":189566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":189566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:43:14] local.INFO: TCP Data received {"connection_id":189566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:14] local.INFO: Processing buffer {"connection_id":189566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:43:14] local.INFO: IMEI packet received {"connection_id":189566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":189566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:43:14] local.INFO: TCP Data received {"connection_id":186945,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:14] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:14] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:43:15] local.INFO: TCP Data received {"connection_id":189566,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:15] local.INFO: Processing buffer {"connection_id":189566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:15] local.INFO: Packet analysis {"connection_id":189566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:15] local.INFO: Extracted packet for processing {"connection_id":189566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43: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-19 14:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:43: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-19 14:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:43: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-19 14: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-19 14: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-19 14:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:43: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-19 14:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":189566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:15] local.INFO: GPS data processed {"connection_id":189566,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:15] local.INFO: Acknowledgment sent {"connection_id":189566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:19] local.INFO: TCP Data received {"connection_id":186945,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:19] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:43:19] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:43:20] local.INFO: TCP Data received {"connection_id":186945,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:20] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:20] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:20] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14: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-19 14:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:21] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:21] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:23] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8efb7a8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8efb7a8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:43:23] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8efb7a8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:43:23] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ef"} 
[2026-09-19 14:43:23] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ef"} 
[2026-09-19 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191127552001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:23] 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-19 14:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809113000,"timestamp_ms":1789809113000,"timestamp_seconds":1789809113,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8efb7a8"} 
[2026-09-19 14:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 14:43:23] 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-19 14:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:43:23] 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-19 14:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191127552001,"66":12765,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191127552001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191127552001,"power":12765,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:24] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:24] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:25] local.INFO: TCP Data received {"connection_id":186945,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:25] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:43:25] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:25] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 14:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:43:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:25] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:25] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:46] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:46] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:46] local.INFO: IMEI packet received {"connection_id":189567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":189567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:43:47] local.INFO: TCP Data received {"connection_id":189566,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:47] local.INFO: Processing buffer {"connection_id":189566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:43:47] local.INFO: Packet analysis {"connection_id":189566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:47] local.INFO: Extracted packet for processing {"connection_id":189566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:43: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-19 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:43:47] 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-19 14: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-19 14: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-19 14:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:43:47] 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-19 14:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":189566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:47] local.INFO: GPS data processed {"connection_id":189566,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:47] local.INFO: Acknowledgment sent {"connection_id":189566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:43:51] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:51] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:43:51] local.INFO: IMEI packet received {"connection_id":189567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":189567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:43:51] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f009b0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f009b0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:43:51] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f009b0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:43:51] local.INFO: Packet analysis {"connection_id":189567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:43:51] local.INFO: Extracted packet for processing {"connection_id":189567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191132928001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:43:51] 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-19 14:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789809134000,"timestamp_ms":1789809134000,"timestamp_seconds":1789809134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f009b0"} 
[2026-09-19 14: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-19 14:43: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-19 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 14:43:51] 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-19 14: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-19 14: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-19 14:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:43:51] 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-19 14:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191132928001,"66":12722,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191132928001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:43:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191132928001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":189567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:43:52] local.INFO: GPS data processed {"connection_id":189567,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:43:52] local.INFO: Acknowledgment sent {"connection_id":189567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:09] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:09] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:09] local.INFO: IMEI packet received {"connection_id":189568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:44:09] local.INFO: TCP Data received {"connection_id":186946,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:09] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:09] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:44:14] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:14] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:44:14] local.INFO: IMEI packet received {"connection_id":189568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:44:14] local.INFO: TCP Data received {"connection_id":186946,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:14] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:44:14] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:44:15] local.INFO: TCP Data received {"connection_id":186946,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:15] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:15] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:15] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:44: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-19 14:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:44:15] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:15] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:15] local.INFO: Packet analysis {"connection_id":189568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:15] local.INFO: Extracted packet for processing {"connection_id":189568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14: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-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:44: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-19 14:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:44: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-19 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":189568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:16] local.INFO: GPS data processed {"connection_id":189568,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:16] local.INFO: Acknowledgment sent {"connection_id":189568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:16] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:16] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:23] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f05bb8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f05bb8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:44:23] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f05bb8012d1816000721a228004700ca2a..."} 
[2026-09-19 14:44:23] local.INFO: Packet analysis {"connection_id":189567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:44:23] local.INFO: Extracted packet for processing {"connection_id":189567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191138304001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:23] 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-19 14:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809155000,"timestamp_ms":1789809155000,"timestamp_seconds":1789809155,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f05bb8"} 
[2026-09-19 14:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 14:44:23] 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-19 14:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:44:23] 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-19 14:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191138304001,"66":12678,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191138304001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191138304001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":189567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:23] local.INFO: GPS data processed {"connection_id":189567,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:23] local.INFO: Acknowledgment sent {"connection_id":189567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:46] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:46] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:46] local.INFO: IMEI packet received {"connection_id":189569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":189569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:44:47] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:47] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:44:47] local.INFO: Packet analysis {"connection_id":189568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:47] local.INFO: Extracted packet for processing {"connection_id":189568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44: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-19 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:44: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-19 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:44:47] 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-19 14:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:44: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-19 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":189568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:47] local.INFO: GPS data processed {"connection_id":189568,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:47] local.INFO: Acknowledgment sent {"connection_id":189568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:47] local.INFO: TCP Data received {"connection_id":186946,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:47] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:44:47] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:47] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:47] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:47] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:44:48] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:48] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:48] local.INFO: IMEI packet received {"connection_id":189569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":189569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:44:51] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:51] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:44:51] local.INFO: IMEI packet received {"connection_id":189569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":189569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:44:52] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f0adc0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f0adc0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:44:52] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f0adc0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:44:52] local.INFO: Packet analysis {"connection_id":189569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:44:52] local.INFO: Extracted packet for processing {"connection_id":189569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191143680001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:44:52] 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-19 14:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809176000,"timestamp_ms":1789809176000,"timestamp_seconds":1789809176,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f0adc0"} 
[2026-09-19 14:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:44:52] 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-19 14:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:44:52] 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-19 14:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191143680001,"66":12689,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191143680001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:44:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191143680001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":189569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:44:52] local.INFO: GPS data processed {"connection_id":189569,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:44:52] local.INFO: Acknowledgment sent {"connection_id":189569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:09] local.INFO: TCP Data received {"connection_id":186841,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:09] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:09] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:45:09] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:09] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:09] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:45:14] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:14] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:45:14] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:45:14] local.INFO: TCP Data received {"connection_id":186841,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:14] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:45:14] local.INFO: IMEI packet received {"connection_id":186841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":186841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:45:15] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:15] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:15] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:15] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:45: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-19 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:45: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-19 14: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-19 14: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-19 14:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:45: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-19 14:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:15] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:15] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:15] local.INFO: TCP Data received {"connection_id":186841,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:15] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:15] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:15] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14: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-19 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:16] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:16] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:23] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f0ffc8012d1816000721a228004700ca29..."} 
[2026-09-19 14:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f0ffc8012d1816000721a228004700ca29..."} 
[2026-09-19 14:45:23] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f0ffc8012d1816000721a228004700ca29..."} 
[2026-09-19 14:45:23] local.INFO: Packet analysis {"connection_id":189569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:45:23] local.INFO: Extracted packet for processing {"connection_id":189569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f0"} 
[2026-09-19 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191149056001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:23] 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-19 14:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809197000,"timestamp_ms":1789809197000,"timestamp_seconds":1789809197,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f0ffc8"} 
[2026-09-19 14:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:45:23] 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-19 14:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:45:23] 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-19 14:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191149056001,"66":14113,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191149056001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191149056001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":189569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:23] local.INFO: GPS data processed {"connection_id":189569,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:23] local.INFO: Acknowledgment sent {"connection_id":189569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:47] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:47] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee67b8012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:45:47] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:47] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191033856001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809027000,"timestamp_ms":1789809027000,"timestamp_seconds":1789809027,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee67b8"} 
[2026-09-19 14: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-19 14:45: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-19 14: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":134,"data_length":795,"current_offset":136} 
[2026-09-19 14:45:47] 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-19 14: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-19 14: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-19 14:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:45:47] 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-19 14:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191033856001,"66":25712,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191033856001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191033856001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:45:47] local.INFO: TCP Data received {"connection_id":186841,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:47] local.INFO: Processing buffer {"connection_id":186841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ee2550012c7931800848f770000c01612f..."} 
[2026-09-19 14:45:47] local.INFO: Packet analysis {"connection_id":186841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:47] local.INFO: Extracted packet for processing {"connection_id":186841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ee"} 
[2026-09-19 14:45:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191029504001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809010000,"timestamp_ms":1789809010000,"timestamp_seconds":1789809010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ee2550"} 
[2026-09-19 14: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-19 14:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191029504001,"66":25745,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191029504001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191029504001,"power":25745,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:47] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:47] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":186841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:47] local.INFO: GPS data processed {"connection_id":186841,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:47] local.INFO: Acknowledgment sent {"connection_id":186841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:45:49] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:49] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:49] local.INFO: IMEI packet received {"connection_id":186948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":186948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:45:51] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:51] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:51] local.INFO: IMEI packet received {"connection_id":186948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":186948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:45:56] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:56] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:45:56] local.INFO: IMEI packet received {"connection_id":186948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":186948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:45:57] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f151d0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f151d0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:45:57] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f151d0012d1816000721a228004700ca2b..."} 
[2026-09-19 14:45:57] local.INFO: Packet analysis {"connection_id":186948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f1"} 
[2026-09-19 14:45:57] local.INFO: Extracted packet for processing {"connection_id":186948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f1"} 
[2026-09-19 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644712,"longitude_deg":75.6553216,"latitude_deg":11.9644712,"altitude":71,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a228","is_valid_coordinates":true} 
[2026-09-19 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191154432001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689670744145920,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:45:57] 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-19 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789809218000,"timestamp_ms":1789809218000,"timestamp_seconds":1789809218,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f151d0"} 
[2026-09-19 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-19 14:45:57] 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-19 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:45:57] 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-19 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191154432001,"66":14211,"107":206,"83":41984,"24":0,"16":21689670744145920,"45":1735574737026951168},"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-19 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191154432001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689670744145920,"km_value":21689670744145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191154432001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":186948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:45:57] local.INFO: GPS data processed {"connection_id":186948,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:45:57] local.INFO: Acknowledgment sent {"connection_id":186948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:00] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f19050012d180f4007219460004900d82b..."} 
[2026-09-19 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f19050012d180f4007219460004900d82b..."} 
[2026-09-19 14:46:00] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f19050012d180f4007219460004900d82b..."} 
[2026-09-19 14:46:00] local.INFO: Packet analysis {"connection_id":186948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f1"} 
[2026-09-19 14:46:00] local.INFO: Extracted packet for processing {"connection_id":186948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f1"} 
[2026-09-19 14:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119641184,"longitude_deg":75.6551488,"latitude_deg":11.9641184,"altitude":73,"angle":216,"satellites":43,"speed":24,"hex_longitude":"2d180f40","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-19 14:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191159808001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21689864017674240,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026951168,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789809234000,"timestamp_ms":1789809234000,"timestamp_seconds":1789809234,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f19050"} 
[2026-09-19 14:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46: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-19 14:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 14:46: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-19 14:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":186948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":186948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":186948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:46:00] 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-19 14:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191159808001,"66":14233,"107":206,"83":41984,"24":24,"16":21689864017674240,"45":1735574737026951168},"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-19 14:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191159808001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 14:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21689864017674240,"km_value":21689864017674.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026951168,"description":"Unknown IO ID 45"} 
[2026-09-19 14:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191159808001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1735574737026951168}} 
[2026-09-19 14:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":186948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:00] local.INFO: GPS data processed {"connection_id":186948,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:00] local.INFO: Acknowledgment sent {"connection_id":186948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:09] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:09] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:09] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:46:09] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:09] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:09] local.INFO: IMEI packet received {"connection_id":186843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:46:14] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:14] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:46:14] local.INFO: IMEI packet received {"connection_id":186842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":186842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:46:14] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:14] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:46:14] local.INFO: IMEI packet received {"connection_id":186843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":186843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:46:15] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:15] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:15] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:15] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46: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-19 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46: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-19 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:46: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-19 14:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:46: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-19 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:15] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:15] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:15] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:15] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:15] local.INFO: Packet analysis {"connection_id":186843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:15] local.INFO: Extracted packet for processing {"connection_id":186843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:46:15] 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-19 14:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":186843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:16] local.INFO: GPS data processed {"connection_id":186843,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:16] local.INFO: Acknowledgment sent {"connection_id":186843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:45] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:45] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:45] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:46:46] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:46] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:46] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:46:47] local.INFO: TCP Data received {"connection_id":186842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:47] local.INFO: Processing buffer {"connection_id":186842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:46:47] local.INFO: Packet analysis {"connection_id":186842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:47] local.INFO: Extracted packet for processing {"connection_id":186842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46: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-19 14:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46: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-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:46:47] 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-19 14:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:46:47] 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-19 14:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:47] local.INFO: GPS data processed {"connection_id":186842,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:47] local.INFO: Acknowledgment sent {"connection_id":186842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:47] local.INFO: TCP Data received {"connection_id":186843,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:47] local.INFO: Processing buffer {"connection_id":186843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:46:47] local.INFO: Packet analysis {"connection_id":186843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:47] local.INFO: Extracted packet for processing {"connection_id":186843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:46:47] 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-19 14:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:47] local.INFO: GPS data processed {"connection_id":186843,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:47] local.INFO: Acknowledgment sent {"connection_id":186843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:46:51] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:51] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:46:51] local.INFO: IMEI packet received {"connection_id":186844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":186844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:46:52] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f322a8012d16f48007206e10002700dc27..."} 
[2026-09-19 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f322a8012d16f48007206e10002700dc27..."} 
[2026-09-19 14:46:52] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f322a8012d16f48007206e10002700dc27..."} 
[2026-09-19 14:46:52] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f3"} 
[2026-09-19 14:46:52] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f3"} 
[2026-09-19 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756479104,"raw_latitude":119565840,"longitude_deg":75.6479104,"latitude_deg":11.956584,"altitude":39,"angle":220,"satellites":39,"speed":50,"hex_longitude":"2d16f480","hex_latitude":"07206e10","is_valid_coordinates":true} 
[2026-09-19 14:46: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-19 14:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191188480001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21694923489148928,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660632024459274240,"note":"Value kept but may cause issues"} 
[2026-09-19 14:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809337000,"timestamp_ms":1789809337000,"timestamp_seconds":1789809337,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f322a8"} 
[2026-09-19 14:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-19 14:46:52] 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-19 14:46: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-19 14:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:46:52] 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-19 14:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191188480001,"66":14254,"85":206,"83":41984,"24":50,"16":21694923489148928,"45":1660632024459274240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-19 14:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191188480001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 14:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21694923489148928,"km_value":21694923489148.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660632024459274240,"description":"Unknown IO ID 45"} 
[2026-09-19 14:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191188480001,"power":14254,"unknown_85":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1660632024459274240}} 
[2026-09-19 14:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:46:52] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:46:52] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:09] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:09] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:09] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:47:14] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:14] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:47:14] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:47:14] local.INFO: TCP Data received {"connection_id":186950,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:14] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:14] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:47:15] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:15] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:15] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:15] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47: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-19 14:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47: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-19 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:47: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-19 14:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:47: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-19 14:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:15] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:15] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:19] local.INFO: TCP Data received {"connection_id":186950,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:19] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:47:19] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:47:20] local.INFO: TCP Data received {"connection_id":186950,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:20] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:20] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:20] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14: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-19 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:20] 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-19 14: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-19 14: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-19 14:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:47:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:21] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:21] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:23] local.INFO: TCP Data received {"connection_id":186844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f33e00012d16dd0007205370002400dd28..."} 
[2026-09-19 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f33e00012d16dd0007205370002400dd28..."} 
[2026-09-19 14:47:23] local.INFO: Processing buffer {"connection_id":186844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f33e00012d16dd0007205370002400dd28..."} 
[2026-09-19 14:47:23] local.INFO: Packet analysis {"connection_id":186844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f3"} 
[2026-09-19 14:47:23] local.INFO: Extracted packet for processing {"connection_id":186844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f3"} 
[2026-09-19 14:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756473088,"raw_latitude":119559024,"longitude_deg":75.6473088,"latitude_deg":11.9559024,"altitude":36,"angle":221,"satellites":40,"speed":52,"hex_longitude":"2d16dd00","hex_latitude":"07205370","is_valid_coordinates":true} 
[2026-09-19 14:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191190272001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21695361575813120,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654087731249025024,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809344000,"timestamp_ms":1789809344000,"timestamp_seconds":1789809344,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f33e00"} 
[2026-09-19 14:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:23] 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-19 14:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:23] 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-19 14:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191190272001,"66":14265,"85":206,"83":41984,"24":52,"16":21695361575813120,"45":1654087731249025024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-19 14:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191190272001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 14:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21695361575813120,"km_value":21695361575813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654087731249025024,"description":"Unknown IO ID 45"} 
[2026-09-19 14:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191190272001,"power":14265,"unknown_85":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1654087731249025024}} 
[2026-09-19 14:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":186844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:23] local.INFO: GPS data processed {"connection_id":186844,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:23] local.INFO: Acknowledgment sent {"connection_id":186844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:25] local.INFO: TCP Data received {"connection_id":186950,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:25] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:47:25] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:25] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:47: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-19 14:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:25] 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-19 14:47: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-19 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:47:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:25] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:25] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:46] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: IMEI packet received {"connection_id":186951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":186951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:47:46] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:46] local.INFO: IMEI packet received {"connection_id":186951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":186951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:47:47] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:47] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:47:47] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:47] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47: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-19 14:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47: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-19 14:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:47] 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-19 14:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:47:47] 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-19 14:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:47] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:47] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:48] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:48] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:48] local.INFO: IMEI packet received {"connection_id":186951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":186951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:47:50] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:50] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:47:50] local.INFO: IMEI packet received {"connection_id":186951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":186951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:47:51] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f443b8012d164280071fd8800023008327..."} 
[2026-09-19 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f443b8012d164280071fd8800023008327..."} 
[2026-09-19 14:47:51] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f443b8012d164280071fd8800023008327..."} 
[2026-09-19 14:47:51] local.INFO: Packet analysis {"connection_id":186951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:47:51] local.INFO: Extracted packet for processing {"connection_id":186951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756433536,"raw_latitude":119527552,"longitude_deg":75.6433536,"latitude_deg":11.9527552,"altitude":35,"angle":131,"satellites":39,"speed":24,"hex_longitude":"2d164280","hex_latitude":"071fd880","is_valid_coordinates":true} 
[2026-09-19 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191208192001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21698088880046080,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601733385571301376,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789809411000,"timestamp_ms":1789809411000,"timestamp_seconds":1789809411,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f443b8"} 
[2026-09-19 14:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47: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-19 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:51] 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-19 14:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:51] 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-19 14:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191208192001,"66":14254,"86":206,"83":41984,"24":24,"16":21698088880046080,"45":1601733385571301376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191208192001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21698088880046080,"km_value":21698088880046.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601733385571301376,"description":"Unknown IO ID 45"} 
[2026-09-19 14:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191208192001,"power":14254,"unknown_86":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1601733385571301376}} 
[2026-09-19 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":186951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:51] local.INFO: GPS data processed {"connection_id":186951,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:51] local.INFO: Acknowledgment sent {"connection_id":186951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:47:52] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f447a0012d164400071fd6900022009128..."} 
[2026-09-19 14:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f447a0012d164400071fd6900022009128..."} 
[2026-09-19 14:47:52] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f447a0012d164400071fd6900022009128..."} 
[2026-09-19 14:47:52] local.INFO: Packet analysis {"connection_id":186951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:47:52] local.INFO: Extracted packet for processing {"connection_id":186951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756433920,"raw_latitude":119527056,"longitude_deg":75.643392,"latitude_deg":11.9527056,"altitude":34,"angle":145,"satellites":40,"speed":24,"hex_longitude":"2d164400","hex_latitude":"071fd690","is_valid_coordinates":true} 
[2026-09-19 14:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191209216001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21698118944817152,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1603985185384726528,"note":"Value kept but may cause issues"} 
[2026-09-19 14:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809412000,"timestamp_ms":1789809412000,"timestamp_seconds":1789809412,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f447a0"} 
[2026-09-19 14:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 14:47:52] 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-19 14:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:47:52] 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-19 14:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191209216001,"66":14254,"86":206,"83":41984,"24":24,"16":21698118944817152,"45":1603985185384726528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191209216001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:47:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21698118944817152,"km_value":21698118944817.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1603985185384726528,"description":"Unknown IO ID 45"} 
[2026-09-19 14:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191209216001,"power":14254,"unknown_86":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1603985185384726528}} 
[2026-09-19 14:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:47:52] local.INFO: GPS data processed {"connection_id":186951,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:47:52] local.INFO: Acknowledgment sent {"connection_id":186951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:09] local.INFO: TCP Data received {"connection_id":188254,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:09] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:09] local.INFO: IMEI packet received {"connection_id":188254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:48:10] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:10] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:10] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:48:14] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:14] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:48:14] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:48:14] local.INFO: TCP Data received {"connection_id":188254,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:14] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:48:14] local.INFO: IMEI packet received {"connection_id":188254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:48:15] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:15] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:15] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:15] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48: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-19 14:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14: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-19 14:48: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-19 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:48: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-19 14: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-19 14: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-19 14:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:48:15] 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-19 14:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:15] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:15] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:15] local.INFO: TCP Data received {"connection_id":188254,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:15] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:15] local.INFO: Packet analysis {"connection_id":188254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:15] local.INFO: Extracted packet for processing {"connection_id":188254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14: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-19 14:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:48:15] 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-19 14: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-19 14: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-19 14:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":188254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:16] local.INFO: GPS data processed {"connection_id":188254,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:16] local.INFO: Acknowledgment sent {"connection_id":188254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:23] local.INFO: TCP Data received {"connection_id":186951,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f4ef98012d16aa40071f98880023009924..."} 
[2026-09-19 14:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f4ef98012d16aa40071f98880023009924..."} 
[2026-09-19 14:48:23] local.INFO: Processing buffer {"connection_id":186951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f4ef98012d16aa40071f98880023009924..."} 
[2026-09-19 14:48:23] local.INFO: Packet analysis {"connection_id":186951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:48:23] local.INFO: Extracted packet for processing {"connection_id":186951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756460096,"raw_latitude":119511176,"longitude_deg":75.6460096,"latitude_deg":11.9511176,"altitude":35,"angle":153,"satellites":36,"speed":27,"hex_longitude":"2d16aa40","hex_latitude":"071f9888","is_valid_coordinates":true} 
[2026-09-19 14:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191219968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21699703787749376,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632343789284423680,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809455000,"timestamp_ms":1789809455000,"timestamp_seconds":1789809455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f4ef98"} 
[2026-09-19 14:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 14:48:23] 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-19 14:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:48:23] 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-19 14:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191219968001,"66":14341,"86":206,"83":41984,"24":27,"16":21699703787749376,"45":1632343789284423680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191219968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21699703787749376,"km_value":21699703787749.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632343789284423680,"description":"Unknown IO ID 45"} 
[2026-09-19 14:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191219968001,"power":14341,"unknown_86":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1632343789284423680}} 
[2026-09-19 14:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":186951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:23] local.INFO: GPS data processed {"connection_id":186951,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:23] local.INFO: Acknowledgment sent {"connection_id":186951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:46] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:46] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:46] local.INFO: IMEI packet received {"connection_id":189570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":189570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:48:47] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:47] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:48:47] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:47] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48: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-19 14:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:48: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-19 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:48:47] 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-19 14:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:48:47] 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-19 14:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:47] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:47] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:47] local.INFO: TCP Data received {"connection_id":188254,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:47] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:48:47] local.INFO: Packet analysis {"connection_id":188254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:47] local.INFO: Extracted packet for processing {"connection_id":188254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:48:47] 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-19 14:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":188254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:47] local.INFO: GPS data processed {"connection_id":188254,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:47] local.INFO: Acknowledgment sent {"connection_id":188254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:48:48] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:48] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:48] local.INFO: IMEI packet received {"connection_id":189570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":189570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:48:50] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:50] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:48:50] local.INFO: IMEI packet received {"connection_id":189570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":189570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:48:51] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f4f768012d16abc0071f9300002300a525..."} 
[2026-09-19 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f4f768012d16abc0071f9300002300a525..."} 
[2026-09-19 14:48:51] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f4f768012d16abc0071f9300002300a525..."} 
[2026-09-19 14:48:51] local.INFO: Packet analysis {"connection_id":189570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:48:51] local.INFO: Extracted packet for processing {"connection_id":189570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f4"} 
[2026-09-19 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756460480,"raw_latitude":119509760,"longitude_deg":75.646048,"latitude_deg":11.950976,"altitude":35,"angle":165,"satellites":37,"speed":28,"hex_longitude":"2d16abc0","hex_latitude":"071f9300","is_valid_coordinates":true} 
[2026-09-19 14:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191220480001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21699772507226112,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633188214214264832,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789809457000,"timestamp_ms":1789809457000,"timestamp_seconds":1789809457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f4f768"} 
[2026-09-19 14:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991443078,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3103034864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34817,"corrected_to":0} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930725138432,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4106782721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2807562273,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784021198,"corrected_to":0} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221302550,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3221692330,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84748579226722222,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.WARNING: Large IO value detected {"io_id":232,"raw_value":9007745336353024,"note":"Value kept but may cause issues"} 
[2026-09-19 14:48:51] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,86,83,24,241,157,16,23,160,231,45,64,156,35,33,10,66,223,192,34,200,128,1,240,218,227,184,31,4,113,205,27,149,110,37,239,56,2,77,7,32,206,232],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":200,"original":34817,"validated":0},{"io_id":205,"original":1784021198,"validated":0}]} 
[2026-09-19 14:48:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522184171227119616,"timestamp_seconds":2522184171227119.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:48:51] 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-19 14:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191220480001,"66":14374,"86":206,"83":41984,"24":28,"16":21699772507226112,"45":1633188214214264832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191220480001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:48:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21699772507226112,"km_value":21699772507226.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633188214214264832,"description":"Unknown IO ID 45"} 
[2026-09-19 14:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191220480001,"power":14374,"unknown_86":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1633188214214264832}} 
[2026-09-19 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":189570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:48:51] local.INFO: GPS data processed {"connection_id":189570,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:48:51] local.INFO: Acknowledgment sent {"connection_id":189570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:09] local.INFO: TCP Data received {"connection_id":189571,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:09] local.INFO: Processing buffer {"connection_id":189571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:09] local.INFO: IMEI packet received {"connection_id":189571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:49:09] local.INFO: TCP Data received {"connection_id":186952,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:09] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:09] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:49:14] local.INFO: TCP Data received {"connection_id":186952,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:14] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:49:14] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:49:14] local.INFO: TCP Data received {"connection_id":189571,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:14] local.INFO: Processing buffer {"connection_id":189571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:49:14] local.INFO: IMEI packet received {"connection_id":189571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:49:16] local.INFO: TCP Data received {"connection_id":186952,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:16] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:16] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:16] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:16] 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-19 14:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:16] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:16] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:16] local.INFO: TCP Data received {"connection_id":189571,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:16] local.INFO: Processing buffer {"connection_id":189571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:16] local.INFO: Packet analysis {"connection_id":189571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:16] local.INFO: Extracted packet for processing {"connection_id":189571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49: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-19 14:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49: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-19 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:16] 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-19 14:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:49:16] 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-19 14:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":189571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:16] local.INFO: GPS data processed {"connection_id":189571,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:16] local.INFO: Acknowledgment sent {"connection_id":189571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:22] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f50708012d16ad00071f8778002400b624..."} 
[2026-09-19 14:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f50708012d16ad00071f8778002400b624..."} 
[2026-09-19 14:49:22] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f50708012d16ad00071f8778002400b624..."} 
[2026-09-19 14:49:22] local.INFO: Packet analysis {"connection_id":189570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f5"} 
[2026-09-19 14:49:22] local.INFO: Extracted packet for processing {"connection_id":189570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f5"} 
[2026-09-19 14:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756460800,"raw_latitude":119506808,"longitude_deg":75.64608,"latitude_deg":11.9506808,"altitude":36,"angle":182,"satellites":36,"speed":27,"hex_longitude":"2d16ad00","hex_latitude":"071f8778","is_valid_coordinates":true} 
[2026-09-19 14:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191220992001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21699918536114176,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633610426678968320,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789809461000,"timestamp_ms":1789809461000,"timestamp_seconds":1789809461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f50708"} 
[2026-09-19 14:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:22] 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-19 14:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:49:22] 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-19 14:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191220992001,"66":14374,"86":206,"83":41984,"24":27,"16":21699918536114176,"45":1633610426678968320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191220992001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21699918536114176,"km_value":21699918536114.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633610426678968320,"description":"Unknown IO ID 45"} 
[2026-09-19 14:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191220992001,"power":14374,"unknown_86":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1633610426678968320}} 
[2026-09-19 14:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":189570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:22] local.INFO: GPS data processed {"connection_id":189570,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:22] local.INFO: Acknowledgment sent {"connection_id":189570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:46] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:46] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:46] local.INFO: IMEI packet received {"connection_id":186953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":186953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:49:47] local.INFO: TCP Data received {"connection_id":189571,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:47] local.INFO: Processing buffer {"connection_id":189571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:49:47] local.INFO: Packet analysis {"connection_id":189571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:47] local.INFO: Extracted packet for processing {"connection_id":189571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49: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-19 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:47] 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-19 14:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:49: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-19 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:47] local.INFO: GPS data processed {"connection_id":189571,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:47] local.INFO: Acknowledgment sent {"connection_id":189571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:47] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:47] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:47] local.INFO: IMEI packet received {"connection_id":186953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":186953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:49:47] local.INFO: TCP Data received {"connection_id":186952,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:47] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:49:47] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:47] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:47] 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-19 14:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:47] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:47] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:49:48] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:48] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:48] local.INFO: IMEI packet received {"connection_id":186953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":186953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:49:51] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:51] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:49:51] local.INFO: IMEI packet received {"connection_id":186953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":186953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:49:52] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f5f550012d171900071f8d10002f004927..."} 
[2026-09-19 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f5f550012d171900071f8d10002f004927..."} 
[2026-09-19 14:49:52] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f5f550012d171900071f8d10002f004927..."} 
[2026-09-19 14:49:52] local.INFO: Packet analysis {"connection_id":186953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f5"} 
[2026-09-19 14:49:52] local.INFO: Extracted packet for processing {"connection_id":186953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f5"} 
[2026-09-19 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756488448,"raw_latitude":119508240,"longitude_deg":75.6488448,"latitude_deg":11.950824,"altitude":47,"angle":73,"satellites":39,"speed":20,"hex_longitude":"2d171900","hex_latitude":"071f8d10","is_valid_coordinates":true} 
[2026-09-19 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191236096001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21701426069635072,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661124605651644416,"note":"Value kept but may cause issues"} 
[2026-09-19 14:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809522000,"timestamp_ms":1789809522000,"timestamp_seconds":1789809522,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f5f550"} 
[2026-09-19 14:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 14:49:52] 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-19 14:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:49:52] 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-19 14:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191236096001,"66":14374,"86":206,"83":41984,"24":20,"16":21701426069635072,"45":1661124605651644416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191236096001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:49:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21701426069635072,"km_value":21701426069635.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661124605651644416,"description":"Unknown IO ID 45"} 
[2026-09-19 14:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191236096001,"power":14374,"unknown_86":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1661124605651644416}} 
[2026-09-19 14:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":186953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:49:52] local.INFO: GPS data processed {"connection_id":186953,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:49:52] local.INFO: Acknowledgment sent {"connection_id":186953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:50:09] local.INFO: TCP Data received {"connection_id":189572,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:09] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:09] local.INFO: IMEI packet received {"connection_id":189572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":189572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:50:09] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:09] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:09] local.INFO: IMEI packet received {"connection_id":188256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:50:14] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:14] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:50:14] local.INFO: IMEI packet received {"connection_id":188256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:50:15] local.INFO: TCP Data received {"connection_id":189572,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:15] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:50:15] local.INFO: IMEI packet received {"connection_id":189572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":189572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:50:15] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:15] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:15] local.INFO: Packet analysis {"connection_id":188256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:15] local.INFO: Extracted packet for processing {"connection_id":188256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50: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-19 14:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 14:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:50: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-19 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:50: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-19 14:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:50: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-19 14:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":188256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:50:15] local.INFO: GPS data processed {"connection_id":188256,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:50:15] local.INFO: Acknowledgment sent {"connection_id":188256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:50:16] local.INFO: TCP Data received {"connection_id":189572,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:16] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:16] local.INFO: Packet analysis {"connection_id":189572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:16] local.INFO: Extracted packet for processing {"connection_id":189572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14: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-19 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:50:16] 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-19 14: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-19 14: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-19 14:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:50:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:50:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":189572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:50:16] local.INFO: GPS data processed {"connection_id":189572,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:50:16] local.INFO: Acknowledgment sent {"connection_id":189572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:50:23] local.INFO: TCP Data received {"connection_id":186953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f608d8012d172300071f8e880032005526..."} 
[2026-09-19 14:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f608d8012d172300071f8e880032005526..."} 
[2026-09-19 14:50:23] local.INFO: Processing buffer {"connection_id":186953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f608d8012d172300071f8e880032005526..."} 
[2026-09-19 14:50:23] local.INFO: Packet analysis {"connection_id":186953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:50:23] local.INFO: Extracted packet for processing {"connection_id":186953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756491008,"raw_latitude":119508616,"longitude_deg":75.6491008,"latitude_deg":11.9508616,"altitude":50,"angle":85,"satellites":38,"speed":19,"hex_longitude":"2d172300","hex_latitude":"071f8e88","is_valid_coordinates":true} 
[2026-09-19 14:50: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-19 14:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191237632001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21701550623686656,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1664361567884218368,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809527000,"timestamp_ms":1789809527000,"timestamp_seconds":1789809527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f608d8"} 
[2026-09-19 14:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 14:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:50: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-19 14:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:50:23] 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-19 14:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191237632001,"66":13961,"86":206,"83":41984,"24":19,"16":21701550623686656,"45":1664361567884218368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191237632001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21701550623686656,"km_value":21701550623686.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1664361567884218368,"description":"Unknown IO ID 45"} 
[2026-09-19 14:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191237632001,"power":13961,"unknown_86":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1664361567884218368}} 
[2026-09-19 14:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":186953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:50:23] local.INFO: GPS data processed {"connection_id":186953,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:50:23] local.INFO: Acknowledgment sent {"connection_id":186953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:50:47] local.INFO: TCP Data received {"connection_id":188256,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:47] local.INFO: Processing buffer {"connection_id":188256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2ff80012d34c14006aa41400008010e2d..."} 
[2026-09-19 14:50:47] local.INFO: Packet analysis {"connection_id":188256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:47] local.INFO: Extracted packet for processing {"connection_id":188256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191110912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50: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-19 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809328000,"timestamp_ms":1789809328000,"timestamp_seconds":1789809328,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2ff80"} 
[2026-09-19 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-19 14:50: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-19 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-19 14:50:47] 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-19 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-19 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-19 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:50:47] 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-19 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191110912001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191110912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191110912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":188256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:50:47] local.INFO: GPS data processed {"connection_id":188256,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:50:47] local.INFO: Acknowledgment sent {"connection_id":188256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:50:48] local.INFO: TCP Data received {"connection_id":189572,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:48] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f2bd18012c7931800848f770000c01612f..."} 
[2026-09-19 14:50:48] local.INFO: Packet analysis {"connection_id":189572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:48] local.INFO: Extracted packet for processing {"connection_id":189572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f2"} 
[2026-09-19 14:50:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191106560001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789809311000,"timestamp_ms":1789809311000,"timestamp_seconds":1789809311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f2bd18"} 
[2026-09-19 14: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-19 14:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 14:50: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-19 14: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-19 14: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-19 14:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191106560001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191106560001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:50:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:50:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191106560001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":189572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:50:48] local.INFO: GPS data processed {"connection_id":189572,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:50:48] local.INFO: Acknowledgment sent {"connection_id":189572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:01] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:01] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:01] local.INFO: IMEI packet received {"connection_id":188257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":188257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:51:06] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:06] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:06] local.INFO: IMEI packet received {"connection_id":188257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":188257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:51:07] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f61490012d172740071f8f400033004927..."} 
[2026-09-19 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f61490012d172740071f8f400033004927..."} 
[2026-09-19 14:51:07] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f61490012d172740071f8f400033004927..."} 
[2026-09-19 14:51:07] local.INFO: Packet analysis {"connection_id":188257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:51:07] local.INFO: Extracted packet for processing {"connection_id":188257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756492096,"raw_latitude":119508800,"longitude_deg":75.6492096,"latitude_deg":11.95088,"altitude":51,"angle":73,"satellites":39,"speed":9,"hex_longitude":"2d172740","hex_latitude":"071f8f40","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191238912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21701602163294208,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1667176317651421184,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789809530000,"timestamp_ms":1789809530000,"timestamp_seconds":1789809530,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f61490"} 
[2026-09-19 14: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-19 14:51: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-19 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 14:51: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-19 14: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-19 14: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-19 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":188257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":188257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":188257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:51: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-19 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191238912001,"66":13167,"86":206,"83":41984,"24":9,"16":21701602163294208,"45":1667176317651421184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191238912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21701602163294208,"km_value":21701602163294.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1667176317651421184,"description":"Unknown IO ID 45"} 
[2026-09-19 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191238912001,"power":13167,"unknown_86":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1667176317651421184}} 
[2026-09-19 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":188257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:07] local.INFO: GPS data processed {"connection_id":188257,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:07] local.INFO: Acknowledgment sent {"connection_id":188257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:14] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:14] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:14] local.INFO: IMEI packet received {"connection_id":186954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:51:14] local.INFO: TCP Data received {"connection_id":186955,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:14] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:14] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:51:19] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:19] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:51:19] local.INFO: IMEI packet received {"connection_id":186954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":186954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:51:19] local.INFO: TCP Data received {"connection_id":186955,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:19] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:51:19] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:51:20] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:20] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:20] local.INFO: Packet analysis {"connection_id":186954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:20] local.INFO: Extracted packet for processing {"connection_id":186954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:51:20] 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-19 14:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":186954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:20] local.INFO: GPS data processed {"connection_id":186954,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:20] local.INFO: Acknowledgment sent {"connection_id":186954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:20] local.INFO: TCP Data received {"connection_id":186955,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:20] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:20] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:20] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:51:20] 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-19 14:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:20] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:20] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:25] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:25] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:51:25] local.INFO: Packet analysis {"connection_id":186954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:25] local.INFO: Extracted packet for processing {"connection_id":186954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:51: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-19 14:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:51: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-19 14:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:51:25] 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-19 14:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":186954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:25] local.INFO: GPS data processed {"connection_id":186954,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:25] local.INFO: Acknowledgment sent {"connection_id":186954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:25] local.INFO: TCP Data received {"connection_id":186955,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:25] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:51:25] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:25] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:51: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-19 14:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:51:25] 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-19 14:51: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-19 14:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:25] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:25] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:51:46] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:46] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:46] local.INFO: IMEI packet received {"connection_id":189573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":189573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:51:47] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:47] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:47] local.INFO: IMEI packet received {"connection_id":189573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":189573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:51:51] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:51] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:51:51] local.INFO: IMEI packet received {"connection_id":189573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":189573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:51:52] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f65ae0012d172900071f8fb0003700ec25..."} 
[2026-09-19 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f65ae0012d172900071f8fb0003700ec25..."} 
[2026-09-19 14:51:52] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f65ae0012d172900071f8fb0003700ec25..."} 
[2026-09-19 14:51:52] local.INFO: Packet analysis {"connection_id":189573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:51:52] local.INFO: Extracted packet for processing {"connection_id":189573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756492544,"raw_latitude":119508912,"longitude_deg":75.6492544,"latitude_deg":11.9508912,"altitude":55,"angle":236,"satellites":37,"speed":2,"hex_longitude":"2d172900","hex_latitude":"071f8fb0","is_valid_coordinates":true} 
[2026-09-19 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191239680001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21701653702901760,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668372586302488576,"note":"Value kept but may cause issues"} 
[2026-09-19 14:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809548000,"timestamp_ms":1789809548000,"timestamp_seconds":1789809548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f65ae0"} 
[2026-09-19 14:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-19 14:51:52] 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-19 14:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:51:52] 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-19 14:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191239680001,"66":13102,"86":206,"83":41984,"24":2,"16":21701653702901760,"45":1668372586302488576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191239680001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:51:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21701653702901760,"km_value":21701653702901.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668372586302488576,"description":"Unknown IO ID 45"} 
[2026-09-19 14:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191239680001,"power":13102,"unknown_86":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1668372586302488576}} 
[2026-09-19 14:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":189573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:51:52] local.INFO: GPS data processed {"connection_id":189573,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:51:52] local.INFO: Acknowledgment sent {"connection_id":189573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:09] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:09] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:09] local.INFO: IMEI packet received {"connection_id":186956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:52:09] local.INFO: TCP Data received {"connection_id":188258,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:09] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:09] local.INFO: IMEI packet received {"connection_id":188258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:52:14] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:14] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:52:14] local.INFO: IMEI packet received {"connection_id":186956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:52:14] local.INFO: TCP Data received {"connection_id":188258,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:14] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:52:14] local.INFO: IMEI packet received {"connection_id":188258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":188258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:52:15] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:15] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:15] local.INFO: Packet analysis {"connection_id":186956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:15] local.INFO: Extracted packet for processing {"connection_id":186956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52: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-19 14:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:52: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-19 14:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:52: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-19 14: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-19 14: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-19 14:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:52: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-19 14:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:52:15] local.INFO: TCP Data received {"connection_id":188258,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:15] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:15] local.INFO: Packet analysis {"connection_id":188258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:15] local.INFO: Extracted packet for processing {"connection_id":188258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":186956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:15] local.INFO: GPS data processed {"connection_id":186956,"processed":1,"errors":0,"total":1} 
[2026-09-19 14: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-19 14:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:52:15] local.INFO: Acknowledgment sent {"connection_id":186956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":188258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:16] local.INFO: GPS data processed {"connection_id":188258,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:52:16] local.INFO: Acknowledgment sent {"connection_id":188258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:23] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f662b0012d172800071f8f70003700fc25..."} 
[2026-09-19 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f662b0012d172800071f8f70003700fc25..."} 
[2026-09-19 14:52:23] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f662b0012d172800071f8f70003700fc25..."} 
[2026-09-19 14:52:23] local.INFO: Packet analysis {"connection_id":189573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:52:23] local.INFO: Extracted packet for processing {"connection_id":189573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f6"} 
[2026-09-19 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756492288,"raw_latitude":119508848,"longitude_deg":75.6492288,"latitude_deg":11.9508848,"altitude":55,"angle":252,"satellites":37,"speed":3,"hex_longitude":"2d172800","hex_latitude":"071f8f70","is_valid_coordinates":true} 
[2026-09-19 14:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191244288001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21701666587803648,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668865167511760896,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789809550000,"timestamp_ms":1789809550000,"timestamp_seconds":1789809550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f662b0"} 
[2026-09-19 14:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 14:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:52:23] 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-19 14:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191244288001,"66":13135,"86":206,"83":41984,"24":3,"16":21701666587803648,"45":1668865167511760896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191244288001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21701666587803648,"km_value":21701666587803.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668865167511760896,"description":"Unknown IO ID 45"} 
[2026-09-19 14:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191244288001,"power":13135,"unknown_86":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1668865167511760896}} 
[2026-09-19 14:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":189573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:23] local.INFO: GPS data processed {"connection_id":189573,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:52:23] local.INFO: Acknowledgment sent {"connection_id":189573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:46] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:46] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:46] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:52:47] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:47] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:47] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:52:47] local.INFO: TCP Data received {"connection_id":186956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:47] local.INFO: Processing buffer {"connection_id":186956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:52:47] local.INFO: Packet analysis {"connection_id":186956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:47] local.INFO: Extracted packet for processing {"connection_id":186956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52: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-19 14:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:52: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-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:52: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-19 14: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-19 14: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-19 14:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:52: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-19 14:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:47] local.INFO: GPS data processed {"connection_id":186956,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:52:47] local.INFO: Acknowledgment sent {"connection_id":186956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:47] local.INFO: TCP Data received {"connection_id":188258,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:47] local.INFO: Processing buffer {"connection_id":188258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:52:47] local.INFO: Packet analysis {"connection_id":188258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:47] local.INFO: Extracted packet for processing {"connection_id":188258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:52:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14: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-19 14:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:52:47] 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-19 14: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-19 14: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-19 14:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":188258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:47] local.INFO: GPS data processed {"connection_id":188258,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:52:47] local.INFO: Acknowledgment sent {"connection_id":188258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:52:48] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:48] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:48] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:52:49] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:49] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:52:49] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:52:49] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f8a8b8012d16e480071f7928002f00f828..."} 
[2026-09-19 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f8a8b8012d16e480071f7928002f00f828..."} 
[2026-09-19 14:52:49] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f8a8b8012d16e480071f7928002f00f828..."} 
[2026-09-19 14:52:49] local.INFO: Packet analysis {"connection_id":188259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f8"} 
[2026-09-19 14:52:49] local.INFO: Extracted packet for processing {"connection_id":188259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f8"} 
[2026-09-19 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756475008,"raw_latitude":119503144,"longitude_deg":75.6475008,"latitude_deg":11.9503144,"altitude":47,"angle":248,"satellites":40,"speed":8,"hex_longitude":"2d16e480","hex_latitude":"071f7928","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191282432001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21702568530935808,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1650076712814872576,"note":"Value kept but may cause issues"} 
[2026-09-19 14:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789809699000,"timestamp_ms":1789809699000,"timestamp_seconds":1789809699,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f8a8b8"} 
[2026-09-19 14: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-19 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 14:52:49] 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-19 14: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-19 14: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-19 14:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:52:49] 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-19 14:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191282432001,"66":14243,"86":206,"83":41984,"24":8,"16":21702568530935808,"45":1650076712814872576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-19 14:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191282432001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:52:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-19 14:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21702568530935808,"km_value":21702568530935.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1650076712814872576,"description":"Unknown IO ID 45"} 
[2026-09-19 14:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191282432001,"power":14243,"unknown_86":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1650076712814872576}} 
[2026-09-19 14:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":188259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:52:49] local.INFO: GPS data processed {"connection_id":188259,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:52:49] local.INFO: Acknowledgment sent {"connection_id":188259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:53:09] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:09] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:09] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:53:14] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:14] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:53:14] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:53:14] local.INFO: TCP Data received {"connection_id":188261,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:14] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:14] local.INFO: IMEI packet received {"connection_id":188261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:53:15] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:15] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:15] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:15] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53: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-19 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:53: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-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:53: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-19 14:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:53: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-19 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:53:15] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:53:15] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:53:19] local.INFO: TCP Data received {"connection_id":188261,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:19] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:53:19] local.INFO: IMEI packet received {"connection_id":188261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":188261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:53:20] local.INFO: TCP Data received {"connection_id":188261,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:20] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:20] local.INFO: Packet analysis {"connection_id":188261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:20] local.INFO: Extracted packet for processing {"connection_id":188261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:53:20] 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-19 14:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:53:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:53:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":188261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:53:21] local.INFO: GPS data processed {"connection_id":188261,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:53:21] local.INFO: Acknowledgment sent {"connection_id":188261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:53:21] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f98378012d166400071facf0001e012429..."} 
[2026-09-19 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f98378012d166400071facf0001e012429..."} 
[2026-09-19 14:53:21] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f98378012d166400071facf0001e012429..."} 
[2026-09-19 14:53:21] local.INFO: Packet analysis {"connection_id":188259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f9"} 
[2026-09-19 14:53:21] local.INFO: Extracted packet for processing {"connection_id":188259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f9"} 
[2026-09-19 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756442112,"raw_latitude":119516400,"longitude_deg":75.6442112,"latitude_deg":11.95164,"altitude":30,"angle":292,"satellites":41,"speed":41,"hex_longitude":"2d166400","hex_latitude":"071facf0","is_valid_coordinates":true} 
[2026-09-19 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191295232001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21704505561186304,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696263022592,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789809755000,"timestamp_ms":1789809755000,"timestamp_seconds":1789809755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f98378"} 
[2026-09-19 14:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-19 14:53:21] 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-19 14:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:53:21] 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-19 14:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191295232001,"66":14341,"87":206,"83":41984,"24":41,"16":21704505561186304,"45":1623547696263022592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-19 14:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191295232001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:53:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-19 14:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21704505561186304,"km_value":21704505561186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696263022592,"description":"Unknown IO ID 45"} 
[2026-09-19 14:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191295232001,"power":14341,"unknown_87":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1623547696263022592}} 
[2026-09-19 14:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":188259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:53:21] local.INFO: GPS data processed {"connection_id":188259,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:53:21] local.INFO: Acknowledgment sent {"connection_id":188259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:53:45] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:45] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:45] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:53:46] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:53:46] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:46] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:53:47] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:47] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:53:47] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:47] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:53: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-19 14: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:53: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-19 14: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-19 14: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-19 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:53:47] 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-19 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:53:47] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:53:47] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:53:48] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:48] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:53:48] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:53:53] local.INFO: TCP Data received {"connection_id":188261,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:53] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:53:53] local.INFO: Packet analysis {"connection_id":188261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:53] local.INFO: Extracted packet for processing {"connection_id":188261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:53:53] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:53:53] 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-19 14:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:53:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:53:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":188261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:53:53] local.INFO: GPS data processed {"connection_id":188261,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:53:53] local.INFO: Acknowledgment sent {"connection_id":188261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:54:09] local.INFO: TCP Data received {"connection_id":189574,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:09] local.INFO: Processing buffer {"connection_id":189574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:09] local.INFO: IMEI packet received {"connection_id":189574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":189574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:54:09] local.INFO: TCP Data received {"connection_id":188263,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:09] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:09] local.INFO: IMEI packet received {"connection_id":188263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:54:14] local.INFO: TCP Data received {"connection_id":188263,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:14] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:54:14] local.INFO: IMEI packet received {"connection_id":188263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:54:14] local.INFO: TCP Data received {"connection_id":189574,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:14] local.INFO: Processing buffer {"connection_id":189574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:54:14] local.INFO: IMEI packet received {"connection_id":189574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":189574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:54:15] local.INFO: TCP Data received {"connection_id":188263,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:15] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:15] local.INFO: Packet analysis {"connection_id":188263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:15] local.INFO: Extracted packet for processing {"connection_id":188263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14: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-19 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:54:15] local.INFO: GPS data processed {"connection_id":188263,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:54:15] local.INFO: Acknowledgment sent {"connection_id":188263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:54:15] local.INFO: TCP Data received {"connection_id":189574,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:15] local.INFO: Processing buffer {"connection_id":189574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:15] local.INFO: Packet analysis {"connection_id":189574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:15] local.INFO: Extracted packet for processing {"connection_id":189574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54: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-19 14:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:54: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-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:54: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-19 14: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-19 14: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-19 14:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:54:15] 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-19 14:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":189574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:54:15] local.INFO: GPS data processed {"connection_id":189574,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:54:15] local.INFO: Acknowledgment sent {"connection_id":189574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:54:46] local.INFO: TCP Data received {"connection_id":189574,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:46] local.INFO: Processing buffer {"connection_id":189574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:54:46] local.INFO: Packet analysis {"connection_id":189574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:46] local.INFO: Extracted packet for processing {"connection_id":189574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:54: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-19 14: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:54: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-19 14: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-19 14: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-19 14:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:54: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-19 14:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":189574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:54:46] local.INFO: GPS data processed {"connection_id":189574,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:54:46] local.INFO: Acknowledgment sent {"connection_id":189574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:54:47] local.INFO: TCP Data received {"connection_id":188263,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:47] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:54:47] local.INFO: Packet analysis {"connection_id":188263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:47] local.INFO: Extracted packet for processing {"connection_id":188263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:54:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14: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-19 14:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:54:47] 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-19 14: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-19 14: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-19 14:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:54:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:54:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:54:47] local.INFO: GPS data processed {"connection_id":188263,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:54:47] local.INFO: Acknowledgment sent {"connection_id":188263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:55:09] local.INFO: TCP Data received {"connection_id":188264,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:09] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:09] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:55:14] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:14] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:14] local.INFO: IMEI packet received {"connection_id":188265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":188265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:55:14] local.INFO: TCP Data received {"connection_id":188264,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:14] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:55:14] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:55:15] local.INFO: TCP Data received {"connection_id":188264,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:15] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:15] local.INFO: Packet analysis {"connection_id":188264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:15] local.INFO: Extracted packet for processing {"connection_id":188264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 14:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:55:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:55:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":188264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:55:16] local.INFO: GPS data processed {"connection_id":188264,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:55:16] local.INFO: Acknowledgment sent {"connection_id":188264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:55:19] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:19] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:55:19] local.INFO: IMEI packet received {"connection_id":188265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":188265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:55:20] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:20] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:20] local.INFO: Packet analysis {"connection_id":188265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:20] local.INFO: Extracted packet for processing {"connection_id":188265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:55:20] 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-19 14:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":188265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:55:20] local.INFO: GPS data processed {"connection_id":188265,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:55:20] local.INFO: Acknowledgment sent {"connection_id":188265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:55:25] local.INFO: TCP Data received {"connection_id":188265,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:25] local.INFO: Processing buffer {"connection_id":188265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f79748012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:55:25] local.INFO: Packet analysis {"connection_id":188265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:25] local.INFO: Extracted packet for processing {"connection_id":188265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191187968001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809629000,"timestamp_ms":1789809629000,"timestamp_seconds":1789809629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f79748"} 
[2026-09-19 14: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-19 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 14:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:55:25] 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-19 14:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191187968001,"66":25756,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191187968001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191187968001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":188265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:55:25] local.INFO: GPS data processed {"connection_id":188265,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:55:25] local.INFO: Acknowledgment sent {"connection_id":188265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:55:47] local.INFO: TCP Data received {"connection_id":188264,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:47] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8f754e0012c7931800848f770000c01612f..."} 
[2026-09-19 14:55:47] local.INFO: Packet analysis {"connection_id":188264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:47] local.INFO: Extracted packet for processing {"connection_id":188264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8f7"} 
[2026-09-19 14:55:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 14:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809612000,"timestamp_ms":1789809612000,"timestamp_seconds":1789809612,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8f754e0"} 
[2026-09-19 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-19 14:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 14:55:47] 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-19 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-19 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-19 14:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191183616001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:55:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:55:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191183616001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":188264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:55:47] local.INFO: GPS data processed {"connection_id":188264,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:55:47] local.INFO: Acknowledgment sent {"connection_id":188264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:56:08] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:08] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:08] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:56:09] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:09] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:09] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:56:14] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:14] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:56:14] local.INFO: IMEI packet received {"connection_id":186845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:56:14] local.INFO: TCP Data received {"connection_id":186957,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:14] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:14] local.INFO: IMEI packet received {"connection_id":186957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":186957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:56:16] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:16] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:16] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:56:16] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56: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-19 14:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:56: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-19 14: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-19 14: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-19 14:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:56: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-19 14:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:56:16] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:56:16] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:56:19] local.INFO: TCP Data received {"connection_id":186957,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:19] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:56:19] local.INFO: IMEI packet received {"connection_id":186957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":186957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:56:20] local.INFO: TCP Data received {"connection_id":186957,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:20] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:20] local.INFO: Packet analysis {"connection_id":186957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:56:20] local.INFO: Extracted packet for processing {"connection_id":186957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:56:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:56:20] 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-19 14:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:56:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:56:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":186957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:56:20] local.INFO: GPS data processed {"connection_id":186957,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:56:20] local.INFO: Acknowledgment sent {"connection_id":186957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:56:25] local.INFO: TCP Data received {"connection_id":186957,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:25] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:56:25] local.INFO: Packet analysis {"connection_id":186957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:56:25] local.INFO: Extracted packet for processing {"connection_id":186957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:56:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:56: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-19 14:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:56:25] 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-19 14:56: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-19 14:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:56:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":186957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:56:25] local.INFO: GPS data processed {"connection_id":186957,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:56:25] local.INFO: Acknowledgment sent {"connection_id":186957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:56:47] local.INFO: TCP Data received {"connection_id":186845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:47] local.INFO: Processing buffer {"connection_id":186845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:56:47] local.INFO: Packet analysis {"connection_id":186845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:56:47] local.INFO: Extracted packet for processing {"connection_id":186845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:56: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-19 14:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:56: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-19 14: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-19 14: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-19 14:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:56: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-19 14:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":186845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:56:47] local.INFO: GPS data processed {"connection_id":186845,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:56:47] local.INFO: Acknowledgment sent {"connection_id":186845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:57:09] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:09] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:09] local.INFO: IMEI packet received {"connection_id":188267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:57:09] local.INFO: TCP Data received {"connection_id":188266,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:09] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:09] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:57:14] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:14] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:57:14] local.INFO: IMEI packet received {"connection_id":188267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:57:14] local.INFO: TCP Data received {"connection_id":188266,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:14] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:57:14] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:57:15] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:15] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:15] local.INFO: Packet analysis {"connection_id":188267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:57:15] local.INFO: Extracted packet for processing {"connection_id":188267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:57: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-19 14:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":188267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:57:15] local.INFO: GPS data processed {"connection_id":188267,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:57:15] local.INFO: Acknowledgment sent {"connection_id":188267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:57:15] local.INFO: TCP Data received {"connection_id":188266,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:15] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:15] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:57:15] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14: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-19 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:57:16] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:57:16] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:57:46] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:46] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:57:46] local.INFO: Packet analysis {"connection_id":188267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:57:46] local.INFO: Extracted packet for processing {"connection_id":188267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:57: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-19 14: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-19 14: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-19 14:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:57: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-19 14:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":188267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:57:46] local.INFO: GPS data processed {"connection_id":188267,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:57:46] local.INFO: Acknowledgment sent {"connection_id":188267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:57:47] local.INFO: TCP Data received {"connection_id":188266,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:47] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:57:47] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:57:47] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:57:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:57:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:57:47] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:57:47] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:58:09] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:09] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:09] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:58:14] local.INFO: TCP Data received {"connection_id":189578,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:14] local.INFO: Processing buffer {"connection_id":189578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:14] local.INFO: IMEI packet received {"connection_id":189578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":189578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:58:14] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:14] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:58:14] local.INFO: IMEI packet received {"connection_id":186846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:58:15] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:15] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:15] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:58:15] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14: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-19 14:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14: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-19 14: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-19 14: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-19 14:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:58: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-19 14:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:58:15] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:58:15] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:58:19] local.INFO: TCP Data received {"connection_id":189578,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:19] local.INFO: Processing buffer {"connection_id":189578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:58:19] local.INFO: IMEI packet received {"connection_id":189578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":189578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:58:20] local.INFO: TCP Data received {"connection_id":189578,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:20] local.INFO: Processing buffer {"connection_id":189578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:20] local.INFO: Packet analysis {"connection_id":189578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:58:20] local.INFO: Extracted packet for processing {"connection_id":189578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:58:20] 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-19 14:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:58:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":189578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:58:21] local.INFO: GPS data processed {"connection_id":189578,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:58:21] local.INFO: Acknowledgment sent {"connection_id":189578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:58:47] local.INFO: TCP Data received {"connection_id":186846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:47] local.INFO: Processing buffer {"connection_id":186846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:58:47] local.INFO: Packet analysis {"connection_id":186846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:58:47] local.INFO: Extracted packet for processing {"connection_id":186846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 14:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58: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-19 14:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 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-19 14:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:58: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-19 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-19 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-19 14:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:58: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-19 14:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":186846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:58:47] local.INFO: GPS data processed {"connection_id":186846,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:58:47] local.INFO: Acknowledgment sent {"connection_id":186846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:58:51] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:58:51] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:58:51] local.INFO: IMEI packet received {"connection_id":186959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":186959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:58:52] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fdfc00012d1820400721b2c0004b00c52a..."} 
[2026-09-19 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fdfc00012d1820400721b2c0004b00c52a..."} 
[2026-09-19 14:58:52] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fdfc00012d1820400721b2c0004b00c52a..."} 
[2026-09-19 14:58:52] local.INFO: Packet analysis {"connection_id":186959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fd"} 
[2026-09-19 14:58:52] local.INFO: Extracted packet for processing {"connection_id":186959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fd"} 
[2026-09-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648960,"longitude_deg":75.655584,"latitude_deg":11.964896,"altitude":75,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-09-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191366912001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714044683550720,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539322880,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.INFO: IO Element Parsed {"io_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-19 14:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810048000,"timestamp_ms":1789810048000,"timestamp_seconds":1789810048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fdfc00"} 
[2026-09-19 14:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869034,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709983,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692855,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3103553864,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4237342721,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3089629258,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070442,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,36,160,87,45,64,178,74,42,10,66,5,128,180,39,179,192,1,240,111,227,184,33,4,113,205,7,140,80,43,239,51,2,77,73,31],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 14:58:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404536341318860800,"timestamp_seconds":5404536341318861.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 14:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:58:52] 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-19 14:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191366912001,"66":12982,"105":206,"83":41984,"24":0,"16":21714044683550720,"45":1738459855539322880},"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-19 14:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191366912001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714044683550720,"km_value":21714044683550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539322880,"description":"Unknown IO ID 45"} 
[2026-09-19 14:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191366912001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539322880}} 
[2026-09-19 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":186959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:58:52] local.INFO: GPS data processed {"connection_id":186959,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:58:52] local.INFO: Acknowledgment sent {"connection_id":186959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:58:52] local.INFO: TCP Data received {"connection_id":189578,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:52] local.INFO: Processing buffer {"connection_id":189578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:58:52] local.INFO: Packet analysis {"connection_id":189578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:58:52] local.INFO: Extracted packet for processing {"connection_id":189578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:58:52] 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-19 14:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":189578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:58:52] local.INFO: GPS data processed {"connection_id":189578,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:58:52] local.INFO: Acknowledgment sent {"connection_id":189578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:09] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:09] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:09] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:59:09] local.INFO: TCP Data received {"connection_id":186847,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:09] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:09] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:59:14] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:14] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 14:59:14] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 14:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:59:14] local.INFO: TCP Data received {"connection_id":186847,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:14] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 14:59:14] local.INFO: IMEI packet received {"connection_id":186847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 14:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:59:15] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:15] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:15] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:59:15] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59: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-19 14:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:59: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-19 14:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:59: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-19 14:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:15] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:15] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:15] local.INFO: TCP Data received {"connection_id":186847,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:15] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:15] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:59:15] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:16] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:16] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:23] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fe4e08012d1820400721b2c0004b00c52b..."} 
[2026-09-19 14:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fe4e08012d1820400721b2c0004b00c52b..."} 
[2026-09-19 14:59:23] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fe4e08012d1820400721b2c0004b00c52b..."} 
[2026-09-19 14:59:23] local.INFO: Packet analysis {"connection_id":186959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 14:59:23] local.INFO: Extracted packet for processing {"connection_id":186959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 14:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648960,"longitude_deg":75.655584,"latitude_deg":11.964896,"altitude":75,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-09-19 14:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191372288001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714044683550720,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539322880,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:23] local.INFO: IO Element Parsed {"io_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-19 14:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789810069000,"timestamp_ms":1789810069000,"timestamp_seconds":1789810069,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fe4e08"} 
[2026-09-19 14:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-19 14:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:59:23] 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-19 14:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191372288001,"66":13004,"105":206,"83":41984,"24":0,"16":21714044683550720,"45":1738459855539322880},"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-19 14:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191372288001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714044683550720,"km_value":21714044683550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539322880,"description":"Unknown IO ID 45"} 
[2026-09-19 14:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191372288001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539322880}} 
[2026-09-19 14:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":186959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:23] local.INFO: GPS data processed {"connection_id":186959,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:23] local.INFO: Acknowledgment sent {"connection_id":186959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:46] local.INFO: TCP Data received {"connection_id":188269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:46] local.INFO: Processing buffer {"connection_id":188269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:46] local.INFO: IMEI packet received {"connection_id":188269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 14:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":188269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 14:59:46] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:46] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 14:59:46] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:59:46] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59: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-19 14:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 14: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-19 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 14:59: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-19 14: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-19 14: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-19 14:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 14:59: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-19 14:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 14:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 14:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 14:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 14:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 14:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 14:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 14:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 14:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 14:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:46] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:46] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:47] local.INFO: TCP Data received {"connection_id":186847,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:47] local.INFO: Processing buffer {"connection_id":186847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 14:59:47] local.INFO: Packet analysis {"connection_id":186847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:59:47] local.INFO: Extracted packet for processing {"connection_id":186847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 14: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-19 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 14:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 14: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-19 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 14:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 14: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-19 14: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-19 14:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 14:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 14:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 14:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 14:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 14:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 14:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 14:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 14:59:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 14:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 14:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 14:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:47] local.INFO: GPS data processed {"connection_id":186847,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:47] local.INFO: Acknowledgment sent {"connection_id":186847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 14:59:51] local.INFO: TCP Data received {"connection_id":188269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:51] local.INFO: Processing buffer {"connection_id":188269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 14:59:51] local.INFO: IMEI packet received {"connection_id":188269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 14:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":188269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 14:59:52] local.INFO: TCP Data received {"connection_id":188269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fea010012d1820400721b2c0004b00c529..."} 
[2026-09-19 14:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fea010012d1820400721b2c0004b00c529..."} 
[2026-09-19 14:59:52] local.INFO: Processing buffer {"connection_id":188269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fea010012d1820400721b2c0004b00c529..."} 
[2026-09-19 14:59:52] local.INFO: Packet analysis {"connection_id":188269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 14:59:52] local.INFO: Extracted packet for processing {"connection_id":188269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 14:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648960,"longitude_deg":75.655584,"latitude_deg":11.964896,"altitude":75,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-09-19 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 14:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191377664001,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714044683550720,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539322880,"note":"Value kept but may cause issues"} 
[2026-09-19 14:59:52] local.INFO: IO Element Parsed {"io_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-19 14:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810090000,"timestamp_ms":1789810090000,"timestamp_seconds":1789810090,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fea010"} 
[2026-09-19 14:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 14:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 14:59:52] 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-19 14:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 14:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 14:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 14:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 14:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 14:59:52] 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-19 14:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 14:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 14:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191377664001,"66":12972,"105":206,"83":41984,"24":0,"16":21714044683550720,"45":1738459855539322880},"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-19 14:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 14:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 14:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191377664001,"description":"Unknown IO ID 0"} 
[2026-09-19 14:59:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 14:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 14:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714044683550720,"km_value":21714044683550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 14:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539322880,"description":"Unknown IO ID 45"} 
[2026-09-19 14:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191377664001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539322880}} 
[2026-09-19 14:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":188269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 14:59:52] local.INFO: GPS data processed {"connection_id":188269,"processed":1,"errors":0,"total":1} 
[2026-09-19 14:59:52] local.INFO: Acknowledgment sent {"connection_id":188269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:14] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:14] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:14] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:00:14] local.INFO: TCP Data received {"connection_id":186848,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:14] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:14] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:00:19] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:19] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:00:19] local.INFO: IMEI packet received {"connection_id":186849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":186849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:00:19] local.INFO: TCP Data received {"connection_id":186848,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:19] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:00:19] local.INFO: IMEI packet received {"connection_id":186848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":186848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:00:20] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:20] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:20] local.INFO: Packet analysis {"connection_id":186849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 15:00:20] local.INFO: Extracted packet for processing {"connection_id":186849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:00:20] 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-19 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":186849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:20] local.INFO: GPS data processed {"connection_id":186849,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:20] local.INFO: Acknowledgment sent {"connection_id":186849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:20] local.INFO: TCP Data received {"connection_id":186848,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:20] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:20] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 15:00:20] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:20] 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-19 15:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:21] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:21] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:23] local.INFO: TCP Data received {"connection_id":188269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fef218012d1820400721b2c0004b00c52b..."} 
[2026-09-19 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fef218012d1820400721b2c0004b00c52b..."} 
[2026-09-19 15:00:23] local.INFO: Processing buffer {"connection_id":188269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fef218012d1820400721b2c0004b00c52b..."} 
[2026-09-19 15:00:23] local.INFO: Packet analysis {"connection_id":188269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 15:00:23] local.INFO: Extracted packet for processing {"connection_id":188269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fe"} 
[2026-09-19 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648960,"longitude_deg":75.655584,"latitude_deg":11.964896,"altitude":75,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-09-19 15:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191383040001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714044683550720,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539322880,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:23] local.INFO: IO Element Parsed {"io_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-19 15:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789810111000,"timestamp_ms":1789810111000,"timestamp_seconds":1789810111,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fef218"} 
[2026-09-19 15:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:23] 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-19 15:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:00:23] 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-19 15:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191383040001,"66":12950,"105":206,"83":41984,"24":0,"16":21714044683550720,"45":1738459855539322880},"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-19 15:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191383040001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714044683550720,"km_value":21714044683550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539322880,"description":"Unknown IO ID 45"} 
[2026-09-19 15:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191383040001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539322880}} 
[2026-09-19 15:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":188269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:23] local.INFO: GPS data processed {"connection_id":188269,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:23] local.INFO: Acknowledgment sent {"connection_id":188269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:25] local.INFO: TCP Data received {"connection_id":186849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:25] local.INFO: Processing buffer {"connection_id":186849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fc2f10012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:00:25] local.INFO: Packet analysis {"connection_id":186849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 15:00:25] local.INFO: Extracted packet for processing {"connection_id":186849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fc"} 
[2026-09-19 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191265024001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809930000,"timestamp_ms":1789809930000,"timestamp_seconds":1789809930,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fc2f10"} 
[2026-09-19 15:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:00:25] 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-19 15:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191265024001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191265024001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191265024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":186849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:25] local.INFO: GPS data processed {"connection_id":186849,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:25] local.INFO: Acknowledgment sent {"connection_id":186849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:25] local.INFO: TCP Data received {"connection_id":186848,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:25] local.INFO: Processing buffer {"connection_id":186848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8fbeca8012c7931800848f770000c01612f..."} 
[2026-09-19 15:00:25] local.INFO: Packet analysis {"connection_id":186848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 15:00:25] local.INFO: Extracted packet for processing {"connection_id":186848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8fb"} 
[2026-09-19 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191260672001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789809913000,"timestamp_ms":1789809913000,"timestamp_seconds":1789809913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8fbeca8"} 
[2026-09-19 15:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:25] 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-19 15:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191260672001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191260672001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191260672001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":186848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:25] local.INFO: GPS data processed {"connection_id":186848,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:25] local.INFO: Acknowledgment sent {"connection_id":186848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:00:46] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:46] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:46] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:00:51] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:51] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:00:51] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:00:52] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ff4420012d1820000721b160004b00c52b..."} 
[2026-09-19 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ff4420012d1820000721b160004b00c52b..."} 
[2026-09-19 15:00:52] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ff4420012d1820000721b160004b00c52b..."} 
[2026-09-19 15:00:52] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:00:52] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191388416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539322880,"note":"Value kept but may cause issues"} 
[2026-09-19 15:00:52] local.INFO: IO Element Parsed {"io_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-19 15:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810132000,"timestamp_ms":1789810132000,"timestamp_seconds":1789810132,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ff4420"} 
[2026-09-19 15:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 15:00:52] 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-19 15:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:00:52] 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-19 15:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191388416001,"66":12939,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738459855539322880},"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-19 15:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191388416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:00:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539322880,"description":"Unknown IO ID 45"} 
[2026-09-19 15:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191388416001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539322880}} 
[2026-09-19 15:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:00:52] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:00:52] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:09] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:09] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:09] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:01:09] local.INFO: TCP Data received {"connection_id":188270,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:09] local.INFO: Processing buffer {"connection_id":188270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:09] local.INFO: IMEI packet received {"connection_id":188270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":188270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:01:10] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:10] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:10] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:01:14] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:14] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:01:14] local.INFO: IMEI packet received {"connection_id":186850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":186850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:01:14] local.INFO: TCP Data received {"connection_id":188270,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:14] local.INFO: Processing buffer {"connection_id":188270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:01:14] local.INFO: IMEI packet received {"connection_id":188270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:01:15] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:15] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:15] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:15] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01: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-19 15:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01: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-19 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:01: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-19 15:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01: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-19 15:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:15] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:15] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:15] local.INFO: TCP Data received {"connection_id":188270,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:15] local.INFO: Processing buffer {"connection_id":188270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:15] local.INFO: Packet analysis {"connection_id":188270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:15] local.INFO: Extracted packet for processing {"connection_id":188270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:01: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-19 15:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":188270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:16] local.INFO: GPS data processed {"connection_id":188270,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:16] local.INFO: Acknowledgment sent {"connection_id":188270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:19] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:19] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:19] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:19] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01:19] 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-19 15:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:19] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:19] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:23] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ff9628012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ff9628012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:23] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ff9628012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:23] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:01:23] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191393792001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:23] local.INFO: IO Element Parsed {"io_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-19 15:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789810153000,"timestamp_ms":1789810153000,"timestamp_seconds":1789810153,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ff9628"} 
[2026-09-19 15:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 15:01:23] 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-19 15:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:01:23] 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-19 15:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191393792001,"66":12885,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191393792001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191393792001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:23] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:23] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:46] local.INFO: TCP Data received {"connection_id":189579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:46] local.INFO: Processing buffer {"connection_id":189579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:46] local.INFO: IMEI packet received {"connection_id":189579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":189579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:01:47] local.INFO: TCP Data received {"connection_id":188270,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:47] local.INFO: Processing buffer {"connection_id":188270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:01:47] local.INFO: Packet analysis {"connection_id":188270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:47] local.INFO: Extracted packet for processing {"connection_id":188270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:01: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-19 15:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:01:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":188270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:47] local.INFO: GPS data processed {"connection_id":188270,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:47] local.INFO: Acknowledgment sent {"connection_id":188270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:51] local.INFO: TCP Data received {"connection_id":186850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:51] local.INFO: Processing buffer {"connection_id":186850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:01:51] local.INFO: Packet analysis {"connection_id":186850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:51] local.INFO: Extracted packet for processing {"connection_id":186850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:01: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-19 15:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01: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-19 15:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:01: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:01: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-19 15:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:01:51] 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-19 15:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":186850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:51] local.INFO: GPS data processed {"connection_id":186850,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:51] local.INFO: Acknowledgment sent {"connection_id":186850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:01:51] local.INFO: TCP Data received {"connection_id":189579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:51] local.INFO: Processing buffer {"connection_id":189579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:01:51] local.INFO: IMEI packet received {"connection_id":189579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":189579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:01:52] local.INFO: TCP Data received {"connection_id":189579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b8ffe830012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b8ffe830012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:52] local.INFO: Processing buffer {"connection_id":189579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b8ffe830012d1820000721b160004b00c529..."} 
[2026-09-19 15:01:52] local.INFO: Packet analysis {"connection_id":189579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:01:52] local.INFO: Extracted packet for processing {"connection_id":189579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b8ff"} 
[2026-09-19 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191399168001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:01:52] local.INFO: IO Element Parsed {"io_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-19 15:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810174000,"timestamp_ms":1789810174000,"timestamp_seconds":1789810174,"priority":1,"record_length":96,"hex_timestamp":"000001a0b8ffe830"} 
[2026-09-19 15:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 15:01:52] 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-19 15:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:01:52] 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-19 15:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191399168001,"66":12885,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191399168001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:01:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191399168001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":189579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:01:52] local.INFO: GPS data processed {"connection_id":189579,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:01:52] local.INFO: Acknowledgment sent {"connection_id":189579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:09] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:09] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:09] local.INFO: IMEI packet received {"connection_id":188271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:02:09] local.INFO: TCP Data received {"connection_id":186961,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:09] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:09] local.INFO: IMEI packet received {"connection_id":186961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":186961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:02:14] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:14] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:02:14] local.INFO: IMEI packet received {"connection_id":188271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:02:14] local.INFO: TCP Data received {"connection_id":186961,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:14] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:02:14] local.INFO: IMEI packet received {"connection_id":186961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":186961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:02:15] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:15] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:15] local.INFO: Packet analysis {"connection_id":188271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:15] local.INFO: Extracted packet for processing {"connection_id":188271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02: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-19 15:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:02: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-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:02: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-19 15:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:02: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-19 15:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":188271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:15] local.INFO: GPS data processed {"connection_id":188271,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:15] local.INFO: Acknowledgment sent {"connection_id":188271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:15] local.INFO: TCP Data received {"connection_id":186961,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:15] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:15] local.INFO: Packet analysis {"connection_id":186961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:15] local.INFO: Extracted packet for processing {"connection_id":186961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:02: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-19 15:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":186961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:16] local.INFO: GPS data processed {"connection_id":186961,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:16] local.INFO: Acknowledgment sent {"connection_id":186961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:22] local.INFO: TCP Data received {"connection_id":189579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9003a38012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9003a38012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:22] local.INFO: Processing buffer {"connection_id":189579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9003a38012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:22] local.INFO: Packet analysis {"connection_id":189579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:22] local.INFO: Extracted packet for processing {"connection_id":189579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191404544001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:22] local.INFO: IO Element Parsed {"io_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-19 15:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810195000,"timestamp_ms":1789810195000,"timestamp_seconds":1789810195,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9003a38"} 
[2026-09-19 15:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 15:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:02:22] 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-19 15:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191404544001,"66":12798,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191404544001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191404544001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":189579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:23] local.INFO: GPS data processed {"connection_id":189579,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:23] local.INFO: Acknowledgment sent {"connection_id":189579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:45] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:45] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:45] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:02:47] local.INFO: TCP Data received {"connection_id":188271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:47] local.INFO: Processing buffer {"connection_id":188271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:02:47] local.INFO: Packet analysis {"connection_id":188271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:47] local.INFO: Extracted packet for processing {"connection_id":188271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02: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-19 15:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15: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-19 15:02: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-19 15:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:02: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-19 15: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-19 15: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-19 15:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:02: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-19 15:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":188271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:47] local.INFO: GPS data processed {"connection_id":188271,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:47] local.INFO: Acknowledgment sent {"connection_id":188271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:47] local.INFO: TCP Data received {"connection_id":186961,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:47] local.INFO: Processing buffer {"connection_id":186961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:02:47] local.INFO: Packet analysis {"connection_id":186961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:47] local.INFO: Extracted packet for processing {"connection_id":186961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15: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-19 15:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:02: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-19 15: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-19 15: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-19 15:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":186961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:47] local.INFO: GPS data processed {"connection_id":186961,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:47] local.INFO: Acknowledgment sent {"connection_id":186961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:02:51] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:51] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:02:51] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:02:52] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:52] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012d1820000721b160004b00c529..."} 
[2026-09-19 15:02:52] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:52] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191409920001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:02:52] local.INFO: IO Element Parsed {"io_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-19 15:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 15:02:52] 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-19 15:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:02:52] 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-19 15:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191409920001,"66":12819,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191409920001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:02:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191409920001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:02:52] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:02:52] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:09] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:09] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:09] local.INFO: IMEI packet received {"connection_id":189581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:03:09] local.INFO: TCP Data received {"connection_id":189580,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:09] local.INFO: Processing buffer {"connection_id":189580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:09] local.INFO: IMEI packet received {"connection_id":189580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:03:14] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:14] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:03:14] local.INFO: IMEI packet received {"connection_id":189581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:03:14] local.INFO: TCP Data received {"connection_id":189580,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:14] local.INFO: Processing buffer {"connection_id":189580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:03:14] local.INFO: IMEI packet received {"connection_id":189580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:03:15] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:15] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:15] local.INFO: Packet analysis {"connection_id":189581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:15] local.INFO: Extracted packet for processing {"connection_id":189581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03: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-19 15:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:03: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-19 15:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:03: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-19 15:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:15] local.INFO: GPS data processed {"connection_id":189581,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:15] local.INFO: Acknowledgment sent {"connection_id":189581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:15] local.INFO: TCP Data received {"connection_id":189580,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:15] local.INFO: Processing buffer {"connection_id":189580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:15] local.INFO: Packet analysis {"connection_id":189580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:15] local.INFO: Extracted packet for processing {"connection_id":189580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:03: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-19 15:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:15] local.INFO: GPS data processed {"connection_id":189580,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:15] local.INFO: Acknowledgment sent {"connection_id":189580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:22] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900de48012d1820000721b160004b00c528..."} 
[2026-09-19 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900de48012d1820000721b160004b00c528..."} 
[2026-09-19 15:03:22] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900de48012d1820000721b160004b00c528..."} 
[2026-09-19 15:03:22] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:22] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:03: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-19 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.INFO: IO Element Parsed {"io_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-19 15:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810237000,"timestamp_ms":1789810237000,"timestamp_seconds":1789810237,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900de48"} 
[2026-09-19 15:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3103694864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503930957398016,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-122151338747879360,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975858763,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":21111470066499584,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428214256596993323,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195064320,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,36,160,58,45,177,75,41,10,66,232,150,1,240,85,227,184,33,4,113,205,242,32,192,43,239,50,2,77,7,164,207,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-19 15:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404536332728926208,"timestamp_seconds":5404536332728926.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:03:22] 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-19 15:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":12841,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:23] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:23] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:46] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:46] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:46] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:03:46] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:46] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:03:46] local.INFO: Packet analysis {"connection_id":189581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:46] local.INFO: Extracted packet for processing {"connection_id":189581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 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-19 15:03: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-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:03: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-19 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-19 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-19 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":189581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:46] local.INFO: GPS data processed {"connection_id":189581,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:46] local.INFO: Acknowledgment sent {"connection_id":189581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:47] local.INFO: TCP Data received {"connection_id":189580,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:47] local.INFO: Processing buffer {"connection_id":189580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:03:47] local.INFO: Packet analysis {"connection_id":189580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:47] local.INFO: Extracted packet for processing {"connection_id":189580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15: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-19 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:03: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-19 15: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-19 15: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-19 15:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:03:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:47] local.INFO: GPS data processed {"connection_id":189580,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:47] local.INFO: Acknowledgment sent {"connection_id":189580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:03:51] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:51] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:03:51] local.INFO: IMEI packet received {"connection_id":186851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:03:52] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9013050012d1820000721b160004b00c527..."} 
[2026-09-19 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9013050012d1820000721b160004b00c527..."} 
[2026-09-19 15:03:52] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9013050012d1820000721b160004b00c527..."} 
[2026-09-19 15:03:52] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:03:52] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191420672001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:03:52] local.INFO: IO Element Parsed {"io_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-19 15:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810258000,"timestamp_ms":1789810258000,"timestamp_seconds":1789810258,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9013050"} 
[2026-09-19 15: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-19 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 15:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:03:52] 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-19 15:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191420672001,"66":12809,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191420672001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:03:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191420672001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:03:52] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:03:52] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:14] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:14] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:14] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:04:14] local.INFO: TCP Data received {"connection_id":186963,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:14] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:14] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:04:19] local.INFO: TCP Data received {"connection_id":186963,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:19] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:04:19] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:04:19] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:19] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:04:19] local.INFO: IMEI packet received {"connection_id":186852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":186852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:04:20] local.INFO: TCP Data received {"connection_id":186963,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:20] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:20] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:20] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:04:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:20] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:20] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:22] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:22] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:22] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:22] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:04: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-19 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:04: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-19 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:04:22] 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-19 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:22] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:22] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:23] local.INFO: TCP Data received {"connection_id":186851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9018258012d1820000721b160004b00c52a..."} 
[2026-09-19 15:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9018258012d1820000721b160004b00c52a..."} 
[2026-09-19 15:04:23] local.INFO: Processing buffer {"connection_id":186851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9018258012d1820000721b160004b00c52a..."} 
[2026-09-19 15:04:23] local.INFO: Packet analysis {"connection_id":186851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:23] local.INFO: Extracted packet for processing {"connection_id":186851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":75,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-19 15:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191426048001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714061863419904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.INFO: IO Element Parsed {"io_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-19 15:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789810279000,"timestamp_ms":1789810279000,"timestamp_seconds":1789810279,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9018258"} 
[2026-09-19 15:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3103736864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-75971850381287360,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975858763,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428214256596993323,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,36,160,222,45,177,75,40,10,66,140,41,58,1,240,254,227,184,33,4,113,205,150,32,96,239,50,2,77,7,164,211],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 15:04:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404536324138991616,"timestamp_seconds":5404536324138992.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:23] 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-19 15:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191426048001,"66":12798,"105":206,"83":41984,"24":0,"16":21714061863419904,"45":1738389486795055104},"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-19 15:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191426048001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714061863419904,"km_value":21714061863419.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191426048001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":186851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:23] local.INFO: GPS data processed {"connection_id":186851,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:23] local.INFO: Acknowledgment sent {"connection_id":186851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:25] local.INFO: TCP Data received {"connection_id":186852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:25] local.INFO: Processing buffer {"connection_id":186852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:04:25] local.INFO: Packet analysis {"connection_id":186852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:25] local.INFO: Extracted packet for processing {"connection_id":186852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:04:25] 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-19 15:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":186852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:25] local.INFO: GPS data processed {"connection_id":186852,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:25] local.INFO: Acknowledgment sent {"connection_id":186852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:25] local.INFO: TCP Data received {"connection_id":186963,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:25] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:04:25] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:25] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:25] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:25] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:51] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:51] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:51] local.INFO: IMEI packet received {"connection_id":186964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":186964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:04:56] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:56] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:04:56] local.INFO: IMEI packet received {"connection_id":186964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":186964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:04:57] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90191f8012d181f800721b120004a00db2a..."} 
[2026-09-19 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90191f8012d181f800721b120004a00db2a..."} 
[2026-09-19 15:04:57] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90191f8012d181f800721b120004a00db2a..."} 
[2026-09-19 15:04:57] local.INFO: Packet analysis {"connection_id":186964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:57] local.INFO: Extracted packet for processing {"connection_id":186964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648544,"longitude_deg":75.6555648,"latitude_deg":11.9648544,"altitude":74,"angle":219,"satellites":42,"speed":2,"hex_longitude":"2d181f80","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-09-19 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191431424001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714070453354496,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.INFO: IO Element Parsed {"io_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-19 15:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789810283000,"timestamp_ms":1789810283000,"timestamp_seconds":1789810283,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90191f8"} 
[2026-09-19 15:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:57] 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-19 15:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191431424001,"66":12798,"105":206,"83":41984,"24":2,"16":21714070453354496,"45":1738389486795055104},"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-19 15:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191431424001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714070453354496,"km_value":21714070453354.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191431424001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-19 15:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":186964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:57] local.INFO: GPS data processed {"connection_id":186964,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:57] local.INFO: Acknowledgment sent {"connection_id":186964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:04:57] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b901e400012d181ec00721b0c0004a00dc2a..."} 
[2026-09-19 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b901e400012d181ec00721b0c0004a00dc2a..."} 
[2026-09-19 15:04:57] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b901e400012d181ec00721b0c0004a00dc2a..."} 
[2026-09-19 15:04:57] local.INFO: Packet analysis {"connection_id":186964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:57] local.INFO: Extracted packet for processing {"connection_id":186964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b901"} 
[2026-09-19 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648448,"longitude_deg":75.6555456,"latitude_deg":11.9648448,"altitude":74,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-19 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191432448001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714079043289088,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306683392,"note":"Value kept but may cause issues"} 
[2026-09-19 15:04:57] local.INFO: IO Element Parsed {"io_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-19 15:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789810304000,"timestamp_ms":1789810304000,"timestamp_seconds":1789810304,"priority":1,"record_length":96,"hex_timestamp":"000001a0b901e400"} 
[2026-09-19 15:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 15:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:04:57] 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-19 15:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191432448001,"66":12776,"105":206,"83":41984,"24":0,"16":21714079043289088,"45":1738248749306683392},"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-19 15:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191432448001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714079043289088,"km_value":21714079043289.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306683392,"description":"Unknown IO ID 45"} 
[2026-09-19 15:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191432448001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306683392}} 
[2026-09-19 15:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":186964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:04:57] local.INFO: GPS data processed {"connection_id":186964,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:04:57] local.INFO: Acknowledgment sent {"connection_id":186964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:09] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:09] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:09] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:05:09] local.INFO: TCP Data received {"connection_id":189582,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:09] local.INFO: Processing buffer {"connection_id":189582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:09] local.INFO: IMEI packet received {"connection_id":189582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":189582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:05:14] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:14] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:05:14] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:05:14] local.INFO: TCP Data received {"connection_id":189582,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:14] local.INFO: Processing buffer {"connection_id":189582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:05:14] local.INFO: IMEI packet received {"connection_id":189582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":189582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:05:15] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:15] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:15] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:15] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15: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-19 15:05: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-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:05: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-19 15: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-19 15: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-19 15:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:15] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:15] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:15] local.INFO: TCP Data received {"connection_id":189582,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:15] local.INFO: Processing buffer {"connection_id":189582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:15] local.INFO: Packet analysis {"connection_id":189582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:15] local.INFO: Extracted packet for processing {"connection_id":189582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15: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-19 15:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:05: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-19 15: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-19 15: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-19 15:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":189582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866556,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:15] local.INFO: GPS data processed {"connection_id":189582,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:15] local.INFO: Acknowledgment sent {"connection_id":189582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:29] local.INFO: TCP Data received {"connection_id":186964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9023608012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9023608012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:29] local.INFO: Processing buffer {"connection_id":186964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9023608012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:29] local.INFO: Packet analysis {"connection_id":186964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b902"} 
[2026-09-19 15:05:29] local.INFO: Extracted packet for processing {"connection_id":186964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b902"} 
[2026-09-19 15:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648448,"longitude_deg":75.6555456,"latitude_deg":11.9648448,"altitude":74,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-19 15:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191437824001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714079043289088,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074125824,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789810325000,"timestamp_ms":1789810325000,"timestamp_seconds":1789810325,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9023608"} 
[2026-09-19 15:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 15:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":186964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":186964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:05:29] 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-19 15:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191437824001,"66":12765,"105":206,"83":41984,"24":0,"16":21714079043289088,"45":1738037643074125824},"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-19 15:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191437824001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714079043289088,"km_value":21714079043289.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074125824,"description":"Unknown IO ID 45"} 
[2026-09-19 15:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191437824001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074125824}} 
[2026-09-19 15:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":186964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:29] local.INFO: GPS data processed {"connection_id":186964,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:29] local.INFO: Acknowledgment sent {"connection_id":186964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:46] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:46] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:46] local.INFO: IMEI packet received {"connection_id":186965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":186965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:05:46] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:46] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b900c6d8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:05:46] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:46] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191342080001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05: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-19 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789810231000,"timestamp_ms":1789810231000,"timestamp_seconds":1789810231,"priority":1,"record_length":96,"hex_timestamp":"000001a0b900c6d8"} 
[2026-09-19 15:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:05: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-19 15:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:05: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-19 15:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:05: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-19 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191342080001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191342080001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191342080001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:46] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:46] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:47] local.INFO: TCP Data received {"connection_id":189582,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:47] local.INFO: Processing buffer {"connection_id":189582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9008c40012c7931800848f770000c01612f..."} 
[2026-09-19 15:05:47] local.INFO: Packet analysis {"connection_id":189582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:47] local.INFO: Extracted packet for processing {"connection_id":189582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b900"} 
[2026-09-19 15:05:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191337728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810216000,"timestamp_ms":1789810216000,"timestamp_seconds":1789810216,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9008c40"} 
[2026-09-19 15: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-19 15:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:05: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-19 15: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-19 15: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-19 15:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191337728001,"66":25691,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191337728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:05:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191337728001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":189582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:47] local.INFO: GPS data processed {"connection_id":189582,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:47] local.INFO: Acknowledgment sent {"connection_id":189582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:05:51] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:51] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:05:51] local.INFO: IMEI packet received {"connection_id":186965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":186965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:05:52] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9028810012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9028810012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:52] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9028810012d181ec00721b0c0004a00dc29..."} 
[2026-09-19 15:05:52] local.INFO: Packet analysis {"connection_id":186965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b902"} 
[2026-09-19 15:05:52] local.INFO: Extracted packet for processing {"connection_id":186965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b902"} 
[2026-09-19 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648448,"longitude_deg":75.6555456,"latitude_deg":11.9648448,"altitude":74,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-19 15:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191443200001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714079043289088,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074125824,"note":"Value kept but may cause issues"} 
[2026-09-19 15:05:52] local.INFO: IO Element Parsed {"io_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-19 15:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810346000,"timestamp_ms":1789810346000,"timestamp_seconds":1789810346,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9028810"} 
[2026-09-19 15:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 15:05:52] 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-19 15:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:05:52] 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-19 15:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191443200001,"66":12743,"105":206,"83":41984,"24":0,"16":21714079043289088,"45":1738037643074125824},"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-19 15:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191443200001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:05:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714079043289088,"km_value":21714079043289.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074125824,"description":"Unknown IO ID 45"} 
[2026-09-19 15:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191443200001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074125824}} 
[2026-09-19 15:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":186965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:05:52] local.INFO: GPS data processed {"connection_id":186965,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:05:52] local.INFO: Acknowledgment sent {"connection_id":186965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:09] local.INFO: TCP Data received {"connection_id":188273,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:09] local.INFO: Processing buffer {"connection_id":188273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:09] local.INFO: IMEI packet received {"connection_id":188273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:06:09] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:09] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:09] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:06:10] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:10] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:10] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:06:14] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:14] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:06:14] local.INFO: IMEI packet received {"connection_id":186853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":186853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:06:14] local.INFO: TCP Data received {"connection_id":188273,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:14] local.INFO: Processing buffer {"connection_id":188273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:06:14] local.INFO: IMEI packet received {"connection_id":188273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:06:15] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:15] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:15] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:15] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06: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-19 15:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15: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-19 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:06: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-19 15: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-19 15: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-19 15:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:06: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-19 15:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:15] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:15] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:15] local.INFO: TCP Data received {"connection_id":188273,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:15] local.INFO: Processing buffer {"connection_id":188273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:15] local.INFO: Packet analysis {"connection_id":188273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:15] local.INFO: Extracted packet for processing {"connection_id":188273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15: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-19 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":188273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:15] local.INFO: GPS data processed {"connection_id":188273,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:15] local.INFO: Acknowledgment sent {"connection_id":188273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:22] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9052408012d1821400721a5f0004a007e25..."} 
[2026-09-19 15:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9052408012d1821400721a5f0004a007e25..."} 
[2026-09-19 15:06:22] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9052408012d1821400721a5f0004a007e25..."} 
[2026-09-19 15:06:22] local.INFO: Packet analysis {"connection_id":186965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:22] local.INFO: Extracted packet for processing {"connection_id":186965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119645680,"longitude_deg":75.6556096,"latitude_deg":11.964568,"altitude":74,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721a5f0","is_valid_coordinates":true} 
[2026-09-19 15:06: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-19 15:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191486976001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714250841980928,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050260992,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:22] local.INFO: IO Element Parsed {"io_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-19 15:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810517000,"timestamp_ms":1789810517000,"timestamp_seconds":1789810517,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9052408"} 
[2026-09-19 15:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 15:06:22] 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-19 15:06: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-19 15:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:06:22] 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-19 15:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191486976001,"66":14254,"105":206,"83":41984,"24":0,"16":21714250841980928,"45":1738319118050260992},"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-19 15:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191486976001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714250841980928,"km_value":21714250841980.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050260992,"description":"Unknown IO ID 45"} 
[2026-09-19 15:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191486976001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050260992}} 
[2026-09-19 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":186965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:23] local.INFO: GPS data processed {"connection_id":186965,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:23] local.INFO: Acknowledgment sent {"connection_id":186965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:46] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:06:46] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:46] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:06:47] local.INFO: TCP Data received {"connection_id":186853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:47] local.INFO: Processing buffer {"connection_id":186853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:06:47] local.INFO: Packet analysis {"connection_id":186853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:47] local.INFO: Extracted packet for processing {"connection_id":186853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15: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-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:06: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-19 15: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-19 15: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-19 15:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:06:47] 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-19 15:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:47] local.INFO: GPS data processed {"connection_id":186853,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:47] local.INFO: Acknowledgment sent {"connection_id":186853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:47] local.INFO: TCP Data received {"connection_id":188273,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:47] local.INFO: Processing buffer {"connection_id":188273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:06:47] local.INFO: Packet analysis {"connection_id":188273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:47] local.INFO: Extracted packet for processing {"connection_id":188273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15: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-19 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:06:47] 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-19 15: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-19 15: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-19 15:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":188273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:47] local.INFO: GPS data processed {"connection_id":188273,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:47] local.INFO: Acknowledgment sent {"connection_id":188273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:06:50] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:50] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:06:50] local.INFO: IMEI packet received {"connection_id":186854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":186854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:06:50] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9056670012d1823000721a510004a008d28..."} 
[2026-09-19 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9056670012d1823000721a510004a008d28..."} 
[2026-09-19 15:06:50] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9056670012d1823000721a510004a008d28..."} 
[2026-09-19 15:06:50] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:50] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119645456,"longitude_deg":75.6556544,"latitude_deg":11.9645456,"altitude":74,"angle":141,"satellites":40,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191492352001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714276611784704,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515193856,"note":"Value kept but may cause issues"} 
[2026-09-19 15:06:50] local.INFO: IO Element Parsed {"io_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-19 15:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789810534000,"timestamp_ms":1789810534000,"timestamp_seconds":1789810534,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9056670"} 
[2026-09-19 15: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-19 15:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 15:06:50] 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-19 15: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-19 15: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-19 15:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:06:50] 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-19 15:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191492352001,"66":14233,"105":206,"83":41984,"24":7,"16":21714276611784704,"45":1738741330515193856},"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-19 15:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191492352001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:06:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714276611784704,"km_value":21714276611784.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515193856,"description":"Unknown IO ID 45"} 
[2026-09-19 15:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191492352001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738741330515193856}} 
[2026-09-19 15:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:06:50] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:06:50] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:09] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:09] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:09] local.INFO: IMEI packet received {"connection_id":189583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":189583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:07:14] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:14] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:07:14] local.INFO: IMEI packet received {"connection_id":189583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":189583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:07:14] local.INFO: TCP Data received {"connection_id":186855,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:14] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:14] local.INFO: IMEI packet received {"connection_id":186855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":186855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:07:16] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:16] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:16] local.INFO: Packet analysis {"connection_id":189583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:16] local.INFO: Extracted packet for processing {"connection_id":189583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07: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-19 15:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:07:16] 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-19 15:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":189583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:16] local.INFO: GPS data processed {"connection_id":189583,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:16] local.INFO: Acknowledgment sent {"connection_id":189583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:19] local.INFO: TCP Data received {"connection_id":186855,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:19] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:07:19] local.INFO: IMEI packet received {"connection_id":186855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":186855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:07:20] local.INFO: TCP Data received {"connection_id":186855,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:20] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:20] local.INFO: Packet analysis {"connection_id":186855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:20] local.INFO: Extracted packet for processing {"connection_id":186855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:20] 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-19 15:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":186855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:20] local.INFO: GPS data processed {"connection_id":186855,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:20] local.INFO: Acknowledgment sent {"connection_id":186855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:21] local.INFO: TCP Data received {"connection_id":186854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9058998012d182b0007219cc0004a008129..."} 
[2026-09-19 15:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9058998012d182b0007219cc0004a008129..."} 
[2026-09-19 15:07:21] local.INFO: Processing buffer {"connection_id":186854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9058998012d182b0007219cc0004a008129..."} 
[2026-09-19 15:07:21] local.INFO: Packet analysis {"connection_id":186854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:21] local.INFO: Extracted packet for processing {"connection_id":186854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643328,"longitude_deg":75.6558592,"latitude_deg":11.9643328,"altitude":74,"angle":129,"satellites":41,"speed":16,"hex_longitude":"2d182b00","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496704001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21714418345705472,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724380160,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:21] local.INFO: IO Element Parsed {"io_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-19 15:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789810543000,"timestamp_ms":1789810543000,"timestamp_seconds":1789810543,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9058998"} 
[2026-09-19 15: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-19 15:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:21] 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-19 15: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-19 15: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-19 15:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:07:21] 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-19 15:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496704001,"66":14211,"105":206,"83":41984,"24":16,"16":21714418345705472,"45":1739233911724380160},"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-19 15:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496704001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21714418345705472,"km_value":21714418345705.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724380160,"description":"Unknown IO ID 45"} 
[2026-09-19 15:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496704001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1739233911724380160}} 
[2026-09-19 15:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":186854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:22] local.INFO: GPS data processed {"connection_id":186854,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:22] local.INFO: Acknowledgment sent {"connection_id":186854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:25] local.INFO: TCP Data received {"connection_id":186855,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:25] local.INFO: Processing buffer {"connection_id":186855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:07:25] local.INFO: Packet analysis {"connection_id":186855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:25] local.INFO: Extracted packet for processing {"connection_id":186855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:07: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-19 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:25] 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-19 15:07: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-19 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:07:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":186855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:25] local.INFO: GPS data processed {"connection_id":186855,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:25] local.INFO: Acknowledgment sent {"connection_id":186855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:45] local.INFO: TCP Data received {"connection_id":189584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: Processing buffer {"connection_id":189584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: IMEI packet received {"connection_id":189584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":189584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:07:45] local.INFO: TCP Data received {"connection_id":189584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: Processing buffer {"connection_id":189584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:45] local.INFO: IMEI packet received {"connection_id":189584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":189584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:07:47] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:47] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:07:47] local.INFO: Packet analysis {"connection_id":189583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:47] local.INFO: Extracted packet for processing {"connection_id":189583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07: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-19 15:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:07:47] 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-19 15:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":189583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:47] local.INFO: GPS data processed {"connection_id":189583,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:47] local.INFO: Acknowledgment sent {"connection_id":189583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:07:51] local.INFO: TCP Data received {"connection_id":189584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:51] local.INFO: Processing buffer {"connection_id":189584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:07:51] local.INFO: IMEI packet received {"connection_id":189584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":189584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:07:51] local.INFO: TCP Data received {"connection_id":189584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9068f50012d18c48007214930004200b329..."} 
[2026-09-19 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9068f50012d18c48007214930004200b329..."} 
[2026-09-19 15:07:51] local.INFO: Processing buffer {"connection_id":189584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9068f50012d18c48007214930004200b329..."} 
[2026-09-19 15:07:51] local.INFO: Packet analysis {"connection_id":189584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b906"} 
[2026-09-19 15:07:51] local.INFO: Extracted packet for processing {"connection_id":189584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b906"} 
[2026-09-19 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119621936,"longitude_deg":75.6597888,"latitude_deg":11.9621936,"altitude":66,"angle":179,"satellites":41,"speed":29,"hex_longitude":"2d18c480","hex_latitude":"07214930","is_valid_coordinates":true} 
[2026-09-19 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191515648001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21716711858241536,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713343488,"note":"Value kept but may cause issues"} 
[2026-09-19 15:07:51] 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-19 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789810610000,"timestamp_ms":1789810610000,"timestamp_seconds":1789810610,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9068f50"} 
[2026-09-19 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-19 15:07:51] 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-19 15:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:07:51] 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-19 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191515648001,"66":13961,"106":206,"83":41984,"24":29,"16":21716711858241536,"45":1784621751713343488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191515648001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:07:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21716711858241536,"km_value":21716711858241.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713343488,"description":"Unknown IO ID 45"} 
[2026-09-19 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191515648001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784621751713343488}} 
[2026-09-19 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":189584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:07:51] local.INFO: GPS data processed {"connection_id":189584,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:07:51] local.INFO: Acknowledgment sent {"connection_id":189584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:09] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:09] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:09] local.INFO: IMEI packet received {"connection_id":186967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":186967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:08:09] local.INFO: TCP Data received {"connection_id":186966,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:09] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:09] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:08:14] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:14] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:08:14] local.INFO: IMEI packet received {"connection_id":186967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":186967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:08:14] local.INFO: TCP Data received {"connection_id":186966,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:14] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:08:14] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:08:15] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:15] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:15] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:15] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08: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-19 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:08: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-19 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:08:15] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:08:15] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:15] local.INFO: TCP Data received {"connection_id":186966,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:15] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:15] local.INFO: Packet analysis {"connection_id":186966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:15] local.INFO: Extracted packet for processing {"connection_id":186966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":186966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:08:15] local.INFO: GPS data processed {"connection_id":186966,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:08:15] local.INFO: Acknowledgment sent {"connection_id":186966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:22] local.INFO: TCP Data received {"connection_id":189584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9069ef0012d18c5c007213e58004100a32a..."} 
[2026-09-19 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9069ef0012d18c5c007213e58004100a32a..."} 
[2026-09-19 15:08:22] local.INFO: Processing buffer {"connection_id":189584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9069ef0012d18c5c007213e58004100a32a..."} 
[2026-09-19 15:08:22] local.INFO: Packet analysis {"connection_id":189584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b906"} 
[2026-09-19 15:08:22] local.INFO: Extracted packet for processing {"connection_id":189584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b906"} 
[2026-09-19 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119619160,"longitude_deg":75.6598208,"latitude_deg":11.961916,"altitude":65,"angle":163,"satellites":42,"speed":26,"hex_longitude":"2d18c5c0","hex_latitude":"07213e58","is_valid_coordinates":true} 
[2026-09-19 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191516160001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21716845002227712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457129984,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:22] local.INFO: IO Element Parsed {"io_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-19 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810614000,"timestamp_ms":1789810614000,"timestamp_seconds":1789810614,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9069ef0"} 
[2026-09-19 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 15:08:22] 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-19 15:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:08:22] 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-19 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191516160001,"66":13678,"103":206,"83":41984,"24":26,"16":21716845002227712,"45":1784692120457129984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191516160001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:08:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21716845002227712,"km_value":21716845002227.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457129984,"description":"Unknown IO ID 45"} 
[2026-09-19 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191516160001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1784692120457129984}} 
[2026-09-19 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":189584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:08:23] local.INFO: GPS data processed {"connection_id":189584,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:08:23] local.INFO: Acknowledgment sent {"connection_id":189584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:45] local.INFO: TCP Data received {"connection_id":188274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:45] local.INFO: Processing buffer {"connection_id":188274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:45] local.INFO: IMEI packet received {"connection_id":188274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":188274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:08:46] local.INFO: TCP Data received {"connection_id":188274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: Processing buffer {"connection_id":188274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: IMEI packet received {"connection_id":188274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":188274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:08:46] local.INFO: TCP Data received {"connection_id":188274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: Processing buffer {"connection_id":188274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:46] local.INFO: IMEI packet received {"connection_id":188274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":188274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:08:47] local.INFO: TCP Data received {"connection_id":186966,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:47] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:08:47] local.INFO: Packet analysis {"connection_id":186966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:47] local.INFO: Extracted packet for processing {"connection_id":186966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:08:47] 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-19 15:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":186966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:08:47] local.INFO: GPS data processed {"connection_id":186966,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:08:47] local.INFO: Acknowledgment sent {"connection_id":186966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:47] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:47] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:08:47] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:47] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:08: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-19 15:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:08: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-19 15:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:08: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-19 15:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:08:47] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:08:47] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:08:54] local.INFO: TCP Data received {"connection_id":188274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:54] local.INFO: Processing buffer {"connection_id":188274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:08:54] local.INFO: IMEI packet received {"connection_id":188274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":188274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:09:09] local.INFO: TCP Data received {"connection_id":186968,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:09] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:09] local.INFO: IMEI packet received {"connection_id":186968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":186968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:09:14] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:14] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:14] local.INFO: IMEI packet received {"connection_id":186969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:09:14] local.INFO: TCP Data received {"connection_id":186968,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:14] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:09:14] local.INFO: IMEI packet received {"connection_id":186968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":186968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:09:15] local.INFO: TCP Data received {"connection_id":186968,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:15] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:15] local.INFO: Packet analysis {"connection_id":186968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:15] local.INFO: Extracted packet for processing {"connection_id":186968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":186968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:09:15] local.INFO: GPS data processed {"connection_id":186968,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:09:15] local.INFO: Acknowledgment sent {"connection_id":186968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:09:19] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:19] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:09:19] local.INFO: IMEI packet received {"connection_id":186969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":186969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:09:20] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:20] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:20] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:20] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15: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-19 15:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:09: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-19 15:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:09:20] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:09:20] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:09:24] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:24] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:09:24] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:24] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:09: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-19 15:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:09:24] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:09:24] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:09:47] local.INFO: TCP Data received {"connection_id":186968,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:47] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:09:47] local.INFO: Packet analysis {"connection_id":186968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:47] local.INFO: Extracted packet for processing {"connection_id":186968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:09:47] 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-19 15:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:09:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":186968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:09:47] local.INFO: GPS data processed {"connection_id":186968,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:09:47] local.INFO: Acknowledgment sent {"connection_id":186968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:10:09] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:09] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:09] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:10:09] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:09] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:09] local.INFO: IMEI packet received {"connection_id":189585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":189585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:10:14] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:14] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:10:14] local.INFO: IMEI packet received {"connection_id":186856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:10:15] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:15] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:10:15] local.INFO: IMEI packet received {"connection_id":189585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":189585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:10:15] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:15] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:15] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:15] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15: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-19 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:10:16] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:10:16] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:10:16] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:16] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:16] local.INFO: Packet analysis {"connection_id":189585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:16] local.INFO: Extracted packet for processing {"connection_id":189585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10: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-19 15:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:10:16] 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-19 15:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":189585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:10:16] local.INFO: GPS data processed {"connection_id":189585,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:10:16] local.INFO: Acknowledgment sent {"connection_id":189585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:10:47] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:47] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9055ea0012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:10:47] local.INFO: Packet analysis {"connection_id":189585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:47] local.INFO: Extracted packet for processing {"connection_id":189585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191419136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10: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-19 15:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810532000,"timestamp_ms":1789810532000,"timestamp_seconds":1789810532,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9055ea0"} 
[2026-09-19 15: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-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:10: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-19 15:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191419136001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191419136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191419136001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:10:47] local.INFO: TCP Data received {"connection_id":186856,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:47] local.INFO: Processing buffer {"connection_id":186856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9051c38012c7931800848f770000c01612f..."} 
[2026-09-19 15:10:47] local.INFO: Packet analysis {"connection_id":186856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:47] local.INFO: Extracted packet for processing {"connection_id":186856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b905"} 
[2026-09-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191415296001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810515000,"timestamp_ms":1789810515000,"timestamp_seconds":1789810515,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9051c38"} 
[2026-09-19 15: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-19 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:10:47] 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-19 15: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-19 15: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-19 15:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":189585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:10:47] local.INFO: GPS data processed {"connection_id":189585,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:10:47] local.INFO: Acknowledgment sent {"connection_id":189585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191415296001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191415296001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191415296001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":186856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:10:47] local.INFO: GPS data processed {"connection_id":186856,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:10:47] local.INFO: Acknowledgment sent {"connection_id":186856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:11:09] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:09] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:09] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:11:11] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:11] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:11:11] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:11:12] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:12] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:12] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:12] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11: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-19 15:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:11: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-19 15: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-19 15: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-19 15:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:11:12] 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-19 15:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:11:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:11:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:11:12] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:11:12] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:11:14] local.INFO: TCP Data received {"connection_id":188276,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:14] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:14] local.INFO: IMEI packet received {"connection_id":188276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":188276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:11:19] local.INFO: TCP Data received {"connection_id":188276,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:19] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:11:19] local.INFO: IMEI packet received {"connection_id":188276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":188276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:11:20] local.INFO: TCP Data received {"connection_id":188276,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:20] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:20] local.INFO: Packet analysis {"connection_id":188276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:20] local.INFO: Extracted packet for processing {"connection_id":188276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:11: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-19 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:11: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-19 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":188276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:11:21] local.INFO: GPS data processed {"connection_id":188276,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:11:21] local.INFO: Acknowledgment sent {"connection_id":188276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:11:43] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:43] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:11:43] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:43] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:11: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-19 15: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-19 15: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-19 15:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:11: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-19 15:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:11:43] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:11:43] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:11:52] local.INFO: TCP Data received {"connection_id":188276,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:52] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:11:52] local.INFO: Packet analysis {"connection_id":188276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:52] local.INFO: Extracted packet for processing {"connection_id":188276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:11:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":188276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:11:52] local.INFO: GPS data processed {"connection_id":188276,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:11:52] local.INFO: Acknowledgment sent {"connection_id":188276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:12:09] local.INFO: TCP Data received {"connection_id":189586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:09] local.INFO: Processing buffer {"connection_id":189586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:09] local.INFO: IMEI packet received {"connection_id":189586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":189586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:12:09] local.INFO: TCP Data received {"connection_id":186858,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:09] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:09] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:12:14] local.INFO: TCP Data received {"connection_id":189586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:14] local.INFO: Processing buffer {"connection_id":189586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:12:14] local.INFO: IMEI packet received {"connection_id":189586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":189586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:12:14] local.INFO: TCP Data received {"connection_id":186858,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:14] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:12:14] local.INFO: IMEI packet received {"connection_id":186858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:12:15] local.INFO: TCP Data received {"connection_id":189586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:15] local.INFO: Processing buffer {"connection_id":189586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:15] local.INFO: Packet analysis {"connection_id":189586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:15] local.INFO: Extracted packet for processing {"connection_id":189586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12: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-19 15:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:12: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-19 15:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":189586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:12:15] local.INFO: GPS data processed {"connection_id":189586,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:12:15] local.INFO: Acknowledgment sent {"connection_id":189586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:12:15] local.INFO: TCP Data received {"connection_id":186858,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:15] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:15] local.INFO: Packet analysis {"connection_id":186858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:15] local.INFO: Extracted packet for processing {"connection_id":186858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15: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-19 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":186858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:12:15] local.INFO: GPS data processed {"connection_id":186858,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:12:15] local.INFO: Acknowledgment sent {"connection_id":186858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:12:46] local.INFO: TCP Data received {"connection_id":189586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:46] local.INFO: Processing buffer {"connection_id":189586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:12:46] local.INFO: Packet analysis {"connection_id":189586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:46] local.INFO: Extracted packet for processing {"connection_id":189586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:12: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-19 15: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-19 15: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-19 15:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":189586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:12:46] local.INFO: GPS data processed {"connection_id":189586,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:12:46] local.INFO: Acknowledgment sent {"connection_id":189586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:12:48] local.INFO: TCP Data received {"connection_id":186858,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:48] local.INFO: Processing buffer {"connection_id":186858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:12:48] local.INFO: Packet analysis {"connection_id":186858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:48] local.INFO: Extracted packet for processing {"connection_id":186858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:12:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:12: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-19 15:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:12:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:12:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":186858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:12:48] local.INFO: GPS data processed {"connection_id":186858,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:12:48] local.INFO: Acknowledgment sent {"connection_id":186858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:13:09] local.INFO: TCP Data received {"connection_id":189587,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:09] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:09] local.INFO: IMEI packet received {"connection_id":189587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":189587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:13:09] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:09] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:09] local.INFO: IMEI packet received {"connection_id":186972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":186972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:13:14] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:14] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:13:14] local.INFO: IMEI packet received {"connection_id":186972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:13:14] local.INFO: TCP Data received {"connection_id":189587,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:14] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:13:14] local.INFO: IMEI packet received {"connection_id":189587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":189587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:13:15] local.INFO: TCP Data received {"connection_id":189587,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:15] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:15] local.INFO: Packet analysis {"connection_id":189587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:15] local.INFO: Extracted packet for processing {"connection_id":189587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":189587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:13:15] local.INFO: GPS data processed {"connection_id":189587,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:13:15] local.INFO: Acknowledgment sent {"connection_id":189587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:13:16] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:16] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:16] local.INFO: Packet analysis {"connection_id":186972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:16] local.INFO: Extracted packet for processing {"connection_id":186972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13: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-19 15:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:13:16] 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-19 15:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:13:16] 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-19 15:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":186972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:13:16] local.INFO: GPS data processed {"connection_id":186972,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:13:16] local.INFO: Acknowledgment sent {"connection_id":186972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:13:47] local.INFO: TCP Data received {"connection_id":189587,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:47] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:13:47] local.INFO: Packet analysis {"connection_id":189587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:47] local.INFO: Extracted packet for processing {"connection_id":189587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15: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-19 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":189587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:13:47] local.INFO: GPS data processed {"connection_id":189587,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:13:47] local.INFO: Acknowledgment sent {"connection_id":189587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:13:47] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:47] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:13:47] local.INFO: Packet analysis {"connection_id":186972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:47] local.INFO: Extracted packet for processing {"connection_id":186972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13: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-19 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:13:47] 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-19 15: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-19 15: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-19 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:13:47] 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-19 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":186972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:13:47] local.INFO: GPS data processed {"connection_id":186972,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:13:47] local.INFO: Acknowledgment sent {"connection_id":186972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:13:51] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:13:51] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:13:51] local.INFO: IMEI packet received {"connection_id":188277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":188277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:13:52] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90ac958012d193bc00720b410002c007c25..."} 
[2026-09-19 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90ac958012d193bc00720b410002c007c25..."} 
[2026-09-19 15:13:52] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90ac958012d193bc00720b410002c007c25..."} 
[2026-09-19 15:13:52] local.INFO: Packet analysis {"connection_id":188277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90a"} 
[2026-09-19 15:13:52] local.INFO: Extracted packet for processing {"connection_id":188277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90a"} 
[2026-09-19 15:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119583760,"longitude_deg":75.6628416,"latitude_deg":11.958376,"altitude":44,"angle":124,"satellites":37,"speed":49,"hex_longitude":"2d193bc0","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-09-19 15:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191585280001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21720551559004160,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808617493468717056,"note":"Value kept but may cause issues"} 
[2026-09-19 15:13:52] local.INFO: IO Element Parsed {"io_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-19 15:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789810887000,"timestamp_ms":1789810887000,"timestamp_seconds":1789810887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90ac958"} 
[2026-09-19 15:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-19 15:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:13:52] 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-19 15:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191585280001,"66":14048,"103":206,"83":41984,"24":49,"16":21720551559004160,"45":1808617493468717056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191585280001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:13:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21720551559004160,"km_value":21720551559004.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808617493468717056,"description":"Unknown IO ID 45"} 
[2026-09-19 15:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191585280001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1808617493468717056}} 
[2026-09-19 15:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":188277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:13:52] local.INFO: GPS data processed {"connection_id":188277,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:13:52] local.INFO: Acknowledgment sent {"connection_id":188277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:09] local.INFO: TCP Data received {"connection_id":188279,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:09] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:09] local.INFO: IMEI packet received {"connection_id":188279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:14:09] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:09] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:09] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:14:14] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:14] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:14:14] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:14:14] local.INFO: TCP Data received {"connection_id":188279,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:14] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:14:14] local.INFO: IMEI packet received {"connection_id":188279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":188279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:14:15] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:15] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:15] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:15] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15: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-19 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:14:15] 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-19 15:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:15] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:15] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:15] local.INFO: TCP Data received {"connection_id":188279,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:15] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:15] local.INFO: Packet analysis {"connection_id":188279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:15] local.INFO: Extracted packet for processing {"connection_id":188279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15: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-19 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":188279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:16] local.INFO: GPS data processed {"connection_id":188279,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:16] local.INFO: Acknowledgment sent {"connection_id":188279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:22] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90ad128012d1944000720af60002b007125..."} 
[2026-09-19 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90ad128012d1944000720af60002b007125..."} 
[2026-09-19 15:14:22] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90ad128012d1944000720af60002b007125..."} 
[2026-09-19 15:14:22] local.INFO: Packet analysis {"connection_id":188277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90a"} 
[2026-09-19 15:14:22] local.INFO: Extracted packet for processing {"connection_id":188277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90a"} 
[2026-09-19 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756630528,"raw_latitude":119582560,"longitude_deg":75.6630528,"latitude_deg":11.958256,"altitude":43,"angle":113,"satellites":37,"speed":44,"hex_longitude":"2d194400","hex_latitude":"0720af60","is_valid_coordinates":true} 
[2026-09-19 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191587072001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21720671818088448,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818258011420102656,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:22] local.INFO: IO Element Parsed {"io_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-19 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789810889000,"timestamp_ms":1789810889000,"timestamp_seconds":1789810889,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90ad128"} 
[2026-09-19 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:22] 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-19 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:22] 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-19 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191587072001,"66":13852,"103":206,"83":41984,"24":44,"16":21720671818088448,"45":1818258011420102656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191587072001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21720671818088448,"km_value":21720671818088.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818258011420102656,"description":"Unknown IO ID 45"} 
[2026-09-19 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191587072001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1818258011420102656}} 
[2026-09-19 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":188277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:22] local.INFO: GPS data processed {"connection_id":188277,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:22] local.INFO: Acknowledgment sent {"connection_id":188277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:46] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: IMEI packet received {"connection_id":188280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":188280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:14:46] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:46] local.INFO: IMEI packet received {"connection_id":188280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":188280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:14:47] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:47] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:14:47] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:47] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14: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-19 15:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:47] 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-19 15:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:14: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-19 15:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:47] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:47] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:47] local.INFO: TCP Data received {"connection_id":188279,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:47] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:14:47] local.INFO: Packet analysis {"connection_id":188279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:47] local.INFO: Extracted packet for processing {"connection_id":188279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":188279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:47] local.INFO: GPS data processed {"connection_id":188279,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:47] local.INFO: Acknowledgment sent {"connection_id":188279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:49] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:49] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:49] local.INFO: IMEI packet received {"connection_id":188280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":188280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:14:50] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:50] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:14:50] local.INFO: IMEI packet received {"connection_id":188280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":188280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:14:51] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90cdc98012d1940c00720b0c80032012a25..."} 
[2026-09-19 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90cdc98012d1940c00720b0c80032012a25..."} 
[2026-09-19 15:14:51] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90cdc98012d1940c00720b0c80032012a25..."} 
[2026-09-19 15:14:51] local.INFO: Packet analysis {"connection_id":188280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90c"} 
[2026-09-19 15:14:51] local.INFO: Extracted packet for processing {"connection_id":188280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90c"} 
[2026-09-19 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119582920,"longitude_deg":75.6629696,"latitude_deg":11.958292,"altitude":50,"angle":298,"satellites":37,"speed":36,"hex_longitude":"2d1940c0","hex_latitude":"0720b0c8","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191620864001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21722510064091136,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822972717279494144,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:51] local.INFO: IO Element Parsed {"io_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-19 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789811023000,"timestamp_ms":1789811023000,"timestamp_seconds":1789811023,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90cdc98"} 
[2026-09-19 15: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-19 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:51] 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-19 15: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-19 15: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-19 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:51] 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-19 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191620864001,"66":14070,"103":206,"83":41984,"24":36,"16":21722510064091136,"45":1822972717279494144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191620864001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21722510064091136,"km_value":21722510064091.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822972717279494144,"description":"Unknown IO ID 45"} 
[2026-09-19 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191620864001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1822972717279494144}} 
[2026-09-19 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":188280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:51] local.INFO: GPS data processed {"connection_id":188280,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:51] local.INFO: Acknowledgment sent {"connection_id":188280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:14:54] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90cffc0012d1921400720c0180032012227..."} 
[2026-09-19 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90cffc0012d1921400720c0180032012227..."} 
[2026-09-19 15:14:54] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90cffc0012d1921400720c0180032012227..."} 
[2026-09-19 15:14:54] local.INFO: Packet analysis {"connection_id":188280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90c"} 
[2026-09-19 15:14:54] local.INFO: Extracted packet for processing {"connection_id":188280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90c"} 
[2026-09-19 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756621632,"raw_latitude":119586840,"longitude_deg":75.6621632,"latitude_deg":11.958684,"altitude":50,"angle":290,"satellites":39,"speed":40,"hex_longitude":"2d192140","hex_latitude":"0720c018","is_valid_coordinates":true} 
[2026-09-19 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191621888001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21722939560820736,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386303440896,"note":"Value kept but may cause issues"} 
[2026-09-19 15:14:54] local.INFO: IO Element Parsed {"io_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-19 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789811032000,"timestamp_ms":1789811032000,"timestamp_seconds":1789811032,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90cffc0"} 
[2026-09-19 15:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 15:14:54] 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-19 15:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:14:54] 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-19 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191621888001,"66":14461,"103":206,"83":41984,"24":40,"16":21722939560820736,"45":1819665386303440896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191621888001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:14:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21722939560820736,"km_value":21722939560820.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386303440896,"description":"Unknown IO ID 45"} 
[2026-09-19 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191621888001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1819665386303440896}} 
[2026-09-19 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":188280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:14:54] local.INFO: GPS data processed {"connection_id":188280,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:14:54] local.INFO: Acknowledgment sent {"connection_id":188280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:09] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:09] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:09] local.INFO: IMEI packet received {"connection_id":188281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":188281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:15:14] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:14] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:15:14] local.INFO: IMEI packet received {"connection_id":188281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:15:14] local.INFO: TCP Data received {"connection_id":189588,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:14] local.INFO: Processing buffer {"connection_id":189588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:14] local.INFO: IMEI packet received {"connection_id":189588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":189588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:15:15] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:15] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:15] local.INFO: Packet analysis {"connection_id":188281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:15] local.INFO: Extracted packet for processing {"connection_id":188281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15: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-19 15:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:15: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-19 15:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":188281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:15] local.INFO: GPS data processed {"connection_id":188281,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:15] local.INFO: Acknowledgment sent {"connection_id":188281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:19] local.INFO: TCP Data received {"connection_id":189588,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:19] local.INFO: Processing buffer {"connection_id":189588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:15:19] local.INFO: IMEI packet received {"connection_id":189588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":189588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:15:21] local.INFO: TCP Data received {"connection_id":189588,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:21] local.INFO: Processing buffer {"connection_id":189588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:21] local.INFO: Packet analysis {"connection_id":189588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:21] local.INFO: Extracted packet for processing {"connection_id":189588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:21] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:15:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":189588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:21] local.INFO: GPS data processed {"connection_id":189588,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:21] local.INFO: Acknowledgment sent {"connection_id":189588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:25] local.INFO: TCP Data received {"connection_id":188280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90d1f00012d1906c00720cc400037012e29..."} 
[2026-09-19 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90d1f00012d1906c00720cc400037012e29..."} 
[2026-09-19 15:15:25] local.INFO: Processing buffer {"connection_id":188280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90d1f00012d1906c00720cc400037012e29..."} 
[2026-09-19 15:15:25] local.INFO: Packet analysis {"connection_id":188280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90d"} 
[2026-09-19 15:15:25] local.INFO: Extracted packet for processing {"connection_id":188280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90d"} 
[2026-09-19 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756614848,"raw_latitude":119589952,"longitude_deg":75.6614848,"latitude_deg":11.9589952,"altitude":55,"angle":302,"satellites":41,"speed":32,"hex_longitude":"2d1906c0","hex_latitude":"0720cc40","is_valid_coordinates":true} 
[2026-09-19 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191624192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21723296043106304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810798924538058752,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:25] local.INFO: IO Element Parsed {"io_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-19 15:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811040000,"timestamp_ms":1789811040000,"timestamp_seconds":1789811040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90d1f00"} 
[2026-09-19 15:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:25] 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-19 15:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:15:25] 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-19 15:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191624192001,"66":14265,"103":206,"83":41984,"24":32,"16":21723296043106304,"45":1810798924538058752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191624192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21723296043106304,"km_value":21723296043106.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810798924538058752,"description":"Unknown IO ID 45"} 
[2026-09-19 15:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191624192001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1810798924538058752}} 
[2026-09-19 15:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":188280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:25] local.INFO: GPS data processed {"connection_id":188280,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:25] local.INFO: Acknowledgment sent {"connection_id":188280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:45] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:45] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:45] local.INFO: IMEI packet received {"connection_id":186973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":186973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:15:47] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:47] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909f668012d34c14006aa41400008010e29..."} 
[2026-09-19 15:15:47] local.INFO: Packet analysis {"connection_id":188281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:47] local.INFO: Extracted packet for processing {"connection_id":188281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191496192001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15: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-19 15:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789810833000,"timestamp_ms":1789810833000,"timestamp_seconds":1789810833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909f668"} 
[2026-09-19 15:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:47] 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-19 15:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:15: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-19 15:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191496192001,"66":25702,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191496192001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191496192001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":188281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:47] local.INFO: GPS data processed {"connection_id":188281,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:47] local.INFO: Acknowledgment sent {"connection_id":188281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:51] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:51] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:15:51] local.INFO: IMEI packet received {"connection_id":186973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":186973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:15:52] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90d3e40012d18f1000720dc58003b013e28..."} 
[2026-09-19 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90d3e40012d18f1000720dc58003b013e28..."} 
[2026-09-19 15:15:52] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90d3e40012d18f1000720dc58003b013e28..."} 
[2026-09-19 15:15:52] local.INFO: Packet analysis {"connection_id":186973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90d"} 
[2026-09-19 15:15:52] local.INFO: Extracted packet for processing {"connection_id":186973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90d"} 
[2026-09-19 15:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119594072,"longitude_deg":75.660928,"latitude_deg":11.9594072,"altitude":59,"angle":318,"satellites":40,"speed":37,"hex_longitude":"2d18f100","hex_latitude":"0720dc58","is_valid_coordinates":true} 
[2026-09-19 15:15: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-19 15:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191626240001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21723626755588096,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803339837656023040,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:52] local.INFO: IO Element Parsed {"io_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-19 15:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811048000,"timestamp_ms":1789811048000,"timestamp_seconds":1789811048,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90d3e40"} 
[2026-09-19 15:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:52] 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-19 15:15: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-19 15:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:15:52] 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-19 15:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191626240001,"66":14265,"103":206,"83":41984,"24":37,"16":21723626755588096,"45":1803339837656023040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191626240001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21723626755588096,"km_value":21723626755588.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803339837656023040,"description":"Unknown IO ID 45"} 
[2026-09-19 15:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191626240001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1803339837656023040}} 
[2026-09-19 15:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":186973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:52] local.INFO: GPS data processed {"connection_id":186973,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:52] local.INFO: Acknowledgment sent {"connection_id":186973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:15:52] local.INFO: TCP Data received {"connection_id":189588,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:52] local.INFO: Processing buffer {"connection_id":189588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b909b400012c7931800848f770000c01612f..."} 
[2026-09-19 15:15:52] local.INFO: Packet analysis {"connection_id":189588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:52] local.INFO: Extracted packet for processing {"connection_id":189588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b909"} 
[2026-09-19 15:15:52] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191491840001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789810816000,"timestamp_ms":1789810816000,"timestamp_seconds":1789810816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b909b400"} 
[2026-09-19 15:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:15:53] 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-19 15:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191491840001,"66":25680,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191491840001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:15:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:15:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191491840001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":189588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:15:53] local.INFO: GPS data processed {"connection_id":189588,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:15:53] local.INFO: Acknowledgment sent {"connection_id":189588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:09] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:09] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:09] local.INFO: IMEI packet received {"connection_id":186975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":186975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:16:09] local.INFO: TCP Data received {"connection_id":186974,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:09] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:09] local.INFO: IMEI packet received {"connection_id":186974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":186974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:16:12] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:12] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:12] local.INFO: IMEI packet received {"connection_id":186975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":186975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:16:14] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:14] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:16:14] local.INFO: IMEI packet received {"connection_id":186975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":186975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:16:14] local.INFO: TCP Data received {"connection_id":186974,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:14] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:16:14] local.INFO: IMEI packet received {"connection_id":186974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":186974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:16:15] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:15] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:15] local.INFO: Packet analysis {"connection_id":186975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:15] local.INFO: Extracted packet for processing {"connection_id":186975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16: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-19 15:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:16: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-19 15:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:16:15] 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-19 15:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":186975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:15] local.INFO: GPS data processed {"connection_id":186975,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:15] local.INFO: Acknowledgment sent {"connection_id":186975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:15] local.INFO: TCP Data received {"connection_id":186974,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:15] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:15] local.INFO: Packet analysis {"connection_id":186974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:15] local.INFO: Extracted packet for processing {"connection_id":186974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:16: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-19 15:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":186974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:15] local.INFO: GPS data processed {"connection_id":186974,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:15] local.INFO: Acknowledgment sent {"connection_id":186974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:23] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8a48012d188200072181400046011522..."} 
[2026-09-19 15:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8a48012d188200072181400046011522..."} 
[2026-09-19 15:16:23] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8a48012d188200072181400046011522..."} 
[2026-09-19 15:16:23] local.INFO: Packet analysis {"connection_id":186973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:23] local.INFO: Extracted packet for processing {"connection_id":186973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756580864,"raw_latitude":119636288,"longitude_deg":75.6580864,"latitude_deg":11.9636288,"altitude":70,"angle":277,"satellites":34,"speed":28,"hex_longitude":"2d188200","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-09-19 15:16: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-19 15:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21726302520213504,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509545472,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:23] 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-19 15:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811133000,"timestamp_ms":1789811133000,"timestamp_seconds":1789811133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8a48"} 
[2026-09-19 15:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:16: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":147,"data_length":795,"current_offset":136} 
[2026-09-19 15:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:16: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-19 15:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:16:23] 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-19 15:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650048001,"66":14483,"106":206,"83":41984,"24":28,"16":21726302520213504,"45":1765974034509545472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21726302520213504,"km_value":21726302520213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509545472,"description":"Unknown IO ID 45"} 
[2026-09-19 15:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650048001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1765974034509545472}} 
[2026-09-19 15:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":186973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:23] local.INFO: GPS data processed {"connection_id":186973,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:23] local.INFO: Acknowledgment sent {"connection_id":186973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:45] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:45] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:45] local.INFO: IMEI packet received {"connection_id":186860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":186860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:16:47] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:47] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:47] local.INFO: IMEI packet received {"connection_id":186860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":186860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:16:47] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:47] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:16:47] local.INFO: Packet analysis {"connection_id":186975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:47] local.INFO: Extracted packet for processing {"connection_id":186975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15: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-19 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15: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-19 15: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-19 15: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-19 15:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:16: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-19 15:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":186975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:47] local.INFO: GPS data processed {"connection_id":186975,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:47] local.INFO: Acknowledgment sent {"connection_id":186975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:47] local.INFO: TCP Data received {"connection_id":186974,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:47] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:16:47] local.INFO: Packet analysis {"connection_id":186974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:47] local.INFO: Extracted packet for processing {"connection_id":186974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15: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-19 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:16: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-19 15: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-19 15: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-19 15:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":186974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:47] local.INFO: GPS data processed {"connection_id":186974,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:47] local.INFO: Acknowledgment sent {"connection_id":186974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:16:51] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:51] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:16:51] local.INFO: IMEI packet received {"connection_id":186860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":186860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:16:52] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e99e8012d187700072181a80046010823..."} 
[2026-09-19 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e99e8012d187700072181a80046010823..."} 
[2026-09-19 15:16:52] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e99e8012d187700072181a80046010823..."} 
[2026-09-19 15:16:52] local.INFO: Packet analysis {"connection_id":186860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:52] local.INFO: Extracted packet for processing {"connection_id":186860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636392,"longitude_deg":75.6578048,"latitude_deg":11.9636392,"altitude":70,"angle":264,"satellites":35,"speed":27,"hex_longitude":"2d187700","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-09-19 15:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21726435664199680,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509545472,"note":"Value kept but may cause issues"} 
[2026-09-19 15:16:52] 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-19 15:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811137000,"timestamp_ms":1789811137000,"timestamp_seconds":1789811137,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e99e8"} 
[2026-09-19 15:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-19 15:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:16:52] 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-19 15:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650048001,"66":14080,"106":206,"83":41984,"24":27,"16":21726435664199680,"45":1765974034509545472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:16:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21726435664199680,"km_value":21726435664199.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509545472,"description":"Unknown IO ID 45"} 
[2026-09-19 15:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650048001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1765974034509545472}} 
[2026-09-19 15:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":186860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:16:52] local.INFO: GPS data processed {"connection_id":186860,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:16:52] local.INFO: Acknowledgment sent {"connection_id":186860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:09] local.INFO: TCP Data received {"connection_id":186977,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:09] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:09] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:17:09] local.INFO: TCP Data received {"connection_id":186976,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:09] local.INFO: Processing buffer {"connection_id":186976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:09] local.INFO: IMEI packet received {"connection_id":186976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:17:14] local.INFO: TCP Data received {"connection_id":186977,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:14] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:17:14] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:17:15] local.INFO: TCP Data received {"connection_id":186977,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:15] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:15] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:15] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:17: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-19 15:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:15] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:15] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:17] local.INFO: TCP Data received {"connection_id":186976,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:17] local.INFO: Processing buffer {"connection_id":186976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:17:17] local.INFO: IMEI packet received {"connection_id":186976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":186976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:17:19] local.INFO: TCP Data received {"connection_id":186976,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:19] local.INFO: Processing buffer {"connection_id":186976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:19] local.INFO: Packet analysis {"connection_id":186976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:19] local.INFO: Extracted packet for processing {"connection_id":186976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15: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-19 15:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:17:19] 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-19 15:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":186976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:19] local.INFO: GPS data processed {"connection_id":186976,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:19] local.INFO: Acknowledgment sent {"connection_id":186976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:23] local.INFO: TCP Data received {"connection_id":186860,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90eb540012d186580072181180047011520..."} 
[2026-09-19 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90eb540012d186580072181180047011520..."} 
[2026-09-19 15:17:23] local.INFO: Processing buffer {"connection_id":186860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90eb540012d186580072181180047011520..."} 
[2026-09-19 15:17:23] local.INFO: Packet analysis {"connection_id":186860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:23] local.INFO: Extracted packet for processing {"connection_id":186860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119636248,"longitude_deg":75.6573568,"latitude_deg":11.9636248,"altitude":71,"angle":277,"satellites":32,"speed":25,"hex_longitude":"2d186580","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-09-19 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191651072001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21726650412564480,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765754880,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.INFO: IO Element Parsed {"io_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-19 15:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811144000,"timestamp_ms":1789811144000,"timestamp_seconds":1789811144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90eb540"} 
[2026-09-19 15:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3104710864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3221692787,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,48,160,138,45,129,70,34,10,66,47,87,64,1,240,27,227,185,33,4,113,205,26,79,169,56,39,239,2,77,7,62,30],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-19 15:17:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044322004050313216,"timestamp_seconds":5044322004050313.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:17:23] 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-19 15:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191651072001,"66":14352,"105":206,"83":41984,"24":25,"16":21726650412564480,"45":1762877809765754880},"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-19 15:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191651072001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21726650412564480,"km_value":21726650412564.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765754880,"description":"Unknown IO ID 45"} 
[2026-09-19 15:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191651072001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1762877809765754880}} 
[2026-09-19 15:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":186860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:23] local.INFO: GPS data processed {"connection_id":186860,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:23] local.INFO: Acknowledgment sent {"connection_id":186860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:47] local.INFO: TCP Data received {"connection_id":186977,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:47] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:17:47] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:47] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:47] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:47] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:51] local.INFO: TCP Data received {"connection_id":186976,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:51] local.INFO: Processing buffer {"connection_id":186976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:17:51] local.INFO: Packet analysis {"connection_id":186976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:51] local.INFO: Extracted packet for processing {"connection_id":186976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17: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-19 15:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:17: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-19 15:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":186976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:51] local.INFO: GPS data processed {"connection_id":186976,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:51] local.INFO: Acknowledgment sent {"connection_id":186976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:17:51] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:51] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:51] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:17:56] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:56] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:17:56] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:17:57] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90ec0f8012d185e00072183380047012320..."} 
[2026-09-19 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90ec0f8012d185e00072183380047012320..."} 
[2026-09-19 15:17:57] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90ec0f8012d185e00072183380047012320..."} 
[2026-09-19 15:17:57] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:57] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119636792,"longitude_deg":75.6571648,"latitude_deg":11.9636792,"altitude":71,"angle":291,"satellites":32,"speed":25,"hex_longitude":"2d185e00","hex_latitude":"07218338","is_valid_coordinates":true} 
[2026-09-19 15:17: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-19 15:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191652864001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21726744901844992,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673281536,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.INFO: IO Element Parsed {"io_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-19 15:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789811147000,"timestamp_ms":1789811147000,"timestamp_seconds":1789811147,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90ec0f8"} 
[2026-09-19 15:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4413519795121029058,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3104722864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6280269813512142858,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503931136573440,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638942602357354,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3221692787,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84751179829420375,"note":"Value kept but may cause issues"} 
[2026-09-19 15:17:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":17452832173071872,"corrected_to":0} 
[2026-09-19 15:17:57] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,48,160,153,45,129,70,35,10,66,106,138,34,47,1,240,147,227,185,33,4,113,205,27,79,169,56,39,239,2,77,7,68,26,206,208,200],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":17452832173071872,"validated":0}]} 
[2026-09-19 15:17:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116393878854369280,"timestamp_seconds":5116393878854369.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:17:57] 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-19 15:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191652864001,"66":14483,"105":206,"83":41984,"24":25,"16":21726744901844992,"45":1757951997673281536},"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-19 15:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191652864001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21726744901844992,"km_value":21726744901844.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673281536,"description":"Unknown IO ID 45"} 
[2026-09-19 15:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191652864001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1757951997673281536}} 
[2026-09-19 15:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:17:57] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:17:57] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:09] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:09] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:09] local.INFO: IMEI packet received {"connection_id":186978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":186978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:18:14] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:14] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:18:14] local.INFO: IMEI packet received {"connection_id":186978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:18:14] local.INFO: TCP Data received {"connection_id":186979,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:14] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:14] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:18:16] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:16] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:16] local.INFO: Packet analysis {"connection_id":186978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:16] local.INFO: Extracted packet for processing {"connection_id":186978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18: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-19 15:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:18: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-19 15:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":186978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:16] local.INFO: GPS data processed {"connection_id":186978,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:16] local.INFO: Acknowledgment sent {"connection_id":186978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:19] local.INFO: TCP Data received {"connection_id":186979,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:19] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:18:19] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:18:20] local.INFO: TCP Data received {"connection_id":186979,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:20] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:20] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:20] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:20] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:20] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:25] local.INFO: TCP Data received {"connection_id":186979,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:25] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:18:25] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:25] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:18: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-19 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:18: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-19 15:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:25] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:25] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:27] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90eff78012d183cc007219368004b012226..."} 
[2026-09-19 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90eff78012d183cc007219368004b012226..."} 
[2026-09-19 15:18:27] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90eff78012d183cc007219368004b012226..."} 
[2026-09-19 15:18:27] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:27] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119640936,"longitude_deg":75.6563136,"latitude_deg":11.9640936,"altitude":75,"angle":290,"satellites":38,"speed":23,"hex_longitude":"2d183cc0","hex_latitude":"07219368","is_valid_coordinates":true} 
[2026-09-19 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191653632001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21727195873411072,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935348090880,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:27] local.INFO: IO Element Parsed {"io_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-19 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789811163000,"timestamp_ms":1789811163000,"timestamp_seconds":1789811163,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90eff78"} 
[2026-09-19 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-19 15:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:18:27] 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-19 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191653632001,"66":13102,"105":206,"83":41984,"24":23,"16":21727195873411072,"45":1755840935348090880},"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-19 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191653632001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21727195873411072,"km_value":21727195873411.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935348090880,"description":"Unknown IO ID 45"} 
[2026-09-19 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191653632001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1755840935348090880}} 
[2026-09-19 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:27] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:27] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:44] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:44] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:44] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:18:46] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:46] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:46] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:18:47] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:47] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:18:47] local.INFO: Packet analysis {"connection_id":186978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:47] local.INFO: Extracted packet for processing {"connection_id":186978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18: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-19 15:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:18: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-19 15:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:18: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-19 15:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:47] local.INFO: GPS data processed {"connection_id":186978,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:47] local.INFO: Acknowledgment sent {"connection_id":186978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:18:51] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:51] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:18:51] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:18:52] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90f16e8012d18328007219720004c012d25..."} 
[2026-09-19 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90f16e8012d18328007219720004c012d25..."} 
[2026-09-19 15:18:52] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90f16e8012d18328007219720004c012d25..."} 
[2026-09-19 15:18:52] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:18:52] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756560512,"raw_latitude":119641888,"longitude_deg":75.6560512,"latitude_deg":11.9641888,"altitude":76,"angle":301,"satellites":37,"speed":11,"hex_longitude":"2d183280","hex_latitude":"07219720","is_valid_coordinates":true} 
[2026-09-19 15:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191657728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21727329017397248,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746481892373522432,"note":"Value kept but may cause issues"} 
[2026-09-19 15:18:52] local.INFO: IO Element Parsed {"io_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-19 15:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811169000,"timestamp_ms":1789811169000,"timestamp_seconds":1789811169,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90f16e8"} 
[2026-09-19 15:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 15:18:52] 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-19 15:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:18:52] 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-19 15:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191657728001,"66":13135,"105":206,"83":41984,"24":11,"16":21727329017397248,"45":1746481892373522432},"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-19 15:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191657728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:18:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21727329017397248,"km_value":21727329017397.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746481892373522432,"description":"Unknown IO ID 45"} 
[2026-09-19 15:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191657728001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1746481892373522432}} 
[2026-09-19 15:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:18:52] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:18:52] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:09] local.INFO: TCP Data received {"connection_id":188283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:09] local.INFO: Processing buffer {"connection_id":188283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:09] local.INFO: IMEI packet received {"connection_id":188283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:19:09] local.INFO: TCP Data received {"connection_id":186861,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:09] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:09] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:19:14] local.INFO: TCP Data received {"connection_id":188283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:14] local.INFO: Processing buffer {"connection_id":188283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:19:14] local.INFO: IMEI packet received {"connection_id":188283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":188283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:19:14] local.INFO: TCP Data received {"connection_id":186861,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:14] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:19:14] local.INFO: IMEI packet received {"connection_id":186861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":186861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:19:15] local.INFO: TCP Data received {"connection_id":188283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:15] local.INFO: Processing buffer {"connection_id":188283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:15] local.INFO: Packet analysis {"connection_id":188283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:15] local.INFO: Extracted packet for processing {"connection_id":188283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15: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-19 15:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:19: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-19 15: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-19 15: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-19 15:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:19: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-19 15:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":188283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:15] local.INFO: GPS data processed {"connection_id":188283,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:15] local.INFO: Acknowledgment sent {"connection_id":188283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:15] local.INFO: TCP Data received {"connection_id":186861,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:15] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:15] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:15] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15: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-19 15:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:19: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-19 15: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-19 15: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-19 15:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:16] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:16] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:22] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90f5180012d182a4007219e50004e003b23..."} 
[2026-09-19 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90f5180012d182a4007219e50004e003b23..."} 
[2026-09-19 15:19:22] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90f5180012d182a4007219e50004e003b23..."} 
[2026-09-19 15:19:22] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:19:22] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643728,"longitude_deg":75.65584,"latitude_deg":11.9643728,"altitude":78,"angle":59,"satellites":35,"speed":5,"hex_longitude":"2d182a40","hex_latitude":"07219e50","is_valid_coordinates":true} 
[2026-09-19 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191659264001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21727483636219904,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773862481920,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:22] local.INFO: IO Element Parsed {"io_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-19 15:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789811184000,"timestamp_ms":1789811184000,"timestamp_seconds":1789811184,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90f5180"} 
[2026-09-19 15:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 15:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:19:22] 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-19 15:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191659264001,"66":13135,"105":206,"83":41984,"24":5,"16":21727483636219904,"45":1743596773862481920},"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-19 15:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191659264001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21727483636219904,"km_value":21727483636219.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773862481920,"description":"Unknown IO ID 45"} 
[2026-09-19 15:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191659264001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1743596773862481920}} 
[2026-09-19 15:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:22] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:22] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:45] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:45] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:45] local.INFO: IMEI packet received {"connection_id":189589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":189589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:19:46] local.INFO: TCP Data received {"connection_id":188283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:46] local.INFO: Processing buffer {"connection_id":188283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:19:46] local.INFO: Packet analysis {"connection_id":188283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:46] local.INFO: Extracted packet for processing {"connection_id":188283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15: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-19 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:19: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-19 15: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-19 15: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-19 15:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:19: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-19 15:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":188283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:46] local.INFO: GPS data processed {"connection_id":188283,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:46] local.INFO: Acknowledgment sent {"connection_id":188283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:47] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: IMEI packet received {"connection_id":189589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":189589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:19:47] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:47] local.INFO: IMEI packet received {"connection_id":189589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":189589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:19:48] local.INFO: TCP Data received {"connection_id":186861,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:48] local.INFO: Processing buffer {"connection_id":186861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:19:48] local.INFO: Packet analysis {"connection_id":186861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:48] local.INFO: Extracted packet for processing {"connection_id":186861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:19:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:19: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-19 15:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:19:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":186861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:48] local.INFO: GPS data processed {"connection_id":186861,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:48] local.INFO: Acknowledgment sent {"connection_id":186861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:19:51] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:51] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:19:51] local.INFO: IMEI packet received {"connection_id":189589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":189589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:19:52] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90fa388012d182bc007219d90004e003b21..."} 
[2026-09-19 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90fa388012d182bc007219d90004e003b21..."} 
[2026-09-19 15:19:52] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90fa388012d182bc007219d90004e003b21..."} 
[2026-09-19 15:19:52] local.INFO: Packet analysis {"connection_id":189589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:19:52] local.INFO: Extracted packet for processing {"connection_id":189589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90f"} 
[2026-09-19 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643536,"longitude_deg":75.6558784,"latitude_deg":11.9643536,"altitude":78,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d182bc0","hex_latitude":"07219d90","is_valid_coordinates":true} 
[2026-09-19 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191663104001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21727517995958272,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305090048,"note":"Value kept but may cause issues"} 
[2026-09-19 15:19:52] local.INFO: IO Element Parsed {"io_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-19 15:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811205000,"timestamp_ms":1789811205000,"timestamp_seconds":1789811205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90fa388"} 
[2026-09-19 15:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 15:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:19:52] 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-19 15:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191663104001,"66":13015,"105":206,"83":41984,"24":0,"16":21727517995958272,"45":1741274605305090048},"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-19 15:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191663104001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:19:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21727517995958272,"km_value":21727517995958.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305090048,"description":"Unknown IO ID 45"} 
[2026-09-19 15:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191663104001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305090048}} 
[2026-09-19 15:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":189589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:19:52] local.INFO: GPS data processed {"connection_id":189589,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:19:52] local.INFO: Acknowledgment sent {"connection_id":189589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:10] local.INFO: TCP Data received {"connection_id":189590,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:10] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:10] local.INFO: IMEI packet received {"connection_id":189590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":189590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:20:14] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:14] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:14] local.INFO: IMEI packet received {"connection_id":188284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":188284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:20:14] local.INFO: TCP Data received {"connection_id":189590,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:14] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:20:14] local.INFO: IMEI packet received {"connection_id":189590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":189590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:20:15] local.INFO: TCP Data received {"connection_id":189590,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:15] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:15] local.INFO: Packet analysis {"connection_id":189590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:15] local.INFO: Extracted packet for processing {"connection_id":189590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15: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-19 15:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:20: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-19 15: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-19 15: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-19 15:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:20:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":189590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:15] local.INFO: GPS data processed {"connection_id":189590,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:15] local.INFO: Acknowledgment sent {"connection_id":189590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:19] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:19] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:20:19] local.INFO: IMEI packet received {"connection_id":188284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":188284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:20:20] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:20] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:20] local.INFO: Packet analysis {"connection_id":188284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:20] local.INFO: Extracted packet for processing {"connection_id":188284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15: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-19 15:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:20:20] 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-19 15:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":188284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:20] local.INFO: GPS data processed {"connection_id":188284,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:20] local.INFO: Acknowledgment sent {"connection_id":188284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:23] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:23] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:23] local.INFO: Packet analysis {"connection_id":189589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:20:23] local.INFO: Extracted packet for processing {"connection_id":189589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632432,"longitude_deg":75.6591744,"latitude_deg":11.9632432,"altitude":77,"angle":125,"satellites":38,"speed":32,"hex_longitude":"2d18ac80","hex_latitude":"07217230","is_valid_coordinates":true} 
[2026-09-19 15:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191710208001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21729218803007488,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768296203067291648,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:23] 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-19 15:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811379000,"timestamp_ms":1789811379000,"timestamp_seconds":1789811379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9124b38"} 
[2026-09-19 15:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 15:20:23] 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-19 15:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:20:23] 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-19 15:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191710208001,"66":14080,"106":206,"83":41984,"24":32,"16":21729218803007488,"45":1768296203067291648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191710208001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21729218803007488,"km_value":21729218803007.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768296203067291648,"description":"Unknown IO ID 45"} 
[2026-09-19 15:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191710208001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1768296203067291648}} 
[2026-09-19 15:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":189589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:23] local.INFO: GPS data processed {"connection_id":189589,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:23] local.INFO: Acknowledgment sent {"connection_id":189589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:24] local.INFO: TCP Data received {"connection_id":188284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:25] local.INFO: Processing buffer {"connection_id":188284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e8e30012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:20:25] local.INFO: Packet analysis {"connection_id":188284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:25] local.INFO: Extracted packet for processing {"connection_id":188284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:20: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-19 15:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191573248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811134000,"timestamp_ms":1789811134000,"timestamp_seconds":1789811134,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e8e30"} 
[2026-09-19 15:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 15:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:20: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-19 15:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:20:25] 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-19 15:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191573248001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191573248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191573248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":188284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:25] local.INFO: GPS data processed {"connection_id":188284,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:25] local.INFO: Acknowledgment sent {"connection_id":188284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:46] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:46] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:46] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:20:47] local.INFO: TCP Data received {"connection_id":189590,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:47] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b90e4bc8012c7931800848f770000c01612f..."} 
[2026-09-19 15:20:47] local.INFO: Packet analysis {"connection_id":189590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:47] local.INFO: Extracted packet for processing {"connection_id":189590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b90e"} 
[2026-09-19 15:20:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191568896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811117000,"timestamp_ms":1789811117000,"timestamp_seconds":1789811117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b90e4bc8"} 
[2026-09-19 15:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:20: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-19 15:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191568896001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191568896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:20:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191568896001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":189590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:47] local.INFO: GPS data processed {"connection_id":189590,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:47] local.INFO: Acknowledgment sent {"connection_id":189590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:20:52] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:52] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:20:52] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:20:53] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:53] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9124b38012d18ac8007217230004d007d26..."} 
[2026-09-19 15:20:53] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:20:53] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632432,"longitude_deg":75.6591744,"latitude_deg":11.9632432,"altitude":77,"angle":125,"satellites":38,"speed":32,"hex_longitude":"2d18ac80","hex_latitude":"07217230","is_valid_coordinates":true} 
[2026-09-19 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191713024001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21729218803007488,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018761216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] 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-19 15:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789811379000,"timestamp_ms":1789811379000,"timestamp_seconds":1789811379,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9124b38"} 
[2026-09-19 15:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3104953864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2171600972,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-19 15:20:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-09-19 15:20:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,50,160,32,45,64,127,77,37,10,66,20,130,35,4,128,1,240,250,227,49,185,33,113,205,38,214,78,144,239,54,2,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-19 15:20:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548572343084777472,"timestamp_seconds":5548572343084777.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:20:53] 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-19 15:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191713024001,"66":14080,"106":206,"83":41984,"24":32,"16":21729218803007488,"45":1777936721018761216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191713024001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:20:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21729218803007488,"km_value":21729218803007.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018761216,"description":"Unknown IO ID 45"} 
[2026-09-19 15:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191713024001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1777936721018761216}} 
[2026-09-19 15:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:20:53] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:20:53] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:09] local.INFO: TCP Data received {"connection_id":188285,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:09] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:09] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:21:10] local.INFO: TCP Data received {"connection_id":189591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:10] local.INFO: Processing buffer {"connection_id":189591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:10] local.INFO: IMEI packet received {"connection_id":189591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":189591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:21:13] local.INFO: TCP Data received {"connection_id":189591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:13] local.INFO: Processing buffer {"connection_id":189591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:21:13] local.INFO: IMEI packet received {"connection_id":189591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":189591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:21:14] local.INFO: TCP Data received {"connection_id":188285,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:14] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:21:14] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:21:14] local.INFO: TCP Data received {"connection_id":189591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:14] local.INFO: Processing buffer {"connection_id":189591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:14] local.INFO: Packet analysis {"connection_id":189591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:14] local.INFO: Extracted packet for processing {"connection_id":189591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:14] 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-19 15:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:21:14] 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-19 15: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-19 15: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-19 15:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21:14] 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-19 15:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":189591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:14] local.INFO: GPS data processed {"connection_id":189591,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:14] local.INFO: Acknowledgment sent {"connection_id":189591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:15] local.INFO: TCP Data received {"connection_id":188285,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:15] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:15] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:15] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:21: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-19 15:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:21:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:15] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:15] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:16] local.INFO: TCP Data received {"connection_id":189591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:16] local.INFO: Processing buffer {"connection_id":189591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:16] local.INFO: Packet analysis {"connection_id":189591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:16] local.INFO: Extracted packet for processing {"connection_id":189591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:16] 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-19 15:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:21:16] 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-19 15: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-19 15: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-19 15:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21:16] 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-19 15:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":189591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:16] local.INFO: GPS data processed {"connection_id":189591,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:16] local.INFO: Acknowledgment sent {"connection_id":189591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:24] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9125308012d18b14007216da0004d008d26..."} 
[2026-09-19 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9125308012d18b14007216da0004d008d26..."} 
[2026-09-19 15:21:24] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9125308012d18b14007216da0004d008d26..."} 
[2026-09-19 15:21:24] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:24] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756592960,"raw_latitude":119631264,"longitude_deg":75.659296,"latitude_deg":11.9631264,"altitude":77,"angle":141,"satellites":38,"speed":33,"hex_longitude":"2d18b140","hex_latitude":"07216da0","is_valid_coordinates":true} 
[2026-09-19 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191713024001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21729300407386112,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018761216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789811381000,"timestamp_ms":1789811381000,"timestamp_seconds":1789811381,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9125308"} 
[2026-09-19 15:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3104953864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-19 15:21:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,50,160,75,45,128,114,77,38,10,66,32,64,127,37,20,1,240,227,185,33,4,113,205,21,245,108,112,239,56,2,7,35],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-19 15:21:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548572343084777472,"timestamp_seconds":5548572343084777.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:21:24] 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-19 15:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191713024001,"66":14048,"106":206,"83":41984,"24":33,"16":21729300407386112,"45":1777936721018761216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191713024001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21729300407386112,"km_value":21729300407386.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018761216,"description":"Unknown IO ID 45"} 
[2026-09-19 15:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191713024001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777936721018761216}} 
[2026-09-19 15:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:24] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:24] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:45] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:45] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:45] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:21:47] local.INFO: TCP Data received {"connection_id":188285,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:47] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:21:47] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:47] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:21: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-19 15: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-19 15: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-19 15:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:47] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:47] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:47] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:47] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:47] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:21:47] local.INFO: TCP Data received {"connection_id":189591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:47] local.INFO: Processing buffer {"connection_id":189591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:21:47] local.INFO: Packet analysis {"connection_id":189591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:47] local.INFO: Extracted packet for processing {"connection_id":189591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21: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-19 15:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:21:47] 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-19 15: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-19 15: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-19 15:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:21: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-19 15:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":189591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:47] local.INFO: GPS data processed {"connection_id":189591,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:47] local.INFO: Acknowledgment sent {"connection_id":189591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:21:51] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:51] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:21:51] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:21:52] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91358c0012d18d7800720fd70003d016723..."} 
[2026-09-19 15:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91358c0012d18d7800720fd70003d016723..."} 
[2026-09-19 15:21:52] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91358c0012d18d7800720fd70003d016723..."} 
[2026-09-19 15:21:52] local.INFO: Packet analysis {"connection_id":188286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:52] local.INFO: Extracted packet for processing {"connection_id":188286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602544,"longitude_deg":75.6602752,"latitude_deg":11.9602544,"altitude":61,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d18d780","hex_latitude":"0720fd70","is_valid_coordinates":true} 
[2026-09-19 15:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191729664001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21730825120776192,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009672192,"note":"Value kept but may cause issues"} 
[2026-09-19 15:21:52] local.INFO: IO Element Parsed {"io_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-19 15:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811448000,"timestamp_ms":1789811448000,"timestamp_seconds":1789811448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91358c0"} 
[2026-09-19 15:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-19 15:21:52] 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-19 15:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:21:52] 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-19 15:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191729664001,"66":14048,"103":206,"83":41984,"24":0,"16":21730825120776192,"45":1790040145009672192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191729664001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:21:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21730825120776192,"km_value":21730825120776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009672192,"description":"Unknown IO ID 45"} 
[2026-09-19 15:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191729664001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1790040145009672192}} 
[2026-09-19 15:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":188286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:21:52] local.INFO: GPS data processed {"connection_id":188286,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:21:52] local.INFO: Acknowledgment sent {"connection_id":188286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:09] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:09] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:09] local.INFO: IMEI packet received {"connection_id":188287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:22:14] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:14] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:22:14] local.INFO: IMEI packet received {"connection_id":188287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:22:14] local.INFO: TCP Data received {"connection_id":186862,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:14] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:14] local.INFO: IMEI packet received {"connection_id":186862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":186862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:22:15] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:15] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:15] local.INFO: Packet analysis {"connection_id":188287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:22:15] local.INFO: Extracted packet for processing {"connection_id":188287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22: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-19 15:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:22: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-19 15:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":188287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:15] local.INFO: GPS data processed {"connection_id":188287,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:15] local.INFO: Acknowledgment sent {"connection_id":188287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:22] local.INFO: TCP Data received {"connection_id":186862,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:22] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:22:22] local.INFO: IMEI packet received {"connection_id":186862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":186862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:22:23] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9140888012d18c640072153f00043005428..."} 
[2026-09-19 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9140888012d18c640072153f00043005428..."} 
[2026-09-19 15:22:23] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9140888012d18c640072153f00043005428..."} 
[2026-09-19 15:22:23] local.INFO: Packet analysis {"connection_id":188286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:22:23] local.INFO: Extracted packet for processing {"connection_id":188286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119624688,"longitude_deg":75.6598336,"latitude_deg":11.9624688,"altitude":67,"angle":84,"satellites":40,"speed":11,"hex_longitude":"2d18c640","hex_latitude":"072153f0","is_valid_coordinates":true} 
[2026-09-19 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191741952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21731976172011520,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226690351104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.INFO: IO Element Parsed {"io_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-19 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811493000,"timestamp_ms":1789811493000,"timestamp_seconds":1789811493,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9140888"} 
[2026-09-19 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:23] 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-19 15:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:22:23] 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-19 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191741952001,"66":14341,"103":206,"83":41984,"24":11,"16":21731976172011520,"45":1784903226690351104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191741952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21731976172011520,"km_value":21731976172011.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226690351104,"description":"Unknown IO ID 45"} 
[2026-09-19 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191741952001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1784903226690351104}} 
[2026-09-19 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":188286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:23] local.INFO: GPS data processed {"connection_id":188286,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:23] local.INFO: Acknowledgment sent {"connection_id":188286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:23] local.INFO: TCP Data received {"connection_id":186862,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:23] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:23] local.INFO: Packet analysis {"connection_id":186862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:22:23] local.INFO: Extracted packet for processing {"connection_id":186862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":186862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:23] local.INFO: GPS data processed {"connection_id":186862,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:23] local.INFO: Acknowledgment sent {"connection_id":186862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:24] local.INFO: TCP Data received {"connection_id":186862,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:24] local.INFO: Processing buffer {"connection_id":186862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:22:24] local.INFO: Packet analysis {"connection_id":186862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:22:24] local.INFO: Extracted packet for processing {"connection_id":186862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:22:24] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15: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-19 15: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-19 15:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:22:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":186862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:24] local.INFO: GPS data processed {"connection_id":186862,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:24] local.INFO: Acknowledgment sent {"connection_id":186862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:45] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:45] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:45] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:22:47] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:47] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:47] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:22:47] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:47] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:22:47] local.INFO: Packet analysis {"connection_id":188287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:22:47] local.INFO: Extracted packet for processing {"connection_id":188287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22: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-19 15:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:47] 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-19 15: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-19 15: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-19 15:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:22: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-19 15:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":188287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:47] local.INFO: GPS data processed {"connection_id":188287,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:47] local.INFO: Acknowledgment sent {"connection_id":188287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:22:51] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:51] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:22:51] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:22:51] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9140c70012d18c7c0072153d00043006428..."} 
[2026-09-19 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9140c70012d18c7c0072153d00043006428..."} 
[2026-09-19 15:22:51] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9140c70012d18c7c0072153d00043006428..."} 
[2026-09-19 15:22:51] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:22:51] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119624656,"longitude_deg":75.659872,"latitude_deg":11.9624656,"altitude":67,"angle":100,"satellites":40,"speed":15,"hex_longitude":"2d18c7c0","hex_latitude":"072153d0","is_valid_coordinates":true} 
[2026-09-19 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191742208001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21731993351880704,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701667078144,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.INFO: IO Element Parsed {"io_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-19 15:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789811494000,"timestamp_ms":1789811494000,"timestamp_seconds":1789811494,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9140c70"} 
[2026-09-19 15:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991451050,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3105078864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503931222097920,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3221692716,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531192,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84751257138831642,"corrected_to":0} 
[2026-09-19 15:22:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":17732924237422336,"note":"Value kept but may cause issues"} 
[2026-09-19 15:22:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,53,160,4,45,64,67,40,10,66,128,41,233,1,240,55,227,52,185,33,113,205,32,194,207,239,54,2,77,7,65,30,206,200,120],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":84751257138831642,"validated":0}]} 
[2026-09-19 15:22:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827951331317317632,"timestamp_seconds":4827951331317318.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:22:51] 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-19 15:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191742208001,"66":14341,"103":206,"83":41984,"24":15,"16":21731993351880704,"45":1785184701667078144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191742208001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:22:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21731993351880704,"km_value":21731993351880.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701667078144,"description":"Unknown IO ID 45"} 
[2026-09-19 15:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191742208001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1785184701667078144}} 
[2026-09-19 15:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:22:52] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:22:52] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:09] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:09] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:09] local.INFO: IMEI packet received {"connection_id":186983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":186983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:23:09] local.INFO: TCP Data received {"connection_id":186982,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:09] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:09] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:23:14] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:14] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:23:14] local.INFO: IMEI packet received {"connection_id":186983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":186983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:23:14] local.INFO: TCP Data received {"connection_id":186982,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:14] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:23:14] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:23:15] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:15] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:15] local.INFO: Packet analysis {"connection_id":186983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:23:15] local.INFO: Extracted packet for processing {"connection_id":186983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23: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-19 15:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:23:15] 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-19 15:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":186983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:15] local.INFO: GPS data processed {"connection_id":186983,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:15] local.INFO: Acknowledgment sent {"connection_id":186983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:15] local.INFO: TCP Data received {"connection_id":186982,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:15] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:15] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:23:15] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:23: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-19 15: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-19 15: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-19 15:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:15] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:15] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:22] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b914db78012d18e00007214cd80043007d26..."} 
[2026-09-19 15:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b914db78012d18e00007214cd80043007d26..."} 
[2026-09-19 15:23:22] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b914db78012d18e00007214cd80043007d26..."} 
[2026-09-19 15:23:22] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:23:22] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119622872,"longitude_deg":75.6604928,"latitude_deg":11.9622872,"altitude":67,"angle":125,"satellites":38,"speed":7,"hex_longitude":"2d18e000","hex_latitude":"07214cd8","is_valid_coordinates":true} 
[2026-09-19 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191755008001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21732487273119744,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469852080128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:22] local.INFO: IO Element Parsed {"io_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-19 15:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789811547000,"timestamp_ms":1789811547000,"timestamp_seconds":1789811547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b914db78"} 
[2026-09-19 15:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 15:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:23:22] 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-19 15:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191755008001,"66":14026,"103":206,"83":41984,"24":7,"16":21732487273119744,"45":1792010469852080128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191755008001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21732487273119744,"km_value":21732487273119.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469852080128,"description":"Unknown IO ID 45"} 
[2026-09-19 15:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191755008001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1792010469852080128}} 
[2026-09-19 15:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:23] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:23] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:46] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:46] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:23:46] local.INFO: Packet analysis {"connection_id":186983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:23:46] local.INFO: Extracted packet for processing {"connection_id":186983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:46] 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-19 15:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:23: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-19 15:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:23: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-19 15:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:47] local.INFO: GPS data processed {"connection_id":186983,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:47] local.INFO: Acknowledgment sent {"connection_id":186983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:47] local.INFO: TCP Data received {"connection_id":186982,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:47] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:23:47] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:23:47] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:23:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:23: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-19 15: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-19 15: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-19 15:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:23:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:47] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:47] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:23:51] local.INFO: TCP Data received {"connection_id":189592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:51] local.INFO: Processing buffer {"connection_id":189592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:51] local.INFO: IMEI packet received {"connection_id":189592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":189592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:23:56] local.INFO: TCP Data received {"connection_id":189592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:56] local.INFO: Processing buffer {"connection_id":189592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:23:56] local.INFO: IMEI packet received {"connection_id":189592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":189592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:23:57] local.INFO: TCP Data received {"connection_id":189592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b914df60012d18e08007214ca00043006f27..."} 
[2026-09-19 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b914df60012d18e08007214ca00043006f27..."} 
[2026-09-19 15:23:57] local.INFO: Processing buffer {"connection_id":189592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b914df60012d18e08007214ca00043006f27..."} 
[2026-09-19 15:23:57] local.INFO: Packet analysis {"connection_id":189592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:23:57] local.INFO: Extracted packet for processing {"connection_id":189592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756605056,"raw_latitude":119622816,"longitude_deg":75.6605056,"latitude_deg":11.9622816,"altitude":67,"angle":111,"satellites":39,"speed":6,"hex_longitude":"2d18e080","hex_latitude":"07214ca0","is_valid_coordinates":true} 
[2026-09-19 15:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191756032001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21732495863054336,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682316912640,"note":"Value kept but may cause issues"} 
[2026-09-19 15:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789811548000,"timestamp_ms":1789811548000,"timestamp_seconds":1789811548,"priority":1,"record_length":96,"hex_timestamp":"000001a0b914df60"} 
[2026-09-19 15:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-19 15:23:57] 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-19 15:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:23:57] 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-19 15:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191756032001,"66":14026,"103":206,"83":41984,"24":6,"16":21732495863054336,"45":1792432682316912640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191756032001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21732495863054336,"km_value":21732495863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682316912640,"description":"Unknown IO ID 45"} 
[2026-09-19 15:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191756032001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1792432682316912640}} 
[2026-09-19 15:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":189592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:23:57] local.INFO: GPS data processed {"connection_id":189592,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:23:57] local.INFO: Acknowledgment sent {"connection_id":189592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:01] local.INFO: TCP Data received {"connection_id":189592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b914e348012d18e18007214c880043005926..."} 
[2026-09-19 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b914e348012d18e18007214c880043005926..."} 
[2026-09-19 15:24:01] local.INFO: Processing buffer {"connection_id":189592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b914e348012d18e18007214c880043005926..."} 
[2026-09-19 15:24:01] local.INFO: Packet analysis {"connection_id":189592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:24:01] local.INFO: Extracted packet for processing {"connection_id":189592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b914"} 
[2026-09-19 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756605312,"raw_latitude":119622792,"longitude_deg":75.6605312,"latitude_deg":11.9622792,"altitude":67,"angle":89,"satellites":38,"speed":6,"hex_longitude":"2d18e180","hex_latitude":"07214c88","is_valid_coordinates":true} 
[2026-09-19 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191756288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21732504452988928,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419805253632,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789811549000,"timestamp_ms":1789811549000,"timestamp_seconds":1789811549,"priority":1,"record_length":96,"hex_timestamp":"000001a0b914e348"} 
[2026-09-19 15:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-19 15:24:01] 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-19 15:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":189592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":189592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":189592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:24: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-19 15:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191756288001,"66":14004,"103":206,"83":41984,"24":6,"16":21732504452988928,"45":1792573419805253632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191756288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21732504452988928,"km_value":21732504452988.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419805253632,"description":"Unknown IO ID 45"} 
[2026-09-19 15:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191756288001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1792573419805253632}} 
[2026-09-19 15:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":189592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:01] local.INFO: GPS data processed {"connection_id":189592,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:01] local.INFO: Acknowledgment sent {"connection_id":189592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:09] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:09] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:09] local.INFO: IMEI packet received {"connection_id":188289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:24:09] local.INFO: TCP Data received {"connection_id":186984,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:09] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:09] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:24:14] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:14] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:24:14] local.INFO: IMEI packet received {"connection_id":188289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:24:14] local.INFO: TCP Data received {"connection_id":186984,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:14] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:24:14] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:24:15] local.INFO: TCP Data received {"connection_id":186984,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:15] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:15] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:24:15] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:24:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:24:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:15] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:15] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:16] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:16] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:16] local.INFO: Packet analysis {"connection_id":188289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:24:16] local.INFO: Extracted packet for processing {"connection_id":188289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:16] 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-19 15:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:24:16] 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-19 15:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:24: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-19 15:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":188289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:16] local.INFO: GPS data processed {"connection_id":188289,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:16] local.INFO: Acknowledgment sent {"connection_id":188289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:45] local.INFO: TCP Data received {"connection_id":189593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:45] local.INFO: Processing buffer {"connection_id":189593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:45] local.INFO: IMEI packet received {"connection_id":189593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":189593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:24:47] local.INFO: TCP Data received {"connection_id":186984,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:47] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:24:47] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:24:47] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:24:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:24: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-19 15: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-19 15: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-19 15:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:24:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:47] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:47] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:48] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:48] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:24:48] local.INFO: Packet analysis {"connection_id":188289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:24:48] local.INFO: Extracted packet for processing {"connection_id":188289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24: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-19 15:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:24: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-19 15: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-19 15: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-19 15:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:24: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-19 15:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":188289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:48] local.INFO: GPS data processed {"connection_id":188289,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:48] local.INFO: Acknowledgment sent {"connection_id":188289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:24:49] local.INFO: TCP Data received {"connection_id":189593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:49] local.INFO: Processing buffer {"connection_id":189593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:24:49] local.INFO: IMEI packet received {"connection_id":189593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":189593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:24:50] local.INFO: TCP Data received {"connection_id":189593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9161bc8012d1900c007214630003d015827..."} 
[2026-09-19 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9161bc8012d1900c007214630003d015827..."} 
[2026-09-19 15:24:50] local.INFO: Processing buffer {"connection_id":189593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9161bc8012d1900c007214630003d015827..."} 
[2026-09-19 15:24:50] local.INFO: Packet analysis {"connection_id":189593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:24:50] local.INFO: Extracted packet for processing {"connection_id":189593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756613312,"raw_latitude":119621168,"longitude_deg":75.6613312,"latitude_deg":11.9621168,"altitude":61,"angle":344,"satellites":39,"speed":20,"hex_longitude":"2d1900c0","hex_latitude":"07214630","is_valid_coordinates":true} 
[2026-09-19 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191776000001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21733187352788992,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989297152,"note":"Value kept but may cause issues"} 
[2026-09-19 15:24:50] local.INFO: IO Element Parsed {"io_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-19 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789811629000,"timestamp_ms":1789811629000,"timestamp_seconds":1789811629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9161bc8"} 
[2026-09-19 15:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:24:50] 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-19 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191776000001,"66":14396,"103":206,"83":41984,"24":20,"16":21733187352788992,"45":1802425043989297152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191776000001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:24:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21733187352788992,"km_value":21733187352788.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989297152,"description":"Unknown IO ID 45"} 
[2026-09-19 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191776000001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1802425043989297152}} 
[2026-09-19 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":189593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:24:50] local.INFO: GPS data processed {"connection_id":189593,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:24:50] local.INFO: Acknowledgment sent {"connection_id":189593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:09] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:09] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:09] local.INFO: IMEI packet received {"connection_id":189595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:25:09] local.INFO: TCP Data received {"connection_id":189594,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:09] local.INFO: Processing buffer {"connection_id":189594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:09] local.INFO: IMEI packet received {"connection_id":189594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:25:14] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:14] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:25:14] local.INFO: IMEI packet received {"connection_id":189595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":189595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:25:14] local.INFO: TCP Data received {"connection_id":189594,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:14] local.INFO: Processing buffer {"connection_id":189594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:25:14] local.INFO: IMEI packet received {"connection_id":189594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":189594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:25:15] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:15] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:15] local.INFO: Packet analysis {"connection_id":189595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:25:15] local.INFO: Extracted packet for processing {"connection_id":189595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25: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-19 15:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:25:15] 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-19 15:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":189595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:15] local.INFO: GPS data processed {"connection_id":189595,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:15] local.INFO: Acknowledgment sent {"connection_id":189595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:15] local.INFO: TCP Data received {"connection_id":189594,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:15] local.INFO: Processing buffer {"connection_id":189594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:15] local.INFO: Packet analysis {"connection_id":189594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:25:15] local.INFO: Extracted packet for processing {"connection_id":189594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:25: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-19 15: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-19 15: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-19 15:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":189594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:15] local.INFO: GPS data processed {"connection_id":189594,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:15] local.INFO: Acknowledgment sent {"connection_id":189594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:21] local.INFO: TCP Data received {"connection_id":189593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b916cf78012d18c440072151b8004300c029..."} 
[2026-09-19 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b916cf78012d18c440072151b8004300c029..."} 
[2026-09-19 15:25:21] local.INFO: Processing buffer {"connection_id":189593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b916cf78012d18c440072151b8004300c029..."} 
[2026-09-19 15:25:21] local.INFO: Packet analysis {"connection_id":189593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:25:21] local.INFO: Extracted packet for processing {"connection_id":189593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119624120,"longitude_deg":75.6597824,"latitude_deg":11.962412,"altitude":67,"angle":192,"satellites":41,"speed":7,"hex_longitude":"2d18c440","hex_latitude":"072151b8","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191787776001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21734020576444416,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595434500096,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:21] local.INFO: IO Element Parsed {"io_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-19 15:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789811675000,"timestamp_ms":1789811675000,"timestamp_seconds":1789811675,"priority":1,"record_length":96,"hex_timestamp":"000001a0b916cf78"} 
[2026-09-19 15: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-19 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 15:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:25:21] 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-19 15:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191787776001,"66":14483,"103":206,"83":41984,"24":7,"16":21734020576444416,"45":1784973595434500096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191787776001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21734020576444416,"km_value":21734020576444.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595434500096,"description":"Unknown IO ID 45"} 
[2026-09-19 15:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191787776001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1784973595434500096}} 
[2026-09-19 15:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":189593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:21] local.INFO: GPS data processed {"connection_id":189593,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:21] local.INFO: Acknowledgment sent {"connection_id":189593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:46] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:46] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:46] local.INFO: IMEI packet received {"connection_id":186985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":186985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:25:46] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:46] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91325f8012d34c14006aa41400008010e27..."} 
[2026-09-19 15:25:46] local.INFO: Packet analysis {"connection_id":189595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:25:46] local.INFO: Extracted packet for processing {"connection_id":189595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b913"} 
[2026-09-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191650304001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:46] 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-19 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789811435000,"timestamp_ms":1789811435000,"timestamp_seconds":1789811435,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91325f8"} 
[2026-09-19 15: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-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:25: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-19 15: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-19 15: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-19 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:25: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-19 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191650304001,"66":25647,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191650304001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191650304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":189595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:46] local.INFO: GPS data processed {"connection_id":189595,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:46] local.INFO: Acknowledgment sent {"connection_id":189595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:47] local.INFO: TCP Data received {"connection_id":189594,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:47] local.INFO: Processing buffer {"connection_id":189594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b912f718012c7931800848f770000c01612f..."} 
[2026-09-19 15:25:47] local.INFO: Packet analysis {"connection_id":189594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:25:47] local.INFO: Extracted packet for processing {"connection_id":189594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b912"} 
[2026-09-19 15:25:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191645952001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811423000,"timestamp_ms":1789811423000,"timestamp_seconds":1789811423,"priority":1,"record_length":96,"hex_timestamp":"000001a0b912f718"} 
[2026-09-19 15: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-19 15:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:25: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-19 15: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-19 15: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-19 15:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191645952001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191645952001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:25:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191645952001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":189594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:47] local.INFO: GPS data processed {"connection_id":189594,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:47] local.INFO: Acknowledgment sent {"connection_id":189594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:25:49] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:49] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:25:49] local.INFO: IMEI packet received {"connection_id":186985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":186985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:25:50] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b916d360012d18c440072150a0004300ac2a..."} 
[2026-09-19 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b916d360012d18c440072150a0004300ac2a..."} 
[2026-09-19 15:25:50] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b916d360012d18c440072150a0004300ac2a..."} 
[2026-09-19 15:25:50] local.INFO: Packet analysis {"connection_id":186985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:25:50] local.INFO: Extracted packet for processing {"connection_id":186985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b916"} 
[2026-09-19 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623840,"longitude_deg":75.6597824,"latitude_deg":11.962384,"altitude":67,"angle":172,"satellites":42,"speed":13,"hex_longitude":"2d18c440","hex_latitude":"072150a0","is_valid_coordinates":true} 
[2026-09-19 15:25: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-19 15:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191788800001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21734033461346304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713511424,"note":"Value kept but may cause issues"} 
[2026-09-19 15:25:50] local.INFO: IO Element Parsed {"io_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-19 15:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789811676000,"timestamp_ms":1789811676000,"timestamp_seconds":1789811676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b916d360"} 
[2026-09-19 15:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:25: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":147,"data_length":795,"current_offset":136} 
[2026-09-19 15:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:25: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-19 15:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:25:50] 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-19 15:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191788800001,"66":14483,"103":206,"83":41984,"24":13,"16":21734033461346304,"45":1784621751713511424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191788800001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:25:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21734033461346304,"km_value":21734033461346.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713511424,"description":"Unknown IO ID 45"} 
[2026-09-19 15:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191788800001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1784621751713511424}} 
[2026-09-19 15:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":186985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:25:50] local.INFO: GPS data processed {"connection_id":186985,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:25:50] local.INFO: Acknowledgment sent {"connection_id":186985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:14] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: IMEI packet received {"connection_id":189596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":189596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:26:14] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:14] local.INFO: IMEI packet received {"connection_id":189596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":189596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:26:17] local.INFO: TCP Data received {"connection_id":186986,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:17] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:17] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:26:19] local.INFO: TCP Data received {"connection_id":186986,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:19] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:26:19] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:26:19] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:19] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:26:19] local.INFO: IMEI packet received {"connection_id":189596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":189596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:26:20] local.INFO: TCP Data received {"connection_id":186986,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:20] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:20] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:20] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15: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-19 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:20] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:20] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:20] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:20] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:20] local.INFO: Packet analysis {"connection_id":189596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:20] local.INFO: Extracted packet for processing {"connection_id":189596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:20] 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-19 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:26: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-19 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":189596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:20] local.INFO: GPS data processed {"connection_id":189596,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:20] local.INFO: Acknowledgment sent {"connection_id":189596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:21] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91763e8012d18f0c007211c48003a001928..."} 
[2026-09-19 15:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91763e8012d18f0c007211c48003a001928..."} 
[2026-09-19 15:26:21] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91763e8012d18f0c007211c48003a001928..."} 
[2026-09-19 15:26:21] local.INFO: Packet analysis {"connection_id":186985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:21] local.INFO: Extracted packet for processing {"connection_id":186985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756609216,"raw_latitude":119610440,"longitude_deg":75.6609216,"latitude_deg":11.961044,"altitude":58,"angle":25,"satellites":40,"speed":15,"hex_longitude":"2d18f0c0","hex_latitude":"07211c48","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191798272001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735111498137600,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281941016576,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:21] local.INFO: IO Element Parsed {"io_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-19 15:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789811713000,"timestamp_ms":1789811713000,"timestamp_seconds":1789811713,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91763e8"} 
[2026-09-19 15: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-19 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:21] 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-19 15: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-19 15: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-19 15:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:26:21] 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-19 15:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191798272001,"66":13656,"103":206,"83":41984,"24":15,"16":21735111498137600,"45":1796936281941016576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191798272001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735111498137600,"km_value":21735111498137.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281941016576,"description":"Unknown IO ID 45"} 
[2026-09-19 15:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191798272001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1796936281941016576}} 
[2026-09-19 15:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":186985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:22] local.INFO: GPS data processed {"connection_id":186985,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:22] local.INFO: Acknowledgment sent {"connection_id":186985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:25] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:25] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:26:25] local.INFO: Packet analysis {"connection_id":189596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:25] local.INFO: Extracted packet for processing {"connection_id":189596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:26: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-19 15:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] 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-19 15:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:26: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-19 15:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:26: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-19 15:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":189596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:25] local.INFO: GPS data processed {"connection_id":189596,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:25] local.INFO: Acknowledgment sent {"connection_id":189596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:25] local.INFO: TCP Data received {"connection_id":186986,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:25] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:26:25] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:25] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:26: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-19 15:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:26: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-19 15:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:25] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:25] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:26:46] local.INFO: TCP Data received {"connection_id":189597,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:46] local.INFO: Processing buffer {"connection_id":189597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:46] local.INFO: IMEI packet received {"connection_id":189597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":189597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:26:51] local.INFO: TCP Data received {"connection_id":189597,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:51] local.INFO: Processing buffer {"connection_id":189597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:26:51] local.INFO: IMEI packet received {"connection_id":189597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":189597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:26:52] local.INFO: TCP Data received {"connection_id":189597,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91767d0012d18f14007211de8003a000a28..."} 
[2026-09-19 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91767d0012d18f14007211de8003a000a28..."} 
[2026-09-19 15:26:52] local.INFO: Processing buffer {"connection_id":189597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91767d0012d18f14007211de8003a000a28..."} 
[2026-09-19 15:26:52] local.INFO: Packet analysis {"connection_id":189597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:52] local.INFO: Extracted packet for processing {"connection_id":189597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119610856,"longitude_deg":75.6609344,"latitude_deg":11.9610856,"altitude":58,"angle":10,"satellites":40,"speed":16,"hex_longitude":"2d18f140","hex_latitude":"07211de8","is_valid_coordinates":true} 
[2026-09-19 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191798528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735132972974080,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797147388173633536,"note":"Value kept but may cause issues"} 
[2026-09-19 15:26:52] local.INFO: IO Element Parsed {"io_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-19 15:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811714000,"timestamp_ms":1789811714000,"timestamp_seconds":1789811714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91767d0"} 
[2026-09-19 15:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 15:26:52] 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-19 15:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:26:52] 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-19 15:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191798528001,"66":13656,"103":206,"83":41984,"24":16,"16":21735132972974080,"45":1797147388173633536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191798528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735132972974080,"km_value":21735132972974.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797147388173633536,"description":"Unknown IO ID 45"} 
[2026-09-19 15:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191798528001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1797147388173633536}} 
[2026-09-19 15:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":189597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:26:52] local.INFO: GPS data processed {"connection_id":189597,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:26:52] local.INFO: Acknowledgment sent {"connection_id":189597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:09] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:09] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:09] local.INFO: IMEI packet received {"connection_id":188290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":188290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:27:14] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:14] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:27:14] local.INFO: IMEI packet received {"connection_id":188290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:27:14] local.INFO: TCP Data received {"connection_id":188291,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:14] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:14] local.INFO: IMEI packet received {"connection_id":188291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:27:15] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:15] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:15] local.INFO: Packet analysis {"connection_id":188290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:15] local.INFO: Extracted packet for processing {"connection_id":188290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:27: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-19 15: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-19 15: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-19 15:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:27: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-19 15:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":188290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:15] local.INFO: GPS data processed {"connection_id":188290,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:15] local.INFO: Acknowledgment sent {"connection_id":188290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:19] local.INFO: TCP Data received {"connection_id":188291,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:19] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:27:19] local.INFO: IMEI packet received {"connection_id":188291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":188291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:27:20] local.INFO: TCP Data received {"connection_id":188291,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:20] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:20] local.INFO: Packet analysis {"connection_id":188291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:20] local.INFO: Extracted packet for processing {"connection_id":188291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 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-19 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":188291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:20] local.INFO: GPS data processed {"connection_id":188291,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:20] local.INFO: Acknowledgment sent {"connection_id":188291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:23] local.INFO: TCP Data received {"connection_id":189597,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917b9d8012d18f1c007212758003b000928..."} 
[2026-09-19 15:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917b9d8012d18f1c007212758003b000928..."} 
[2026-09-19 15:27:23] local.INFO: Processing buffer {"connection_id":189597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917b9d8012d18f1c007212758003b000928..."} 
[2026-09-19 15:27:23] local.INFO: Packet analysis {"connection_id":189597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:23] local.INFO: Extracted packet for processing {"connection_id":189597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119613272,"longitude_deg":75.6609472,"latitude_deg":11.9613272,"altitude":59,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d18f1c0","hex_latitude":"07212758","is_valid_coordinates":true} 
[2026-09-19 15:27: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-19 15:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191798784001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735291886764032,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797288125662095360,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:23] local.INFO: IO Element Parsed {"io_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-19 15:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811735000,"timestamp_ms":1789811735000,"timestamp_seconds":1789811735,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917b9d8"} 
[2026-09-19 15:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-19 15:27:23] 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-19 15:27: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-19 15:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:27:23] 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-19 15:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191798784001,"66":14004,"103":206,"83":41984,"24":0,"16":21735291886764032,"45":1797288125662095360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191798784001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735291886764032,"km_value":21735291886764.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797288125662095360,"description":"Unknown IO ID 45"} 
[2026-09-19 15:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191798784001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1797288125662095360}} 
[2026-09-19 15:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":189597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:23] local.INFO: GPS data processed {"connection_id":189597,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:23] local.INFO: Acknowledgment sent {"connection_id":189597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:25] local.INFO: TCP Data received {"connection_id":188291,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:25] local.INFO: Processing buffer {"connection_id":188291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:27:25] local.INFO: Packet analysis {"connection_id":188291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:25] local.INFO: Extracted packet for processing {"connection_id":188291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:27: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-19 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:27: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-19 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":188291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:25] local.INFO: GPS data processed {"connection_id":188291,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:25] local.INFO: Acknowledgment sent {"connection_id":188291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:45] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:45] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:45] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:27:47] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:47] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:27:47] local.INFO: Packet analysis {"connection_id":188290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:47] local.INFO: Extracted packet for processing {"connection_id":188290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27: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-19 15:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:27: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-19 15:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:27:47] 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-19 15:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":188290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:47] local.INFO: GPS data processed {"connection_id":188290,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:47] local.INFO: Acknowledgment sent {"connection_id":188290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:27:51] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:51] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:27:51] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:27:52] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b918ee70012d18f00007211b50003e00e226..."} 
[2026-09-19 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b918ee70012d18f00007211b50003e00e226..."} 
[2026-09-19 15:27:52] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b918ee70012d18f00007211b50003e00e226..."} 
[2026-09-19 15:27:52] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:27:52] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756609024,"raw_latitude":119610192,"longitude_deg":75.6609024,"latitude_deg":11.9610192,"altitude":62,"angle":226,"satellites":38,"speed":10,"hex_longitude":"2d18f000","hex_latitude":"07211b50","is_valid_coordinates":true} 
[2026-09-19 15:27: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-19 15:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191823104001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735455095521280,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494406428672,"note":"Value kept but may cause issues"} 
[2026-09-19 15:27:52] local.INFO: IO Element Parsed {"io_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-19 15:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811814000,"timestamp_ms":1789811814000,"timestamp_seconds":1789811814,"priority":1,"record_length":96,"hex_timestamp":"000001a0b918ee70"} 
[2026-09-19 15:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 15:27:52] 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-19 15:27: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-19 15:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:27:52] 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-19 15:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191823104001,"66":14363,"103":206,"83":41984,"24":10,"16":21735455095521280,"45":1797358494406428672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191823104001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:27:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735455095521280,"km_value":21735455095521.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494406428672,"description":"Unknown IO ID 45"} 
[2026-09-19 15:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191823104001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1797358494406428672}} 
[2026-09-19 15:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:27:52] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:27:52] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:09] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:09] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:09] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:28:09] local.INFO: TCP Data received {"connection_id":186863,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:09] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:09] local.INFO: IMEI packet received {"connection_id":186863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":186863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:28:14] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:14] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:28:14] local.INFO: IMEI packet received {"connection_id":186864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:28:14] local.INFO: TCP Data received {"connection_id":186863,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:14] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:28:14] local.INFO: IMEI packet received {"connection_id":186863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":186863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:28:15] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:15] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:15] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:15] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28: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-19 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 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-19 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:15] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:15] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:15] local.INFO: TCP Data received {"connection_id":186863,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:15] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:15] local.INFO: Packet analysis {"connection_id":186863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:15] local.INFO: Extracted packet for processing {"connection_id":186863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 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-19 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":186863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:15] local.INFO: GPS data processed {"connection_id":186863,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:15] local.INFO: Acknowledgment sent {"connection_id":186863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:24] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b918f258012d18eec007211ad0003e00fb27..."} 
[2026-09-19 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b918f258012d18eec007211ad0003e00fb27..."} 
[2026-09-19 15:28:24] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b918f258012d18eec007211ad0003e00fb27..."} 
[2026-09-19 15:28:24] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:28:24] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119610064,"longitude_deg":75.6608704,"latitude_deg":11.9610064,"altitude":62,"angle":251,"satellites":39,"speed":11,"hex_longitude":"2d18eec0","hex_latitude":"07211ad0","is_valid_coordinates":true} 
[2026-09-19 15:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191824384001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735472275390464,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796936281941037056,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:24] local.INFO: IO Element Parsed {"io_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-19 15:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789811815000,"timestamp_ms":1789811815000,"timestamp_seconds":1789811815,"priority":1,"record_length":96,"hex_timestamp":"000001a0b918f258"} 
[2026-09-19 15:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 15:28:24] 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-19 15:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:28:24] 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-19 15:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191824384001,"66":13820,"103":206,"83":41984,"24":11,"16":21735472275390464,"45":1796936281941037056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191824384001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735472275390464,"km_value":21735472275390.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796936281941037056,"description":"Unknown IO ID 45"} 
[2026-09-19 15:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191824384001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1796936281941037056}} 
[2026-09-19 15:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:24] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:24] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:46] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:46] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:46] local.INFO: IMEI packet received {"connection_id":189598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":189598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:28:47] local.INFO: TCP Data received {"connection_id":186864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:47] local.INFO: Processing buffer {"connection_id":186864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:28:47] local.INFO: Packet analysis {"connection_id":186864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:47] local.INFO: Extracted packet for processing {"connection_id":186864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:28: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-19 15: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-19 15: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-19 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:28: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-19 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":186864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:47] local.INFO: GPS data processed {"connection_id":186864,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:47] local.INFO: Acknowledgment sent {"connection_id":186864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:47] local.INFO: TCP Data received {"connection_id":186863,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:47] local.INFO: Processing buffer {"connection_id":186863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:28:47] local.INFO: Packet analysis {"connection_id":186863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:47] local.INFO: Extracted packet for processing {"connection_id":186863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15: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-19 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:28: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-19 15: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-19 15: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-19 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":186863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:47] local.INFO: GPS data processed {"connection_id":186863,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:47] local.INFO: Acknowledgment sent {"connection_id":186863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:28:49] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:49] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:49] local.INFO: IMEI packet received {"connection_id":189598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":189598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:28:50] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:50] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:28:50] local.INFO: IMEI packet received {"connection_id":189598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":189598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:28:51] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b918f640012d18edc007211aa8003e010f27..."} 
[2026-09-19 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b918f640012d18edc007211aa8003e010f27..."} 
[2026-09-19 15:28:51] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b918f640012d18edc007211aa8003e010f27..."} 
[2026-09-19 15:28:51] local.INFO: Packet analysis {"connection_id":189598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:28:51] local.INFO: Extracted packet for processing {"connection_id":189598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b918"} 
[2026-09-19 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756608448,"raw_latitude":119610024,"longitude_deg":75.6608448,"latitude_deg":11.9610024,"altitude":62,"angle":271,"satellites":39,"speed":11,"hex_longitude":"2d18edc0","hex_latitude":"07211aa8","is_valid_coordinates":true} 
[2026-09-19 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191824640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21735485160292352,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438220115968,"note":"Value kept but may cause issues"} 
[2026-09-19 15:28:51] local.INFO: IO Element Parsed {"io_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-19 15:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789811816000,"timestamp_ms":1789811816000,"timestamp_seconds":1789811816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b918f640"} 
[2026-09-19 15:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 15:28:51] 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-19 15:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:28:51] 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-19 15:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191824640001,"66":13820,"103":206,"83":41984,"24":11,"16":21735485160292352,"45":1796584438220115968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 15:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191824640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:28:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 15:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21735485160292352,"km_value":21735485160292.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438220115968,"description":"Unknown IO ID 45"} 
[2026-09-19 15:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191824640001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1796584438220115968}} 
[2026-09-19 15:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":189598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:28:51] local.INFO: GPS data processed {"connection_id":189598,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:28:51] local.INFO: Acknowledgment sent {"connection_id":189598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:09] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:09] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:09] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:29:10] local.INFO: TCP Data received {"connection_id":186865,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:10] local.INFO: Processing buffer {"connection_id":186865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:10] local.INFO: IMEI packet received {"connection_id":186865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":186865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:29:14] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:14] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:29:14] local.INFO: IMEI packet received {"connection_id":186866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":186866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:29:14] local.INFO: TCP Data received {"connection_id":186865,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:14] local.INFO: Processing buffer {"connection_id":186865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:29:14] local.INFO: IMEI packet received {"connection_id":186865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":186865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:29:15] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:15] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:15] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:15] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29: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-19 15:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:29: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-19 15: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-19 15: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-19 15:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:29:15] 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-19 15:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:15] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:15] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:15] local.INFO: TCP Data received {"connection_id":186865,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:15] local.INFO: Processing buffer {"connection_id":186865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:15] local.INFO: Packet analysis {"connection_id":186865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:15] local.INFO: Extracted packet for processing {"connection_id":186865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15: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-19 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:29: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-19 15: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-19 15: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-19 15:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":186865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:16] local.INFO: GPS data processed {"connection_id":186865,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:16] local.INFO: Acknowledgment sent {"connection_id":186865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:23] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91a3e60012d18c0c0072157080046014626..."} 
[2026-09-19 15:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91a3e60012d18c0c0072157080046014626..."} 
[2026-09-19 15:29:23] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91a3e60012d18c0c0072157080046014626..."} 
[2026-09-19 15:29:23] local.INFO: Packet analysis {"connection_id":189598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:23] local.INFO: Extracted packet for processing {"connection_id":189598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625480,"longitude_deg":75.6596928,"latitude_deg":11.962548,"altitude":70,"angle":326,"satellites":38,"speed":31,"hex_longitude":"2d18c0c0","hex_latitude":"07215708","is_valid_coordinates":true} 
[2026-09-19 15:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191845888001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21736619031658496,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736798720,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:23] 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-19 15:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789811900000,"timestamp_ms":1789811900000,"timestamp_seconds":1789811900,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91a3e60"} 
[2026-09-19 15:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 15:29:23] 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-19 15:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:23] 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-19 15:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191845888001,"66":13961,"106":206,"83":41984,"24":31,"16":21736619031658496,"45":1784340276736798720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191845888001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21736619031658496,"km_value":21736619031658.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736798720,"description":"Unknown IO ID 45"} 
[2026-09-19 15:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191845888001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784340276736798720}} 
[2026-09-19 15:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":189598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:23] local.INFO: GPS data processed {"connection_id":189598,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:23] local.INFO: Acknowledgment sent {"connection_id":189598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:47] local.INFO: TCP Data received {"connection_id":186866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:47] local.INFO: Processing buffer {"connection_id":186866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:29:47] local.INFO: Packet analysis {"connection_id":186866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:47] local.INFO: Extracted packet for processing {"connection_id":186866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29: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-19 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:29: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-19 15: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-19 15: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-19 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:29:47] 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-19 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":186866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:47] local.INFO: GPS data processed {"connection_id":186866,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:47] local.INFO: Acknowledgment sent {"connection_id":186866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:47] local.INFO: TCP Data received {"connection_id":186865,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:47] local.INFO: Processing buffer {"connection_id":186865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:29:47] local.INFO: Packet analysis {"connection_id":186865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:47] local.INFO: Extracted packet for processing {"connection_id":186865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15: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-19 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:29: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-19 15: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-19 15: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-19 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":186865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:47] local.INFO: GPS data processed {"connection_id":186865,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:47] local.INFO: Acknowledgment sent {"connection_id":186865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:51] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:51] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:51] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:29:55] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:55] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:29:55] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:29:56] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91a6958012d18ad4007217160004c013924..."} 
[2026-09-19 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91a6958012d18ad4007217160004c013924..."} 
[2026-09-19 15:29:56] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91a6958012d18ad4007217160004c013924..."} 
[2026-09-19 15:29:56] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:56] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632224,"longitude_deg":75.6591936,"latitude_deg":11.9632224,"altitude":76,"angle":313,"satellites":36,"speed":26,"hex_longitude":"2d18ad40","hex_latitude":"07217160","is_valid_coordinates":true} 
[2026-09-19 15:29: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-19 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191846400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21737018463617024,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589295372288,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] 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-19 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789811911000,"timestamp_ms":1789811911000,"timestamp_seconds":1789811911,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91a6958"} 
[2026-09-19 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:29: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 15:29:56] 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-19 15:29: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-19 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:56] 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-19 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191846400001,"66":14102,"106":206,"83":41984,"24":26,"16":21737018463617024,"45":1783636589295372288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191846400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21737018463617024,"km_value":21737018463617.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589295372288,"description":"Unknown IO ID 45"} 
[2026-09-19 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191846400001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1783636589295372288}} 
[2026-09-19 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:56] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:56] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:29:56] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91a7128012d18a8c007217440004d012a23..."} 
[2026-09-19 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91a7128012d18a8c007217440004d012a23..."} 
[2026-09-19 15:29:56] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91a7128012d18a8c007217440004d012a23..."} 
[2026-09-19 15:29:56] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:56] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632960,"longitude_deg":75.6590784,"latitude_deg":11.963296,"altitude":77,"angle":298,"satellites":35,"speed":25,"hex_longitude":"2d18a8c0","hex_latitude":"07217440","is_valid_coordinates":true} 
[2026-09-19 15:29: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-19 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191849216001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21737087183093760,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251240960,"note":"Value kept but may cause issues"} 
[2026-09-19 15:29:56] 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-19 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789811913000,"timestamp_ms":1789811913000,"timestamp_seconds":1789811913,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91a7128"} 
[2026-09-19 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:29: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 15:29:56] 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-19 15:29: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-19 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:29:56] 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-19 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191849216001,"66":14004,"106":206,"83":41984,"24":25,"16":21737087183093760,"45":1778147827251240960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191849216001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21737087183093760,"km_value":21737087183093.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251240960,"description":"Unknown IO ID 45"} 
[2026-09-19 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191849216001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1778147827251240960}} 
[2026-09-19 15:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:29:57] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:29:57] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:09] local.INFO: TCP Data received {"connection_id":189599,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:09] local.INFO: Processing buffer {"connection_id":189599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:09] local.INFO: IMEI packet received {"connection_id":189599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":189599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:30:14] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:14] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:14] local.INFO: IMEI packet received {"connection_id":186989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":186989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:30:14] local.INFO: TCP Data received {"connection_id":189599,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:14] local.INFO: Processing buffer {"connection_id":189599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:30:14] local.INFO: IMEI packet received {"connection_id":189599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":189599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:30:15] local.INFO: TCP Data received {"connection_id":189599,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:15] local.INFO: Processing buffer {"connection_id":189599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:15] local.INFO: Packet analysis {"connection_id":189599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:15] local.INFO: Extracted packet for processing {"connection_id":189599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:30: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-19 15:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:30:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":189599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:16] local.INFO: GPS data processed {"connection_id":189599,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:16] local.INFO: Acknowledgment sent {"connection_id":189599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:19] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:19] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:30:19] local.INFO: IMEI packet received {"connection_id":186989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":186989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:30:20] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:20] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:20] local.INFO: Packet analysis {"connection_id":186989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:20] local.INFO: Extracted packet for processing {"connection_id":186989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:20] 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-19 15:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:30:20] 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-19 15:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":186989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:20] local.INFO: GPS data processed {"connection_id":186989,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:20] local.INFO: Acknowledgment sent {"connection_id":186989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:27] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91aa008012d1887c0072180e8004b012024..."} 
[2026-09-19 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91aa008012d1887c0072180e8004b012024..."} 
[2026-09-19 15:30:27] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91aa008012d1887c0072180e8004b012024..."} 
[2026-09-19 15:30:27] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:30:27] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756582336,"raw_latitude":119636200,"longitude_deg":75.6582336,"latitude_deg":11.96362,"altitude":75,"angle":288,"satellites":36,"speed":30,"hex_longitude":"2d1887c0","hex_latitude":"072180e8","is_valid_coordinates":true} 
[2026-09-19 15:30: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-19 15:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191849728001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21737516679823360,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856231424,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:27] 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-19 15:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789811925000,"timestamp_ms":1789811925000,"timestamp_seconds":1789811925,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91aa008"} 
[2026-09-19 15:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 15:30:27] 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-19 15:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:30:27] 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-19 15:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191849728001,"66":13961,"106":206,"83":41984,"24":30,"16":21737516679823360,"45":1776881189856231424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191849728001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21737516679823360,"km_value":21737516679823.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856231424,"description":"Unknown IO ID 45"} 
[2026-09-19 15:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191849728001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1776881189856231424}} 
[2026-09-19 15:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:28] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:28] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:45] local.INFO: TCP Data received {"connection_id":189600,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:45] local.INFO: Processing buffer {"connection_id":189600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:45] local.INFO: IMEI packet received {"connection_id":189600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":189600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:30:47] local.INFO: TCP Data received {"connection_id":189599,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:47] local.INFO: Processing buffer {"connection_id":189599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91792c8012c7931800848f770000c01612f..."} 
[2026-09-19 15:30:47] local.INFO: Packet analysis {"connection_id":189599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:47] local.INFO: Extracted packet for processing {"connection_id":189599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191724288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789811725000,"timestamp_ms":1789811725000,"timestamp_seconds":1789811725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91792c8"} 
[2026-09-19 15: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-19 15:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:30: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-19 15: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-19 15: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-19 15:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191724288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191724288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:30:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191724288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":189599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:47] local.INFO: GPS data processed {"connection_id":189599,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:47] local.INFO: Acknowledgment sent {"connection_id":189599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:51] local.INFO: TCP Data received {"connection_id":189600,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:51] local.INFO: Processing buffer {"connection_id":189600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:30:51] local.INFO: IMEI packet received {"connection_id":189600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":189600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:30:52] local.INFO: TCP Data received {"connection_id":189600,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91aabc0012d187ec007218278004b011023..."} 
[2026-09-19 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91aabc0012d187ec007218278004b011023..."} 
[2026-09-19 15:30:52] local.INFO: Processing buffer {"connection_id":189600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91aabc0012d187ec007218278004b011023..."} 
[2026-09-19 15:30:52] local.INFO: Packet analysis {"connection_id":189600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:30:52] local.INFO: Extracted packet for processing {"connection_id":189600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91a"} 
[2026-09-19 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119636600,"longitude_deg":75.6580032,"latitude_deg":11.96366,"altitude":75,"angle":272,"satellites":35,"speed":30,"hex_longitude":"2d187ec0","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-09-19 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191852800001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21737628348973056,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767592515625609216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:52] 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-19 15:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811928000,"timestamp_ms":1789811928000,"timestamp_seconds":1789811928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91aabc0"} 
[2026-09-19 15:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 15:30:52] 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-19 15:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:30:52] 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-19 15:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191852800001,"66":14407,"106":206,"83":41984,"24":30,"16":21737628348973056,"45":1767592515625609216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191852800001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21737628348973056,"km_value":21737628348973.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767592515625609216,"description":"Unknown IO ID 45"} 
[2026-09-19 15:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191852800001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1767592515625609216}} 
[2026-09-19 15:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":189600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:52] local.INFO: GPS data processed {"connection_id":189600,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:52] local.INFO: Acknowledgment sent {"connection_id":189600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:30:52] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:52] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:30:52] local.INFO: Packet analysis {"connection_id":186989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:52] local.INFO: Extracted packet for processing {"connection_id":186989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:30: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-19 15:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:30: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-19 15:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":186989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:30:52] local.INFO: GPS data processed {"connection_id":186989,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:30:52] local.INFO: Acknowledgment sent {"connection_id":186989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:09] local.INFO: TCP Data received {"connection_id":186990,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:09] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:09] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:31:11] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:11] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:11] local.INFO: IMEI packet received {"connection_id":186867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":186867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:31:14] local.INFO: TCP Data received {"connection_id":186990,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:14] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:31:14] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:31:14] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:14] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:31:14] local.INFO: IMEI packet received {"connection_id":186867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:31:15] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:31:15] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b917bdc0012d34c14006aa41400008010e2d..."} 
[2026-09-19 15:31:15] local.INFO: Packet analysis {"connection_id":186867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:31:15] local.INFO: Extracted packet for processing {"connection_id":186867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b917"} 
[2026-09-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191727360001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31: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-19 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789811736000,"timestamp_ms":1789811736000,"timestamp_seconds":1789811736,"priority":1,"record_length":96,"hex_timestamp":"000001a0b917bdc0"} 
[2026-09-19 15: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-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:31: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-19 15: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-19 15: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-19 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31: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-19 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191727360001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191727360001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191727360001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:15] local.INFO: GPS data processed {"connection_id":186867,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:15] local.INFO: Acknowledgment sent {"connection_id":186867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:15] local.INFO: TCP Data received {"connection_id":186990,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:15] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:15] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:15] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:15] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:15] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:19] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:19] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:19] local.INFO: Packet analysis {"connection_id":186867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:19] local.INFO: Extracted packet for processing {"connection_id":186867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:19] 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-19 15:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31:19] 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-19 15:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":186867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:19] local.INFO: GPS data processed {"connection_id":186867,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:19] local.INFO: Acknowledgment sent {"connection_id":186867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:23] local.INFO: TCP Data received {"connection_id":189600,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c3260012d181d400721a9d8004b000f26..."} 
[2026-09-19 15:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c3260012d181d400721a9d8004b000f26..."} 
[2026-09-19 15:31:23] local.INFO: Processing buffer {"connection_id":189600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c3260012d181d400721a9d8004b000f26..."} 
[2026-09-19 15:31:23] local.INFO: Packet analysis {"connection_id":189600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:23] local.INFO: Extracted packet for processing {"connection_id":189600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646680,"longitude_deg":75.6555072,"latitude_deg":11.964668,"altitude":75,"angle":15,"satellites":38,"speed":15,"hex_longitude":"2d181d40","hex_latitude":"0721a9d8","is_valid_coordinates":true} 
[2026-09-19 15:31: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-19 15:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878912001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21738981263671296,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864345600,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.INFO: IO Element Parsed {"io_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-19 15:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789812028000,"timestamp_ms":1789812028000,"timestamp_seconds":1789812028,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c3260"} 
[2026-09-19 15:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:31: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":5,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991452957,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3105571864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":20548915199743488,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503931332067328,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2769813579,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147951005,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84750605377544595,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,59,160,42,45,167,75,41,10,66,19,64,165,193,1,240,218,227,185,33,4,113,205,2,107,40,232,39,239,54,77,7,74,206,8],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 15:31:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404323027473793024,"timestamp_seconds":5404323027473793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:23] 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-19 15:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878912001,"66":14341,"105":206,"83":41984,"24":15,"16":21738981263671296,"45":1737545061864345600},"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-19 15:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878912001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21738981263671296,"km_value":21738981263671.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864345600,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878912001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737545061864345600}} 
[2026-09-19 15:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":189600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:23] local.INFO: GPS data processed {"connection_id":189600,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:23] local.INFO: Acknowledgment sent {"connection_id":189600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:46] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:46] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:46] local.INFO: IMEI packet received {"connection_id":188292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":188292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:31:47] local.INFO: TCP Data received {"connection_id":186990,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:47] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:31:47] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:47] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:47] 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-19 15: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-19 15: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-19 15:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:31:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:47] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:47] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:48] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:48] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:48] local.INFO: IMEI packet received {"connection_id":188292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":188292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:31:50] local.INFO: TCP Data received {"connection_id":186867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:50] local.INFO: Processing buffer {"connection_id":186867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:31:50] local.INFO: Packet analysis {"connection_id":186867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:50] local.INFO: Extracted packet for processing {"connection_id":186867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:31: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-19 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:50] 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-19 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:31: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:31: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-19 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:31:50] 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-19 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":186867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:51] local.INFO: GPS data processed {"connection_id":186867,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:51] local.INFO: Acknowledgment sent {"connection_id":186867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:51] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:51] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:31:51] local.INFO: IMEI packet received {"connection_id":188292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":188292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:31:52] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c3a30012d181ec00721acf0004b002025..."} 
[2026-09-19 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c3a30012d181ec00721acf0004b002025..."} 
[2026-09-19 15:31:52] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c3a30012d181ec00721acf0004b002025..."} 
[2026-09-19 15:31:52] local.INFO: Packet analysis {"connection_id":188292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:52] local.INFO: Extracted packet for processing {"connection_id":188292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647472,"longitude_deg":75.6555456,"latitude_deg":11.9647472,"altitude":75,"angle":32,"satellites":37,"speed":19,"hex_longitude":"2d181ec0","hex_latitude":"0721acf0","is_valid_coordinates":true} 
[2026-09-19 15:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191879168001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21739024213344256,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608607232,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.INFO: IO Element Parsed {"io_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-19 15:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789812030000,"timestamp_ms":1789812030000,"timestamp_seconds":1789812030,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c3a30"} 
[2026-09-19 15:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6991452996,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750577460257174,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3105581864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503931334557696,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2776105035,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692837,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.WARNING: Large IO value detected {"io_id":112,"raw_value":20830454600959744,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,59,160,46,45,168,75,41,10,66,42,167,19,64,1,240,27,227,185,33,4,113,205,2,30,40,239,56,77,7,76,206,112],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 15:31:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404336208728752128,"timestamp_seconds":5404336208728752.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:52] 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-19 15:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191879168001,"66":14276,"105":206,"83":41984,"24":19,"16":21739024213344256,"45":1737615430608607232},"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-19 15:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191879168001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21739024213344256,"km_value":21739024213344.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608607232,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191879168001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1737615430608607232}} 
[2026-09-19 15:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":188292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:52] local.INFO: GPS data processed {"connection_id":188292,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:52] local.INFO: Acknowledgment sent {"connection_id":188292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:31:56] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c6910012d1832400721ca88004d002028..."} 
[2026-09-19 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c6910012d1832400721ca88004d002028..."} 
[2026-09-19 15:31:56] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c6910012d1832400721ca88004d002028..."} 
[2026-09-19 15:31:56] local.INFO: Packet analysis {"connection_id":188292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:56] local.INFO: Extracted packet for processing {"connection_id":188292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119655048,"longitude_deg":75.6560448,"latitude_deg":11.9655048,"altitude":77,"angle":32,"satellites":40,"speed":34,"hex_longitude":"2d183240","hex_latitude":"0721ca88","is_valid_coordinates":true} 
[2026-09-19 15:31: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-19 15:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191879680001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21739462300008448,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073875968,"note":"Value kept but may cause issues"} 
[2026-09-19 15:31:56] local.INFO: IO Element Parsed {"io_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-19 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789812042000,"timestamp_ms":1789812042000,"timestamp_seconds":1789812042,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c6910"} 
[2026-09-19 15:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:31: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-19 15:31:56] 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-19 15:31: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-19 15:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:31:56] 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-19 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191879680001,"66":14048,"105":206,"83":41984,"24":34,"16":21739462300008448,"45":1738037643073875968},"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-19 15:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191879680001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21739462300008448,"km_value":21739462300008.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073875968,"description":"Unknown IO ID 45"} 
[2026-09-19 15:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191879680001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1738037643073875968}} 
[2026-09-19 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":188292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:31:56] local.INFO: GPS data processed {"connection_id":188292,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:31:56] local.INFO: Acknowledgment sent {"connection_id":188292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:32:09] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:09] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:09] local.INFO: IMEI packet received {"connection_id":186868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":186868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:32:09] local.INFO: TCP Data received {"connection_id":189601,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:09] local.INFO: Processing buffer {"connection_id":189601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:09] local.INFO: IMEI packet received {"connection_id":189601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":189601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:32:14] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:14] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:32:14] local.INFO: IMEI packet received {"connection_id":186868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":186868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:32:14] local.INFO: TCP Data received {"connection_id":189601,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:14] local.INFO: Processing buffer {"connection_id":189601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:32:14] local.INFO: IMEI packet received {"connection_id":189601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":189601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:32:15] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:15] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:15] local.INFO: Packet analysis {"connection_id":186868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:15] local.INFO: Extracted packet for processing {"connection_id":186868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32: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-19 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15: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-19 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:32: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-19 15: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-19 15: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-19 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:32: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-19 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":186868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:32:15] local.INFO: GPS data processed {"connection_id":186868,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:32:15] local.INFO: Acknowledgment sent {"connection_id":186868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:32:16] local.INFO: TCP Data received {"connection_id":189601,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:16] local.INFO: Processing buffer {"connection_id":189601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:16] local.INFO: Packet analysis {"connection_id":189601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:16] local.INFO: Extracted packet for processing {"connection_id":189601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:32:16] 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-19 15: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-19 15: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-19 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:32:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:32:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":189601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:32:16] local.INFO: GPS data processed {"connection_id":189601,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:32:16] local.INFO: Acknowledgment sent {"connection_id":189601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:32:47] local.INFO: TCP Data received {"connection_id":186868,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:47] local.INFO: Processing buffer {"connection_id":186868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:32:47] local.INFO: Packet analysis {"connection_id":186868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:47] local.INFO: Extracted packet for processing {"connection_id":186868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32: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-19 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15: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-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:32: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-19 15: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-19 15: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-19 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":186868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:32:47] local.INFO: GPS data processed {"connection_id":186868,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:32:47] local.INFO: Acknowledgment sent {"connection_id":186868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:32:47] local.INFO: TCP Data received {"connection_id":189601,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:47] local.INFO: Processing buffer {"connection_id":189601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:32:47] local.INFO: Packet analysis {"connection_id":189601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:47] local.INFO: Extracted packet for processing {"connection_id":189601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:32:47] 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-19 15: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-19 15: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-19 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":189601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:32:47] local.INFO: GPS data processed {"connection_id":189601,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:32:47] local.INFO: Acknowledgment sent {"connection_id":189601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:04] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c9020012d1847000721e9700050002228..."} 
[2026-09-19 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c9020012d1847000721e9700050002228..."} 
[2026-09-19 15:33:04] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c9020012d1847000721e9700050002228..."} 
[2026-09-19 15:33:04] local.INFO: Packet analysis {"connection_id":188292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:04] local.INFO: Extracted packet for processing {"connection_id":188292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119662960,"longitude_deg":75.656576,"latitude_deg":11.966296,"altitude":80,"angle":34,"satellites":40,"speed":40,"hex_longitude":"2d184700","hex_latitude":"0721e970","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191882752001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21739921861509120,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405121673216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789812052000,"timestamp_ms":1789812052000,"timestamp_seconds":1789812052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c9020"} 
[2026-09-19 15: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-19 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 15:33: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-19 15: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-19 15: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-19 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:33: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-19 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191882752001,"66":14004,"105":206,"83":41984,"24":40,"16":21739921861509120,"45":1743526405121673216},"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-19 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191882752001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:33:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 15:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21739921861509120,"km_value":21739921861509.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405121673216,"description":"Unknown IO ID 45"} 
[2026-09-19 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191882752001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1743526405121673216}} 
[2026-09-19 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":188292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:33:04] local.INFO: GPS data processed {"connection_id":188292,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:33:04] local.INFO: Acknowledgment sent {"connection_id":188292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:09] local.INFO: TCP Data received {"connection_id":186991,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:09] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:09] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:33:14] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:14] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:14] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:33:14] local.INFO: TCP Data received {"connection_id":186991,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:14] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:33:14] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:33:15] local.INFO: TCP Data received {"connection_id":186991,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:15] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:15] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:15] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:33:15] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:33:15] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:19] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:19] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:33:19] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:33:21] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:21] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:21] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:21] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:21] 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-19 15:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:33:21] 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-19 15:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:33:21] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:33:21] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:24] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:24] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:33:24] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:24] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:24] 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-19 15:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:33:24] 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-19 15:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:33:24] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:33:24] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:39] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:39] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:39] local.INFO: IMEI packet received {"connection_id":189602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":189602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:33:40] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:40] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:40] local.INFO: IMEI packet received {"connection_id":189602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":189602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:33:47] local.INFO: TCP Data received {"connection_id":186991,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:47] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:33:47] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:47] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:33:47] 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-19 15: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-19 15: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-19 15:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:33:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:33:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:33:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:33:47] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:33:47] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:33:49] local.INFO: TCP Data received {"connection_id":186869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:49] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:49] local.INFO: IMEI packet received {"connection_id":186869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":186869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:33:50] local.INFO: TCP Data received {"connection_id":186869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:50] local.INFO: Processing buffer {"connection_id":186869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:33:50] local.INFO: IMEI packet received {"connection_id":186869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":186869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:34:09] local.INFO: TCP Data received {"connection_id":189603,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:09] local.INFO: Processing buffer {"connection_id":189603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:09] local.INFO: IMEI packet received {"connection_id":189603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":189603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:34:14] local.INFO: TCP Data received {"connection_id":189603,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:14] local.INFO: Processing buffer {"connection_id":189603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:34:14] local.INFO: IMEI packet received {"connection_id":189603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":189603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:34:14] local.INFO: TCP Data received {"connection_id":188293,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:14] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:14] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:34:16] local.INFO: TCP Data received {"connection_id":189603,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:16] local.INFO: Processing buffer {"connection_id":189603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:16] local.INFO: Packet analysis {"connection_id":189603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:16] local.INFO: Extracted packet for processing {"connection_id":189603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:16] 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-19 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 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-19 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 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-19 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-19 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:34: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-19 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":189603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:34:16] local.INFO: GPS data processed {"connection_id":189603,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:34:16] local.INFO: Acknowledgment sent {"connection_id":189603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:34:19] local.INFO: TCP Data received {"connection_id":188293,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:19] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:34:19] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:34:20] local.INFO: TCP Data received {"connection_id":188293,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:20] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:20] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:20] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:34:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:34:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:34:20] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:34:20] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:34:25] local.INFO: TCP Data received {"connection_id":188293,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:25] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:34:25] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:25] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:34:25] 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-19 15:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:34:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:34:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:34:25] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:34:25] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:34:47] local.INFO: TCP Data received {"connection_id":189603,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:47] local.INFO: Processing buffer {"connection_id":189603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:34:47] local.INFO: Packet analysis {"connection_id":189603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:47] local.INFO: Extracted packet for processing {"connection_id":189603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:34: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-19 15:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15: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-19 15:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:34: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-19 15: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-19 15: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-19 15:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:34: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-19 15:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":189603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:34:47] local.INFO: GPS data processed {"connection_id":189603,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:34:47] local.INFO: Acknowledgment sent {"connection_id":189603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:09] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:09] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:09] local.INFO: IMEI packet received {"connection_id":186870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":186870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:35:12] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:12] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:12] local.INFO: IMEI packet received {"connection_id":188294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:35:14] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:14] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:35:14] local.INFO: IMEI packet received {"connection_id":188294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":188294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:35:14] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:14] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:35:14] local.INFO: IMEI packet received {"connection_id":186870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":186870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:35:15] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:15] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:15] local.INFO: Packet analysis {"connection_id":188294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:15] local.INFO: Extracted packet for processing {"connection_id":188294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35: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-19 15:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15: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-19 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:35: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-19 15: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-19 15: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-19 15:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35: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-19 15:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":188294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:15] local.INFO: GPS data processed {"connection_id":188294,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:15] local.INFO: Acknowledgment sent {"connection_id":188294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:15] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:15] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:15] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:15] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15: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-19 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:16] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:16] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:19] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:19] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:19] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:19] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:35:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:19] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:19] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:20] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:20] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:20] local.INFO: Packet analysis {"connection_id":188294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:20] local.INFO: Extracted packet for processing {"connection_id":188294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:20] 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-19 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35: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-19 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":188294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:20] local.INFO: GPS data processed {"connection_id":188294,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:20] local.INFO: Acknowledgment sent {"connection_id":188294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:51] local.INFO: TCP Data received {"connection_id":186870,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:51] local.INFO: Processing buffer {"connection_id":186870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c26a8012c7931800848f770000c01612f..."} 
[2026-09-19 15:35:51] local.INFO: Packet analysis {"connection_id":186870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:51] local.INFO: Extracted packet for processing {"connection_id":186870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191801600001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789812025000,"timestamp_ms":1789812025000,"timestamp_seconds":1789812025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c26a8"} 
[2026-09-19 15:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:35:51] 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-19 15:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191801600001,"66":25647,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191801600001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:51] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:35:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191801600001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":186870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:51] local.INFO: GPS data processed {"connection_id":186870,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:51] local.INFO: Acknowledgment sent {"connection_id":186870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:35:53] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:53] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:35:53] local.INFO: Packet analysis {"connection_id":188294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:53] local.INFO: Extracted packet for processing {"connection_id":188294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:35:53] 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-19 15:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":188294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:35:53] local.INFO: GPS data processed {"connection_id":188294,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:35:53] local.INFO: Acknowledgment sent {"connection_id":188294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:36:09] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:09] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:09] local.INFO: IMEI packet received {"connection_id":186996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":186996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:36:09] local.INFO: TCP Data received {"connection_id":186995,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:09] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:09] local.INFO: IMEI packet received {"connection_id":186995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":186995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:36:14] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:14] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:36:14] local.INFO: IMEI packet received {"connection_id":186996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:36:14] local.INFO: TCP Data received {"connection_id":186995,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:14] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:36:14] local.INFO: IMEI packet received {"connection_id":186995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":186995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:36:15] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:15] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b91c5588012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:15] local.INFO: Packet analysis {"connection_id":186996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:36:15] local.INFO: Extracted packet for processing {"connection_id":186996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b91c"} 
[2026-09-19 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191804416001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36: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-19 15:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812037000,"timestamp_ms":1789812037000,"timestamp_seconds":1789812037,"priority":1,"record_length":96,"hex_timestamp":"000001a0b91c5588"} 
[2026-09-19 15: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-19 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:36: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-19 15: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-19 15: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-19 15:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:36: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-19 15:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191804416001,"66":25680,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191804416001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191804416001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":186996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:36:15] local.INFO: GPS data processed {"connection_id":186996,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:36:15] local.INFO: Acknowledgment sent {"connection_id":186996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:36:16] local.INFO: TCP Data received {"connection_id":186995,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:16] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:16] local.INFO: Packet analysis {"connection_id":186995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:16] local.INFO: Extracted packet for processing {"connection_id":186995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 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-19 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:36:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:36:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:36:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":186995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:36:16] local.INFO: GPS data processed {"connection_id":186995,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:36:16] local.INFO: Acknowledgment sent {"connection_id":186995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:36:47] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:47] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:36:47] local.INFO: Packet analysis {"connection_id":186996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:47] local.INFO: Extracted packet for processing {"connection_id":186996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36: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-19 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 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-19 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:36: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-19 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-19 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-19 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:36:47] 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-19 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":186996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:36:47] local.INFO: GPS data processed {"connection_id":186996,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:36:47] local.INFO: Acknowledgment sent {"connection_id":186996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:36:47] local.INFO: TCP Data received {"connection_id":186995,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:47] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:36:47] local.INFO: Packet analysis {"connection_id":186995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:47] local.INFO: Extracted packet for processing {"connection_id":186995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 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-19 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:36: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-19 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-19 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-19 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":186995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:36:48] local.INFO: GPS data processed {"connection_id":186995,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:36:48] local.INFO: Acknowledgment sent {"connection_id":186995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:37:09] local.INFO: TCP Data received {"connection_id":186997,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:09] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:09] local.INFO: IMEI packet received {"connection_id":186997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:37:14] local.INFO: TCP Data received {"connection_id":186997,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:14] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:37:14] local.INFO: IMEI packet received {"connection_id":186997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:37:14] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:14] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:14] local.INFO: IMEI packet received {"connection_id":188295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":188295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:37:15] local.INFO: TCP Data received {"connection_id":186997,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:15] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:15] local.INFO: Packet analysis {"connection_id":186997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:15] local.INFO: Extracted packet for processing {"connection_id":186997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15: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-19 15:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:37: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-19 15: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-19 15: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-19 15:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:37:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:37:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":186997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:37:15] local.INFO: GPS data processed {"connection_id":186997,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:37:15] local.INFO: Acknowledgment sent {"connection_id":186997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:37:19] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:19] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:37:19] local.INFO: IMEI packet received {"connection_id":188295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":188295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:37:20] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:20] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:20] local.INFO: Packet analysis {"connection_id":188295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:20] local.INFO: Extracted packet for processing {"connection_id":188295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:20] 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-19 15:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:37: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-19 15:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":188295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:37:20] local.INFO: GPS data processed {"connection_id":188295,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:37:20] local.INFO: Acknowledgment sent {"connection_id":188295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:37:26] local.INFO: TCP Data received {"connection_id":188295,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:26] local.INFO: Processing buffer {"connection_id":188295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:37:26] local.INFO: Packet analysis {"connection_id":188295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:26] local.INFO: Extracted packet for processing {"connection_id":188295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:26] 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-19 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":188295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:37:26] local.INFO: GPS data processed {"connection_id":188295,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:37:26] local.INFO: Acknowledgment sent {"connection_id":188295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:37:47] local.INFO: TCP Data received {"connection_id":186997,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:47] local.INFO: Processing buffer {"connection_id":186997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:37:47] local.INFO: Packet analysis {"connection_id":186997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:47] local.INFO: Extracted packet for processing {"connection_id":186997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15: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-19 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:37: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-19 15: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-19 15: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-19 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":186997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:37:47] local.INFO: GPS data processed {"connection_id":186997,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:37:47] local.INFO: Acknowledgment sent {"connection_id":186997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:38:09] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:09] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:09] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:38:14] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:14] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:38:14] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:38:14] local.INFO: TCP Data received {"connection_id":186871,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:14] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:14] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:38:15] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:15] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:15] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:15] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38: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-19 15:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15: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-19 15:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:38: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-19 15: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-19 15: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-19 15:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:38: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-19 15:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:38:15] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:38:15] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:38:19] local.INFO: TCP Data received {"connection_id":186871,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:19] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:38:19] local.INFO: IMEI packet received {"connection_id":186871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":186871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:38:20] local.INFO: TCP Data received {"connection_id":186871,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:20] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:20] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:20] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15: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-19 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:38:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:38:20] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:38:20] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:38:25] local.INFO: TCP Data received {"connection_id":186871,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:25] local.INFO: Processing buffer {"connection_id":186871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:38:25] local.INFO: Packet analysis {"connection_id":186871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:25] local.INFO: Extracted packet for processing {"connection_id":186871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15: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-19 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15: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-19 15: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-19 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":186871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":186871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":186871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:38:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":186871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:38:25] local.INFO: GPS data processed {"connection_id":186871,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:38:25] local.INFO: Acknowledgment sent {"connection_id":186871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:38:48] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:48] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:38:48] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:48] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38: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-19 15:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15: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-19 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15: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-19 15: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-19 15: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-19 15:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:38: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-19 15:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:38:48] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:38:48] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:38:56] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:38:56] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:38:56] local.INFO: IMEI packet received {"connection_id":189605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":189605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:38:57] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:38:57] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:38:57] local.INFO: Packet analysis {"connection_id":189605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b922"} 
[2026-09-19 15:38:57] local.INFO: Extracted packet for processing {"connection_id":189605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b922"} 
[2026-09-19 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878152,"longitude_deg":75.676864,"latitude_deg":11.9878152,"altitude":45,"angle":2,"satellites":37,"speed":17,"hex_longitude":"2d1b5f80","hex_latitude":"07253208","is_valid_coordinates":true} 
[2026-09-19 15:38: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-19 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191987200001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21755753110962176,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236405280768,"note":"Value kept but may cause issues"} 
[2026-09-19 15:38:57] 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-19 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789812471000,"timestamp_ms":1789812471000,"timestamp_seconds":1789812471,"priority":1,"record_length":96,"hex_timestamp":"000001a0b922f4d8"} 
[2026-09-19 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-19 15:38:57] 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-19 15:38: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-19 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:38:57] 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-19 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191987200001,"66":14450,"44":206,"83":41984,"24":17,"16":21755753110962176,"45":1970395236405280768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-19 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191987200001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-19 15:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21755753110962176,"km_value":21755753110962.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236405280768,"description":"Unknown IO ID 45"} 
[2026-09-19 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191987200001,"power":14450,"unknown_44":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1970395236405280768}} 
[2026-09-19 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":189605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:38:57] local.INFO: GPS data processed {"connection_id":189605,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:38:57] local.INFO: Acknowledgment sent {"connection_id":189605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:09] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:09] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:09] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:39:09] local.INFO: TCP Data received {"connection_id":186998,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:09] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:09] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:39:14] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:14] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:39:14] local.INFO: IMEI packet received {"connection_id":186872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:39:14] local.INFO: TCP Data received {"connection_id":186998,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:14] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:39:14] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:39:15] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:15] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:15] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:15] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39: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-19 15:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:39: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-19 15:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:39: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-19 15:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:15] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:15] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:15] local.INFO: TCP Data received {"connection_id":186998,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:15] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:15] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:15] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:39: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-19 15:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:16] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:16] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:28] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:39:28] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b922f4d8012d1b5f8007253208002d000225..."} 
[2026-09-19 15:39:28] local.INFO: Packet analysis {"connection_id":189605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b922"} 
[2026-09-19 15:39:28] local.INFO: Extracted packet for processing {"connection_id":189605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b922"} 
[2026-09-19 15:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878152,"longitude_deg":75.676864,"latitude_deg":11.9878152,"altitude":45,"angle":2,"satellites":37,"speed":17,"hex_longitude":"2d1b5f80","hex_latitude":"07253208","is_valid_coordinates":true} 
[2026-09-19 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191992576001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21755753110962176,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988728832,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:28] 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-19 15:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789812471000,"timestamp_ms":1789812471000,"timestamp_seconds":1789812471,"priority":1,"record_length":96,"hex_timestamp":"000001a0b922f4d8"} 
[2026-09-19 15:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-19 15:39:28] 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-19 15:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:28] 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-19 15:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191992576001,"66":14450,"44":206,"83":41984,"24":17,"16":21755753110962176,"45":1972435929988728832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-19 15:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191992576001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21755753110962176,"km_value":21755753110962.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988728832,"description":"Unknown IO ID 45"} 
[2026-09-19 15:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191992576001,"power":14450,"unknown_44":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1972435929988728832}} 
[2026-09-19 15:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":189605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:28] local.INFO: GPS data processed {"connection_id":189605,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:28] local.INFO: Acknowledgment sent {"connection_id":189605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:44] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:44] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:44] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:39:45] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:45] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:45] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:39:47] local.INFO: TCP Data received {"connection_id":186872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:47] local.INFO: Processing buffer {"connection_id":186872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:39:47] local.INFO: Packet analysis {"connection_id":186872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:47] local.INFO: Extracted packet for processing {"connection_id":186872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39: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-19 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 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-19 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:39: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-19 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-19 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-19 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:39: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-19 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:47] local.INFO: GPS data processed {"connection_id":186872,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:47] local.INFO: Acknowledgment sent {"connection_id":186872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:47] local.INFO: TCP Data received {"connection_id":186998,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:47] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:39:47] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:47] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 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-19 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:39: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-19 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-19 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-19 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:47] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:47] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:51] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:51] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:39:51] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:39:52] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9233358012d1b628007255360002a015c26..."} 
[2026-09-19 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9233358012d1b628007255360002a015c26..."} 
[2026-09-19 15:39:52] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9233358012d1b628007255360002a015c26..."} 
[2026-09-19 15:39:52] local.INFO: Packet analysis {"connection_id":189606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b923"} 
[2026-09-19 15:39:52] local.INFO: Extracted packet for processing {"connection_id":189606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b923"} 
[2026-09-19 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119886688,"longitude_deg":75.6769408,"latitude_deg":11.9886688,"altitude":42,"angle":348,"satellites":38,"speed":6,"hex_longitude":"2d1b6280","hex_latitude":"07255360","is_valid_coordinates":true} 
[2026-09-19 15:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191992576001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21756169722789888,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988728832,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:52] 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-19 15:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789812487000,"timestamp_ms":1789812487000,"timestamp_seconds":1789812487,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9233358"} 
[2026-09-19 15:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-19 15:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:52] 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-19 15:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191992576001,"66":14428,"216":206,"83":42752,"24":6,"16":21756169722789888,"45":1972435929988728832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-19 15:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191992576001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 15:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21756169722789888,"km_value":21756169722789.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988728832,"description":"Unknown IO ID 45"} 
[2026-09-19 15:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191992576001,"power":14428,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1972435929988728832}} 
[2026-09-19 15:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":189606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:52] local.INFO: GPS data processed {"connection_id":189606,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:52] local.INFO: Acknowledgment sent {"connection_id":189606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:39:56] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9233b28012d1b6280072554a00029000525..."} 
[2026-09-19 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9233b28012d1b6280072554a00029000525..."} 
[2026-09-19 15:39:56] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9233b28012d1b6280072554a00029000525..."} 
[2026-09-19 15:39:56] local.INFO: Packet analysis {"connection_id":189606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b923"} 
[2026-09-19 15:39:56] local.INFO: Extracted packet for processing {"connection_id":189606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b923"} 
[2026-09-19 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119887008,"longitude_deg":75.6769408,"latitude_deg":11.9887008,"altitude":41,"angle":5,"satellites":37,"speed":5,"hex_longitude":"2d1b6280","hex_latitude":"072554a0","is_valid_coordinates":true} 
[2026-09-19 15:39: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-19 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191996672001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21756186902659072,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354921046016,"note":"Value kept but may cause issues"} 
[2026-09-19 15:39:56] 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-19 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789812489000,"timestamp_ms":1789812489000,"timestamp_seconds":1789812489,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9233b28"} 
[2026-09-19 15:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:39: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":92,"data_length":795,"current_offset":136} 
[2026-09-19 15:39:56] 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-19 15:39: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-19 15:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:39:56] 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-19 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191996672001,"66":14374,"216":206,"83":42752,"24":5,"16":21756186902659072,"45":1973280354921046016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-19 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191996672001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:39:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-19 15:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21756186902659072,"km_value":21756186902659.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354921046016,"description":"Unknown IO ID 45"} 
[2026-09-19 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191996672001,"power":14374,"unknown_216":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1973280354921046016}} 
[2026-09-19 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":189606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:39:56] local.INFO: GPS data processed {"connection_id":189606,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:39:56] local.INFO: Acknowledgment sent {"connection_id":189606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:09] local.INFO: TCP Data received {"connection_id":188298,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:09] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:09] local.INFO: IMEI packet received {"connection_id":188298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:40:10] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:10] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:10] local.INFO: IMEI packet received {"connection_id":188299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":188299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:40:14] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:14] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:40:14] local.INFO: IMEI packet received {"connection_id":188299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:40:14] local.INFO: TCP Data received {"connection_id":188298,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:14] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:40:14] local.INFO: IMEI packet received {"connection_id":188298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":188298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:40:15] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:15] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:15] local.INFO: Packet analysis {"connection_id":188299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:15] local.INFO: Extracted packet for processing {"connection_id":188299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40: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-19 15:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15: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-19 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:40: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-19 15: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-19 15: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-19 15:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:40: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-19 15:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":188299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:15] local.INFO: GPS data processed {"connection_id":188299,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:15] local.INFO: Acknowledgment sent {"connection_id":188299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:15] local.INFO: TCP Data received {"connection_id":188298,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:15] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:15] local.INFO: Packet analysis {"connection_id":188298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:15] local.INFO: Extracted packet for processing {"connection_id":188298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15: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-19 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:40: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-19 15: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-19 15: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-19 15:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":188298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:15] local.INFO: GPS data processed {"connection_id":188298,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:15] local.INFO: Acknowledgment sent {"connection_id":188298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:36] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9247790012d1b3a400725c5700031001f25..."} 
[2026-09-19 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9247790012d1b3a400725c5700031001f25..."} 
[2026-09-19 15:40:36] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9247790012d1b3a400725c5700031001f25..."} 
[2026-09-19 15:40:36] local.INFO: Packet analysis {"connection_id":189606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b924"} 
[2026-09-19 15:40:36] local.INFO: Extracted packet for processing {"connection_id":189606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b924"} 
[2026-09-19 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756759104,"raw_latitude":119915888,"longitude_deg":75.6759104,"latitude_deg":11.9915888,"altitude":49,"angle":31,"satellites":37,"speed":34,"hex_longitude":"2d1b3a40","hex_latitude":"0725c570","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192017152001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21757776040558592,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720147968,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40: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-19 15:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789812570000,"timestamp_ms":1789812570000,"timestamp_seconds":1789812570,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9247790"} 
[2026-09-19 15: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-19 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 15:40: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-19 15: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-19 15: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-19 15:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":189606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":189606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:40:36] 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-19 15:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192017152001,"66":14080,"217":206,"83":42752,"24":34,"16":21757776040558592,"45":1960684349720147968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-19 15:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192017152001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 15:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21757776040558592,"km_value":21757776040558.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720147968,"description":"Unknown IO ID 45"} 
[2026-09-19 15:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192017152001,"power":14080,"unknown_217":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1960684349720147968}} 
[2026-09-19 15:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":189606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:36] local.INFO: GPS data processed {"connection_id":189606,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:36] local.INFO: Acknowledgment sent {"connection_id":189606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:45] local.INFO: TCP Data received {"connection_id":186999,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:45] local.INFO: Processing buffer {"connection_id":186999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:45] local.INFO: IMEI packet received {"connection_id":186999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":186999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:40:47] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:47] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:40:47] local.INFO: Packet analysis {"connection_id":188299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:47] local.INFO: Extracted packet for processing {"connection_id":188299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40: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-19 15:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:40: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-19 15:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:40: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-19 15:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":188299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:47] local.INFO: GPS data processed {"connection_id":188299,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:47] local.INFO: Acknowledgment sent {"connection_id":188299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:47] local.INFO: TCP Data received {"connection_id":188298,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:47] local.INFO: Processing buffer {"connection_id":188298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920b6a0012c7931800848f770000c01612f..."} 
[2026-09-19 15:40:47] local.INFO: Packet analysis {"connection_id":188298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:47] local.INFO: Extracted packet for processing {"connection_id":188298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191878400001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812324000,"timestamp_ms":1789812324000,"timestamp_seconds":1789812324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920b6a0"} 
[2026-09-19 15:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 15:40: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-19 15:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191878400001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191878400001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191878400001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":188298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:47] local.INFO: GPS data processed {"connection_id":188298,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:47] local.INFO: Acknowledgment sent {"connection_id":188298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:40:51] local.INFO: TCP Data received {"connection_id":186999,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:51] local.INFO: Processing buffer {"connection_id":186999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:40:51] local.INFO: IMEI packet received {"connection_id":186999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":186999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:40:52] local.INFO: TCP Data received {"connection_id":186999,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9248f00012d1b43000725d4880030001428..."} 
[2026-09-19 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9248f00012d1b43000725d4880030001428..."} 
[2026-09-19 15:40:52] local.INFO: Processing buffer {"connection_id":186999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9248f00012d1b43000725d4880030001428..."} 
[2026-09-19 15:40:52] local.INFO: Packet analysis {"connection_id":186999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b924"} 
[2026-09-19 15:40:52] local.INFO: Extracted packet for processing {"connection_id":186999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b924"} 
[2026-09-19 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756761344,"raw_latitude":119919752,"longitude_deg":75.6761344,"latitude_deg":11.9919752,"altitude":48,"angle":20,"satellites":40,"speed":23,"hex_longitude":"2d1b4300","hex_latitude":"0725d488","is_valid_coordinates":true} 
[2026-09-19 15:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192017920001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21757990788923392,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987115917312,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] 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-19 15:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789812576000,"timestamp_ms":1789812576000,"timestamp_seconds":1789812576,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9248f00"} 
[2026-09-19 15:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331648,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3106125864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147952003,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2727870512,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-19 15:40:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-09-19 15:40:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,217,83,24,241,157,16,76,160,107,45,192,188,49,36,10,66,96,180,40,72,64,1,240,131,227,185,37,4,113,205,11,231,39,239,54,2,77,7,41,19],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-19 15:40:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530856351634948096,"timestamp_seconds":3530856351634948.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:40:52] 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-19 15:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192017920001,"66":13830,"217":206,"83":42752,"24":23,"16":21757990788923392,"45":1961950987115917312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-19 15:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192017920001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:40:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 15:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21757990788923392,"km_value":21757990788923.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987115917312,"description":"Unknown IO ID 45"} 
[2026-09-19 15:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192017920001,"power":13830,"unknown_217":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1961950987115917312}} 
[2026-09-19 15:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":186999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:40:52] local.INFO: GPS data processed {"connection_id":186999,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:40:52] local.INFO: Acknowledgment sent {"connection_id":186999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:41:09] local.INFO: TCP Data received {"connection_id":186873,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:09] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:09] local.INFO: IMEI packet received {"connection_id":186873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:41:09] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:09] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:09] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:41:14] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:14] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:41:14] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:41:14] local.INFO: TCP Data received {"connection_id":186873,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:14] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:41:14] local.INFO: IMEI packet received {"connection_id":186873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":186873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:41:15] local.INFO: TCP Data received {"connection_id":186873,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:15] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:15] local.INFO: Packet analysis {"connection_id":186873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:15] local.INFO: Extracted packet for processing {"connection_id":186873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15: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-19 15:41:15] 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-19 15: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:41:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:41:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":186873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:41:16] local.INFO: GPS data processed {"connection_id":186873,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:41:16] local.INFO: Acknowledgment sent {"connection_id":186873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:41:16] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:41:16] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b920ed50012d34c14006aa41400008010e2c..."} 
[2026-09-19 15:41:16] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:41:16] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b920"} 
[2026-09-19 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191881472001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:16] 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-19 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812338000,"timestamp_ms":1789812338000,"timestamp_seconds":1789812338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b920ed50"} 
[2026-09-19 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 15:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 15:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:41: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-19 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191881472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191881472001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191881472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:41:16] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:41:16] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:41:23] local.INFO: TCP Data received {"connection_id":186999,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258130012d1b32c007261fe8002a010726..."} 
[2026-09-19 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258130012d1b32c007261fe8002a010726..."} 
[2026-09-19 15:41:23] local.INFO: Processing buffer {"connection_id":186999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258130012d1b32c007261fe8002a010726..."} 
[2026-09-19 15:41:23] local.INFO: Packet analysis {"connection_id":186999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:23] local.INFO: Extracted packet for processing {"connection_id":186999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119939048,"longitude_deg":75.6757184,"latitude_deg":11.9939048,"altitude":42,"angle":263,"satellites":38,"speed":15,"hex_longitude":"2d1b32c0","hex_latitude":"07261fe8","is_valid_coordinates":true} 
[2026-09-19 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192033792001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21759287869046784,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962232462098692096,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:23] 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-19 15:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789812638000,"timestamp_ms":1789812638000,"timestamp_seconds":1789812638,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258130"} 
[2026-09-19 15:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-19 15:41:23] 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-19 15:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:41:23] 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-19 15:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192033792001,"66":14298,"135":206,"83":42752,"24":15,"16":21759287869046784,"45":1962232462098692096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-19 15:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192033792001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:41:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-19 15:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21759287869046784,"km_value":21759287869046.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962232462098692096,"description":"Unknown IO ID 45"} 
[2026-09-19 15:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192033792001,"power":14298,"unknown_135":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1962232462098692096}} 
[2026-09-19 15:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":186999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:41:24] local.INFO: GPS data processed {"connection_id":186999,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:41:24] local.INFO: Acknowledgment sent {"connection_id":186999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:41:47] local.INFO: TCP Data received {"connection_id":186873,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:47] local.INFO: Processing buffer {"connection_id":186873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:41:47] local.INFO: Packet analysis {"connection_id":186873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:47] local.INFO: Extracted packet for processing {"connection_id":186873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15: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-19 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:41:47] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:41:47] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:41:47] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:47] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":186873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15: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-19 15:41:47] local.INFO: GPS data processed {"connection_id":186873,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:47] local.INFO: Acknowledgment sent {"connection_id":186873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:41: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-19 15:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15: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-19 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:41: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-19 15:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:41:47] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:41:47] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:01] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:01] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:01] local.INFO: IMEI packet received {"connection_id":189607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":189607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:42:02] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:02] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:02] local.INFO: IMEI packet received {"connection_id":189607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":189607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:42:02] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92594b8012d1b2900072620000029011223..."} 
[2026-09-19 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92594b8012d1b2900072620000029011223..."} 
[2026-09-19 15:42:02] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92594b8012d1b2900072620000029011223..."} 
[2026-09-19 15:42:02] local.INFO: Packet analysis {"connection_id":189607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:02] local.INFO: Extracted packet for processing {"connection_id":189607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756754688,"raw_latitude":119939072,"longitude_deg":75.6754688,"latitude_deg":11.9939072,"altitude":41,"angle":274,"satellites":35,"speed":18,"hex_longitude":"2d1b2900","hex_latitude":"07262000","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21759408128131072,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924796516352,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:02] 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-19 15:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789812643000,"timestamp_ms":1789812643000,"timestamp_seconds":1789812643,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92594b8"} 
[2026-09-19 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-19 15:42: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-19 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 15:42: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-19 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-19 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-19 15:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":189607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":189607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":189607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42: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-19 15:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035328001,"66":13993,"135":206,"83":42752,"24":18,"16":21759408128131072,"45":1959839924796516352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-19 15:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-19 15:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21759408128131072,"km_value":21759408128131.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924796516352,"description":"Unknown IO ID 45"} 
[2026-09-19 15:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035328001,"power":13993,"unknown_135":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1959839924796516352}} 
[2026-09-19 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":189607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:03] local.INFO: GPS data processed {"connection_id":189607,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:03] local.INFO: Acknowledgment sent {"connection_id":189607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:06] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9259c88012d1b25c0072620c00028012024..."} 
[2026-09-19 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9259c88012d1b25c0072620c00028012024..."} 
[2026-09-19 15:42:06] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9259c88012d1b25c0072620c00028012024..."} 
[2026-09-19 15:42:06] local.INFO: Packet analysis {"connection_id":189607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:06] local.INFO: Extracted packet for processing {"connection_id":189607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756753856,"raw_latitude":119939264,"longitude_deg":75.6753856,"latitude_deg":11.9939264,"altitude":40,"angle":288,"satellites":36,"speed":16,"hex_longitude":"2d1b25c0","hex_latitude":"072620c0","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192036608001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21759451077804032,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957095543773593600,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:06] 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-19 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789812645000,"timestamp_ms":1789812645000,"timestamp_seconds":1789812645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9259c88"} 
[2026-09-19 15: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-19 15:42: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-19 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 15:42: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-19 15: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-19 15: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-19 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":189607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":189607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":189607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42:06] 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-19 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192036608001,"66":14102,"135":206,"83":42752,"24":16,"16":21759451077804032,"45":1957095543773593600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-19 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192036608001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:06] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-19 15:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21759451077804032,"km_value":21759451077804.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957095543773593600,"description":"Unknown IO ID 45"} 
[2026-09-19 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192036608001,"power":14102,"unknown_135":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1957095543773593600}} 
[2026-09-19 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":189607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:06] local.INFO: GPS data processed {"connection_id":189607,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:06] local.INFO: Acknowledgment sent {"connection_id":189607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:14] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:14] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:14] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:42:14] local.INFO: TCP Data received {"connection_id":187001,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:14] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:14] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:42:19] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:19] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:42:19] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:42:19] local.INFO: TCP Data received {"connection_id":187001,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:19] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:42:19] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:42:20] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:20] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:20] local.INFO: Packet analysis {"connection_id":188300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:20] local.INFO: Extracted packet for processing {"connection_id":188300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] 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-19 15:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:42:20] 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-19 15:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":188300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:20] local.INFO: GPS data processed {"connection_id":188300,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:20] local.INFO: Acknowledgment sent {"connection_id":188300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:20] local.INFO: TCP Data received {"connection_id":187001,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:20] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:20] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:20] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:20] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:20] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:24] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:24] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:42:24] local.INFO: Packet analysis {"connection_id":188300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:24] local.INFO: Extracted packet for processing {"connection_id":188300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:24] 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-19 15:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:42:24] 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-19 15:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:42:24] 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-19 15:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":188300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:24] local.INFO: GPS data processed {"connection_id":188300,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:24] local.INFO: Acknowledgment sent {"connection_id":188300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:25] local.INFO: TCP Data received {"connection_id":187001,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:25] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:42:25] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:25] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:42: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-19 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:42:25] 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-19 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:42:25] 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-19 15:42: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-19 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:42:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:25] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:25] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:42:50] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:50] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:50] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:42:53] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:53] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:53] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:42:56] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:56] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:42:56] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:42:57] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b926cd38012d1abcc007263278002b002826..."} 
[2026-09-19 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b926cd38012d1abcc007263278002b002826..."} 
[2026-09-19 15:42:57] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b926cd38012d1abcc007263278002b002826..."} 
[2026-09-19 15:42:57] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b926"} 
[2026-09-19 15:42:57] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b926"} 
[2026-09-19 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756726976,"raw_latitude":119943800,"longitude_deg":75.6726976,"latitude_deg":11.99438,"altitude":43,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d1abcc0","hex_latitude":"07263278","is_valid_coordinates":true} 
[2026-09-19 15:42: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-19 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192056832001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21760842647207936,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926555508801675264,"note":"Value kept but may cause issues"} 
[2026-09-19 15:42:57] 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-19 15:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789812723000,"timestamp_ms":1789812723000,"timestamp_seconds":1789812723,"priority":1,"record_length":96,"hex_timestamp":"000001a0b926cd38"} 
[2026-09-19 15:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 15:42:57] 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-19 15:42: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-19 15:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:42:57] 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-19 15:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192056832001,"66":14265,"175":206,"83":42752,"24":0,"16":21760842647207936,"45":1926555508801675264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-19 15:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192056832001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21760842647207936,"km_value":21760842647207.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926555508801675264,"description":"Unknown IO ID 45"} 
[2026-09-19 15:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192056832001,"power":14265,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1926555508801675264}} 
[2026-09-19 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:42:57] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:42:57] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:01] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b926d508012d1abdc007263348002b003a27..."} 
[2026-09-19 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b926d508012d1abdc007263348002b003a27..."} 
[2026-09-19 15:43:01] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b926d508012d1abdc007263348002b003a27..."} 
[2026-09-19 15:43:01] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b926"} 
[2026-09-19 15:43:01] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b926"} 
[2026-09-19 15:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756727232,"raw_latitude":119944008,"longitude_deg":75.6727232,"latitude_deg":11.9944008,"altitude":43,"angle":58,"satellites":39,"speed":7,"hex_longitude":"2d1abdc0","hex_latitude":"07263348","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192057088001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21760855532109824,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926625877545875456,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43: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-19 15:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789812725000,"timestamp_ms":1789812725000,"timestamp_seconds":1789812725,"priority":1,"record_length":96,"hex_timestamp":"000001a0b926d508"} 
[2026-09-19 15: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-19 15:43: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-19 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 15:43: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-19 15: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-19 15: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-19 15:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:43: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-19 15:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192057088001,"66":14276,"175":206,"83":42752,"24":7,"16":21760855532109824,"45":1926625877545875456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-19 15:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192057088001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:43:01] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-19 15:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21760855532109824,"km_value":21760855532109.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926625877545875456,"description":"Unknown IO ID 45"} 
[2026-09-19 15:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192057088001,"power":14276,"unknown_175":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1926625877545875456}} 
[2026-09-19 15:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:43:01] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:43:01] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:09] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:09] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:09] local.INFO: IMEI packet received {"connection_id":188302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":188302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:43:09] local.INFO: TCP Data received {"connection_id":187002,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:09] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:09] local.INFO: IMEI packet received {"connection_id":187002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:43:14] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:14] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:43:14] local.INFO: IMEI packet received {"connection_id":188302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:43:14] local.INFO: TCP Data received {"connection_id":187002,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:14] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:43:14] local.INFO: IMEI packet received {"connection_id":187002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":187002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:43:15] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:15] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:15] local.INFO: Packet analysis {"connection_id":188302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:15] local.INFO: Extracted packet for processing {"connection_id":188302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43: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-19 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 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-19 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:43: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-19 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":188302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:43:15] local.INFO: GPS data processed {"connection_id":188302,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:43:15] local.INFO: Acknowledgment sent {"connection_id":188302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:15] local.INFO: TCP Data received {"connection_id":187002,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:15] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:15] local.INFO: Packet analysis {"connection_id":187002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:15] local.INFO: Extracted packet for processing {"connection_id":187002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 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-19 15:43:15] 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-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":187002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:43:15] local.INFO: GPS data processed {"connection_id":187002,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:43:15] local.INFO: Acknowledgment sent {"connection_id":187002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:45] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:43:45] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:45] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:43:46] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:46] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:46] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:43:46] local.INFO: TCP Data received {"connection_id":188302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:46] local.INFO: Processing buffer {"connection_id":188302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:43:46] local.INFO: Packet analysis {"connection_id":188302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:46] local.INFO: Extracted packet for processing {"connection_id":188302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:46] 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-19 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:43: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-19 15:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:43: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-19 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":188302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:43:46] local.INFO: GPS data processed {"connection_id":188302,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:43:46] local.INFO: Acknowledgment sent {"connection_id":188302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:47] local.INFO: TCP Data received {"connection_id":187002,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:47] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:43:47] local.INFO: Packet analysis {"connection_id":187002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:47] local.INFO: Extracted packet for processing {"connection_id":187002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15: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-19 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":187002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:43:47] local.INFO: GPS data processed {"connection_id":187002,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:43:47] local.INFO: Acknowledgment sent {"connection_id":187002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:43:49] local.INFO: TCP Data received {"connection_id":186874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:49] local.INFO: Processing buffer {"connection_id":186874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:43:49] local.INFO: IMEI packet received {"connection_id":186874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":186874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:44:09] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:09] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:09] local.INFO: IMEI packet received {"connection_id":189608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:44:09] local.INFO: TCP Data received {"connection_id":189609,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:09] local.INFO: Processing buffer {"connection_id":189609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:09] local.INFO: IMEI packet received {"connection_id":189609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:44:14] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:14] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:44:14] local.INFO: IMEI packet received {"connection_id":189608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:44:14] local.INFO: TCP Data received {"connection_id":189609,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:14] local.INFO: Processing buffer {"connection_id":189609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:44:14] local.INFO: IMEI packet received {"connection_id":189609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:44:15] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:15] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:15] local.INFO: Packet analysis {"connection_id":189608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:15] local.INFO: Extracted packet for processing {"connection_id":189608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44: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-19 15:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 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-19 15:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:44: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-19 15:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":189608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:44:15] local.INFO: GPS data processed {"connection_id":189608,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:44:15] local.INFO: Acknowledgment sent {"connection_id":189608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:44:15] local.INFO: TCP Data received {"connection_id":189609,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:15] local.INFO: Processing buffer {"connection_id":189609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:15] local.INFO: Packet analysis {"connection_id":189609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:15] local.INFO: Extracted packet for processing {"connection_id":189609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 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-19 15:44:15] 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-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":189609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:44:15] local.INFO: GPS data processed {"connection_id":189609,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:44:15] local.INFO: Acknowledgment sent {"connection_id":189609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:44:47] local.INFO: TCP Data received {"connection_id":189609,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:47] local.INFO: Processing buffer {"connection_id":189609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:44:47] local.INFO: Packet analysis {"connection_id":189609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:47] local.INFO: Extracted packet for processing {"connection_id":189609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":189609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:44:47] local.INFO: GPS data processed {"connection_id":189609,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:44:47] local.INFO: Acknowledgment sent {"connection_id":189609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:44:47] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:47] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:44:47] local.INFO: Packet analysis {"connection_id":189608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:47] local.INFO: Extracted packet for processing {"connection_id":189608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:44: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-19 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:44:47] 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-19 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":189608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:44:47] local.INFO: GPS data processed {"connection_id":189608,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:44:47] local.INFO: Acknowledgment sent {"connection_id":189608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:45:09] local.INFO: TCP Data received {"connection_id":187003,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:09] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:09] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:45:09] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:09] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:09] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:45:14] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:14] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:45:14] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:45:14] local.INFO: TCP Data received {"connection_id":187003,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:14] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:45:14] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:45:15] local.INFO: TCP Data received {"connection_id":187003,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:15] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:15] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:15] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:45:15] 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-19 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:45:15] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:45:15] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:45:18] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:18] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:18] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:18] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:18] 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-19 15:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:45:18] 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-19 15:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:45:18] 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-19 15:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:45:18] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:45:18] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:45:47] local.INFO: TCP Data received {"connection_id":187003,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:47] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9254698012c7931800848f770000c01612f..."} 
[2026-09-19 15:45:47] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:47] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191954944001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812623000,"timestamp_ms":1789812623000,"timestamp_seconds":1789812623,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9254698"} 
[2026-09-19 15:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191954944001,"66":25625,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191954944001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:45:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:45:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191954944001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:45:47] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:45:47] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:45:51] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:51] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:45:51] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:51] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:45:51] 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-19 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 15: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-19 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:45:51] 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-19 15: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-19 15: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-19 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:45:51] 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-19 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:45:51] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:45:51] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:46:09] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:09] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:09] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:46:09] local.INFO: TCP Data received {"connection_id":186876,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:09] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:09] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:46:14] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:14] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:46:14] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:46:14] local.INFO: TCP Data received {"connection_id":186876,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:14] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:46:14] local.INFO: IMEI packet received {"connection_id":186876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":186876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:46:15] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:46:15] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9258518012d34c14006aa41400008010e2b..."} 
[2026-09-19 15:46:15] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:46:15] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b925"} 
[2026-09-19 15:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458191958528001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 15:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46: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-19 15:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812639000,"timestamp_ms":1789812639000,"timestamp_seconds":1789812639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9258518"} 
[2026-09-19 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-19 15:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:46: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-19 15:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458191958528001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458191958528001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458191958528001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:46:15] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:46:15] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:46:15] local.INFO: TCP Data received {"connection_id":186876,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:15] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:15] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:46:15] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:46:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 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-19 15:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:46:15] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:46:15] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:46:47] local.INFO: TCP Data received {"connection_id":186876,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:47] local.INFO: Processing buffer {"connection_id":186876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:46:47] local.INFO: Packet analysis {"connection_id":186876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:46:47] local.INFO: Extracted packet for processing {"connection_id":186876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15: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-19 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":186876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:46:47] local.INFO: GPS data processed {"connection_id":186876,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:46:47] local.INFO: Acknowledgment sent {"connection_id":186876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:46:47] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:46:47] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:46:47] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:46:47] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:46: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-19 15:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15: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-19 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:46:47] 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-19 15:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:46:47] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:46:47] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:47:09] local.INFO: TCP Data received {"connection_id":188305,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:09] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:09] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:47:14] local.INFO: TCP Data received {"connection_id":188305,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:14] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:47:14] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:47:14] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:14] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:14] local.INFO: IMEI packet received {"connection_id":186877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:47:15] local.INFO: TCP Data received {"connection_id":188305,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:15] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:15] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:47:15] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:47:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:47:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:47:15] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:47:15] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:47:19] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:19] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:47:19] local.INFO: IMEI packet received {"connection_id":186877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":186877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:47:21] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:21] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:21] local.INFO: Packet analysis {"connection_id":186877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:47:21] local.INFO: Extracted packet for processing {"connection_id":186877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:47: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-19 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:47:21] 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-19 15:47: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-19 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":186877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":186877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":186877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:47:21] 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-19 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:47:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":186877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:47:21] local.INFO: GPS data processed {"connection_id":186877,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:47:21] local.INFO: Acknowledgment sent {"connection_id":186877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:47:27] local.INFO: TCP Data received {"connection_id":186877,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:27] local.INFO: Processing buffer {"connection_id":186877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:47:27] local.INFO: Packet analysis {"connection_id":186877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:47:27] local.INFO: Extracted packet for processing {"connection_id":186877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:47: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-19 15:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:47: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:47:27] 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-19 15:47: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-19 15:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:47:27] 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-19 15:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:47:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:47:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":186877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:47:27] local.INFO: GPS data processed {"connection_id":186877,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:47:27] local.INFO: Acknowledgment sent {"connection_id":186877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:47:50] local.INFO: TCP Data received {"connection_id":188305,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:50] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:47:50] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:47:50] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:47:50] 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-19 15:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:47:50] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:47:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:47:50] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:47:50] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:09] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:09] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:09] local.INFO: IMEI packet received {"connection_id":187005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":187005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:48:09] local.INFO: TCP Data received {"connection_id":189611,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:09] local.INFO: Processing buffer {"connection_id":189611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:09] local.INFO: IMEI packet received {"connection_id":189611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:48:10] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:48:10] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:10] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:48:14] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:14] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:48:14] local.INFO: IMEI packet received {"connection_id":187005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":187005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:48:14] local.INFO: TCP Data received {"connection_id":189611,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:14] local.INFO: Processing buffer {"connection_id":189611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:48:14] local.INFO: IMEI packet received {"connection_id":189611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":189611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:48:15] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:15] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 15:48:15] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 15:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:48:15] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 15:48:15] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 15:48:15] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 15:48:15] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 15:48: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-19 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-19 15:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:15] 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-19 15:48:15] 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-19 15:48:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 15:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 15:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 15:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 15:48:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 15:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 15:48:15] local.ERROR: GPS data processing failed {"connection_id":187006,"error":"No valid data to process"} 
[2026-09-19 15:48:15] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 15:48:16] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:16] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:16] local.INFO: Packet analysis {"connection_id":187005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:48:16] local.INFO: Extracted packet for processing {"connection_id":187005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48: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-19 15:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15: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-19 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:48: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-19 15:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":187005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:16] local.INFO: GPS data processed {"connection_id":187005,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:16] local.INFO: Acknowledgment sent {"connection_id":187005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:16] local.INFO: TCP Data received {"connection_id":189611,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:16] local.INFO: Processing buffer {"connection_id":189611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:16] local.INFO: Packet analysis {"connection_id":189611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:48:16] local.INFO: Extracted packet for processing {"connection_id":189611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15: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-19 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:48: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-19 15: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-19 15: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-19 15:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":189611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:16] local.INFO: GPS data processed {"connection_id":189611,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:16] local.INFO: Acknowledgment sent {"connection_id":189611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:46] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92c89f8012d7e010005d50a18000d00c509..."} 
[2026-09-19 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92c89f8012d7e010005d50a18000d00c509..."} 
[2026-09-19 15:48:46] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92c89f8012d7e010005d50a18000d00c509..."} 
[2026-09-19 15:48:46] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:48:46] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763232512,"raw_latitude":97847832,"longitude_deg":76.3232512,"latitude_deg":9.7847832,"altitude":13,"angle":197,"satellites":9,"speed":2,"hex_longitude":"2d7e0100","hex_latitude":"05d50a18","is_valid_coordinates":true} 
[2026-09-19 15:48:46] 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-19 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074943342739456,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:46] 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-19 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813099000,"timestamp_ms":1789813099000,"timestamp_seconds":1789813099,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92c89f8"} 
[2026-09-19 15:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-19 15:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13613,"111":206,"85":15104,"24":2,"16":135074943342739456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16]} 
[2026-09-19 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 15:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135074943342739456,"km_value":135074943342739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13613,"unknown_111":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-09-19 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:46] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:46] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:48] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:48] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:48:48] local.INFO: Packet analysis {"connection_id":187005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:48:48] local.INFO: Extracted packet for processing {"connection_id":187005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15: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-19 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:48:48] 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-19 15: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-19 15: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-19 15:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15: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-19 15:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":187005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:48] local.INFO: GPS data processed {"connection_id":187005,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:48] local.INFO: Acknowledgment sent {"connection_id":187005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:48] local.INFO: TCP Data received {"connection_id":189611,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:48] local.INFO: Processing buffer {"connection_id":189611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:48:48] local.INFO: Packet analysis {"connection_id":189611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:48:48] local.INFO: Extracted packet for processing {"connection_id":189611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15: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-19 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:48: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-19 15: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-19 15: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-19 15:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":189611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:48] local.INFO: GPS data processed {"connection_id":189611,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:48] local.INFO: Acknowledgment sent {"connection_id":189611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:48:51] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:48:51] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:48:51] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:48:52] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92b3238012d1b51000724b5d0003200de22..."} 
[2026-09-19 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92b3238012d1b51000724b5d0003200de22..."} 
[2026-09-19 15:48:52] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92b3238012d1b51000724b5d0003200de22..."} 
[2026-09-19 15:48:52] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:48:52] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756764928,"raw_latitude":119846352,"longitude_deg":75.6764928,"latitude_deg":11.9846352,"altitude":50,"angle":222,"satellites":34,"speed":27,"hex_longitude":"2d1b5100","hex_latitude":"0724b5d0","is_valid_coordinates":true} 
[2026-09-19 15:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192130048001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21767620105601024,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655190665216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:48:52] 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-19 15:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789813011000,"timestamp_ms":1789813011000,"timestamp_seconds":1789813011,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92b3238"} 
[2026-09-19 15:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 15:48:52] 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-19 15:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:48:52] 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-19 15:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192130048001,"66":14265,"136":206,"83":42752,"24":27,"16":21767620105601024,"45":1969902655190665216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 15:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192130048001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:48:52] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 15:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21767620105601024,"km_value":21767620105601.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655190665216,"description":"Unknown IO ID 45"} 
[2026-09-19 15:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192130048001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1969902655190665216}} 
[2026-09-19 15:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:48:52] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:48:52] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:09] local.INFO: TCP Data received {"connection_id":189612,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:09] local.INFO: Processing buffer {"connection_id":189612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:09] local.INFO: IMEI packet received {"connection_id":189612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:49:09] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:09] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:09] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:49:14] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:14] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:49:14] local.INFO: IMEI packet received {"connection_id":186878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":186878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:49:14] local.INFO: TCP Data received {"connection_id":189612,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:14] local.INFO: Processing buffer {"connection_id":189612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:49:14] local.INFO: IMEI packet received {"connection_id":189612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:49:15] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:15] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:15] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:49:15] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49: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-19 15:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 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-19 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:49: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-19 15:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:15] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:15] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:15] local.INFO: TCP Data received {"connection_id":189612,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:15] local.INFO: Processing buffer {"connection_id":189612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:15] local.INFO: Packet analysis {"connection_id":189612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:49:15] local.INFO: Extracted packet for processing {"connection_id":189612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 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-19 15:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 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-19 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":189612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:15] local.INFO: GPS data processed {"connection_id":189612,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:15] local.INFO: Acknowledgment sent {"connection_id":189612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:17] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92d39c0012d7e018005d50c680015003d0a..."} 
[2026-09-19 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92d39c0012d7e018005d50c680015003d0a..."} 
[2026-09-19 15:49:17] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92d39c0012d7e018005d50c680015003d0a..."} 
[2026-09-19 15:49:17] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:49:17] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763232640,"raw_latitude":97848424,"longitude_deg":76.323264,"latitude_deg":9.7848424,"altitude":21,"angle":61,"satellites":10,"speed":2,"hex_longitude":"2d7e0180","hex_latitude":"05d50c68","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192164608001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075063601823744,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079608717548998656,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789813144000,"timestamp_ms":1789813144000,"timestamp_seconds":1789813144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92d39c0"} 
[2026-09-19 15: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-19 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 15:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 15:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192164608001,"66":13624,"111":206,"85":15104,"24":2,"16":135075063601823744,"45":9079608717548998656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 15:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 15:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 15:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192164608001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 15:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 15:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075063601823744,"km_value":135075063601823.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079608717548998656,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192164608001,"power":13624,"unknown_111":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9079608717548998656}} 
[2026-09-19 15:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:17] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:17] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:23] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92b5560012d1b3d000724a658002d00e923..."} 
[2026-09-19 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92b5560012d1b3d000724a658002d00e923..."} 
[2026-09-19 15:49:23] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92b5560012d1b3d000724a658002d00e923..."} 
[2026-09-19 15:49:23] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:49:23] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119842392,"longitude_deg":75.6759808,"latitude_deg":11.9842392,"altitude":45,"angle":233,"satellites":35,"speed":32,"hex_longitude":"2d1b3d00","hex_latitude":"0724a658","is_valid_coordinates":true} 
[2026-09-19 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192130816001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21767929343246336,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968354542818283520,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:23] 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-19 15:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789813020000,"timestamp_ms":1789813020000,"timestamp_seconds":1789813020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92b5560"} 
[2026-09-19 15:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:23] 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-19 15:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:49:23] 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-19 15:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192130816001,"66":14135,"136":206,"83":42752,"24":32,"16":21767929343246336,"45":1968354542818283520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 15:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192130816001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:23] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 15:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21767929343246336,"km_value":21767929343246.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968354542818283520,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192130816001,"power":14135,"unknown_136":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1968354542818283520}} 
[2026-09-19 15:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:23] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:23] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:47] local.INFO: TCP Data received {"connection_id":186878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:47] local.INFO: Processing buffer {"connection_id":186878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:49:47] local.INFO: Packet analysis {"connection_id":186878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:49:47] local.INFO: Extracted packet for processing {"connection_id":186878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:49:47] 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-19 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":186878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:47] local.INFO: GPS data processed {"connection_id":186878,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:47] local.INFO: Acknowledgment sent {"connection_id":186878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:47] local.INFO: TCP Data received {"connection_id":189612,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:47] local.INFO: Processing buffer {"connection_id":189612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:49:47] local.INFO: Packet analysis {"connection_id":189612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:49:47] local.INFO: Extracted packet for processing {"connection_id":189612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:47] local.INFO: GPS data processed {"connection_id":189612,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:47] local.INFO: Acknowledgment sent {"connection_id":189612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:48] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92d4960012d7e030005d50d08001300310b..."} 
[2026-09-19 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92d4960012d7e030005d50d08001300310b..."} 
[2026-09-19 15:49:48] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92d4960012d7e030005d50d08001300310b..."} 
[2026-09-19 15:49:48] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:49:48] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97848584,"longitude_deg":76.3233024,"latitude_deg":9.7848584,"altitude":19,"angle":49,"satellites":11,"speed":1,"hex_longitude":"2d7e0300","hex_latitude":"05d50d08","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192164864001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075085076660224,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079679086293182464,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:48] 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-19 15:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789813148000,"timestamp_ms":1789813148000,"timestamp_seconds":1789813148,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92d4960"} 
[2026-09-19 15: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-19 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 15:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 15:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 15:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192164864001,"66":13559,"111":206,"85":15104,"24":1,"16":135075085076660224,"45":9079679086293182464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 15:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 15:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 15:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192164864001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:48] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 15:49:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 15:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075085076660224,"km_value":135075085076660.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079679086293182464,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192164864001,"power":13559,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9079679086293182464}} 
[2026-09-19 15:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:48] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:48] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:49:51] local.INFO: TCP Data received {"connection_id":189613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:51] local.INFO: Processing buffer {"connection_id":189613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:51] local.INFO: IMEI packet received {"connection_id":189613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":189613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:49:56] local.INFO: TCP Data received {"connection_id":189613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:56] local.INFO: Processing buffer {"connection_id":189613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:49:56] local.INFO: IMEI packet received {"connection_id":189613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":189613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:49:57] local.INFO: TCP Data received {"connection_id":189613,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92ba380012d1b1fc0072490d0002d00ea27..."} 
[2026-09-19 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92ba380012d1b1fc0072490d0002d00ea27..."} 
[2026-09-19 15:49:57] local.INFO: Processing buffer {"connection_id":189613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92ba380012d1b1fc0072490d0002d00ea27..."} 
[2026-09-19 15:49:57] local.INFO: Packet analysis {"connection_id":189613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:49:57] local.INFO: Extracted packet for processing {"connection_id":189613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756752320,"raw_latitude":119836880,"longitude_deg":75.675232,"latitude_deg":11.983688,"altitude":45,"angle":234,"satellites":39,"speed":22,"hex_longitude":"2d1b1fc0","hex_latitude":"072490d0","is_valid_coordinates":true} 
[2026-09-19 15:49: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-19 15:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192133120001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043283056640,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768376019845120,"note":"Value kept but may cause issues"} 
[2026-09-19 15:49:57] 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-19 15:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789813040000,"timestamp_ms":1789813040000,"timestamp_seconds":1789813040,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92ba380"} 
[2026-09-19 15:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 15:49:57] 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-19 15:49: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-19 15:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:49:57] 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-19 15:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192133120001,"66":13135,"45":1962725043283056640,"83":41984,"24":22,"16":21768376019845120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192133120001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043283056640,"description":"Unknown IO ID 45"} 
[2026-09-19 15:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768376019845120,"km_value":21768376019845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:49:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192133120001,"power":13135,"unknown_45":1962725043283056640,"unknown_83":41984,"ignition":22,"odometer":null}} 
[2026-09-19 15:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":189613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:49:57] local.INFO: GPS data processed {"connection_id":189613,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:49:57] local.INFO: Acknowledgment sent {"connection_id":189613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:01] local.INFO: TCP Data received {"connection_id":189613,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92bc6a8012d1b0d0007248178002d00de27..."} 
[2026-09-19 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92bc6a8012d1b0d0007248178002d00de27..."} 
[2026-09-19 15:50:01] local.INFO: Processing buffer {"connection_id":189613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92bc6a8012d1b0d0007248178002d00de27..."} 
[2026-09-19 15:50:01] local.INFO: Packet analysis {"connection_id":189613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:50:01] local.INFO: Extracted packet for processing {"connection_id":189613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756747520,"raw_latitude":119832952,"longitude_deg":75.674752,"latitude_deg":11.9832952,"altitude":45,"angle":222,"satellites":39,"speed":23,"hex_longitude":"2d1b0d00","hex_latitude":"07248178","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192138240001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954491900212858880,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768672372588544,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:01] 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-19 15:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789813049000,"timestamp_ms":1789813049000,"timestamp_seconds":1789813049,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92bc6a8"} 
[2026-09-19 15: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-19 15:50: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-19 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:01] 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-19 15: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-19 15: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-19 15:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":189613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":189613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":189613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:50: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-19 15:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192138240001,"66":13156,"45":1954491900212858880,"83":41984,"24":23,"16":21768672372588544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192138240001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954491900212858880,"description":"Unknown IO ID 45"} 
[2026-09-19 15:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768672372588544,"km_value":21768672372588.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192138240001,"power":13156,"unknown_45":1954491900212858880,"unknown_83":41984,"ignition":23,"odometer":null}} 
[2026-09-19 15:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":189613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:01] local.INFO: GPS data processed {"connection_id":189613,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:01] local.INFO: Acknowledgment sent {"connection_id":189613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:09] local.INFO: TCP Data received {"connection_id":187007,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:09] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:09] local.INFO: IMEI packet received {"connection_id":187007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":187007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:50:09] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:09] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:09] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:50:14] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:14] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:50:14] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:50:14] local.INFO: TCP Data received {"connection_id":187007,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:14] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:50:14] local.INFO: IMEI packet received {"connection_id":187007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":187007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:50:15] local.INFO: TCP Data received {"connection_id":187007,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:15] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:15] local.INFO: Packet analysis {"connection_id":187007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:50:15] local.INFO: Extracted packet for processing {"connection_id":187007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:50:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:50:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":187007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:15] local.INFO: GPS data processed {"connection_id":187007,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:15] local.INFO: Acknowledgment sent {"connection_id":187007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:16] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:16] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:16] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:50:16] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50: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-19 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15: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-19 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:50:16] 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-19 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:16] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:16] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:46] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:46] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:46] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:50:47] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:47] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:47] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:50:47] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:47] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:50:47] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:50:47] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50: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-19 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15: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-19 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:50:47] 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-19 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:47] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:47] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:47] local.INFO: TCP Data received {"connection_id":187007,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:47] local.INFO: Processing buffer {"connection_id":187007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b929da78012c7931800848f770000c01612f..."} 
[2026-09-19 15:50:47] local.INFO: Packet analysis {"connection_id":187007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:50:47] local.INFO: Extracted packet for processing {"connection_id":187007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b929"} 
[2026-09-19 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192031488001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789812923000,"timestamp_ms":1789812923000,"timestamp_seconds":1789812923,"priority":1,"record_length":96,"hex_timestamp":"000001a0b929da78"} 
[2026-09-19 15: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-19 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192031488001,"66":25615,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192031488001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192031488001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":187007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:47] local.INFO: GPS data processed {"connection_id":187007,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:47] local.INFO: Acknowledgment sent {"connection_id":187007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:50:51] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:51] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:50:51] local.INFO: IMEI packet received {"connection_id":186879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":186879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:50:52] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92be200012d1b050007247928002c00e923..."} 
[2026-09-19 15:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92be200012d1b050007247928002c00e923..."} 
[2026-09-19 15:50:52] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92be200012d1b050007247928002c00e923..."} 
[2026-09-19 15:50:52] local.INFO: Packet analysis {"connection_id":186879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:50:52] local.INFO: Extracted packet for processing {"connection_id":186879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756745472,"raw_latitude":119830824,"longitude_deg":75.6745472,"latitude_deg":11.9830824,"altitude":44,"angle":233,"satellites":35,"speed":7,"hex_longitude":"2d1b0500","hex_latitude":"07247928","is_valid_coordinates":true} 
[2026-09-19 15:50: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-19 15:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192140544001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949214244398528512,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768818401476608,"note":"Value kept but may cause issues"} 
[2026-09-19 15:50:52] 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-19 15:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789813056000,"timestamp_ms":1789813056000,"timestamp_seconds":1789813056,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92be200"} 
[2026-09-19 15:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 15:50:52] 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-19 15:50: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-19 15:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:50:52] 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-19 15:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192140544001,"66":13124,"45":1949214244398528512,"83":41984,"24":7,"16":21768818401476608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192140544001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949214244398528512,"description":"Unknown IO ID 45"} 
[2026-09-19 15:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768818401476608,"km_value":21768818401476.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:50:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192140544001,"power":13124,"unknown_45":1949214244398528512,"unknown_83":41984,"ignition":7,"odometer":null}} 
[2026-09-19 15:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":186879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:50:52] local.INFO: GPS data processed {"connection_id":186879,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:50:52] local.INFO: Acknowledgment sent {"connection_id":186879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:09] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:09] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:09] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:51:14] local.INFO: TCP Data received {"connection_id":188310,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:14] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:14] local.INFO: IMEI packet received {"connection_id":188310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:51:15] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:15] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:51:15] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:51:16] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:51:16] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92a1ce0012d34c14006aa41400008010e29..."} 
[2026-09-19 15:51:16] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:51:16] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92a"} 
[2026-09-19 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192035584001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51: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-19 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789812940000,"timestamp_ms":1789812940000,"timestamp_seconds":1789812940,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92a1ce0"} 
[2026-09-19 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:51: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-19 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192035584001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192035584001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192035584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:16] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:16] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:19] local.INFO: TCP Data received {"connection_id":188310,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:19] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:51:19] local.INFO: IMEI packet received {"connection_id":188310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:51:20] local.INFO: TCP Data received {"connection_id":188310,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:20] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:20] local.INFO: Packet analysis {"connection_id":188310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:20] local.INFO: Extracted packet for processing {"connection_id":188310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192108288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813224000,"timestamp_ms":1789813224000,"timestamp_seconds":1789813224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92e7240"} 
[2026-09-19 15:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:20] 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-19 15:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192108288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192108288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192108288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":188310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:20] local.INFO: GPS data processed {"connection_id":188310,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:20] local.INFO: Acknowledgment sent {"connection_id":188310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:23] local.INFO: TCP Data received {"connection_id":186879,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92bedb8012d1b034007247888002c011327..."} 
[2026-09-19 15:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92bedb8012d1b034007247888002c011327..."} 
[2026-09-19 15:51:23] local.INFO: Processing buffer {"connection_id":186879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92bedb8012d1b034007247888002c011327..."} 
[2026-09-19 15:51:23] local.INFO: Packet analysis {"connection_id":186879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:51:23] local.INFO: Extracted packet for processing {"connection_id":186879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756745024,"raw_latitude":119830664,"longitude_deg":75.6745024,"latitude_deg":11.9830664,"altitude":44,"angle":275,"satellites":39,"speed":6,"hex_longitude":"2d1b0340","hex_latitude":"07247888","is_valid_coordinates":true} 
[2026-09-19 15:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192142336001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946962444584298496,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768839876313088,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:23] 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-19 15:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789813059000,"timestamp_ms":1789813059000,"timestamp_seconds":1789813059,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92bedb8"} 
[2026-09-19 15:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:23] 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-19 15:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:51:23] 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-19 15:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192142336001,"66":13059,"45":1946962444584298496,"83":41984,"24":6,"16":21768839876313088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192142336001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946962444584298496,"description":"Unknown IO ID 45"} 
[2026-09-19 15:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768839876313088,"km_value":21768839876313.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192142336001,"power":13059,"unknown_45":1946962444584298496,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-09-19 15:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":186879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:23] local.INFO: GPS data processed {"connection_id":186879,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:23] local.INFO: Acknowledgment sent {"connection_id":186879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:25] local.INFO: TCP Data received {"connection_id":188310,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:25] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:51:25] local.INFO: Packet analysis {"connection_id":188310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:25] local.INFO: Extracted packet for processing {"connection_id":188310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:51: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-19 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192108288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789813224000,"timestamp_ms":1789813224000,"timestamp_seconds":1789813224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92e7240"} 
[2026-09-19 15:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:25] 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-19 15:51: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-19 15:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192108288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192108288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:51:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192108288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":188310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:25] local.INFO: GPS data processed {"connection_id":188310,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:25] local.INFO: Acknowledgment sent {"connection_id":188310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:45] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:45] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:45] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:51:47] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:51:47] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:51:47] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:47] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51: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-19 15:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:51: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-19 15:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:47] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:47] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:51:50] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:50] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:51:50] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:51:51] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92bf970012d1b010007247890002c00fe26..."} 
[2026-09-19 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92bf970012d1b010007247890002c00fe26..."} 
[2026-09-19 15:51:51] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92bf970012d1b010007247890002c00fe26..."} 
[2026-09-19 15:51:51] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:51:51] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92b"} 
[2026-09-19 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756744448,"raw_latitude":119830672,"longitude_deg":75.6744448,"latitude_deg":11.9830672,"altitude":44,"angle":254,"satellites":38,"speed":5,"hex_longitude":"2d1b0100","hex_latitude":"07247890","is_valid_coordinates":true} 
[2026-09-19 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192143104001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375013888,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768865646116864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] 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-19 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813062000,"timestamp_ms":1789813062000,"timestamp_seconds":1789813062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92bf970"} 
[2026-09-19 15:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303183799831899,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3106612864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2790785069,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.WARNING: Large IO value detected {"io_id":136,"raw_value":58075821928611873,"note":"Value kept but may cause issues"} 
[2026-09-19 15:51:51] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,83,24,241,157,16,86,160,226,121,44,35,10,66,198,129,39,163,192,1,240,79,227,185,36,4,113,205,32,50,81,208,34,239,55,136,2,77,7,51,33],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-09-19 15:51:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170836670870585344,"timestamp_seconds":3170836670870585.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:51:51] 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-19 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192143104001,"66":12613,"45":1946469863375013888,"83":41984,"24":5,"16":21768865646116864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192143104001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375013888,"description":"Unknown IO ID 45"} 
[2026-09-19 15:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768865646116864,"km_value":21768865646116.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192143104001,"power":12613,"unknown_45":1946469863375013888,"unknown_83":41984,"ignition":5,"odometer":null}} 
[2026-09-19 15:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:51:51] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:51:51] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:09] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:09] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:09] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:52:09] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:09] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:09] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:52:14] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:14] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:52:14] local.INFO: IMEI packet received {"connection_id":186880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:52:14] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:14] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:52:14] local.INFO: IMEI packet received {"connection_id":186881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":186881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:52:15] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:15] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:15] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:15] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52: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-19 15:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15: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-19 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:52: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-19 15:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:15] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:15] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:15] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:15] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:15] local.INFO: Packet analysis {"connection_id":186881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:15] local.INFO: Extracted packet for processing {"connection_id":186881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192108288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813224000,"timestamp_ms":1789813224000,"timestamp_seconds":1789813224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92e7240"} 
[2026-09-19 15: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-19 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192108288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192108288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192108288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":186881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:15] local.INFO: GPS data processed {"connection_id":186881,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:15] local.INFO: Acknowledgment sent {"connection_id":186881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:22] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92c4b78012d1affc0072477b8002c00fe25..."} 
[2026-09-19 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92c4b78012d1affc0072477b8002c00fe25..."} 
[2026-09-19 15:52:22] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92c4b78012d1affc0072477b8002c00fe25..."} 
[2026-09-19 15:52:22] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:52:22] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192143872001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945836544677416960,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:22] 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-19 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789813083000,"timestamp_ms":1789813083000,"timestamp_seconds":1789813083,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92c4b78"} 
[2026-09-19 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 15:52:22] 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-19 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:52:22] 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-19 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192143872001,"66":13080,"45":1945836544677416960,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192143872001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945836544677416960,"description":"Unknown IO ID 45"} 
[2026-09-19 15:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192143872001,"power":13080,"unknown_45":1945836544677416960,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:22] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:22] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:46] local.INFO: TCP Data received {"connection_id":186880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:46] local.INFO: Processing buffer {"connection_id":186880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:52:46] local.INFO: Packet analysis {"connection_id":186880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:46] local.INFO: Extracted packet for processing {"connection_id":186880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52: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-19 15:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:52: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-19 15:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:52: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-19 15:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":186880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:46] local.INFO: GPS data processed {"connection_id":186880,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:46] local.INFO: Acknowledgment sent {"connection_id":186880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:47] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:47] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:47] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:52:47] local.INFO: TCP Data received {"connection_id":186881,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:47] local.INFO: Processing buffer {"connection_id":186881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92e7240012c7931800848f770000c01612f..."} 
[2026-09-19 15:52:47] local.INFO: Packet analysis {"connection_id":186881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:47] local.INFO: Extracted packet for processing {"connection_id":186881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:52:47] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192108288001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813224000,"timestamp_ms":1789813224000,"timestamp_seconds":1789813224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92e7240"} 
[2026-09-19 15: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-19 15:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192108288001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192108288001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:52:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192108288001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":186881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:47] local.INFO: GPS data processed {"connection_id":186881,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:47] local.INFO: Acknowledgment sent {"connection_id":186881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:52:51] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:51] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:52:51] local.INFO: IMEI packet received {"connection_id":186882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":186882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:52:52] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92c9d80012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92c9d80012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:52:52] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92c9d80012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:52:52] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:52:52] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192149248001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:52:52] 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-19 15:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789813104000,"timestamp_ms":1789813104000,"timestamp_seconds":1789813104,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92c9d80"} 
[2026-09-19 15:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 15:52:52] 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-19 15:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:52:52] 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-19 15:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192149248001,"66":13015,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192149248001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:52:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:52:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192149248001,"power":13015,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:52:52] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:52:52] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:09] local.INFO: TCP Data received {"connection_id":188311,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:09] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:09] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:53:09] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:09] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:09] local.INFO: IMEI packet received {"connection_id":186883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":186883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:53:14] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:14] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:53:14] local.INFO: IMEI packet received {"connection_id":186883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":186883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:53:14] local.INFO: TCP Data received {"connection_id":188311,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:14] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:53:14] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:53:15] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:15] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:15] local.INFO: Packet analysis {"connection_id":186883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:53:15] local.INFO: Extracted packet for processing {"connection_id":186883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53: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-19 15:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:53:15] 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-19 15:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":186883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:15] local.INFO: GPS data processed {"connection_id":186883,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:15] local.INFO: Acknowledgment sent {"connection_id":186883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:16] local.INFO: TCP Data received {"connection_id":188311,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93023d8012c7931800848f770000c01612f..."} 
[2026-09-19 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93023d8012c7931800848f770000c01612f..."} 
[2026-09-19 15:53:16] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93023d8012c7931800848f770000c01612f..."} 
[2026-09-19 15:53:16] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:53:16] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:53:16] local.INFO: GPS Element Parsed {"raw_longitude":746140032,"raw_latitude":138999664,"longitude_deg":74.6140032,"latitude_deg":13.8999664,"altitude":12,"angle":353,"satellites":47,"speed":0,"hex_longitude":"2c793180","hex_latitude":"0848f770","is_valid_coordinates":true} 
[2026-09-19 15:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192185344001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789813335000,"timestamp_ms":1789813335000,"timestamp_seconds":1789813335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93023d8"} 
[2026-09-19 15: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-19 15:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:16] 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-19 15: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-19 15: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-19 15:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192185344001,"66":25549,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192185344001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:53:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192185344001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:16] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:16] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:23] local.INFO: TCP Data received {"connection_id":186882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92cef88012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92cef88012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:53:23] local.INFO: Processing buffer {"connection_id":186882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92cef88012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:53:23] local.INFO: Packet analysis {"connection_id":186882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:53:23] local.INFO: Extracted packet for processing {"connection_id":186882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92c"} 
[2026-09-19 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:53: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-19 15:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192154624001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:23] 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-19 15:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789813125000,"timestamp_ms":1789813125000,"timestamp_seconds":1789813125,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92cef88"} 
[2026-09-19 15:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:23] 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-19 15:53: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-19 15:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:53:23] 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-19 15:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192154624001,"66":13015,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192154624001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192154624001,"power":13015,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":186882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:23] local.INFO: GPS data processed {"connection_id":186882,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:23] local.INFO: Acknowledgment sent {"connection_id":186882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:45] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:45] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:45] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:53:47] local.INFO: TCP Data received {"connection_id":186883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:47] local.INFO: Processing buffer {"connection_id":186883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:53:47] local.INFO: Packet analysis {"connection_id":186883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:53:47] local.INFO: Extracted packet for processing {"connection_id":186883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 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-19 15:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:53:47] 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-19 15:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:47] local.INFO: GPS data processed {"connection_id":186883,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:47] local.INFO: Acknowledgment sent {"connection_id":186883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:48] local.INFO: TCP Data received {"connection_id":188311,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93079c8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93079c8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:53:48] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93079c8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:53:48] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:53:48] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192213760001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732901925520371712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789813357000,"timestamp_ms":1789813357000,"timestamp_seconds":1789813357,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93079c8"} 
[2026-09-19 15:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:48] 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-19 15:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192213760001,"66":22505,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732901925520371712},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192213760001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:53:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732901925520371712,"description":"Unknown IO ID 44"} 
[2026-09-19 15:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192213760001,"power":22505,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732901925520371712}} 
[2026-09-19 15:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:48] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:48] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:53:51] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:51] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:53:51] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:53:51] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92d4190012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92d4190012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:53:51] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92d4190012d1affc0072477b8002c00fe29..."} 
[2026-09-19 15:53:51] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:53:51] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92d"} 
[2026-09-19 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192160000001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:53:51] 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-19 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813146000,"timestamp_ms":1789813146000,"timestamp_seconds":1789813146,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92d4190"} 
[2026-09-19 15: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-19 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 15:53:51] 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-19 15: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-19 15: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-19 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:53:51] 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-19 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192160000001,"66":13015,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192160000001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:53:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192160000001,"power":13015,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:53:52] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:53:52] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:09] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:09] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:09] local.INFO: IMEI packet received {"connection_id":186884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":186884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:54:14] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:14] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:54:14] local.INFO: IMEI packet received {"connection_id":186884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":186884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:54:14] local.INFO: TCP Data received {"connection_id":187009,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:14] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:14] local.INFO: IMEI packet received {"connection_id":187009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":187009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:54:15] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:15] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:15] local.INFO: Packet analysis {"connection_id":186884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:54:15] local.INFO: Extracted packet for processing {"connection_id":186884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54: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-19 15:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15: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-19 15:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15: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-19 15: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-19 15:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:54: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-19 15:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":186884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:15] local.INFO: GPS data processed {"connection_id":186884,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:15] local.INFO: Acknowledgment sent {"connection_id":186884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:18] local.INFO: TCP Data received {"connection_id":187009,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:18] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:54:18] local.INFO: IMEI packet received {"connection_id":187009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":187009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:54:19] local.INFO: TCP Data received {"connection_id":187009,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b930cbd0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b930cbd0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:19] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b930cbd0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:19] local.INFO: Packet analysis {"connection_id":187009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:54:19] local.INFO: Extracted packet for processing {"connection_id":187009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192219392001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789813378000,"timestamp_ms":1789813378000,"timestamp_seconds":1789813378,"priority":1,"record_length":96,"hex_timestamp":"000001a0b930cbd0"} 
[2026-09-19 15:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":87,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2730,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192219392001,"66":28137,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192219392001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192219392001,"power":28137,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":187009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:19] local.INFO: GPS data processed {"connection_id":187009,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:19] local.INFO: Acknowledgment sent {"connection_id":187009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:20] local.INFO: TCP Data received {"connection_id":187009,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9311dd8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9311dd8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:20] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9311dd8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:20] local.INFO: Packet analysis {"connection_id":187009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:20] local.INFO: Extracted packet for processing {"connection_id":187009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192224768001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813399000,"timestamp_ms":1789813399000,"timestamp_seconds":1789813399,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9311dd8"} 
[2026-09-19 15:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:20] 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-19 15:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192224768001,"66":28430,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192224768001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192224768001,"power":28430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":187009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:20] local.INFO: GPS data processed {"connection_id":187009,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:20] local.INFO: Acknowledgment sent {"connection_id":187009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:23] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b930c7e8012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b930c7e8012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:54:23] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b930c7e8012d1affc0072477b8002c00fe27..."} 
[2026-09-19 15:54:23] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:54:23] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b930"} 
[2026-09-19 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192219136001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] 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-19 15:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789813377000,"timestamp_ms":1789813377000,"timestamp_seconds":1789813377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b930c7e8"} 
[2026-09-19 15: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-19 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3106834864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3330315172468948928,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724369614,"corrected_to":0} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3221693559,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512917115253165,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2627771218471747110,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,45,83,24,241,157,16,86,160,35,192,119,44,40,10,66,209,127,1,240,63,227,185,36,4,113,205,219,255,184,239,50,2,77,7,164,176],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724369614,"validated":0}]} 
[2026-09-19 15:54:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170813581126008832,"timestamp_seconds":3170813581126009.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15: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-19 15:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:23] 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-19 15:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192219136001,"66":12809,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192219136001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192219136001,"power":12809,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:23] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:23] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:47] local.INFO: TCP Data received {"connection_id":186884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:47] local.INFO: Processing buffer {"connection_id":186884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:54:47] local.INFO: Packet analysis {"connection_id":186884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:54:47] local.INFO: Extracted packet for processing {"connection_id":186884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:54:47] 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-19 15:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":186884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:47] local.INFO: GPS data processed {"connection_id":186884,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:47] local.INFO: Acknowledgment sent {"connection_id":186884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:51] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:51] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:51] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:54:52] local.INFO: TCP Data received {"connection_id":187009,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9316fe0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9316fe0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:52] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9316fe0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:54:52] local.INFO: Packet analysis {"connection_id":187009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:52] local.INFO: Extracted packet for processing {"connection_id":187009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192230144001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789813420000,"timestamp_ms":1789813420000,"timestamp_seconds":1789813420,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9316fe0"} 
[2026-09-19 15:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192230144001,"66":28300,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192230144001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:54:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192230144001,"power":28300,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":187009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:52] local.INFO: GPS data processed {"connection_id":187009,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:52] local.INFO: Acknowledgment sent {"connection_id":187009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:56] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:56] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:54:56] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:54:57] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93119f0012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93119f0012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:57] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93119f0012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:57] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:57] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192224512001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] 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-19 15:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789813398000,"timestamp_ms":1789813398000,"timestamp_seconds":1789813398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93119f0"} 
[2026-09-19 15:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3106855864,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3353404916652244928,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724369614,"corrected_to":0} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3221693559,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121078546189907,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2627771218471747113,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,45,83,24,241,157,16,86,160,117,192,119,44,39,10,66,35,40,209,1,240,41,227,185,36,4,113,205,255,184,239,50,2,77,7,164,176],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724369614,"validated":0}]} 
[2026-09-19 15:54:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170813581126008832,"timestamp_seconds":3170813581126009.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 15:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:57] 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-19 15:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192224512001,"66":12798,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192224512001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192224512001,"power":12798,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:57] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:57] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:54:59] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9316bf8012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9316bf8012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:59] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9316bf8012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:54:59] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:59] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192229888001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:54:59] 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-19 15:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789813419000,"timestamp_ms":1789813419000,"timestamp_seconds":1789813419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9316bf8"} 
[2026-09-19 15:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 15:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:54:59] 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-19 15:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192229888001,"66":13135,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192229888001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:54:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192229888001,"power":13135,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:54:59] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:54:59] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:09] local.INFO: TCP Data received {"connection_id":186885,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:09] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:09] local.INFO: IMEI packet received {"connection_id":186885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":186885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:55:14] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:14] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:14] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:55:14] local.INFO: TCP Data received {"connection_id":186885,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:14] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:55:14] local.INFO: IMEI packet received {"connection_id":186885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:55:15] local.INFO: TCP Data received {"connection_id":186885,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b931c1e8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b931c1e8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:15] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b931c1e8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:15] local.INFO: Packet analysis {"connection_id":186885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:55:15] local.INFO: Extracted packet for processing {"connection_id":186885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192235520001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813441000,"timestamp_ms":1789813441000,"timestamp_seconds":1789813441,"priority":1,"record_length":96,"hex_timestamp":"000001a0b931c1e8"} 
[2026-09-19 15: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-19 15:55: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-19 15: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 15:55: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-19 15: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-19 15: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-19 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192235520001,"66":28202,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192235520001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:55:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192235520001,"power":28202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":186885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:16] local.INFO: GPS data processed {"connection_id":186885,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:16] local.INFO: Acknowledgment sent {"connection_id":186885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:19] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:19] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:55:19] local.INFO: IMEI packet received {"connection_id":186886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":186886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:55:20] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:20] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:20] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:55:20] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:20] 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-19 15:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:55:20] 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-19 15:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:20] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:20] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:26] local.INFO: TCP Data received {"connection_id":186886,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:26] local.INFO: Processing buffer {"connection_id":186886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:55:26] local.INFO: Packet analysis {"connection_id":186886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:55:26] local.INFO: Extracted packet for processing {"connection_id":186886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:55: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-19 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:55: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:26] 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-19 15:55: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-19 15:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":186886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":186886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:55:26] 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-19 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":186886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:26] local.INFO: GPS data processed {"connection_id":186886,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:26] local.INFO: Acknowledgment sent {"connection_id":186886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:30] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b931be00012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b931be00012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:55:30] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b931be00012d1affc0072477b8002c00fe28..."} 
[2026-09-19 15:55:30] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:55:30] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b931"} 
[2026-09-19 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119830456,"longitude_deg":75.6744128,"latitude_deg":11.9830456,"altitude":44,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d1affc0","hex_latitude":"072477b8","is_valid_coordinates":true} 
[2026-09-19 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192235264001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768887120953344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:30] 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-19 15:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789813440000,"timestamp_ms":1789813440000,"timestamp_seconds":1789813440,"priority":1,"record_length":96,"hex_timestamp":"000001a0b931be00"} 
[2026-09-19 15:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:30] 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-19 15:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192235264001,"66":14135,"45":1945484700956473344,"83":41984,"24":0,"16":21768887120953344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192235264001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768887120953344,"km_value":21768887120953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192235264001,"power":14135,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-19 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:30] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:30] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:46] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:46] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:46] local.INFO: IMEI packet received {"connection_id":189614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":189614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:55:47] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:47] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:47] local.INFO: IMEI packet received {"connection_id":189614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":189614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:55:47] local.INFO: TCP Data received {"connection_id":186885,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93213f0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93213f0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:47] local.INFO: Processing buffer {"connection_id":186885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93213f0012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:55:47] local.INFO: Packet analysis {"connection_id":186885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:47] local.INFO: Extracted packet for processing {"connection_id":186885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15: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-19 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192240896001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813462000,"timestamp_ms":1789813462000,"timestamp_seconds":1789813462,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93213f0"} 
[2026-09-19 15: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-19 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:47] 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-19 15: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-19 15: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-19 15:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192240896001,"66":28300,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192240896001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:55:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192240896001,"power":28300,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":186885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:47] local.INFO: GPS data processed {"connection_id":186885,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:47] local.INFO: Acknowledgment sent {"connection_id":186885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:51] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:51] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:55:51] local.INFO: IMEI packet received {"connection_id":189614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":189614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:55:51] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:51] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:51] local.INFO: Packet analysis {"connection_id":189614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:51] local.INFO: Extracted packet for processing {"connection_id":189614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119830288,"longitude_deg":75.6743616,"latitude_deg":11.9830288,"altitude":43,"angle":202,"satellites":41,"speed":4,"hex_longitude":"2d1afdc0","hex_latitude":"07247710","is_valid_coordinates":true} 
[2026-09-19 15:55: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-19 15:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192240640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956473344,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768912890757120,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:51] 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-19 15:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813461000,"timestamp_ms":1789813461000,"timestamp_seconds":1789813461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9321008"} 
[2026-09-19 15:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:51] 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-19 15:55: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-19 15:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:51] 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-19 15:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192240640001,"66":14211,"45":1945484700956473344,"83":41984,"24":4,"16":21768912890757120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192240640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956473344,"description":"Unknown IO ID 45"} 
[2026-09-19 15:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768912890757120,"km_value":21768912890757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192240640001,"power":14211,"unknown_45":1945484700956473344,"unknown_83":41984,"ignition":4,"odometer":null}} 
[2026-09-19 15:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":189614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:52] local.INFO: GPS data processed {"connection_id":189614,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:52] local.INFO: Acknowledgment sent {"connection_id":189614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:55:56] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:56] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9321008012d1afdc007247710002b00ca29..."} 
[2026-09-19 15:55:56] local.INFO: Packet analysis {"connection_id":189614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:56] local.INFO: Extracted packet for processing {"connection_id":189614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119830288,"longitude_deg":75.6743616,"latitude_deg":11.9830288,"altitude":43,"angle":202,"satellites":41,"speed":4,"hex_longitude":"2d1afdc0","hex_latitude":"07247710","is_valid_coordinates":true} 
[2026-09-19 15:55: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-19 15:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192246016001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921751003009024,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768912890757120,"note":"Value kept but may cause issues"} 
[2026-09-19 15:55:56] 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-19 15:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789813461000,"timestamp_ms":1789813461000,"timestamp_seconds":1789813461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9321008"} 
[2026-09-19 15:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:55: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 15:55:56] 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-19 15:55: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-19 15:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:55:56] 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-19 15:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192246016001,"66":14211,"45":1944921751003009024,"83":41984,"24":4,"16":21768912890757120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192246016001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921751003009024,"description":"Unknown IO ID 45"} 
[2026-09-19 15:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768912890757120,"km_value":21768912890757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:55:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192246016001,"power":14211,"unknown_45":1944921751003009024,"unknown_83":41984,"ignition":4,"odometer":null}} 
[2026-09-19 15:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":189614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:55:56] local.INFO: GPS data processed {"connection_id":189614,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:55:56] local.INFO: Acknowledgment sent {"connection_id":189614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:09] local.INFO: TCP Data received {"connection_id":189615,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:09] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:09] local.INFO: IMEI packet received {"connection_id":189615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":189615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:56:09] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:09] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:09] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:56:14] local.INFO: TCP Data received {"connection_id":189615,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:14] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:56:14] local.INFO: IMEI packet received {"connection_id":189615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":189615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:56:14] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:14] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:56:14] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:56:15] local.INFO: TCP Data received {"connection_id":189615,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93265f8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93265f8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:15] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93265f8012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:15] local.INFO: Packet analysis {"connection_id":189615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:15] local.INFO: Extracted packet for processing {"connection_id":189615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192246272001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813483000,"timestamp_ms":1789813483000,"timestamp_seconds":1789813483,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93265f8"} 
[2026-09-19 15:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56: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-19 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 15:56: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-19 15:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192246272001,"66":28376,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192246272001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192246272001,"power":28376,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":189615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:15] local.INFO: GPS data processed {"connection_id":189615,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:15] local.INFO: Acknowledgment sent {"connection_id":189615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:15] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:15] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:15] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:56:15] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56: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-19 15:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56: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-19 15:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:15] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:15] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:20] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:20] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b92eb4a8012d34c14006aa41400008010e2a..."} 
[2026-09-19 15:56:20] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:56:20] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b92e"} 
[2026-09-19 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192112640001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813241000,"timestamp_ms":1789813241000,"timestamp_seconds":1789813241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b92eb4a8"} 
[2026-09-19 15:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 15:56:20] 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-19 15:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56:20] 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-19 15:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192112640001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192112640001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192112640001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:20] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:20] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:27] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93213f0012d1afd80072476a0002b00d729..."} 
[2026-09-19 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93213f0012d1afd80072476a0002b00d729..."} 
[2026-09-19 15:56:27] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93213f0012d1afd80072476a0002b00d729..."} 
[2026-09-19 15:56:27] local.INFO: Packet analysis {"connection_id":189614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:27] local.INFO: Extracted packet for processing {"connection_id":189614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756743552,"raw_latitude":119830176,"longitude_deg":75.6743552,"latitude_deg":11.9830176,"altitude":43,"angle":215,"satellites":41,"speed":6,"hex_longitude":"2d1afd80","hex_latitude":"072476a0","is_valid_coordinates":true} 
[2026-09-19 15:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192246016001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921751003009024,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21768917185724416,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:27] 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-19 15:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789813462000,"timestamp_ms":1789813462000,"timestamp_seconds":1789813462,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93213f0"} 
[2026-09-19 15:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-19 15:56:27] 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-19 15:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:56:27] 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-19 15:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192246016001,"66":14211,"45":1944921751003009024,"83":41984,"24":6,"16":21768917185724416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 15:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192246016001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921751003009024,"description":"Unknown IO ID 45"} 
[2026-09-19 15:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 15:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21768917185724416,"km_value":21768917185724.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458192246016001,"power":14211,"unknown_45":1944921751003009024,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-09-19 15:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":189614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:27] local.INFO: GPS data processed {"connection_id":189614,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:27] local.INFO: Acknowledgment sent {"connection_id":189614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:46] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:46] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:46] local.INFO: IMEI packet received {"connection_id":186887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":186887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:56:47] local.INFO: TCP Data received {"connection_id":189615,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b932b800012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b932b800012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:47] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b932b800012c7931400848fa40000c015f2f..."} 
[2026-09-19 15:56:47] local.INFO: Packet analysis {"connection_id":189615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:47] local.INFO: Extracted packet for processing {"connection_id":189615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b932"} 
[2026-09-19 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":746139968,"raw_latitude":139000384,"longitude_deg":74.6139968,"latitude_deg":13.9000384,"altitude":12,"angle":351,"satellites":47,"speed":0,"hex_longitude":"2c793140","hex_latitude":"0848fa40","is_valid_coordinates":true} 
[2026-09-19 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192251648001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830084034330624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813504000,"timestamp_ms":1789813504000,"timestamp_seconds":1789813504,"priority":1,"record_length":96,"hex_timestamp":"000001a0b932b800"} 
[2026-09-19 15:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 15:56: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-19 15:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192251648001,"66":28354,"119":206,"9":53760,"24":0,"16":830084034330624,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192251648001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:56:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830084034330624,"km_value":830084034330.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192251648001,"power":28354,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":189615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:47] local.INFO: GPS data processed {"connection_id":189615,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:47] local.INFO: Acknowledgment sent {"connection_id":189615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:50] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:50] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:56:50] local.INFO: IMEI packet received {"connection_id":186887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":186887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:56:51] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93319a8012d1a684007240518003400e426..."} 
[2026-09-19 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93319a8012d1a684007240518003400e426..."} 
[2026-09-19 15:56:51] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93319a8012d1a684007240518003400e426..."} 
[2026-09-19 15:56:51] local.INFO: Packet analysis {"connection_id":186887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:56:51] local.INFO: Extracted packet for processing {"connection_id":186887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119801112,"longitude_deg":75.6705344,"latitude_deg":11.9801112,"altitude":52,"angle":228,"satellites":38,"speed":30,"hex_longitude":"2d1a6840","hex_latitude":"07240518","is_valid_coordinates":true} 
[2026-09-19 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192263424001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771292302639104,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241977296896,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:51] 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-19 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813529000,"timestamp_ms":1789813529000,"timestamp_seconds":1789813529,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93319a8"} 
[2026-09-19 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 15:56:51] 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-19 15:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:56:51] 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-19 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192263424001,"66":14298,"43":206,"83":42752,"24":30,"16":21771292302639104,"45":1902841241977296896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192263424001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771292302639104,"km_value":21771292302639.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241977296896,"description":"Unknown IO ID 45"} 
[2026-09-19 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192263424001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1902841241977296896}} 
[2026-09-19 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":186887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:51] local.INFO: GPS data processed {"connection_id":186887,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:51] local.INFO: Acknowledgment sent {"connection_id":186887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:56:51] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:56:51] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:56:51] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:56:51] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:56: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-19 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:56:51] 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-19 15:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:56:51] 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-19 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:56:51] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:56:51] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:09] local.INFO: TCP Data received {"connection_id":188314,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:09] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:09] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:57:09] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:09] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:09] local.INFO: IMEI packet received {"connection_id":188313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:57:10] local.INFO: TCP Data received {"connection_id":188314,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:10] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:10] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:57:14] local.INFO: TCP Data received {"connection_id":188314,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:14] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:57:14] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:57:14] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:14] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:57:14] local.INFO: IMEI packet received {"connection_id":188313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:57:15] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:15] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:15] local.INFO: Packet analysis {"connection_id":188313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:15] local.INFO: Extracted packet for processing {"connection_id":188313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 15:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:57: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-19 15:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":188313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:15] local.INFO: GPS data processed {"connection_id":188313,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:15] local.INFO: Acknowledgment sent {"connection_id":188313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:15] local.INFO: TCP Data received {"connection_id":188314,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9330620012c792ec0084909c0000f01542d..."} 
[2026-09-19 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9330620012c792ec0084909c0000f01542d..."} 
[2026-09-19 15:57:15] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9330620012c792ec0084909c0000f01542d..."} 
[2026-09-19 15:57:15] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:15] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":746139328,"raw_latitude":139004352,"longitude_deg":74.6139328,"latitude_deg":13.9004352,"altitude":15,"angle":340,"satellites":45,"speed":15,"hex_longitude":"2c792ec0","hex_latitude":"084909c0","is_valid_coordinates":true} 
[2026-09-19 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192257024001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830281602826240,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732831556776378368,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813524000,"timestamp_ms":1789813524000,"timestamp_seconds":1789813524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9330620"} 
[2026-09-19 15:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57: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-19 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 15:57: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-19 15:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192257024001,"66":28300,"119":206,"9":53760,"24":15,"16":830281602826240,"44":8732831556776378368},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192257024001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830281602826240,"km_value":830281602826.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732831556776378368,"description":"Unknown IO ID 44"} 
[2026-09-19 15:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192257024001,"power":28300,"unknown_119":206,"unknown_9":53760,"ignition":15,"odometer":null,"unknown_44":8732831556776378368}} 
[2026-09-19 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:15] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:15] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:22] local.INFO: TCP Data received {"connection_id":186887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9336bb0012d1a5ac00723f5e8003400db25..."} 
[2026-09-19 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9336bb0012d1a5ac00723f5e8003400db25..."} 
[2026-09-19 15:57:22] local.INFO: Processing buffer {"connection_id":186887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9336bb0012d1a5ac00723f5e8003400db25..."} 
[2026-09-19 15:57:22] local.INFO: Packet analysis {"connection_id":186887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:22] local.INFO: Extracted packet for processing {"connection_id":186887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756701888,"raw_latitude":119797224,"longitude_deg":75.6701888,"latitude_deg":11.9797224,"altitude":52,"angle":219,"satellites":37,"speed":16,"hex_longitude":"2d1a5ac0","hex_latitude":"0723f5e8","is_valid_coordinates":true} 
[2026-09-19 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192263424001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771545705709568,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241977296896,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:22] 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-19 15:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789813550000,"timestamp_ms":1789813550000,"timestamp_seconds":1789813550,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9336bb0"} 
[2026-09-19 15:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 15:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:57:22] 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-19 15:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192263424001,"66":14265,"43":206,"83":42752,"24":16,"16":21771545705709568,"45":1902841241977296896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 15:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192263424001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 15:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771545705709568,"km_value":21771545705709.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241977296896,"description":"Unknown IO ID 45"} 
[2026-09-19 15:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192263424001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1902841241977296896}} 
[2026-09-19 15:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":186887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:22] local.INFO: GPS data processed {"connection_id":186887,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:22] local.INFO: Acknowledgment sent {"connection_id":186887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:46] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:46] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:46] local.INFO: IMEI packet received {"connection_id":189616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":189616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:57:46] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:46] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:57:46] local.INFO: Packet analysis {"connection_id":188313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:46] local.INFO: Extracted packet for processing {"connection_id":188313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 15:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:57: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-19 15:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:57: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-19 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":188313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:46] local.INFO: GPS data processed {"connection_id":188313,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:46] local.INFO: Acknowledgment sent {"connection_id":188313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:47] local.INFO: TCP Data received {"connection_id":188314,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9333cd0012c79220008492460001001492c..."} 
[2026-09-19 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9333cd0012c79220008492460001001492c..."} 
[2026-09-19 15:57:47] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9333cd0012c79220008492460001001492c..."} 
[2026-09-19 15:57:47] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:47] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":746136064,"raw_latitude":139011168,"longitude_deg":74.6136064,"latitude_deg":13.9011168,"altitude":16,"angle":329,"satellites":44,"speed":25,"hex_longitude":"2c792200","hex_latitude":"08492460","is_valid_coordinates":true} 
[2026-09-19 15:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192262144001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":830646675046400,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732127869335617536,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813538000,"timestamp_ms":1789813538000,"timestamp_seconds":1789813538,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9333cd0"} 
[2026-09-19 15:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 15:57:47] 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-19 15:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192262144001,"66":28354,"119":206,"9":53760,"24":25,"16":830646675046400,"44":8732127869335617536},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-19 15:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192262144001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-19 15:57:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":830646675046400,"km_value":830646675046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732127869335617536,"description":"Unknown IO ID 44"} 
[2026-09-19 15:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192262144001,"power":28354,"unknown_119":206,"unknown_9":53760,"ignition":25,"odometer":null,"unknown_44":8732127869335617536}} 
[2026-09-19 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:47] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:47] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:57:50] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:50] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:57:50] local.INFO: IMEI packet received {"connection_id":189616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":189616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:57:51] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:57:51] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:57:51] local.INFO: Packet analysis {"connection_id":189616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:51] local.INFO: Extracted packet for processing {"connection_id":189616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756700992,"raw_latitude":119796144,"longitude_deg":75.6700992,"latitude_deg":11.9796144,"altitude":52,"angle":219,"satellites":38,"speed":18,"hex_longitude":"2d1a5740","hex_latitude":"0723f1b0","is_valid_coordinates":true} 
[2026-09-19 15:57: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-19 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192268800001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899041329790707712,"note":"Value kept but may cause issues"} 
[2026-09-19 15:57:51] 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-19 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813553000,"timestamp_ms":1789813553000,"timestamp_seconds":1789813553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9337768"} 
[2026-09-19 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 15:57:51] 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-19 15:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192268800001,"66":14004,"43":206,"83":42752,"24":18,"16":21771614425186304,"45":1899041329790707712},"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-19 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192268800001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:57:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 15:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899041329790707712,"description":"Unknown IO ID 45"} 
[2026-09-19 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192268800001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1899041329790707712}} 
[2026-09-19 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":189616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:57:51] local.INFO: GPS data processed {"connection_id":189616,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:57:51] local.INFO: Acknowledgment sent {"connection_id":189616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:09] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:09] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:09] local.INFO: IMEI packet received {"connection_id":186888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:58:09] local.INFO: TCP Data received {"connection_id":189617,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:09] local.INFO: Processing buffer {"connection_id":189617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:09] local.INFO: IMEI packet received {"connection_id":189617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":189617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:58:13] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:13] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:13] local.INFO: IMEI packet received {"connection_id":186888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":186888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:58:14] local.INFO: TCP Data received {"connection_id":189617,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:14] local.INFO: Processing buffer {"connection_id":189617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:58:14] local.INFO: IMEI packet received {"connection_id":189617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":189617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:58:14] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:14] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:58:14] local.INFO: IMEI packet received {"connection_id":186888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:58:15] local.INFO: TCP Data received {"connection_id":189617,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:15] local.INFO: Processing buffer {"connection_id":189617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:15] local.INFO: Packet analysis {"connection_id":189617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:15] local.INFO: Extracted packet for processing {"connection_id":189617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 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-19 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:58: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-19 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":189617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:15] local.INFO: GPS data processed {"connection_id":189617,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:15] local.INFO: Acknowledgment sent {"connection_id":189617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:15] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b934b7b8012c77e680084a1e300004013a2b..."} 
[2026-09-19 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b934b7b8012c77e680084a1e300004013a2b..."} 
[2026-09-19 15:58:15] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b934b7b8012c77e680084a1e300004013a2b..."} 
[2026-09-19 15:58:15] local.INFO: Packet analysis {"connection_id":186888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:15] local.INFO: Extracted packet for processing {"connection_id":186888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":746055296,"raw_latitude":139075120,"longitude_deg":74.6055296,"latitude_deg":13.907512,"altitude":4,"angle":314,"satellites":43,"speed":54,"hex_longitude":"2c77e680","hex_latitude":"084a1e30","is_valid_coordinates":true} 
[2026-09-19 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-19 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192288768001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":835585887436800,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8647544638850560000,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813635000,"timestamp_ms":1789813635000,"timestamp_seconds":1789813635,"priority":1,"record_length":96,"hex_timestamp":"000001a0b934b7b8"} 
[2026-09-19 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-19 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:15] 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-19 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-19 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-19 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192288768001,"66":28202,"121":206,"9":53760,"24":54,"16":835585887436800,"44":8647544638850560000},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,9,24,16,44]} 
[2026-09-19 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192288768001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":835585887436800,"km_value":835585887436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8647544638850560000,"description":"Unknown IO ID 44"} 
[2026-09-19 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192288768001,"power":28202,"unknown_121":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":8647544638850560000}} 
[2026-09-19 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":186888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:15] local.INFO: GPS data processed {"connection_id":186888,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:15] local.INFO: Acknowledgment sent {"connection_id":186888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:16] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b934d310012c77cac0084a39300004013b2b..."} 
[2026-09-19 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b934d310012c77cac0084a39300004013b2b..."} 
[2026-09-19 15:58:16] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b934d310012c77cac0084a39300004013b2b..."} 
[2026-09-19 15:58:16] local.INFO: Packet analysis {"connection_id":186888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:16] local.INFO: Extracted packet for processing {"connection_id":186888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":746048192,"raw_latitude":139082032,"longitude_deg":74.6048192,"latitude_deg":13.9082032,"altitude":4,"angle":315,"satellites":43,"speed":55,"hex_longitude":"2c77cac0","hex_latitude":"084a3930","is_valid_coordinates":true} 
[2026-09-19 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192290560001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":836058333839360,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8639733708248461312,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789813642000,"timestamp_ms":1789813642000,"timestamp_seconds":1789813642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b934d310"} 
[2026-09-19 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:58: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-19 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:16] 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-19 15:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192290560001,"66":28234,"121":206,"9":53760,"24":55,"16":836058333839360,"44":8639733708248461312},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,9,24,16,44]} 
[2026-09-19 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192290560001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-19 15:58:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":836058333839360,"km_value":836058333839.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8639733708248461312,"description":"Unknown IO ID 44"} 
[2026-09-19 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192290560001,"power":28234,"unknown_121":206,"unknown_9":53760,"ignition":55,"odometer":null,"unknown_44":8639733708248461312}} 
[2026-09-19 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":186888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:16] local.INFO: GPS data processed {"connection_id":186888,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:16] local.INFO: Acknowledgment sent {"connection_id":186888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:22] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:22] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:22] local.INFO: Packet analysis {"connection_id":189616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:22] local.INFO: Extracted packet for processing {"connection_id":189616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756700992,"raw_latitude":119796144,"longitude_deg":75.6700992,"latitude_deg":11.9796144,"altitude":52,"angle":219,"satellites":38,"speed":18,"hex_longitude":"2d1a5740","hex_latitude":"0723f1b0","is_valid_coordinates":true} 
[2026-09-19 15:58:22] 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-19 15:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192269568001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898056167371943936,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:22] 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-19 15:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789813553000,"timestamp_ms":1789813553000,"timestamp_seconds":1789813553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9337768"} 
[2026-09-19 15:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:58: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:22] 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-19 15:58: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-19 15:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192269568001,"66":14004,"43":206,"83":42752,"24":18,"16":21771614425186304,"45":1898056167371943936},"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-19 15:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192269568001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 15:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898056167371943936,"description":"Unknown IO ID 45"} 
[2026-09-19 15:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192269568001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1898056167371943936}} 
[2026-09-19 15:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":189616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:22] local.INFO: GPS data processed {"connection_id":189616,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:22] local.INFO: Acknowledgment sent {"connection_id":189616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:45] local.INFO: TCP Data received {"connection_id":189618,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:45] local.INFO: Processing buffer {"connection_id":189618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:45] local.INFO: IMEI packet received {"connection_id":189618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":189618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:58:46] local.INFO: TCP Data received {"connection_id":189617,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:46] local.INFO: Processing buffer {"connection_id":189617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:58:46] local.INFO: Packet analysis {"connection_id":189617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:46] local.INFO: Extracted packet for processing {"connection_id":189617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15: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-19 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 15:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15: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-19 15:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:58: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-19 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":189617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:46] local.INFO: GPS data processed {"connection_id":189617,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:46] local.INFO: Acknowledgment sent {"connection_id":189617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:48] local.INFO: TCP Data received {"connection_id":186888,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b934ee68012c77b000084a54900005013b2a..."} 
[2026-09-19 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b934ee68012c77b000084a54900005013b2a..."} 
[2026-09-19 15:58:48] local.INFO: Processing buffer {"connection_id":186888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b934ee68012c77b000084a54900005013b2a..."} 
[2026-09-19 15:58:48] local.INFO: Packet analysis {"connection_id":186888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:48] local.INFO: Extracted packet for processing {"connection_id":186888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b934"} 
[2026-09-19 15:58:48] local.INFO: GPS Element Parsed {"raw_longitude":746041344,"raw_latitude":139089040,"longitude_deg":74.6041344,"latitude_deg":13.908904,"altitude":5,"angle":315,"satellites":42,"speed":55,"hex_longitude":"2c77b000","hex_latitude":"084a5490","is_valid_coordinates":true} 
[2026-09-19 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192292352001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":836526485274624,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8631922777646510080,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789813649000,"timestamp_ms":1789813649000,"timestamp_seconds":1789813649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b934ee68"} 
[2026-09-19 15:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:48] 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-19 15:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192292352001,"66":28202,"12":206,"9":53760,"24":55,"16":836526485274624,"44":8631922777646510080},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-19 15:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192292352001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-19 15:58:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":836526485274624,"km_value":836526485274.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8631922777646510080,"description":"Unknown IO ID 44"} 
[2026-09-19 15:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192292352001,"power":28202,"unknown_12":206,"unknown_9":53760,"ignition":55,"odometer":null,"unknown_44":8631922777646510080}} 
[2026-09-19 15:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":186888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:48] local.INFO: GPS data processed {"connection_id":186888,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:48] local.INFO: Acknowledgment sent {"connection_id":186888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:58:50] local.INFO: TCP Data received {"connection_id":189618,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:50] local.INFO: Processing buffer {"connection_id":189618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:58:50] local.INFO: IMEI packet received {"connection_id":189618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":189618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:58:51] local.INFO: TCP Data received {"connection_id":189618,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:51] local.INFO: Processing buffer {"connection_id":189618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9337768012d1a57400723f1b0003400db26..."} 
[2026-09-19 15:58:51] local.INFO: Packet analysis {"connection_id":189618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:51] local.INFO: Extracted packet for processing {"connection_id":189618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756700992,"raw_latitude":119796144,"longitude_deg":75.6700992,"latitude_deg":11.9796144,"altitude":52,"angle":219,"satellites":38,"speed":18,"hex_longitude":"2d1a5740","hex_latitude":"0723f1b0","is_valid_coordinates":true} 
[2026-09-19 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192269568001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898056167371943936,"note":"Value kept but may cause issues"} 
[2026-09-19 15:58:51] 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-19 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813553000,"timestamp_ms":1789813553000,"timestamp_seconds":1789813553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9337768"} 
[2026-09-19 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 15:58:51] 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-19 15:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192269568001,"66":14004,"43":206,"83":42752,"24":18,"16":21771614425186304,"45":1898056167371943936},"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-19 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192269568001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:58:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 15:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898056167371943936,"description":"Unknown IO ID 45"} 
[2026-09-19 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192269568001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1898056167371943936}} 
[2026-09-19 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":189618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:58:51] local.INFO: GPS data processed {"connection_id":189618,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:58:51] local.INFO: Acknowledgment sent {"connection_id":189618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:09] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:09] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:09] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:59:09] local.INFO: TCP Data received {"connection_id":186889,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:59:09] local.INFO: TCP Data received {"connection_id":186889,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:09] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:59:14] local.INFO: TCP Data received {"connection_id":186889,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:14] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 15:59:14] local.INFO: IMEI packet received {"connection_id":186889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 15:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":186889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:59:14] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:14] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 15:59:14] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 15:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:59:15] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:15] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:15] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:59:15] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59: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-19 15:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 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-19 15:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 15:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:59: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-19 15:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:15] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:15] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:15] local.INFO: TCP Data received {"connection_id":186889,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93501f0012c779dc0084a6980000501472b..."} 
[2026-09-19 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93501f0012c779dc0084a6980000501472b..."} 
[2026-09-19 15:59:15] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93501f0012c779dc0084a6980000501472b..."} 
[2026-09-19 15:59:15] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:15] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:15] local.INFO: GPS Element Parsed {"raw_longitude":746036672,"raw_latitude":139094400,"longitude_deg":74.6036672,"latitude_deg":13.90944,"altitude":5,"angle":327,"satellites":43,"speed":56,"hex_longitude":"2c779dc0","hex_latitude":"084a6980","is_valid_coordinates":true} 
[2026-09-19 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-19 15:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192294144001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":836865787691008,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8624393322021294080,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813654000,"timestamp_ms":1789813654000,"timestamp_seconds":1789813654,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93501f0"} 
[2026-09-19 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-19 15:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:15] 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-19 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-19 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-19 15:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192294144001,"66":28354,"12":206,"9":53760,"24":56,"16":836865787691008,"44":8624393322021294080},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-19 15:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192294144001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":836865787691008,"km_value":836865787691.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8624393322021294080,"description":"Unknown IO ID 44"} 
[2026-09-19 15:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192294144001,"power":28354,"unknown_12":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":8624393322021294080}} 
[2026-09-19 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:16] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:16] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:22] local.INFO: TCP Data received {"connection_id":189618,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:22] local.INFO: Processing buffer {"connection_id":189618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:22] local.INFO: Packet analysis {"connection_id":189618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:22] local.INFO: Extracted packet for processing {"connection_id":189618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756690112,"raw_latitude":119781320,"longitude_deg":75.6690112,"latitude_deg":11.978132,"altitude":55,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1a2cc0","hex_latitude":"0723b7c8","is_valid_coordinates":true} 
[2026-09-19 15:59:22] 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-19 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192269568001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898056167371943936,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:22] 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-19 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789813703000,"timestamp_ms":1789813703000,"timestamp_seconds":1789813703,"priority":1,"record_length":96,"hex_timestamp":"000001a0b935c158"} 
[2026-09-19 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:22] 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-19 15:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192269568001,"66":2166,"42":206,"83":42752,"24":0,"16":21771614425186304,"45":1898056167371943936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-19 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192269568001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 15:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898056167371943936,"description":"Unknown IO ID 45"} 
[2026-09-19 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192269568001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1898056167371943936}} 
[2026-09-19 15:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":189618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:22] local.INFO: GPS data processed {"connection_id":189618,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:22] local.INFO: Acknowledgment sent {"connection_id":189618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:46] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:46] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 15:59:46] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:59:46] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59: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-19 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 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-19 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 15:59: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-19 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-19 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-19 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 15:59: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-19 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 15:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:46] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:46] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:47] local.INFO: TCP Data received {"connection_id":186889,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9351190012c779440084a7dc0000501532a..."} 
[2026-09-19 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9351190012c779440084a7dc0000501532a..."} 
[2026-09-19 15:59:47] local.INFO: Processing buffer {"connection_id":186889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9351190012c779440084a7dc0000501532a..."} 
[2026-09-19 15:59:47] local.INFO: Packet analysis {"connection_id":186889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:47] local.INFO: Extracted packet for processing {"connection_id":186889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":746034240,"raw_latitude":139099584,"longitude_deg":74.603424,"latitude_deg":13.9099584,"altitude":5,"angle":339,"satellites":42,"speed":57,"hex_longitude":"2c779440","hex_latitude":"084a7dc0","is_valid_coordinates":true} 
[2026-09-19 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192295424001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":837144960565248,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8619256403697696768,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813658000,"timestamp_ms":1789813658000,"timestamp_seconds":1789813658,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9351190"} 
[2026-09-19 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:47] 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-19 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192295424001,"66":27876,"12":206,"9":53760,"24":57,"16":837144960565248,"44":8619256403697696768},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-19 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192295424001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-19 15:59:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":837144960565248,"km_value":837144960565.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8619256403697696768,"description":"Unknown IO ID 44"} 
[2026-09-19 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192295424001,"power":27876,"unknown_12":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":8619256403697696768}} 
[2026-09-19 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":186889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:47] local.INFO: GPS data processed {"connection_id":186889,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:47] local.INFO: Acknowledgment sent {"connection_id":186889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:49] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:49] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:49] local.INFO: IMEI packet received {"connection_id":186890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 15:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":186890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 15:59:51] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: IMEI packet received {"connection_id":186890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":186890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:59:51] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 15:59:51] local.INFO: IMEI packet received {"connection_id":186890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":186890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 15:59:52] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:52] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:52] local.INFO: Packet analysis {"connection_id":186890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:52] local.INFO: Extracted packet for processing {"connection_id":186890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756690112,"raw_latitude":119781320,"longitude_deg":75.6690112,"latitude_deg":11.978132,"altitude":55,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1a2cc0","hex_latitude":"0723b7c8","is_valid_coordinates":true} 
[2026-09-19 15:59:52] 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-19 15:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192307968001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886093480857946112,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:52] 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-19 15:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789813703000,"timestamp_ms":1789813703000,"timestamp_seconds":1789813703,"priority":1,"record_length":96,"hex_timestamp":"000001a0b935c158"} 
[2026-09-19 15:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:59: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-19 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 15:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192307968001,"66":2166,"42":206,"83":42752,"24":0,"16":21771614425186304,"45":1886093480857946112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-19 15:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192307968001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:52] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 15:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886093480857946112,"description":"Unknown IO ID 45"} 
[2026-09-19 15:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192307968001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1886093480857946112}} 
[2026-09-19 15:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":186890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:52] local.INFO: GPS data processed {"connection_id":186890,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:52] local.INFO: Acknowledgment sent {"connection_id":186890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 15:59:56] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:56] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b935c158012d1a2cc00723b7c8003700d129..."} 
[2026-09-19 15:59:56] local.INFO: Packet analysis {"connection_id":186890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:56] local.INFO: Extracted packet for processing {"connection_id":186890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 15:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756690112,"raw_latitude":119781320,"longitude_deg":75.6690112,"latitude_deg":11.978132,"altitude":55,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1a2cc0","hex_latitude":"0723b7c8","is_valid_coordinates":true} 
[2026-09-19 15:59: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-19 15:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192307968001,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886093480857946112,"note":"Value kept but may cause issues"} 
[2026-09-19 15:59:56] 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-19 15:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789813703000,"timestamp_ms":1789813703000,"timestamp_seconds":1789813703,"priority":1,"record_length":96,"hex_timestamp":"000001a0b935c158"} 
[2026-09-19 15:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 15:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 15:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 15:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 15:59: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-19 15:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 15:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 15:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 15:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 15:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 15:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 15:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 15:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192307968001,"66":2166,"42":206,"83":42752,"24":0,"16":21771614425186304,"45":1886093480857946112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-19 15:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 15:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 15:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192307968001,"description":"Unknown IO ID 0"} 
[2026-09-19 15:59:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 15:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 15:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 15:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886093480857946112,"description":"Unknown IO ID 45"} 
[2026-09-19 15:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192307968001,"power":2166,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1886093480857946112}} 
[2026-09-19 15:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":186890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 15:59:56] local.INFO: GPS data processed {"connection_id":186890,"processed":1,"errors":0,"total":1} 
[2026-09-19 15:59:56] local.INFO: Acknowledgment sent {"connection_id":186890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:10] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:10] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:10] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:00:14] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:14] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:14] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:00:14] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:14] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:14] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:00:15] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:15] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:00:15] local.INFO: IMEI packet received {"connection_id":186891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":186891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:00:16] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9365d98012c771f40084c0b80000c01602b..."} 
[2026-09-19 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9365d98012c771f40084c0b80000c01602b..."} 
[2026-09-19 16:00:16] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9365d98012c771f40084c0b80000c01602b..."} 
[2026-09-19 16:00:16] local.INFO: Packet analysis {"connection_id":186891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:16] local.INFO: Extracted packet for processing {"connection_id":186891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":746004288,"raw_latitude":139201408,"longitude_deg":74.6004288,"latitude_deg":13.9201408,"altitude":12,"angle":352,"satellites":43,"speed":54,"hex_longitude":"2c771f40","hex_latitude":"084c0b80","is_valid_coordinates":true} 
[2026-09-19 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192316416001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":842290331385856,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8585409037773238272,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789813743000,"timestamp_ms":1789813743000,"timestamp_seconds":1789813743,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9365d98"} 
[2026-09-19 16:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00: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-19 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:16] 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-19 16:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192316416001,"66":28398,"13":206,"9":53760,"24":54,"16":842290331385856,"44":8585409037773238272},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192316416001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:16] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:00:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":842290331385856,"km_value":842290331385.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8585409037773238272,"description":"Unknown IO ID 44"} 
[2026-09-19 16:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192316416001,"power":28398,"unknown_13":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":8585409037773238272}} 
[2026-09-19 16:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":186891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:16] local.INFO: GPS data processed {"connection_id":186891,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:16] local.INFO: Acknowledgment sent {"connection_id":186891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:19] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:19] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:00:19] local.INFO: IMEI packet received {"connection_id":186892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":186892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:00:20] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93678f0012c771bc0084c3070000a01612c..."} 
[2026-09-19 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93678f0012c771bc0084c3070000a01612c..."} 
[2026-09-19 16:00:20] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93678f0012c771bc0084c3070000a01612c..."} 
[2026-09-19 16:00:20] local.INFO: Packet analysis {"connection_id":186891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:20] local.INFO: Extracted packet for processing {"connection_id":186891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":746003392,"raw_latitude":139210864,"longitude_deg":74.6003392,"latitude_deg":13.9210864,"altitude":10,"angle":353,"satellites":44,"speed":53,"hex_longitude":"2c771bc0","hex_latitude":"084c3070","is_valid_coordinates":true} 
[2026-09-19 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192318208001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":842749892886528,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8583649819171192832,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813750000,"timestamp_ms":1789813750000,"timestamp_seconds":1789813750,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93678f0"} 
[2026-09-19 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:20] 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-19 16:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192318208001,"66":28343,"13":206,"9":53760,"24":53,"16":842749892886528,"44":8583649819171192832},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192318208001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":842749892886528,"km_value":842749892886.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8583649819171192832,"description":"Unknown IO ID 44"} 
[2026-09-19 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192318208001,"power":28343,"unknown_13":206,"unknown_9":53760,"ignition":53,"odometer":null,"unknown_44":8583649819171192832}} 
[2026-09-19 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":186891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:20] local.INFO: GPS data processed {"connection_id":186891,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:20] local.INFO: Acknowledgment sent {"connection_id":186891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:20] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:20] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:20] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:00:20] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:20] 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-19 16:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:00: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-19 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:20] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:20] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:24] local.INFO: TCP Data received {"connection_id":186892,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:24] local.INFO: Processing buffer {"connection_id":186892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:00:24] local.INFO: Packet analysis {"connection_id":186892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:00:24] local.INFO: Extracted packet for processing {"connection_id":186892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 16:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 16:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:24] 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-19 16:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:00: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-19 16:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":186892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:24] local.INFO: GPS data processed {"connection_id":186892,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:24] local.INFO: Acknowledgment sent {"connection_id":186892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:41] local.INFO: TCP Data received {"connection_id":186890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b935d8c8012d1a24000723ab80003700ea29..."} 
[2026-09-19 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b935d8c8012d1a24000723ab80003700ea29..."} 
[2026-09-19 16:00:41] local.INFO: Processing buffer {"connection_id":186890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b935d8c8012d1a24000723ab80003700ea29..."} 
[2026-09-19 16:00:41] local.INFO: Packet analysis {"connection_id":186890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 16:00:41] local.INFO: Extracted packet for processing {"connection_id":186890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b935"} 
[2026-09-19 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778176,"longitude_deg":75.6687872,"latitude_deg":11.9778176,"altitude":55,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ab80","is_valid_coordinates":true} 
[2026-09-19 16:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192307968001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886093480857946112,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789813709000,"timestamp_ms":1789813709000,"timestamp_seconds":1789813709,"priority":1,"record_length":96,"hex_timestamp":"000001a0b935d8c8"} 
[2026-09-19 16:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00: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-19 16:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":186890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":186890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:00: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-19 16:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192307968001,"66":12461,"42":206,"83":42752,"24":0,"16":21771614425186304,"45":1886093480857946112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-19 16:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192307968001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 16:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 16:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886093480857946112,"description":"Unknown IO ID 45"} 
[2026-09-19 16:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192307968001,"power":12461,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1886093480857946112}} 
[2026-09-19 16:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":186890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:41] local.INFO: GPS data processed {"connection_id":186890,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:41] local.INFO: Acknowledgment sent {"connection_id":186890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:45] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:45] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:45] local.INFO: IMEI packet received {"connection_id":188315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":188315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:00:46] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:46] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:46] local.INFO: IMEI packet received {"connection_id":188315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":188315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:00:48] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:48] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:00:48] local.INFO: IMEI packet received {"connection_id":188315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":188315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:00:49] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9362ad0012d1a24000723ab80003700ea28..."} 
[2026-09-19 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9362ad0012d1a24000723ab80003700ea28..."} 
[2026-09-19 16:00:49] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9362ad0012d1a24000723ab80003700ea28..."} 
[2026-09-19 16:00:49] local.INFO: Packet analysis {"connection_id":188315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:49] local.INFO: Extracted packet for processing {"connection_id":188315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778176,"longitude_deg":75.6687872,"latitude_deg":11.9778176,"altitude":55,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ab80","is_valid_coordinates":true} 
[2026-09-19 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192309504001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21771614425186304,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883630574810923008,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:49] 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-19 16:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789813730000,"timestamp_ms":1789813730000,"timestamp_seconds":1789813730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9362ad0"} 
[2026-09-19 16:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192309504001,"66":14080,"42":206,"83":42752,"24":0,"16":21771614425186304,"45":1883630574810923008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-19 16:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192309504001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 16:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 16:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21771614425186304,"km_value":21771614425186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883630574810923008,"description":"Unknown IO ID 45"} 
[2026-09-19 16:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192309504001,"power":14080,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1883630574810923008}} 
[2026-09-19 16:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":188315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:49] local.INFO: GPS data processed {"connection_id":188315,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:49] local.INFO: Acknowledgment sent {"connection_id":188315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:00:55] local.INFO: TCP Data received {"connection_id":186891,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9368c78012c771640084c49f0000a01542c..."} 
[2026-09-19 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9368c78012c771640084c49f0000a01542c..."} 
[2026-09-19 16:00:55] local.INFO: Processing buffer {"connection_id":186891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9368c78012c771640084c49f0000a01542c..."} 
[2026-09-19 16:00:55] local.INFO: Packet analysis {"connection_id":186891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:55] local.INFO: Extracted packet for processing {"connection_id":186891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b936"} 
[2026-09-19 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":746001984,"raw_latitude":139217392,"longitude_deg":74.6001984,"latitude_deg":13.9217392,"altitude":10,"angle":340,"satellites":44,"speed":52,"hex_longitude":"2c771640","hex_latitude":"084c49f0","is_valid_coordinates":true} 
[2026-09-19 16:00: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-19 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192320000001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":843072015433728,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8582664656755126272,"note":"Value kept but may cause issues"} 
[2026-09-19 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789813755000,"timestamp_ms":1789813755000,"timestamp_seconds":1789813755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9368c78"} 
[2026-09-19 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:00: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":183,"data_length":795,"current_offset":136} 
[2026-09-19 16:00:55] 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-19 16:00: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-19 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192320000001,"66":28234,"13":206,"9":53760,"24":52,"16":843072015433728,"44":8582664656755126272},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192320000001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:00:55] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:00:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":843072015433728,"km_value":843072015433.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8582664656755126272,"description":"Unknown IO ID 44"} 
[2026-09-19 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192320000001,"power":28234,"unknown_13":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8582664656755126272}} 
[2026-09-19 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":186891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:00:55] local.INFO: GPS data processed {"connection_id":186891,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:00:55] local.INFO: Acknowledgment sent {"connection_id":186891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:07] local.INFO: TCP Data received {"connection_id":188316,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:07] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:07] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:01:09] local.INFO: TCP Data received {"connection_id":188316,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:09] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:09] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:01:10] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:10] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:10] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:01:14] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:14] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:01:14] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:01:14] local.INFO: TCP Data received {"connection_id":188316,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:14] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:01:14] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:01:15] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:15] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:15] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:01:15] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01: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-19 16:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 16:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01: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-19 16:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:15] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:15] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:15] local.INFO: TCP Data received {"connection_id":188316,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9375f68012c769f40084d1a30001300052c..."} 
[2026-09-19 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9375f68012c769f40084d1a30001300052c..."} 
[2026-09-19 16:01:15] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9375f68012c769f40084d1a30001300052c..."} 
[2026-09-19 16:01:15] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:15] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":745971520,"raw_latitude":139270704,"longitude_deg":74.597152,"latitude_deg":13.9270704,"altitude":19,"angle":5,"satellites":44,"speed":39,"hex_longitude":"2c769f40","hex_latitude":"084d1a30","is_valid_coordinates":true} 
[2026-09-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192332800001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":846349075480576,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8546143278539890688,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813809000,"timestamp_ms":1789813809000,"timestamp_seconds":1789813809,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9375f68"} 
[2026-09-19 16:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:15] 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-19 16:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192332800001,"66":28354,"13":206,"9":53760,"24":39,"16":846349075480576,"44":8546143278539890688},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192332800001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":846349075480576,"km_value":846349075480.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8546143278539890688,"description":"Unknown IO ID 44"} 
[2026-09-19 16:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192332800001,"power":28354,"unknown_13":206,"unknown_9":53760,"ignition":39,"odometer":null,"unknown_44":8546143278539890688}} 
[2026-09-19 16:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:16] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:16] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:19] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:19] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9334c70012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:19] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:01:19] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b933"} 
[2026-09-19 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192189696001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789813542000,"timestamp_ms":1789813542000,"timestamp_seconds":1789813542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9334c70"} 
[2026-09-19 16:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:19] 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-19 16:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01: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-19 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192189696001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192189696001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192189696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:19] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:19] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:24] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9377ac0012d196d0007238a58004a00de22..."} 
[2026-09-19 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9377ac0012d196d0007238a58004a00de22..."} 
[2026-09-19 16:01:24] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9377ac0012d196d0007238a58004a00de22..."} 
[2026-09-19 16:01:24] local.INFO: Packet analysis {"connection_id":188315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:24] local.INFO: Extracted packet for processing {"connection_id":188315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119769688,"longitude_deg":75.6641024,"latitude_deg":11.9769688,"altitude":74,"angle":222,"satellites":34,"speed":31,"hex_longitude":"2d196d00","hex_latitude":"07238a58","is_valid_coordinates":true} 
[2026-09-19 16:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192336384001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21773920822624256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660210343936,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:24] 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-19 16:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789813816000,"timestamp_ms":1789813816000,"timestamp_seconds":1789813816,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9377ac0"} 
[2026-09-19 16:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:24] 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-19 16:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:01: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-19 16:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192336384001,"66":13678,"186":206,"83":42752,"24":31,"16":21773920822624256,"45":1833457660210343936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-19 16:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192336384001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-19 16:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 16:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21773920822624256,"km_value":21773920822624.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660210343936,"description":"Unknown IO ID 45"} 
[2026-09-19 16:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192336384001,"power":13678,"unknown_186":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1833457660210343936}} 
[2026-09-19 16:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":188315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:24] local.INFO: GPS data processed {"connection_id":188315,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:24] local.INFO: Acknowledgment sent {"connection_id":188315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:47] local.INFO: TCP Data received {"connection_id":188316,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9378678012c76a1c0084d3f00001500002a..."} 
[2026-09-19 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9378678012c76a1c0084d3f00001500002a..."} 
[2026-09-19 16:01:47] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9378678012c76a1c0084d3f00001500002a..."} 
[2026-09-19 16:01:47] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:47] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:47] local.INFO: GPS Element Parsed {"raw_longitude":745972160,"raw_latitude":139280128,"longitude_deg":74.597216,"latitude_deg":13.9280128,"altitude":21,"angle":0,"satellites":42,"speed":35,"hex_longitude":"2c76a1c0","hex_latitude":"084d3f00","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192335104001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":846808636981248,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8547621022169968640,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789813819000,"timestamp_ms":1789813819000,"timestamp_seconds":1789813819,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9378678"} 
[2026-09-19 16: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-19 16:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:47] 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-19 16: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-19 16: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-19 16:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192335104001,"66":28278,"13":206,"9":53760,"24":35,"16":846808636981248,"44":8547621022169968640},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192335104001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":846808636981248,"km_value":846808636981.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8547621022169968640,"description":"Unknown IO ID 44"} 
[2026-09-19 16:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192335104001,"power":28278,"unknown_13":206,"unknown_9":53760,"ignition":35,"odometer":null,"unknown_44":8547621022169968640}} 
[2026-09-19 16:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:47] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:47] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:50] local.INFO: TCP Data received {"connection_id":187014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:50] local.INFO: Processing buffer {"connection_id":187014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:50] local.INFO: IMEI packet received {"connection_id":187014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":187014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:01:51] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:51] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:01:51] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:51] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:01: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-19 16:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:01: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-19 16:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:01:51] 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-19 16:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:01: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-19 16:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:01:51] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:01:51] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:01:51] local.INFO: TCP Data received {"connection_id":187014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:51] local.INFO: Processing buffer {"connection_id":187014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:51] local.INFO: IMEI packet received {"connection_id":187014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":187014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:01:53] local.INFO: TCP Data received {"connection_id":187014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:53] local.INFO: Processing buffer {"connection_id":187014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:01:53] local.INFO: IMEI packet received {"connection_id":187014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":187014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:02:08] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:08] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:08] local.INFO: IMEI packet received {"connection_id":189619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:02:09] local.INFO: TCP Data received {"connection_id":187014,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:02:09] local.INFO: Processing buffer {"connection_id":187014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:02:09] local.INFO: IMEI packet received {"connection_id":187014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":187014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:02:14] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:14] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:02:14] local.INFO: IMEI packet received {"connection_id":189619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":189619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:02:15] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:15] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:15] local.INFO: Packet analysis {"connection_id":189619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:15] local.INFO: Extracted packet for processing {"connection_id":189619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02: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-19 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 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-19 16:02:15] 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-19 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:02: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-19 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":189619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:02:15] local.INFO: GPS data processed {"connection_id":189619,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:02:15] local.INFO: Acknowledgment sent {"connection_id":189619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:02:16] local.INFO: TCP Data received {"connection_id":186893,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:16] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:16] local.INFO: IMEI packet received {"connection_id":186893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":186893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:02:19] local.INFO: TCP Data received {"connection_id":186893,"ip":"117.225.176.190","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:19] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:02:19] local.INFO: IMEI packet received {"connection_id":186893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":186893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:02:20] local.INFO: TCP Data received {"connection_id":186893,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937ad88012c769fc0084d6270001601622a..."} 
[2026-09-19 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937ad88012c769fc0084d6270001601622a..."} 
[2026-09-19 16:02:20] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937ad88012c769fc0084d6270001601622a..."} 
[2026-09-19 16:02:20] local.INFO: Packet analysis {"connection_id":186893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:20] local.INFO: Extracted packet for processing {"connection_id":186893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":745971648,"raw_latitude":139289200,"longitude_deg":74.5971648,"latitude_deg":13.92892,"altitude":22,"angle":354,"satellites":42,"speed":36,"hex_longitude":"2c769fc0","hex_latitude":"084d6270","is_valid_coordinates":true} 
[2026-09-19 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192337664001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":847246723645440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8548324709614157824,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789813829000,"timestamp_ms":1789813829000,"timestamp_seconds":1789813829,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937ad88"} 
[2026-09-19 16:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 16:02:20] 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-19 16:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192337664001,"66":28126,"13":206,"9":53760,"24":36,"16":847246723645440,"44":8548324709614157824},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192337664001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":847246723645440,"km_value":847246723645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8548324709614157824,"description":"Unknown IO ID 44"} 
[2026-09-19 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192337664001,"power":28126,"unknown_13":206,"unknown_9":53760,"ignition":36,"odometer":null,"unknown_44":8548324709614157824}} 
[2026-09-19 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":186893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:02:20] local.INFO: GPS data processed {"connection_id":186893,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:02:20] local.INFO: Acknowledgment sent {"connection_id":186893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:02:24] local.INFO: TCP Data received {"connection_id":186893,"ip":"117.225.176.190","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937d498012c769ac0084d86f00018015d29..."} 
[2026-09-19 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937d498012c769ac0084d86f00018015d29..."} 
[2026-09-19 16:02:24] local.INFO: Processing buffer {"connection_id":186893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937d498012c769ac0084d86f00018015d29..."} 
[2026-09-19 16:02:24] local.INFO: Packet analysis {"connection_id":186893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:24] local.INFO: Extracted packet for processing {"connection_id":186893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":745970368,"raw_latitude":139298544,"longitude_deg":74.5970368,"latitude_deg":13.9298544,"altitude":24,"angle":349,"satellites":41,"speed":38,"hex_longitude":"2c769ac0","hex_latitude":"084d86f0","is_valid_coordinates":true} 
[2026-09-19 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192340224001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":847706285146112,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8547761759663058944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789813839000,"timestamp_ms":1789813839000,"timestamp_seconds":1789813839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937d498"} 
[2026-09-19 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-19 16:02:24] 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-19 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.176.190","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 16:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192340224001,"66":28300,"13":206,"9":53760,"24":38,"16":847706285146112,"44":8547761759663058944},"client_ip":"117.225.176.190","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-19 16:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 16:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 16:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192340224001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:02:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-19 16:02:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-19 16:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":847706285146112,"km_value":847706285146.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:02:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8547761759663058944,"description":"Unknown IO ID 44"} 
[2026-09-19 16:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192340224001,"power":28300,"unknown_13":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":8547761759663058944}} 
[2026-09-19 16:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":186893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:02:24] local.INFO: GPS data processed {"connection_id":186893,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:02:24] local.INFO: Acknowledgment sent {"connection_id":186893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:02:50] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:50] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:02:50] local.INFO: Packet analysis {"connection_id":189619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:50] local.INFO: Extracted packet for processing {"connection_id":189619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:02: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-19 16:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:02:50] 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-19 16:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:02:50] 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-19 16:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:02:50] 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-19 16:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":189619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:02:50] local.INFO: GPS data processed {"connection_id":189619,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:02:50] local.INFO: Acknowledgment sent {"connection_id":189619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:03:09] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:09] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:09] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:03:14] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:14] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:03:14] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:03:15] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:15] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:15] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:03:15] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:03: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-19 16:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:03:15] 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-19 16:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:03: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-19 16:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:03:15] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:03:15] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:03:46] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:46] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:03:46] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:03:46] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:03:46] 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-19 16:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:03: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-19 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:03:46] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:03:46] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:04:09] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:09] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:09] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:04:14] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:14] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:04:14] local.INFO: IMEI packet received {"connection_id":186894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":186894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:04:15] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:15] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:15] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:04:15] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:04: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-19 16:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16: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-19 16:04:15] 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-19 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:04: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-19 16:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:04:15] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:04:15] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:04:48] local.INFO: TCP Data received {"connection_id":186894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:48] local.INFO: Processing buffer {"connection_id":186894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:04:48] local.INFO: Packet analysis {"connection_id":186894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:04:48] local.INFO: Extracted packet for processing {"connection_id":186894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16: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-19 16:04:48] 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-19 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:04: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-19 16: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-19 16: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-19 16:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:04: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-19 16:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":186894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:04:48] local.INFO: GPS data processed {"connection_id":186894,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:04:48] local.INFO: Acknowledgment sent {"connection_id":186894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:05:09] local.INFO: TCP Data received {"connection_id":189621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:09] local.INFO: Processing buffer {"connection_id":189621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:09] local.INFO: IMEI packet received {"connection_id":189621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":189621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:05:14] local.INFO: TCP Data received {"connection_id":189621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:14] local.INFO: Processing buffer {"connection_id":189621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:05:14] local.INFO: IMEI packet received {"connection_id":189621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":189621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:05:15] local.INFO: TCP Data received {"connection_id":189621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:15] local.INFO: Processing buffer {"connection_id":189621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:15] local.INFO: Packet analysis {"connection_id":189621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:05:15] local.INFO: Extracted packet for processing {"connection_id":189621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:05:15] 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-19 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:05: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-19 16:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":189621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:05:15] local.INFO: GPS data processed {"connection_id":189621,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:05:15] local.INFO: Acknowledgment sent {"connection_id":189621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:05:46] local.INFO: TCP Data received {"connection_id":189621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:46] local.INFO: Processing buffer {"connection_id":189621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:05:46] local.INFO: Packet analysis {"connection_id":189621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:05:46] local.INFO: Extracted packet for processing {"connection_id":189621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:05: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-19 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:05:46] 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-19 16:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:05: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-19 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":189621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:05:46] local.INFO: GPS data processed {"connection_id":189621,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:05:46] local.INFO: Acknowledgment sent {"connection_id":189621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:06:08] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:08] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:08] local.INFO: IMEI packet received {"connection_id":187017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":187017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:06:14] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:14] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:06:14] local.INFO: IMEI packet received {"connection_id":187017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":187017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:06:15] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:06:15] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b937e438012d34c14006aa41400008010e28..."} 
[2026-09-19 16:06:15] local.INFO: Packet analysis {"connection_id":187017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:06:15] local.INFO: Extracted packet for processing {"connection_id":187017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b937"} 
[2026-09-19 16:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192266752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06: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-19 16:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789813843000,"timestamp_ms":1789813843000,"timestamp_seconds":1789813843,"priority":1,"record_length":96,"hex_timestamp":"000001a0b937e438"} 
[2026-09-19 16:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:06:15] 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-19 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 16:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:06: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-19 16:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192266752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192266752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192266752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":187017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:06:15] local.INFO: GPS data processed {"connection_id":187017,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:06:15] local.INFO: Acknowledgment sent {"connection_id":187017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:06:19] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:06:19] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:06:19] local.INFO: IMEI packet received {"connection_id":187018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":187018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:06:46] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:06:46] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:06:46] local.INFO: Packet analysis {"connection_id":187017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:06:46] local.INFO: Extracted packet for processing {"connection_id":187017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06: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-19 16:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:06: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-19 16:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":187017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:06:46] local.INFO: GPS data processed {"connection_id":187017,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:06:46] local.INFO: Acknowledgment sent {"connection_id":187017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:06:56] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:06:56] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:06:56] local.INFO: IMEI packet received {"connection_id":186895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":186895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:06:57] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c5108012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c5108012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:06:57] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c5108012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:06:57] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:06:57] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649728,"longitude_deg":75.6556672,"latitude_deg":11.9649728,"altitude":79,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-19 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192412672001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781673238593536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:06:57] local.INFO: IO Element Parsed {"io_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-19 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789814133000,"timestamp_ms":1789814133000,"timestamp_seconds":1789814133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c5108"} 
[2026-09-19 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:06:57] 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-19 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:06: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-19 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192412672001,"66":12841,"105":206,"83":41984,"24":0,"16":21781673238593536,"45":1739374649213829120},"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-19 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192412672001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781673238593536,"km_value":21781673238593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192412672001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:06:57] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:06:57] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:07:14] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:14] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:14] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:07:19] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:19] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:07:19] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:07:20] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:20] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:20] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:20] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:07:20] 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-19 16:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:07:20] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:07:20] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:07:24] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:24] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:07:24] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:24] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 16:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:07:24] 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-19 16:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:07:24] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:07:24] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:07:30] local.INFO: TCP Data received {"connection_id":186895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93ca310012d1823800721b5c0004f00e329..."} 
[2026-09-19 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93ca310012d1823800721b5c0004f00e329..."} 
[2026-09-19 16:07:30] local.INFO: Processing buffer {"connection_id":186895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93ca310012d1823800721b5c0004f00e329..."} 
[2026-09-19 16:07:30] local.INFO: Packet analysis {"connection_id":186895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:30] local.INFO: Extracted packet for processing {"connection_id":186895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649728,"longitude_deg":75.6556672,"latitude_deg":11.9649728,"altitude":79,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-19 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192418048001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781673238593536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07: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-19 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789814154000,"timestamp_ms":1789814154000,"timestamp_seconds":1789814154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93ca310"} 
[2026-09-19 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:07: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-19 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:07:30] 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-19 16:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":186895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":186895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:07: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-19 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192418048001,"66":12841,"105":206,"83":41984,"24":0,"16":21781673238593536,"45":1739374649213829120},"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-19 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192418048001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:07:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781673238593536,"km_value":21781673238593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192418048001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":186895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:07:30] local.INFO: GPS data processed {"connection_id":186895,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:07:30] local.INFO: Acknowledgment sent {"connection_id":186895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:07:45] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:45] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:45] local.INFO: IMEI packet received {"connection_id":187020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":187020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:07:51] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:51] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:07:51] local.INFO: IMEI packet received {"connection_id":187020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":187020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:07:52] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93cf518012d1823800721b5c0004f00e32a..."} 
[2026-09-19 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93cf518012d1823800721b5c0004f00e32a..."} 
[2026-09-19 16:07:52] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93cf518012d1823800721b5c0004f00e32a..."} 
[2026-09-19 16:07:52] local.INFO: Packet analysis {"connection_id":187020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:52] local.INFO: Extracted packet for processing {"connection_id":187020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649728,"longitude_deg":75.6556672,"latitude_deg":11.9649728,"altitude":79,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192423424001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781673238593536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:07:52] local.INFO: IO Element Parsed {"io_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-19 16:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789814175000,"timestamp_ms":1789814175000,"timestamp_seconds":1789814175,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93cf518"} 
[2026-09-19 16: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-19 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192423424001,"66":12841,"105":206,"83":41984,"24":0,"16":21781673238593536,"45":1739374649213829120},"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-19 16:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192423424001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:07:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781673238593536,"km_value":21781673238593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192423424001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":187020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:07:52] local.INFO: GPS data processed {"connection_id":187020,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:07:52] local.INFO: Acknowledgment sent {"connection_id":187020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:08:09] local.INFO: TCP Data received {"connection_id":189623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:09] local.INFO: Processing buffer {"connection_id":189623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:09] local.INFO: IMEI packet received {"connection_id":189623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":189623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:08:14] local.INFO: TCP Data received {"connection_id":189623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:14] local.INFO: Processing buffer {"connection_id":189623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:08:14] local.INFO: IMEI packet received {"connection_id":189623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":189623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:08:15] local.INFO: TCP Data received {"connection_id":189623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:15] local.INFO: Processing buffer {"connection_id":189623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:15] local.INFO: Packet analysis {"connection_id":189623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:08:15] local.INFO: Extracted packet for processing {"connection_id":189623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08: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-19 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 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-19 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:08: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-19 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":189623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:08:15] local.INFO: GPS data processed {"connection_id":189623,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:08:15] local.INFO: Acknowledgment sent {"connection_id":189623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:08:23] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93d4720012d1823800721b5c0004f00e32c..."} 
[2026-09-19 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93d4720012d1823800721b5c0004f00e32c..."} 
[2026-09-19 16:08:23] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93d4720012d1823800721b5c0004f00e32c..."} 
[2026-09-19 16:08:23] local.INFO: Packet analysis {"connection_id":187020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:08:23] local.INFO: Extracted packet for processing {"connection_id":187020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649728,"longitude_deg":75.6556672,"latitude_deg":11.9649728,"altitude":79,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-19 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192428800001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781673238593536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:23] local.INFO: IO Element Parsed {"io_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-19 16:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814196000,"timestamp_ms":1789814196000,"timestamp_seconds":1789814196,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93d4720"} 
[2026-09-19 16:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192428800001,"66":12809,"105":206,"83":41984,"24":0,"16":21781673238593536,"45":1739374649213829120},"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-19 16:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192428800001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:08:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781673238593536,"km_value":21781673238593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192428800001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":187020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:08:23] local.INFO: GPS data processed {"connection_id":187020,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:08:23] local.INFO: Acknowledgment sent {"connection_id":187020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:08:45] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:45] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:45] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:08:46] local.INFO: TCP Data received {"connection_id":189623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:46] local.INFO: Processing buffer {"connection_id":189623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:08:46] local.INFO: Packet analysis {"connection_id":189623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:08:46] local.INFO: Extracted packet for processing {"connection_id":189623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16: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-19 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16: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-19 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":189623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:08:46] local.INFO: GPS data processed {"connection_id":189623,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:08:46] local.INFO: Acknowledgment sent {"connection_id":189623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:08:51] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:51] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:08:51] local.INFO: IMEI packet received {"connection_id":186896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":186896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:08:52] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93d9928012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93d9928012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:08:52] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93d9928012d1823800721b5c0004f00e32b..."} 
[2026-09-19 16:08:52] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:08:52] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649728,"longitude_deg":75.6556672,"latitude_deg":11.9649728,"altitude":79,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-19 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192434176001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781673238593536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.INFO: IO Element Parsed {"io_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-19 16:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789814217000,"timestamp_ms":1789814217000,"timestamp_seconds":1789814217,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93d9928"} 
[2026-09-19 16:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3107674864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":185,"raw_value":4253904939800601472,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259087,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330824932249171,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429058681594241834,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 16:08:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,98,160,245,45,128,181,79,42,10,66,163,41,81,1,240,227,185,33,4,113,205,172,35,192,239,50,2,77,7,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 16:08:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692799707114373120,"timestamp_seconds":5692799707114373.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192434176001,"66":12809,"105":206,"83":41984,"24":0,"16":21781673238593536,"45":1739374649213829120},"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-19 16:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192434176001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:08:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781673238593536,"km_value":21781673238593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192434176001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:08:52] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:08:52] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:09:09] local.INFO: TCP Data received {"connection_id":189625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:09] local.INFO: Processing buffer {"connection_id":189625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:09] local.INFO: IMEI packet received {"connection_id":189625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":189625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:09:14] local.INFO: TCP Data received {"connection_id":189625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:14] local.INFO: Processing buffer {"connection_id":189625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:09:14] local.INFO: IMEI packet received {"connection_id":189625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":189625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:09:15] local.INFO: TCP Data received {"connection_id":189625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:15] local.INFO: Processing buffer {"connection_id":189625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:15] local.INFO: Packet analysis {"connection_id":189625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:09:15] local.INFO: Extracted packet for processing {"connection_id":189625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09: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-19 16:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:09: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-19 16:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":189625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:09:15] local.INFO: GPS data processed {"connection_id":189625,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:09:15] local.INFO: Acknowledgment sent {"connection_id":189625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:09:23] local.INFO: TCP Data received {"connection_id":186896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93db480012d1822c00721b498004d00d02c..."} 
[2026-09-19 16:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93db480012d1822c00721b498004d00d02c..."} 
[2026-09-19 16:09:23] local.INFO: Processing buffer {"connection_id":186896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93db480012d1822c00721b498004d00d02c..."} 
[2026-09-19 16:09:23] local.INFO: Packet analysis {"connection_id":186896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:09:23] local.INFO: Extracted packet for processing {"connection_id":186896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93d"} 
[2026-09-19 16:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649432,"longitude_deg":75.655648,"latitude_deg":11.9649432,"altitude":77,"angle":208,"satellites":44,"speed":1,"hex_longitude":"2d1822c0","hex_latitude":"0721b498","is_valid_coordinates":true} 
[2026-09-19 16:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192439552001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781690418462720,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213829120,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.INFO: IO Element Parsed {"io_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-19 16:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814224000,"timestamp_ms":1789814224000,"timestamp_seconds":1789814224,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93db480"} 
[2026-09-19 16:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3107695864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":185,"raw_value":4276994683983897472,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259087,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429058681594241834,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,98,160,71,45,128,181,79,44,10,66,245,42,163,1,240,41,227,185,33,4,113,205,255,35,192,239,50,2,77,7,164,81],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 16:09:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692799702819405824,"timestamp_seconds":5692799702819406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192439552001,"66":12798,"105":206,"83":41984,"24":1,"16":21781690418462720,"45":1739374649213829120},"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-19 16:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192439552001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:09:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781690418462720,"km_value":21781690418462.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213829120,"description":"Unknown IO ID 45"} 
[2026-09-19 16:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192439552001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739374649213829120}} 
[2026-09-19 16:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":186896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:09:23] local.INFO: GPS data processed {"connection_id":186896,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:09:23] local.INFO: Acknowledgment sent {"connection_id":186896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:09:45] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:45] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:45] local.INFO: IMEI packet received {"connection_id":187021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":187021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:09:47] local.INFO: TCP Data received {"connection_id":189625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:47] local.INFO: Processing buffer {"connection_id":189625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:09:47] local.INFO: Packet analysis {"connection_id":189625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:09:47] local.INFO: Extracted packet for processing {"connection_id":189625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09: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-19 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:09:47] 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-19 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":189625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:09:47] local.INFO: GPS data processed {"connection_id":189625,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:09:47] local.INFO: Acknowledgment sent {"connection_id":189625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:09:48] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:48] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:48] local.INFO: IMEI packet received {"connection_id":187021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":187021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:09:51] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:51] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:09:51] local.INFO: IMEI packet received {"connection_id":187021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":187021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:09:51] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93e0688012d1821800721b2f8004d00d22d..."} 
[2026-09-19 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93e0688012d1821800721b2f8004d00d22d..."} 
[2026-09-19 16:09:51] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93e0688012d1821800721b2f8004d00d22d..."} 
[2026-09-19 16:09:51] local.INFO: Packet analysis {"connection_id":187021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:09:51] local.INFO: Extracted packet for processing {"connection_id":187021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649016,"longitude_deg":75.655616,"latitude_deg":11.9649016,"altitude":77,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192441344001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781716188266496,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981220352,"note":"Value kept but may cause issues"} 
[2026-09-19 16:09:51] local.INFO: IO Element Parsed {"io_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-19 16:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814245000,"timestamp_ms":1789814245000,"timestamp_seconds":1789814245,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93e0688"} 
[2026-09-19 16: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-19 16:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 16:09:51] 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-19 16: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-19 16: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-19 16:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192441344001,"66":12776,"105":206,"83":41984,"24":0,"16":21781716188266496,"45":1739163542981220352},"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-19 16:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192441344001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:09:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781716188266496,"km_value":21781716188266.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981220352,"description":"Unknown IO ID 45"} 
[2026-09-19 16:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192441344001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981220352}} 
[2026-09-19 16:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":187021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:09:52] local.INFO: GPS data processed {"connection_id":187021,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:09:52] local.INFO: Acknowledgment sent {"connection_id":187021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:10:09] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:09] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:09] local.INFO: IMEI packet received {"connection_id":186898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":186898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:10:14] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:14] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:10:14] local.INFO: IMEI packet received {"connection_id":186898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:10:15] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:15] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:15] local.INFO: Packet analysis {"connection_id":186898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:10:15] local.INFO: Extracted packet for processing {"connection_id":186898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10: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-19 16:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 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-19 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 16:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:10: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-19 16:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":186898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:10:15] local.INFO: GPS data processed {"connection_id":186898,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:10:15] local.INFO: Acknowledgment sent {"connection_id":186898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:10:23] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93e5890012d1821800721b2f8004d00d22c..."} 
[2026-09-19 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93e5890012d1821800721b2f8004d00d22c..."} 
[2026-09-19 16:10:23] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93e5890012d1821800721b2f8004d00d22c..."} 
[2026-09-19 16:10:23] local.INFO: Packet analysis {"connection_id":187021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:10:23] local.INFO: Extracted packet for processing {"connection_id":187021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649016,"longitude_deg":75.655616,"latitude_deg":11.9649016,"altitude":77,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-09-19 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192446720001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781716188266496,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260225536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:23] local.INFO: IO Element Parsed {"io_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-19 16:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814266000,"timestamp_ms":1789814266000,"timestamp_seconds":1789814266,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93e5890"} 
[2026-09-19 16:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 16:10:23] 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-19 16:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192446720001,"66":12776,"105":206,"83":41984,"24":0,"16":21781716188266496,"45":1738811699260225536},"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-19 16:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192446720001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:10:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781716188266496,"km_value":21781716188266.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260225536,"description":"Unknown IO ID 45"} 
[2026-09-19 16:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192446720001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260225536}} 
[2026-09-19 16:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":187021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:10:23] local.INFO: GPS data processed {"connection_id":187021,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:10:23] local.INFO: Acknowledgment sent {"connection_id":187021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:10:47] local.INFO: TCP Data received {"connection_id":186898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:47] local.INFO: Processing buffer {"connection_id":186898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:10:47] local.INFO: Packet analysis {"connection_id":186898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:10:47] local.INFO: Extracted packet for processing {"connection_id":186898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10: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-19 16:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16: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-19 16:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:10:47] 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-19 16:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":186898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:10:47] local.INFO: GPS data processed {"connection_id":186898,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:10:47] local.INFO: Acknowledgment sent {"connection_id":186898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:10:51] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:10:51] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:51] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:10:56] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:56] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:10:56] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:10:57] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93eaa98012d1820400721b278004c00d52b..."} 
[2026-09-19 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93eaa98012d1820400721b278004c00d52b..."} 
[2026-09-19 16:10:57] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93eaa98012d1820400721b278004c00d52b..."} 
[2026-09-19 16:10:57] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:10:57] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192452096001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260225536,"note":"Value kept but may cause issues"} 
[2026-09-19 16:10:57] local.INFO: IO Element Parsed {"io_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-19 16:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789814287000,"timestamp_ms":1789814287000,"timestamp_seconds":1789814287,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93eaa98"} 
[2026-09-19 16:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 16:10:57] 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-19 16:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:10: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-19 16:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192452096001,"66":12711,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738811699260225536},"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-19 16:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192452096001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260225536,"description":"Unknown IO ID 45"} 
[2026-09-19 16:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192452096001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260225536}} 
[2026-09-19 16:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:10:57] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:10:57] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:11:01] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93efca0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93efca0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:01] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93efca0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:01] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:11:01] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93e"} 
[2026-09-19 16:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192457472001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11: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-19 16:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789814308000,"timestamp_ms":1789814308000,"timestamp_seconds":1789814308,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93efca0"} 
[2026-09-19 16: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-19 16:11: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-19 16: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:11:01] 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-19 16: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-19 16: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-19 16:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:11: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-19 16:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192457472001,"66":12711,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192457472001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:11:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192457472001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:11:01] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:11:01] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:11:09] local.INFO: TCP Data received {"connection_id":189626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:09] local.INFO: Processing buffer {"connection_id":189626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:09] local.INFO: IMEI packet received {"connection_id":189626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":189626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:11:14] local.INFO: TCP Data received {"connection_id":189626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:14] local.INFO: Processing buffer {"connection_id":189626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:11:14] local.INFO: IMEI packet received {"connection_id":189626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":189626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:11:15] local.INFO: TCP Data received {"connection_id":189626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:11:15] local.INFO: Processing buffer {"connection_id":189626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93c7c00012d34c14006aa41400008010e2a..."} 
[2026-09-19 16:11:15] local.INFO: Packet analysis {"connection_id":189626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:11:15] local.INFO: Extracted packet for processing {"connection_id":189626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93c"} 
[2026-09-19 16:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192343808001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814144000,"timestamp_ms":1789814144000,"timestamp_seconds":1789814144,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93c7c00"} 
[2026-09-19 16: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-19 16:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-19 16:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:11: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-19 16:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192343808001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192343808001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192343808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":189626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:11:15] local.INFO: GPS data processed {"connection_id":189626,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:11:15] local.INFO: Acknowledgment sent {"connection_id":189626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:11:45] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:45] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:45] local.INFO: IMEI packet received {"connection_id":188320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":188320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:11:46] local.INFO: TCP Data received {"connection_id":189626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:11:46] local.INFO: Processing buffer {"connection_id":189626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:11:46] local.INFO: Packet analysis {"connection_id":189626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:11:46] local.INFO: Extracted packet for processing {"connection_id":189626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16: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-19 16:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:11: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-19 16: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-19 16: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-19 16:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:11: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-19 16:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":189626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:11:46] local.INFO: GPS data processed {"connection_id":189626,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:11:46] local.INFO: Acknowledgment sent {"connection_id":189626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:11:51] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:51] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:11:51] local.INFO: IMEI packet received {"connection_id":188320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":188320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:11:51] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93f4ea8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93f4ea8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:51] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93f4ea8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:11:51] local.INFO: Packet analysis {"connection_id":188320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:11:51] local.INFO: Extracted packet for processing {"connection_id":188320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192462848001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:11:51] local.INFO: IO Element Parsed {"io_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-19 16:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814329000,"timestamp_ms":1789814329000,"timestamp_seconds":1789814329,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93f4ea8"} 
[2026-09-19 16:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:11:51] 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-19 16:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192462848001,"66":12711,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192462848001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:11:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192462848001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":188320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:11:52] local.INFO: GPS data processed {"connection_id":188320,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:11:52] local.INFO: Acknowledgment sent {"connection_id":188320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:12:14] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:14] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:14] local.INFO: IMEI packet received {"connection_id":187023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":187023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:12:19] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:19] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:12:19] local.INFO: IMEI packet received {"connection_id":187023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":187023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:12:20] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:20] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:20] local.INFO: Packet analysis {"connection_id":187023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:12:20] local.INFO: Extracted packet for processing {"connection_id":187023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:12:20] 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-19 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":187023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:12:20] local.INFO: GPS data processed {"connection_id":187023,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:12:20] local.INFO: Acknowledgment sent {"connection_id":187023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:12:23] local.INFO: TCP Data received {"connection_id":188320,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93fa0b0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93fa0b0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:12:23] local.INFO: Processing buffer {"connection_id":188320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93fa0b0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:12:23] local.INFO: Packet analysis {"connection_id":188320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:12:23] local.INFO: Extracted packet for processing {"connection_id":188320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192468224001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:23] local.INFO: IO Element Parsed {"io_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-19 16:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814350000,"timestamp_ms":1789814350000,"timestamp_seconds":1789814350,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93fa0b0"} 
[2026-09-19 16:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:12:23] 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-19 16:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192468224001,"66":12711,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192468224001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:12:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192468224001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":188320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:12:23] local.INFO: GPS data processed {"connection_id":188320,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:12:23] local.INFO: Acknowledgment sent {"connection_id":188320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:12:25] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:25] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:12:25] local.INFO: Packet analysis {"connection_id":187023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:12:25] local.INFO: Extracted packet for processing {"connection_id":187023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:12:25] 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-19 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:12:25] 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-19 16:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":187023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:12:25] local.INFO: GPS data processed {"connection_id":187023,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:12:25] local.INFO: Acknowledgment sent {"connection_id":187023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:12:45] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:45] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:45] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:12:50] local.INFO: TCP Data received {"connection_id":186899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:50] local.INFO: Processing buffer {"connection_id":186899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:50] local.INFO: IMEI packet received {"connection_id":186899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":186899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:12:51] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:51] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:12:51] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:12:51] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b93ff2b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b93ff2b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:12:51] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b93ff2b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:12:51] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:12:51] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b93f"} 
[2026-09-19 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:12: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-19 16:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192473600001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:12:51] local.INFO: IO Element Parsed {"io_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-19 16:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814371000,"timestamp_ms":1789814371000,"timestamp_seconds":1789814371,"priority":1,"record_length":96,"hex_timestamp":"000001a0b93ff2b8"} 
[2026-09-19 16:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:12:51] 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-19 16:12: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-19 16:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192473600001,"66":12711,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192473600001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:12:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192473600001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:12:52] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:12:52] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:12:59] local.INFO: TCP Data received {"connection_id":187024,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:59] local.INFO: Processing buffer {"connection_id":187024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:12:59] local.INFO: IMEI packet received {"connection_id":187024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":187024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:13:10] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:10] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:10] local.INFO: IMEI packet received {"connection_id":186900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":186900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:13:14] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:14] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:13:14] local.INFO: IMEI packet received {"connection_id":186900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:13:15] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:15] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:15] local.INFO: Packet analysis {"connection_id":186900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:13:15] local.INFO: Extracted packet for processing {"connection_id":186900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13: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-19 16:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:13:15] 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-19 16:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:13: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-19 16:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:13: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-19 16:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":186900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:13:15] local.INFO: GPS data processed {"connection_id":186900,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:13:15] local.INFO: Acknowledgment sent {"connection_id":186900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:13:23] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94044c0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94044c0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:13:23] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94044c0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:13:23] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:13:23] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192478976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:23] local.INFO: IO Element Parsed {"io_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-19 16:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814392000,"timestamp_ms":1789814392000,"timestamp_seconds":1789814392,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94044c0"} 
[2026-09-19 16:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:13:23] 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-19 16:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192478976001,"66":12722,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192478976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:13:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192478976001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:13:23] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:13:23] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:13:45] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:45] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:45] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:13:46] local.INFO: TCP Data received {"connection_id":186900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:46] local.INFO: Processing buffer {"connection_id":186900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:13:46] local.INFO: Packet analysis {"connection_id":186900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:13:46] local.INFO: Extracted packet for processing {"connection_id":186900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13: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-19 16:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:13: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-19 16:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:13: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-19 16:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":186900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:13:46] local.INFO: GPS data processed {"connection_id":186900,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:13:46] local.INFO: Acknowledgment sent {"connection_id":186900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:13:51] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:51] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:13:51] local.INFO: IMEI packet received {"connection_id":186901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":186901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:13:51] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94096c8012d1820400721b278004c00d529..."} 
[2026-09-19 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94096c8012d1820400721b278004c00d529..."} 
[2026-09-19 16:13:51] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94096c8012d1820400721b278004c00d529..."} 
[2026-09-19 16:13:51] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:13:51] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192484352001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:13:51] local.INFO: IO Element Parsed {"io_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-19 16:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814413000,"timestamp_ms":1789814413000,"timestamp_seconds":1789814413,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94096c8"} 
[2026-09-19 16: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-19 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 16:13:51] 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-19 16: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-19 16: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-19 16:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192484352001,"66":12689,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192484352001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192484352001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:13:52] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:13:52] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:14:09] local.INFO: TCP Data received {"connection_id":189627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:09] local.INFO: Processing buffer {"connection_id":189627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:09] local.INFO: IMEI packet received {"connection_id":189627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":189627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:14:14] local.INFO: TCP Data received {"connection_id":189627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:14] local.INFO: Processing buffer {"connection_id":189627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:14:14] local.INFO: IMEI packet received {"connection_id":189627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":189627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:14:15] local.INFO: TCP Data received {"connection_id":189627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:15] local.INFO: Processing buffer {"connection_id":189627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:15] local.INFO: Packet analysis {"connection_id":189627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:15] local.INFO: Extracted packet for processing {"connection_id":189627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:14:15] 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-19 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:14: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-19 16:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:14: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-19 16:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":189627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:14:15] local.INFO: GPS data processed {"connection_id":189627,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:14:15] local.INFO: Acknowledgment sent {"connection_id":189627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:14:22] local.INFO: TCP Data received {"connection_id":186901,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b940e8d0012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b940e8d0012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:22] local.INFO: Processing buffer {"connection_id":186901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b940e8d0012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:22] local.INFO: Packet analysis {"connection_id":186901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:14:22] local.INFO: Extracted packet for processing {"connection_id":186901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b940"} 
[2026-09-19 16:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192489728001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:22] local.INFO: IO Element Parsed {"io_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-19 16:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789814434000,"timestamp_ms":1789814434000,"timestamp_seconds":1789814434,"priority":1,"record_length":96,"hex_timestamp":"000001a0b940e8d0"} 
[2026-09-19 16:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 16:14:22] 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-19 16:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192489728001,"66":12689,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192489728001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:14:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192489728001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":186901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:14:22] local.INFO: GPS data processed {"connection_id":186901,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:14:22] local.INFO: Acknowledgment sent {"connection_id":186901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:14:45] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:45] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:45] local.INFO: IMEI packet received {"connection_id":187025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":187025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:14:47] local.INFO: TCP Data received {"connection_id":189627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:47] local.INFO: Processing buffer {"connection_id":189627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:14:47] local.INFO: Packet analysis {"connection_id":189627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:47] local.INFO: Extracted packet for processing {"connection_id":189627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14: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-19 16:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:14: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-19 16:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:14:47] 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-19 16:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":189627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:14:47] local.INFO: GPS data processed {"connection_id":189627,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:14:47] local.INFO: Acknowledgment sent {"connection_id":189627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:14:51] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:51] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:14:51] local.INFO: IMEI packet received {"connection_id":187025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":187025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:14:51] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9413ad8012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9413ad8012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:51] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9413ad8012d1820400721b278004c00d529..."} 
[2026-09-19 16:14:51] local.INFO: Packet analysis {"connection_id":187025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:51] local.INFO: Extracted packet for processing {"connection_id":187025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192495104001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:14:51] local.INFO: IO Element Parsed {"io_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-19 16:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814455000,"timestamp_ms":1789814455000,"timestamp_seconds":1789814455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9413ad8"} 
[2026-09-19 16: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-19 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 16:14:51] 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-19 16: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-19 16: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-19 16:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192495104001,"66":12645,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192495104001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:14:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192495104001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":187025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:14:52] local.INFO: GPS data processed {"connection_id":187025,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:14:52] local.INFO: Acknowledgment sent {"connection_id":187025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:15:08] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:08] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:08] local.INFO: IMEI packet received {"connection_id":187026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":187026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:15:14] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:14] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:15:14] local.INFO: IMEI packet received {"connection_id":187026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":187026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:15:15] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:15] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:15] local.INFO: Packet analysis {"connection_id":187026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:15] local.INFO: Extracted packet for processing {"connection_id":187026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15: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-19 16:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:15:15] 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-19 16:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:15:15] 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-19 16:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":187026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:15:15] local.INFO: GPS data processed {"connection_id":187026,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:15:15] local.INFO: Acknowledgment sent {"connection_id":187026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:15:23] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9418ce0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9418ce0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:15:23] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9418ce0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:15:23] local.INFO: Packet analysis {"connection_id":187025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:23] local.INFO: Extracted packet for processing {"connection_id":187025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:15: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-19 16:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192500480001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:23] local.INFO: IO Element Parsed {"io_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-19 16:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814476000,"timestamp_ms":1789814476000,"timestamp_seconds":1789814476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9418ce0"} 
[2026-09-19 16:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 16:15:23] 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-19 16:15: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-19 16:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192500480001,"66":12667,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192500480001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:15:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192500480001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":187025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:15:23] local.INFO: GPS data processed {"connection_id":187025,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:15:23] local.INFO: Acknowledgment sent {"connection_id":187025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:15:45] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:45] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:45] local.INFO: IMEI packet received {"connection_id":186902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":186902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:15:47] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:47] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:15:47] local.INFO: Packet analysis {"connection_id":187026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:47] local.INFO: Extracted packet for processing {"connection_id":187026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15: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-19 16:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:15: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-19 16:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:15:47] 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-19 16:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":187026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:15:47] local.INFO: GPS data processed {"connection_id":187026,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:15:47] local.INFO: Acknowledgment sent {"connection_id":187026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:15:51] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:51] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:15:51] local.INFO: IMEI packet received {"connection_id":186902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":186902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:15:51] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b941dee8012d1820400721b278004c00d529..."} 
[2026-09-19 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b941dee8012d1820400721b278004c00d529..."} 
[2026-09-19 16:15:51] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b941dee8012d1820400721b278004c00d529..."} 
[2026-09-19 16:15:51] local.INFO: Packet analysis {"connection_id":186902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:51] local.INFO: Extracted packet for processing {"connection_id":186902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192505856001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:15:51] local.INFO: IO Element Parsed {"io_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-19 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814497000,"timestamp_ms":1789814497000,"timestamp_seconds":1789814497,"priority":1,"record_length":96,"hex_timestamp":"000001a0b941dee8"} 
[2026-09-19 16: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-19 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 16:15:51] 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-19 16: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-19 16: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-19 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192505856001,"66":12613,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192505856001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:15:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192505856001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":186902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:15:52] local.INFO: GPS data processed {"connection_id":186902,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:15:52] local.INFO: Acknowledgment sent {"connection_id":186902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:16:08] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:08] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:08] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:16:14] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:14] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:16:14] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:16:17] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:17] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94113c8012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:17] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:16:17] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b941"} 
[2026-09-19 16:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192420864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789814445000,"timestamp_ms":1789814445000,"timestamp_seconds":1789814445,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94113c8"} 
[2026-09-19 16: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-19 16:16:17] 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-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16: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-19 16: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-19 16:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:16:17] 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-19 16:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192420864001,"66":25691,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192420864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192420864001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:16:17] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:16:17] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:16:23] local.INFO: TCP Data received {"connection_id":186902,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94230f0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94230f0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:16:23] local.INFO: Processing buffer {"connection_id":186902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94230f0012d1820400721b278004c00d52b..."} 
[2026-09-19 16:16:23] local.INFO: Packet analysis {"connection_id":186902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:16:23] local.INFO: Extracted packet for processing {"connection_id":186902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:16: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-19 16:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192511232001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:23] local.INFO: IO Element Parsed {"io_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-19 16:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814518000,"timestamp_ms":1789814518000,"timestamp_seconds":1789814518,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94230f0"} 
[2026-09-19 16:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 16:16:23] 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-19 16:16: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-19 16:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192511232001,"66":12645,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192511232001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:16:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192511232001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":186902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:16:23] local.INFO: GPS data processed {"connection_id":186902,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:16:23] local.INFO: Acknowledgment sent {"connection_id":186902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:16:45] local.INFO: TCP Data received {"connection_id":189629,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:45] local.INFO: Processing buffer {"connection_id":189629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:45] local.INFO: IMEI packet received {"connection_id":189629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":189629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:16:48] local.INFO: TCP Data received {"connection_id":189629,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:48] local.INFO: Processing buffer {"connection_id":189629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:48] local.INFO: IMEI packet received {"connection_id":189629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":189629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:16:49] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:49] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:16:49] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:16:49] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16: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-19 16:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:16:49] 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-19 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:16:49] 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-19 16:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:16: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-19 16:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:16:49] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:16:49] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:16:51] local.INFO: TCP Data received {"connection_id":189629,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:51] local.INFO: Processing buffer {"connection_id":189629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:16:51] local.INFO: IMEI packet received {"connection_id":189629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":189629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:16:51] local.INFO: TCP Data received {"connection_id":189629,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94282f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94282f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:16:51] local.INFO: Processing buffer {"connection_id":189629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94282f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:16:51] local.INFO: Packet analysis {"connection_id":189629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:16:51] local.INFO: Extracted packet for processing {"connection_id":189629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192516608001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:16:51] local.INFO: IO Element Parsed {"io_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-19 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814539000,"timestamp_ms":1789814539000,"timestamp_seconds":1789814539,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94282f8"} 
[2026-09-19 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 16:16:51] 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-19 16:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192516608001,"66":12613,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192516608001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:16:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192516608001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":189629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:16:52] local.INFO: GPS data processed {"connection_id":189629,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:16:52] local.INFO: Acknowledgment sent {"connection_id":189629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:17:09] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:09] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:09] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:17:14] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:14] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:17:14] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:17:15] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:15] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:15] local.INFO: Packet analysis {"connection_id":188324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:17:15] local.INFO: Extracted packet for processing {"connection_id":188324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17: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-19 16:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:17:15] 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-19 16:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:17: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-19 16:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:17:15] local.INFO: GPS data processed {"connection_id":188324,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:17:15] local.INFO: Acknowledgment sent {"connection_id":188324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:17:23] local.INFO: TCP Data received {"connection_id":189629,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b942d500012d1820400721b278004c00d529..."} 
[2026-09-19 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b942d500012d1820400721b278004c00d529..."} 
[2026-09-19 16:17:23] local.INFO: Processing buffer {"connection_id":189629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b942d500012d1820400721b278004c00d529..."} 
[2026-09-19 16:17:23] local.INFO: Packet analysis {"connection_id":189629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:17:23] local.INFO: Extracted packet for processing {"connection_id":189629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b942"} 
[2026-09-19 16:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192521984001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:23] local.INFO: IO Element Parsed {"io_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-19 16:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814560000,"timestamp_ms":1789814560000,"timestamp_seconds":1789814560,"priority":1,"record_length":96,"hex_timestamp":"000001a0b942d500"} 
[2026-09-19 16:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 16:17:23] 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-19 16:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192521984001,"66":12591,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192521984001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:17:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192521984001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":189629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:17:23] local.INFO: GPS data processed {"connection_id":189629,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:17:23] local.INFO: Acknowledgment sent {"connection_id":189629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:17:47] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:47] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:17:47] local.INFO: Packet analysis {"connection_id":188324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:17:47] local.INFO: Extracted packet for processing {"connection_id":188324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17: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-19 16:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:17:47] 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-19 16:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:17:47] 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-19 16:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":188324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:17:47] local.INFO: GPS data processed {"connection_id":188324,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:17:47] local.INFO: Acknowledgment sent {"connection_id":188324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:17:51] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: IMEI packet received {"connection_id":187028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":187028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:17:51] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:51] local.INFO: IMEI packet received {"connection_id":187028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":187028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:17:56] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:56] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:17:56] local.INFO: IMEI packet received {"connection_id":187028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":187028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:17:56] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9465b58012d1820400721b278004c00d52a..."} 
[2026-09-19 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9465b58012d1820400721b278004c00d52a..."} 
[2026-09-19 16:17:56] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9465b58012d1820400721b278004c00d52a..."} 
[2026-09-19 16:17:56] local.INFO: Packet analysis {"connection_id":187028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:17:56] local.INFO: Extracted packet for processing {"connection_id":187028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:17: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-19 16:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192581120001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:17:56] local.INFO: IO Element Parsed {"io_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-19 16:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789814791000,"timestamp_ms":1789814791000,"timestamp_seconds":1789814791,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9465b58"} 
[2026-09-19 16:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:17:56] 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-19 16:17: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-19 16:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192581120001,"66":12537,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192581120001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:17:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192581120001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":187028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:17:56] local.INFO: GPS data processed {"connection_id":187028,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:17:56] local.INFO: Acknowledgment sent {"connection_id":187028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:18:01] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b946ad60012d1820400721b278004c00d523..."} 
[2026-09-19 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b946ad60012d1820400721b278004c00d523..."} 
[2026-09-19 16:18:01] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b946ad60012d1820400721b278004c00d523..."} 
[2026-09-19 16:18:01] local.INFO: Packet analysis {"connection_id":187028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:18:01] local.INFO: Extracted packet for processing {"connection_id":187028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192586496001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789814812000,"timestamp_ms":1789814812000,"timestamp_seconds":1789814812,"priority":1,"record_length":96,"hex_timestamp":"000001a0b946ad60"} 
[2026-09-19 16: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-19 16:18: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-19 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 16:18:01] 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-19 16: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-19 16: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-19 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":187028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":187028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":187028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:18: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-19 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192586496001,"66":12537,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192586496001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:18:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192586496001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":187028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:18:01] local.INFO: GPS data processed {"connection_id":187028,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:18:01] local.INFO: Acknowledgment sent {"connection_id":187028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:18:08] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:08] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:08] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:18:14] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:14] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:18:14] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:18:15] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:15] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:15] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:18:15] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18: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-19 16:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 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-19 16:18:15] 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-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 16:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:18: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-19 16:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:18:15] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:18:15] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:18:31] local.INFO: TCP Data received {"connection_id":187030,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:18:31] local.INFO: Processing buffer {"connection_id":187030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:18:31] local.INFO: IMEI packet received {"connection_id":187030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":187030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:18:45] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:45] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:45] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:18:48] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:48] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:18:48] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:18:48] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16: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-19 16:18:48] 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-19 16: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":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:18: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-19 16: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-19 16: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-19 16:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:18: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-19 16:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:18:48] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:18:48] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:18:51] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:51] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:18:51] local.INFO: IMEI packet received {"connection_id":186903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":186903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:18:51] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b946ff68012d1820400721b278004c00d528..."} 
[2026-09-19 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b946ff68012d1820400721b278004c00d528..."} 
[2026-09-19 16:18:51] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b946ff68012d1820400721b278004c00d528..."} 
[2026-09-19 16:18:51] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:18:51] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b946"} 
[2026-09-19 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192591872001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:18:51] local.INFO: IO Element Parsed {"io_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-19 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814833000,"timestamp_ms":1789814833000,"timestamp_seconds":1789814833,"priority":1,"record_length":96,"hex_timestamp":"000001a0b946ff68"} 
[2026-09-19 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 16:18:51] 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-19 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192591872001,"66":12537,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192591872001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:18:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192591872001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:18:52] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:18:52] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:19:08] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:19:08] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:19:08] local.INFO: IMEI packet received {"connection_id":187031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:19:08] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:08] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:08] local.INFO: IMEI packet received {"connection_id":189630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":189630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:19:14] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:14] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:19:14] local.INFO: IMEI packet received {"connection_id":189630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":189630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:19:16] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:16] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:16] local.INFO: Packet analysis {"connection_id":189630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:19:16] local.INFO: Extracted packet for processing {"connection_id":189630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19: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-19 16:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 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-19 16:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:19:16] 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-19 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-19 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-19 16:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:19: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-19 16:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":189630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:19:16] local.INFO: GPS data processed {"connection_id":189630,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:19:16] local.INFO: Acknowledgment sent {"connection_id":189630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:19:23] local.INFO: TCP Data received {"connection_id":186903,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9475170012d1820400721b278004c00d529..."} 
[2026-09-19 16:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9475170012d1820400721b278004c00d529..."} 
[2026-09-19 16:19:23] local.INFO: Processing buffer {"connection_id":186903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9475170012d1820400721b278004c00d529..."} 
[2026-09-19 16:19:23] local.INFO: Packet analysis {"connection_id":186903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:19:23] local.INFO: Extracted packet for processing {"connection_id":186903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:19: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-19 16:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192597248001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:23] local.INFO: IO Element Parsed {"io_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-19 16:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814854000,"timestamp_ms":1789814854000,"timestamp_seconds":1789814854,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9475170"} 
[2026-09-19 16:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 16:19:23] 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-19 16:19: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-19 16:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192597248001,"66":12548,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192597248001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:19:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192597248001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":186903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:19:23] local.INFO: GPS data processed {"connection_id":186903,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:19:23] local.INFO: Acknowledgment sent {"connection_id":186903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:19:45] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:45] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:45] local.INFO: IMEI packet received {"connection_id":186905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":186905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:19:48] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:48] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:19:48] local.INFO: Packet analysis {"connection_id":189630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:19:48] local.INFO: Extracted packet for processing {"connection_id":189630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19: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-19 16:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:19:48] 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-19 16:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:19: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-19 16:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:19: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-19 16:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":189630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:19:48] local.INFO: GPS data processed {"connection_id":189630,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:19:48] local.INFO: Acknowledgment sent {"connection_id":189630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:19:51] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:51] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:19:51] local.INFO: IMEI packet received {"connection_id":186905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":186905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:19:52] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b947a378012d1820400721b278004c00d528..."} 
[2026-09-19 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b947a378012d1820400721b278004c00d528..."} 
[2026-09-19 16:19:52] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b947a378012d1820400721b278004c00d528..."} 
[2026-09-19 16:19:52] local.INFO: Packet analysis {"connection_id":186905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:19:52] local.INFO: Extracted packet for processing {"connection_id":186905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192602624001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.INFO: IO Element Parsed {"io_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-19 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789814875000,"timestamp_ms":1789814875000,"timestamp_seconds":1789814875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b947a378"} 
[2026-09-19 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3108332864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208844,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-19 16:19:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,98,160,255,45,64,178,76,40,10,66,173,35,91,1,240,249,227,185,33,4,113,205,183,32,120,239,48,2,77,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 16:19:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611518952898560,"timestamp_seconds":5476611518952899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192602624001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192602624001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:19:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192602624001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":186905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:19:52] local.INFO: GPS data processed {"connection_id":186905,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:19:52] local.INFO: Acknowledgment sent {"connection_id":186905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:20:14] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:14] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:14] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:20:19] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:19] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:20:19] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:20:20] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:20] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:20] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:20:20] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16: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-19 16:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:20:20] 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-19 16: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-19 16: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-19 16:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:20:20] 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-19 16:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:20:20] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:20:20] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:20:23] local.INFO: TCP Data received {"connection_id":186905,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b947f580012d1820400721b278004c00d528..."} 
[2026-09-19 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b947f580012d1820400721b278004c00d528..."} 
[2026-09-19 16:20:23] local.INFO: Processing buffer {"connection_id":186905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b947f580012d1820400721b278004c00d528..."} 
[2026-09-19 16:20:23] local.INFO: Packet analysis {"connection_id":186905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:20:23] local.INFO: Extracted packet for processing {"connection_id":186905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b947"} 
[2026-09-19 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192608000001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:23] local.INFO: IO Element Parsed {"io_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-19 16:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814896000,"timestamp_ms":1789814896000,"timestamp_seconds":1789814896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b947f580"} 
[2026-09-19 16:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:20:23] 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-19 16:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192608000001,"66":12526,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192608000001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:20:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192608000001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":186905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:20:23] local.INFO: GPS data processed {"connection_id":186905,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:20:23] local.INFO: Acknowledgment sent {"connection_id":186905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:20:45] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:45] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:45] local.INFO: IMEI packet received {"connection_id":188326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":188326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:20:51] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:51] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:20:51] local.INFO: IMEI packet received {"connection_id":188326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":188326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:20:51] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9484788012d1820400721b278004c00d529..."} 
[2026-09-19 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9484788012d1820400721b278004c00d529..."} 
[2026-09-19 16:20:51] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9484788012d1820400721b278004c00d529..."} 
[2026-09-19 16:20:51] local.INFO: Packet analysis {"connection_id":188326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:20:51] local.INFO: Extracted packet for processing {"connection_id":188326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192613376001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:51] local.INFO: IO Element Parsed {"io_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-19 16:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814917000,"timestamp_ms":1789814917000,"timestamp_seconds":1789814917,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9484788"} 
[2026-09-19 16: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-19 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 16:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192613376001,"66":12537,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192613376001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:20:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192613376001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":188326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:20:52] local.INFO: GPS data processed {"connection_id":188326,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:20:52] local.INFO: Acknowledgment sent {"connection_id":188326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:20:53] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:53] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:20:53] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:20:53] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:20: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-19 16:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:20:53] 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-19 16:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:20:53] 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-19 16:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:20:53] 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-19 16:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:20:53] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:20:53] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:21:09] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:09] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:09] local.INFO: IMEI packet received {"connection_id":189631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":189631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:21:14] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:14] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:21:14] local.INFO: IMEI packet received {"connection_id":189631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":189631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:21:15] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:21:15] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b945ab90012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:21:15] local.INFO: Packet analysis {"connection_id":189631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:21:15] local.INFO: Extracted packet for processing {"connection_id":189631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b945"} 
[2026-09-19 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192497920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21: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-19 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789814746000,"timestamp_ms":1789814746000,"timestamp_seconds":1789814746,"priority":1,"record_length":96,"hex_timestamp":"000001a0b945ab90"} 
[2026-09-19 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:21:15] 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-19 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:21: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-19 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192497920001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192497920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192497920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":189631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:21:15] local.INFO: GPS data processed {"connection_id":189631,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:21:15] local.INFO: Acknowledgment sent {"connection_id":189631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:21:22] local.INFO: TCP Data received {"connection_id":188326,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9489990012d1820400721b278004c00d527..."} 
[2026-09-19 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9489990012d1820400721b278004c00d527..."} 
[2026-09-19 16:21:22] local.INFO: Processing buffer {"connection_id":188326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9489990012d1820400721b278004c00d527..."} 
[2026-09-19 16:21:22] local.INFO: Packet analysis {"connection_id":188326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:21:22] local.INFO: Extracted packet for processing {"connection_id":188326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192618752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:22] local.INFO: IO Element Parsed {"io_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-19 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789814938000,"timestamp_ms":1789814938000,"timestamp_seconds":1789814938,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9489990"} 
[2026-09-19 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192618752001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192618752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:21:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192618752001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":188326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:21:22] local.INFO: GPS data processed {"connection_id":188326,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:21:22] local.INFO: Acknowledgment sent {"connection_id":188326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:21:45] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:45] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:45] local.INFO: IMEI packet received {"connection_id":188327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":188327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:21:46] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:21:46] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:21:46] local.INFO: Packet analysis {"connection_id":189631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:21:46] local.INFO: Extracted packet for processing {"connection_id":189631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16: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-19 16: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-19 16: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-19 16:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:21: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-19 16:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":189631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:21:46] local.INFO: GPS data processed {"connection_id":189631,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:21:46] local.INFO: Acknowledgment sent {"connection_id":189631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:21:51] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:51] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:21:51] local.INFO: IMEI packet received {"connection_id":188327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":188327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:21:51] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b948eb98012d1820400721b278004c00d525..."} 
[2026-09-19 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b948eb98012d1820400721b278004c00d525..."} 
[2026-09-19 16:21:51] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b948eb98012d1820400721b278004c00d525..."} 
[2026-09-19 16:21:51] local.INFO: Packet analysis {"connection_id":188327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:21:51] local.INFO: Extracted packet for processing {"connection_id":188327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b948"} 
[2026-09-19 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192624128001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:21:51] local.INFO: IO Element Parsed {"io_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-19 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789814959000,"timestamp_ms":1789814959000,"timestamp_seconds":1789814959,"priority":1,"record_length":96,"hex_timestamp":"000001a0b948eb98"} 
[2026-09-19 16: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-19 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:21:51] 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-19 16: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-19 16: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-19 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192624128001,"66":12515,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192624128001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:21:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192624128001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":188327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:21:52] local.INFO: GPS data processed {"connection_id":188327,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:21:52] local.INFO: Acknowledgment sent {"connection_id":188327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:22:08] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:08] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:08] local.INFO: IMEI packet received {"connection_id":187035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":187035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:22:14] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:14] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:22:14] local.INFO: IMEI packet received {"connection_id":187035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":187035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:22:15] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:15] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:15] local.INFO: Packet analysis {"connection_id":187035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:22:15] local.INFO: Extracted packet for processing {"connection_id":187035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22: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-19 16:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:22: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-19 16: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-19 16: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-19 16:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:22: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-19 16:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":187035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:22:15] local.INFO: GPS data processed {"connection_id":187035,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:22:15] local.INFO: Acknowledgment sent {"connection_id":187035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:22:23] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9493da0012d1820400721b278004c00d527..."} 
[2026-09-19 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9493da0012d1820400721b278004c00d527..."} 
[2026-09-19 16:22:23] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9493da0012d1820400721b278004c00d527..."} 
[2026-09-19 16:22:23] local.INFO: Packet analysis {"connection_id":188327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:22:23] local.INFO: Extracted packet for processing {"connection_id":188327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192629504001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:23] local.INFO: IO Element Parsed {"io_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-19 16:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789814980000,"timestamp_ms":1789814980000,"timestamp_seconds":1789814980,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9493da0"} 
[2026-09-19 16:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-19 16:22:23] 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-19 16:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192629504001,"66":12526,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192629504001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192629504001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":188327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:22:23] local.INFO: GPS data processed {"connection_id":188327,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:22:23] local.INFO: Acknowledgment sent {"connection_id":188327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:22:45] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:45] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:45] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:22:46] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:46] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:22:46] local.INFO: Packet analysis {"connection_id":187035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:22:46] local.INFO: Extracted packet for processing {"connection_id":187035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22: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-19 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:22: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-19 16:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:22: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-19 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":187035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:22:46] local.INFO: GPS data processed {"connection_id":187035,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:22:46] local.INFO: Acknowledgment sent {"connection_id":187035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:22:51] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:51] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:22:51] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:22:52] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9498fa8012d1820400721b278004c00d529..."} 
[2026-09-19 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9498fa8012d1820400721b278004c00d529..."} 
[2026-09-19 16:22:52] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9498fa8012d1820400721b278004c00d529..."} 
[2026-09-19 16:22:52] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:22:52] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192634880001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:22:52] local.INFO: IO Element Parsed {"io_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-19 16:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789815001000,"timestamp_ms":1789815001000,"timestamp_seconds":1789815001,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9498fa8"} 
[2026-09-19 16:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 16:22:52] 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-19 16:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192634880001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192634880001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:22:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192634880001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:22:52] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:22:52] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:23:09] local.INFO: TCP Data received {"connection_id":189633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:09] local.INFO: Processing buffer {"connection_id":189633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:09] local.INFO: IMEI packet received {"connection_id":189633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":189633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:23:14] local.INFO: TCP Data received {"connection_id":189633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:14] local.INFO: Processing buffer {"connection_id":189633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:23:14] local.INFO: IMEI packet received {"connection_id":189633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":189633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:23:15] local.INFO: TCP Data received {"connection_id":189633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:15] local.INFO: Processing buffer {"connection_id":189633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:15] local.INFO: Packet analysis {"connection_id":189633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:15] local.INFO: Extracted packet for processing {"connection_id":189633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23: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-19 16:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:23: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-19 16: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-19 16: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-19 16:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:23: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-19 16:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":189633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:23:15] local.INFO: GPS data processed {"connection_id":189633,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:23:15] local.INFO: Acknowledgment sent {"connection_id":189633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:23:23] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b949e1b0012d1820400721b278004c00d527..."} 
[2026-09-19 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b949e1b0012d1820400721b278004c00d527..."} 
[2026-09-19 16:23:23] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b949e1b0012d1820400721b278004c00d527..."} 
[2026-09-19 16:23:23] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:23:23] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b949"} 
[2026-09-19 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192640256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:23] local.INFO: IO Element Parsed {"io_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-19 16:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789815022000,"timestamp_ms":1789815022000,"timestamp_seconds":1789815022,"priority":1,"record_length":96,"hex_timestamp":"000001a0b949e1b0"} 
[2026-09-19 16:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:23:23] 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-19 16:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192640256001,"66":12526,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192640256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:23:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192640256001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:23:23] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:23:23] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:23:45] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:45] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:45] local.INFO: IMEI packet received {"connection_id":189634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":189634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:23:46] local.INFO: TCP Data received {"connection_id":189633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:46] local.INFO: Processing buffer {"connection_id":189633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:23:46] local.INFO: Packet analysis {"connection_id":189633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:46] local.INFO: Extracted packet for processing {"connection_id":189633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23: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-19 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:23: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-19 16: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-19 16: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-19 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:23: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-19 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":189633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:23:46] local.INFO: GPS data processed {"connection_id":189633,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:23:46] local.INFO: Acknowledgment sent {"connection_id":189633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:23:48] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:48] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:48] local.INFO: IMEI packet received {"connection_id":189634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":189634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:23:51] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:51] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:23:51] local.INFO: IMEI packet received {"connection_id":189634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":189634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:23:51] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a33b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a33b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:23:51] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a33b8012d1820400721b278004c00d529..."} 
[2026-09-19 16:23:51] local.INFO: Packet analysis {"connection_id":189634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:51] local.INFO: Extracted packet for processing {"connection_id":189634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192645632001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:23:51] local.INFO: IO Element Parsed {"io_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-19 16:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815043000,"timestamp_ms":1789815043000,"timestamp_seconds":1789815043,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a33b8"} 
[2026-09-19 16:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 16:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192645632001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192645632001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:23:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192645632001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":189634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:23:52] local.INFO: GPS data processed {"connection_id":189634,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:23:52] local.INFO: Acknowledgment sent {"connection_id":189634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:24:14] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:14] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:14] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:24:19] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:19] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:24:19] local.INFO: IMEI packet received {"connection_id":186907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":186907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:24:20] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:20] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:20] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:20] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:24:20] 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-19 16:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:24:20] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:24:20] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:24:23] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a85c0012d1820400721b278004c00d527..."} 
[2026-09-19 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a85c0012d1820400721b278004c00d527..."} 
[2026-09-19 16:24:23] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a85c0012d1820400721b278004c00d527..."} 
[2026-09-19 16:24:23] local.INFO: Packet analysis {"connection_id":189634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:23] local.INFO: Extracted packet for processing {"connection_id":189634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192651008001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:23] local.INFO: IO Element Parsed {"io_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-19 16:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789815064000,"timestamp_ms":1789815064000,"timestamp_seconds":1789815064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a85c0"} 
[2026-09-19 16:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:24:23] 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-19 16:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192651008001,"66":12526,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192651008001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:24:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192651008001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":189634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:24:23] local.INFO: GPS data processed {"connection_id":189634,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:24:23] local.INFO: Acknowledgment sent {"connection_id":189634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:24:24] local.INFO: TCP Data received {"connection_id":186907,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:24] local.INFO: Processing buffer {"connection_id":186907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:24:24] local.INFO: Packet analysis {"connection_id":186907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:24] local.INFO: Extracted packet for processing {"connection_id":186907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:24: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-19 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:24: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-19 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:24:24] 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-19 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":186907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:24:24] local.INFO: GPS data processed {"connection_id":186907,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:24:24] local.INFO: Acknowledgment sent {"connection_id":186907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:24:51] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:24:51] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:51] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:24:56] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:56] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:24:56] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:24:57] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94ad7c8012d1820400721b278004c00d528..."} 
[2026-09-19 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94ad7c8012d1820400721b278004c00d528..."} 
[2026-09-19 16:24:57] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94ad7c8012d1820400721b278004c00d528..."} 
[2026-09-19 16:24:57] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:57] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192656384001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:24:57] local.INFO: IO Element Parsed {"io_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-19 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789815085000,"timestamp_ms":1789815085000,"timestamp_seconds":1789815085,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94ad7c8"} 
[2026-09-19 16: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-19 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 16:24:57] 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-19 16: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-19 16: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-19 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16: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-19 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192656384001,"66":12515,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192656384001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192656384001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:24:57] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:24:57] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:25:01] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94b29d0012d1820400721b278004c00d526..."} 
[2026-09-19 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94b29d0012d1820400721b278004c00d526..."} 
[2026-09-19 16:25:01] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94b29d0012d1820400721b278004c00d526..."} 
[2026-09-19 16:25:01] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:25:01] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192661760001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25: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-19 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789815106000,"timestamp_ms":1789815106000,"timestamp_seconds":1789815106,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94b29d0"} 
[2026-09-19 16: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-19 16:25: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-19 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-19 16:25:01] 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-19 16: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-19 16: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-19 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16: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-19 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192661760001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192661760001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:25:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192661760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:25:01] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:25:01] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:25:09] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:09] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:09] local.INFO: IMEI packet received {"connection_id":186908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":186908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:25:14] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:14] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:25:14] local.INFO: IMEI packet received {"connection_id":186908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":186908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:25:15] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:15] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:15] local.INFO: Packet analysis {"connection_id":186908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:25:15] local.INFO: Extracted packet for processing {"connection_id":186908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:25: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-19 16: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-19 16: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-19 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:25: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-19 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":186908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:25:15] local.INFO: GPS data processed {"connection_id":186908,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:25:15] local.INFO: Acknowledgment sent {"connection_id":186908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:25:45] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:45] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:45] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:25:47] local.INFO: TCP Data received {"connection_id":186908,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:47] local.INFO: Processing buffer {"connection_id":186908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:25:47] local.INFO: Packet analysis {"connection_id":186908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:25:47] local.INFO: Extracted packet for processing {"connection_id":186908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16: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-19 16:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:25: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-19 16: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-19 16: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-19 16:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:25: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-19 16:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":186908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:25:47] local.INFO: GPS data processed {"connection_id":186908,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:25:47] local.INFO: Acknowledgment sent {"connection_id":186908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:25:51] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:51] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:25:51] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:25:52] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94b7bd8012d1820400721b278004c00d529..."} 
[2026-09-19 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94b7bd8012d1820400721b278004c00d529..."} 
[2026-09-19 16:25:52] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94b7bd8012d1820400721b278004c00d529..."} 
[2026-09-19 16:25:52] local.INFO: Packet analysis {"connection_id":187037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:25:52] local.INFO: Extracted packet for processing {"connection_id":187037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192667136001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:25:52] local.INFO: IO Element Parsed {"io_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-19 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789815127000,"timestamp_ms":1789815127000,"timestamp_seconds":1789815127,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94b7bd8"} 
[2026-09-19 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:25:52] 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-19 16:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192667136001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192667136001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:25:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192667136001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":187037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:25:52] local.INFO: GPS data processed {"connection_id":187037,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:25:52] local.INFO: Acknowledgment sent {"connection_id":187037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:25:53] local.INFO: TCP Data received {"connection_id":189635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:25:53] local.INFO: Processing buffer {"connection_id":189635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:25:53] local.INFO: IMEI packet received {"connection_id":189635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":189635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:26:09] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:09] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:09] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:26:14] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:14] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:26:14] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:26:15] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:26:15] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94a4358012d34c14006aa41400008010e2c..."} 
[2026-09-19 16:26:15] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:26:15] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94a"} 
[2026-09-19 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192574976001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815047000,"timestamp_ms":1789815047000,"timestamp_seconds":1789815047,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94a4358"} 
[2026-09-19 16:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:26: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-19 16:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16: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-19 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192574976001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192574976001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192574976001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:26:15] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:26:15] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:26:23] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94bcde0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94bcde0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:26:23] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94bcde0012d1820400721b278004c00d52a..."} 
[2026-09-19 16:26:23] local.INFO: Packet analysis {"connection_id":187037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:26:23] local.INFO: Extracted packet for processing {"connection_id":187037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94b"} 
[2026-09-19 16:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192672512001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:23] local.INFO: IO Element Parsed {"io_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-19 16:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789815148000,"timestamp_ms":1789815148000,"timestamp_seconds":1789815148,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94bcde0"} 
[2026-09-19 16:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:26:23] 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-19 16:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192672512001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192672512001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:26:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192672512001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":187037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:26:23] local.INFO: GPS data processed {"connection_id":187037,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:26:23] local.INFO: Acknowledgment sent {"connection_id":187037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:26:25] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:26:25] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:26:25] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:26:45] local.INFO: TCP Data received {"connection_id":189636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:45] local.INFO: Processing buffer {"connection_id":189636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:45] local.INFO: IMEI packet received {"connection_id":189636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":189636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:26:50] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:26:50] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:26:50] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:26:50] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26: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-19 16:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16: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-19 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:26:50] 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-19 16:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:26:50] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:26:50] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:26:51] local.INFO: TCP Data received {"connection_id":189636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:51] local.INFO: Processing buffer {"connection_id":189636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:26:51] local.INFO: IMEI packet received {"connection_id":189636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":189636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:26:51] local.INFO: TCP Data received {"connection_id":189636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94c1fe8012d1820400721b278004c00d529..."} 
[2026-09-19 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94c1fe8012d1820400721b278004c00d529..."} 
[2026-09-19 16:26:51] local.INFO: Processing buffer {"connection_id":189636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94c1fe8012d1820400721b278004c00d529..."} 
[2026-09-19 16:26:51] local.INFO: Packet analysis {"connection_id":189636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:26:51] local.INFO: Extracted packet for processing {"connection_id":189636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192677888001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:26:51] local.INFO: IO Element Parsed {"io_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-19 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815169000,"timestamp_ms":1789815169000,"timestamp_seconds":1789815169,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94c1fe8"} 
[2026-09-19 16: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-19 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:26:51] 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-19 16: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-19 16: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-19 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192677888001,"66":12461,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192677888001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:26:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192677888001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":189636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:26:52] local.INFO: GPS data processed {"connection_id":189636,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:26:52] local.INFO: Acknowledgment sent {"connection_id":189636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:27:09] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:09] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:09] local.INFO: IMEI packet received {"connection_id":189637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:27:14] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:14] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:27:14] local.INFO: IMEI packet received {"connection_id":189637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":189637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:27:15] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:15] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:15] local.INFO: Packet analysis {"connection_id":189637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:27:15] local.INFO: Extracted packet for processing {"connection_id":189637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16: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-19 16:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:27: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-19 16: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-19 16: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-19 16:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:27: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-19 16:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":189637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:27:15] local.INFO: GPS data processed {"connection_id":189637,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:27:15] local.INFO: Acknowledgment sent {"connection_id":189637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:27:23] local.INFO: TCP Data received {"connection_id":189636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94c71f0012d1820400721b278004c00d529..."} 
[2026-09-19 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94c71f0012d1820400721b278004c00d529..."} 
[2026-09-19 16:27:23] local.INFO: Processing buffer {"connection_id":189636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94c71f0012d1820400721b278004c00d529..."} 
[2026-09-19 16:27:23] local.INFO: Packet analysis {"connection_id":189636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:27:23] local.INFO: Extracted packet for processing {"connection_id":189636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:27: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-19 16:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192683264001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:23] local.INFO: IO Element Parsed {"io_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-19 16:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789815190000,"timestamp_ms":1789815190000,"timestamp_seconds":1789815190,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94c71f0"} 
[2026-09-19 16:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 16:27:23] 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-19 16:27: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-19 16:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192683264001,"66":12461,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192683264001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:27:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192683264001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":189636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:27:23] local.INFO: GPS data processed {"connection_id":189636,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:27:23] local.INFO: Acknowledgment sent {"connection_id":189636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:27:45] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:45] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:45] local.INFO: IMEI packet received {"connection_id":188332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":188332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:27:47] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:47] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:27:47] local.INFO: Packet analysis {"connection_id":189637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:27:47] local.INFO: Extracted packet for processing {"connection_id":189637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27: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-19 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:27: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-19 16:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:27: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-19 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":189637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:27:47] local.INFO: GPS data processed {"connection_id":189637,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:27:47] local.INFO: Acknowledgment sent {"connection_id":189637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:27:51] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:51] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:27:51] local.INFO: IMEI packet received {"connection_id":188332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":188332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:27:52] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94cc3f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94cc3f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:27:52] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94cc3f8012d1820400721b278004c00d52a..."} 
[2026-09-19 16:27:52] local.INFO: Packet analysis {"connection_id":188332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:27:52] local.INFO: Extracted packet for processing {"connection_id":188332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94c"} 
[2026-09-19 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:27: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-19 16:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192688640001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:27:52] local.INFO: IO Element Parsed {"io_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-19 16:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789815211000,"timestamp_ms":1789815211000,"timestamp_seconds":1789815211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94cc3f8"} 
[2026-09-19 16:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:27: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 16:27:52] 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-19 16:27: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-19 16:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192688640001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192688640001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:27:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192688640001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":188332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:27:52] local.INFO: GPS data processed {"connection_id":188332,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:27:52] local.INFO: Acknowledgment sent {"connection_id":188332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:28:14] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:14] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:14] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:28:19] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:19] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:28:19] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:28:20] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:20] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:20] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:28:20] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:28:20] 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-19 16:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:28:20] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:28:20] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:28:22] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94d1600012d1820400721b278004c00d52a..."} 
[2026-09-19 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94d1600012d1820400721b278004c00d52a..."} 
[2026-09-19 16:28:22] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94d1600012d1820400721b278004c00d52a..."} 
[2026-09-19 16:28:22] local.INFO: Packet analysis {"connection_id":188332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:28:22] local.INFO: Extracted packet for processing {"connection_id":188332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192694016001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:22] local.INFO: IO Element Parsed {"io_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-19 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815232000,"timestamp_ms":1789815232000,"timestamp_seconds":1789815232,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94d1600"} 
[2026-09-19 16: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-19 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:28:22] 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-19 16: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-19 16: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-19 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192694016001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192694016001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:28:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192694016001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":188332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:28:23] local.INFO: GPS data processed {"connection_id":188332,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:28:23] local.INFO: Acknowledgment sent {"connection_id":188332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:28:25] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:25] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:28:25] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:28:25] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:28:25] 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-19 16:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:28:25] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:28:25] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:28:45] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:45] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:45] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:28:51] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:51] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:28:51] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:28:51] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94d6808012d1820400721b278004c00d529..."} 
[2026-09-19 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94d6808012d1820400721b278004c00d529..."} 
[2026-09-19 16:28:51] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94d6808012d1820400721b278004c00d529..."} 
[2026-09-19 16:28:51] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:28:51] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":76,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-09-19 16:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192699392001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781733368135680,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:28:51] local.INFO: IO Element Parsed {"io_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-19 16:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815253000,"timestamp_ms":1789815253000,"timestamp_seconds":1789815253,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94d6808"} 
[2026-09-19 16:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:28:51] 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-19 16:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192699392001,"66":12504,"105":206,"83":41984,"24":0,"16":21781733368135680,"45":1738459855539304448},"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-19 16:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192699392001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781733368135680,"km_value":21781733368135.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192699392001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:28:52] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:28:52] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:29:09] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:09] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:09] local.INFO: IMEI packet received {"connection_id":188334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":188334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:29:15] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:15] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:29:15] local.INFO: IMEI packet received {"connection_id":188334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":188334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:29:16] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:16] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:16] local.INFO: Packet analysis {"connection_id":188334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:16] local.INFO: Extracted packet for processing {"connection_id":188334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29: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-19 16:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29: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-19 16:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":188334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:29:16] local.INFO: GPS data processed {"connection_id":188334,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:29:16] local.INFO: Acknowledgment sent {"connection_id":188334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:29:21] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:21] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:21] local.INFO: Packet analysis {"connection_id":188334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:21] local.INFO: Extracted packet for processing {"connection_id":188334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29:21] 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-19 16:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":188334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:29:21] local.INFO: GPS data processed {"connection_id":188334,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:29:21] local.INFO: Acknowledgment sent {"connection_id":188334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:29:22] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94dba10012d181ec00721af10004d00cf2a..."} 
[2026-09-19 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94dba10012d181ec00721af10004d00cf2a..."} 
[2026-09-19 16:29:22] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94dba10012d181ec00721af10004d00cf2a..."} 
[2026-09-19 16:29:22] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:29:22] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94d"} 
[2026-09-19 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648016,"longitude_deg":75.6555456,"latitude_deg":11.9648016,"altitude":77,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af10","is_valid_coordinates":true} 
[2026-09-19 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192704768001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781780612775936,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:22] local.INFO: IO Element Parsed {"io_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-19 16:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815274000,"timestamp_ms":1789815274000,"timestamp_seconds":1789815274,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94dba10"} 
[2026-09-19 16:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:29:22] 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-19 16:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192704768001,"66":12504,"105":206,"83":41984,"24":0,"16":21781780612775936,"45":1738459855539304448},"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-19 16:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192704768001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:29:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781780612775936,"km_value":21781780612775.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-09-19 16:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192704768001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-09-19 16:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:29:22] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:29:22] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:29:45] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: IMEI packet received {"connection_id":189639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":189639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:29:45] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:45] local.INFO: IMEI packet received {"connection_id":189639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":189639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:29:51] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:51] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:29:51] local.INFO: IMEI packet received {"connection_id":189639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":189639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:29:51] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9514068012d181ec00721af10004d00cf2c..."} 
[2026-09-19 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9514068012d181ec00721af10004d00cf2c..."} 
[2026-09-19 16:29:51] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9514068012d181ec00721af10004d00cf2c..."} 
[2026-09-19 16:29:51] local.INFO: Packet analysis {"connection_id":189639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:29:51] local.INFO: Extracted packet for processing {"connection_id":189639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648016,"longitude_deg":75.6555456,"latitude_deg":11.9648016,"altitude":77,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af10","is_valid_coordinates":true} 
[2026-09-19 16:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192763904001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781780612775936,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074015232,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:51] local.INFO: IO Element Parsed {"io_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-19 16:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815505000,"timestamp_ms":1789815505000,"timestamp_seconds":1789815505,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9514068"} 
[2026-09-19 16:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:29:51] 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-19 16:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192763904001,"66":12504,"105":206,"83":41984,"24":0,"16":21781780612775936,"45":1738037643074015232},"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-19 16:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192763904001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:29:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781780612775936,"km_value":21781780612775.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074015232,"description":"Unknown IO ID 45"} 
[2026-09-19 16:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192763904001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074015232}} 
[2026-09-19 16:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":189639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:29:52] local.INFO: GPS data processed {"connection_id":189639,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:29:52] local.INFO: Acknowledgment sent {"connection_id":189639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:29:52] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:52] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:29:52] local.INFO: Packet analysis {"connection_id":188334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:52] local.INFO: Extracted packet for processing {"connection_id":188334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16: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-19 16:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 16: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:29:52] 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-19 16:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":188334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:29:52] local.INFO: GPS data processed {"connection_id":188334,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:29:52] local.INFO: Acknowledgment sent {"connection_id":188334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:30:09] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:09] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:09] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:30:14] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:14] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:30:14] local.INFO: IMEI packet received {"connection_id":186909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":186909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:30:15] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:15] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:15] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:30:15] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30: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-19 16:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:30: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-19 16:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:30:15] 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-19 16:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:30:15] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:30:15] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:30:22] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9519270012d181ec00721af10004d00cf29..."} 
[2026-09-19 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9519270012d181ec00721af10004d00cf29..."} 
[2026-09-19 16:30:22] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9519270012d181ec00721af10004d00cf29..."} 
[2026-09-19 16:30:22] local.INFO: Packet analysis {"connection_id":189639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:30:22] local.INFO: Extracted packet for processing {"connection_id":189639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648016,"longitude_deg":75.6555456,"latitude_deg":11.9648016,"altitude":77,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af10","is_valid_coordinates":true} 
[2026-09-19 16:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192769280001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781780612775936,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074015232,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:22] local.INFO: IO Element Parsed {"io_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-19 16:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815526000,"timestamp_ms":1789815526000,"timestamp_seconds":1789815526,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9519270"} 
[2026-09-19 16:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 16:30:22] 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-19 16:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192769280001,"66":12211,"105":206,"83":41984,"24":0,"16":21781780612775936,"45":1738037643074015232},"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-19 16:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192769280001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:30:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781780612775936,"km_value":21781780612775.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074015232,"description":"Unknown IO ID 45"} 
[2026-09-19 16:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192769280001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074015232}} 
[2026-09-19 16:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":189639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:30:23] local.INFO: GPS data processed {"connection_id":189639,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:30:23] local.INFO: Acknowledgment sent {"connection_id":189639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:30:45] local.INFO: TCP Data received {"connection_id":188335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:45] local.INFO: Processing buffer {"connection_id":188335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:45] local.INFO: IMEI packet received {"connection_id":188335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":188335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:30:47] local.INFO: TCP Data received {"connection_id":186909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:47] local.INFO: Processing buffer {"connection_id":186909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:30:47] local.INFO: Packet analysis {"connection_id":186909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:30:47] local.INFO: Extracted packet for processing {"connection_id":186909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30: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-19 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 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-19 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:30: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-19 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-19 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-19 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:30:47] 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-19 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":186909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:30:47] local.INFO: GPS data processed {"connection_id":186909,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:30:47] local.INFO: Acknowledgment sent {"connection_id":186909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:30:50] local.INFO: TCP Data received {"connection_id":188335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:50] local.INFO: Processing buffer {"connection_id":188335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:30:50] local.INFO: IMEI packet received {"connection_id":188335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":188335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:30:51] local.INFO: TCP Data received {"connection_id":188335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b951e478012d181e000721ad48004c00d12b..."} 
[2026-09-19 16:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b951e478012d181e000721ad48004c00d12b..."} 
[2026-09-19 16:30:51] local.INFO: Processing buffer {"connection_id":188335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b951e478012d181e000721ad48004c00d12b..."} 
[2026-09-19 16:30:51] local.INFO: Packet analysis {"connection_id":188335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:30:51] local.INFO: Extracted packet for processing {"connection_id":188335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b951"} 
[2026-09-19 16:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":76,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-19 16:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192774656001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21781806382579712,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074015232,"note":"Value kept but may cause issues"} 
[2026-09-19 16:30:51] local.INFO: IO Element Parsed {"io_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-19 16:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815547000,"timestamp_ms":1789815547000,"timestamp_seconds":1789815547,"priority":1,"record_length":96,"hex_timestamp":"000001a0b951e478"} 
[2026-09-19 16:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-19 16:30:51] 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-19 16:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192774656001,"66":12841,"105":206,"83":41984,"24":0,"16":21781806382579712,"45":1738037643074015232},"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-19 16:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192774656001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:30:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21781806382579712,"km_value":21781806382579.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074015232,"description":"Unknown IO ID 45"} 
[2026-09-19 16:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192774656001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074015232}} 
[2026-09-19 16:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":188335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:30:51] local.INFO: GPS data processed {"connection_id":188335,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:30:51] local.INFO: Acknowledgment sent {"connection_id":188335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:31:09] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:09] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:09] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:31:14] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:14] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:31:14] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:31:15] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:31:15] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b94edb20012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:31:15] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:31:15] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b94e"} 
[2026-09-19 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192652032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815348000,"timestamp_ms":1789815348000,"timestamp_seconds":1789815348,"priority":1,"record_length":96,"hex_timestamp":"000001a0b94edb20"} 
[2026-09-19 16: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-19 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:31: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-19 16: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-19 16: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-19 16:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16: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-19 16:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192652032001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192652032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192652032001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:31:15] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:31:15] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:31:22] local.INFO: TCP Data received {"connection_id":188335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95347f0012d185f400721d7c00055004d25..."} 
[2026-09-19 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95347f0012d185f400721d7c00055004d25..."} 
[2026-09-19 16:31:22] local.INFO: Processing buffer {"connection_id":188335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95347f0012d185f400721d7c00055004d25..."} 
[2026-09-19 16:31:22] local.INFO: Packet analysis {"connection_id":188335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:22] local.INFO: Extracted packet for processing {"connection_id":188335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756571968,"raw_latitude":119658432,"longitude_deg":75.6571968,"latitude_deg":11.9658432,"altitude":85,"angle":77,"satellites":37,"speed":22,"hex_longitude":"2d185f40","hex_latitude":"0721d7c0","is_valid_coordinates":true} 
[2026-09-19 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192802816001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783073397932032,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141679296512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:22] local.INFO: IO Element Parsed {"io_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-19 16:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815638000,"timestamp_ms":1789815638000,"timestamp_seconds":1789815638,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95347f0"} 
[2026-09-19 16:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 16:31:22] 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-19 16:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192802816001,"66":13243,"105":206,"83":41984,"24":22,"16":21783073397932032,"45":1754926141679296512},"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-19 16:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192802816001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:31:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783073397932032,"km_value":21783073397932.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141679296512,"description":"Unknown IO ID 45"} 
[2026-09-19 16:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192802816001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1754926141679296512}} 
[2026-09-19 16:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":188335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:31:22] local.INFO: GPS data processed {"connection_id":188335,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:31:22] local.INFO: Acknowledgment sent {"connection_id":188335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:31:43] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:31:43] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:31:43] local.INFO: IMEI packet received {"connection_id":188337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":188337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:31:46] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:31:46] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:31:46] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:46] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31: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-19 16:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:31: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-19 16:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:31: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-19 16:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:31:46] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:31:46] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:31:51] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:51] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:51] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:31:54] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:54] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:31:54] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:31:55] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9534fc0012d1863c00721d9900055003f23..."} 
[2026-09-19 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9534fc0012d1863c00721d9900055003f23..."} 
[2026-09-19 16:31:55] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9534fc0012d1863c00721d9900055003f23..."} 
[2026-09-19 16:31:55] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:55] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119658896,"longitude_deg":75.657312,"latitude_deg":11.9658896,"altitude":85,"angle":63,"satellites":35,"speed":24,"hex_longitude":"2d1863c0","hex_latitude":"0721d990","is_valid_coordinates":true} 
[2026-09-19 16:31: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-19 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192803328001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783129232506880,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756192779074519040,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:55] local.INFO: IO Element Parsed {"io_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-19 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789815640000,"timestamp_ms":1789815640000,"timestamp_seconds":1789815640,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9534fc0"} 
[2026-09-19 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-19 16:31:55] 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-19 16:31: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-19 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192803328001,"66":13156,"105":206,"83":41984,"24":24,"16":21783129232506880,"45":1756192779074519040},"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-19 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192803328001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:31:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783129232506880,"km_value":21783129232506.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756192779074519040,"description":"Unknown IO ID 45"} 
[2026-09-19 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192803328001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1756192779074519040}} 
[2026-09-19 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:31:55] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:31:55] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:31:56] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9535f60012d186b400721dce80056005125..."} 
[2026-09-19 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9535f60012d186b400721dce80056005125..."} 
[2026-09-19 16:31:56] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9535f60012d186b400721dce80056005125..."} 
[2026-09-19 16:31:56] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:56] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756575040,"raw_latitude":119659752,"longitude_deg":75.657504,"latitude_deg":11.9659752,"altitude":86,"angle":81,"satellites":37,"speed":16,"hex_longitude":"2d186b40","hex_latitude":"0721dce8","is_valid_coordinates":true} 
[2026-09-19 16:31: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-19 16:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192803840001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783232311721984,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416469835776,"note":"Value kept but may cause issues"} 
[2026-09-19 16:31:56] local.INFO: IO Element Parsed {"io_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-19 16:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789815644000,"timestamp_ms":1789815644000,"timestamp_seconds":1789815644,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9535f60"} 
[2026-09-19 16:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 16:31:56] 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-19 16:31: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-19 16:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192803840001,"66":13167,"105":206,"83":41984,"24":16,"16":21783232311721984,"45":1757459416469835776},"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-19 16:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192803840001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:31:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783232311721984,"km_value":21783232311721.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416469835776,"description":"Unknown IO ID 45"} 
[2026-09-19 16:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192803840001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1757459416469835776}} 
[2026-09-19 16:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:31:56] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:31:56] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:32:08] local.INFO: TCP Data received {"connection_id":186910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:32:08] local.INFO: Processing buffer {"connection_id":186910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:32:08] local.INFO: IMEI packet received {"connection_id":186910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":186910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:32:14] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:14] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:14] local.INFO: IMEI packet received {"connection_id":189640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":189640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:32:19] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:19] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:32:19] local.INFO: IMEI packet received {"connection_id":189640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":189640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:32:30] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9536730012d186d400721dd400057004525..."} 
[2026-09-19 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9536730012d186d400721dd400057004525..."} 
[2026-09-19 16:32:30] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9536730012d186d400721dd400057004525..."} 
[2026-09-19 16:32:30] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:30] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119659840,"longitude_deg":75.6575552,"latitude_deg":11.965984,"altitude":87,"angle":69,"satellites":37,"speed":8,"hex_longitude":"2d186d40","hex_latitude":"0721dd40","is_valid_coordinates":true} 
[2026-09-19 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192804864001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783258081525760,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759570478795384832,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32: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-19 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789815646000,"timestamp_ms":1789815646000,"timestamp_seconds":1789815646,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9536730"} 
[2026-09-19 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-19 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:32: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-19 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192804864001,"66":13135,"105":206,"83":41984,"24":8,"16":21783258081525760,"45":1759570478795384832},"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-19 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192804864001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783258081525760,"km_value":21783258081525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759570478795384832,"description":"Unknown IO ID 45"} 
[2026-09-19 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192804864001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1759570478795384832}} 
[2026-09-19 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:32:30] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:32:30] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:32:34] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:34] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:34] local.INFO: Packet analysis {"connection_id":189640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:34] local.INFO: Extracted packet for processing {"connection_id":189640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:32: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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":189640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:32:34] 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-19 16:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":189640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:32:34] local.INFO: GPS data processed {"connection_id":189640,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:32:34] local.INFO: Acknowledgment sent {"connection_id":189640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:32:35] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:35] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:32:35] local.INFO: Packet analysis {"connection_id":189640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:35] local.INFO: Extracted packet for processing {"connection_id":189640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32: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-19 16:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:32: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-19 16: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-19 16: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-19 16:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":189640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:32: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-19 16:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":189640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:32:35] local.INFO: GPS data processed {"connection_id":189640,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:32:35] local.INFO: Acknowledgment sent {"connection_id":189640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:32:46] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:46] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:46] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:32:51] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:51] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:32:51] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:32:51] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9536b18012d186e000721dda00057003925..."} 
[2026-09-19 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9536b18012d186e000721dda00057003925..."} 
[2026-09-19 16:32:51] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9536b18012d186e000721dda00057003925..."} 
[2026-09-19 16:32:51] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:51] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119659936,"longitude_deg":75.6575744,"latitude_deg":11.9659936,"altitude":87,"angle":57,"satellites":37,"speed":8,"hex_longitude":"2d186e00","hex_latitude":"0721dda0","is_valid_coordinates":true} 
[2026-09-19 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192805376001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783270966427648,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760133428748828672,"note":"Value kept but may cause issues"} 
[2026-09-19 16:32:51] local.INFO: IO Element Parsed {"io_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-19 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815647000,"timestamp_ms":1789815647000,"timestamp_seconds":1789815647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9536b18"} 
[2026-09-19 16:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 16:32:51] 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-19 16:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192805376001,"66":13135,"105":206,"83":41984,"24":8,"16":21783270966427648,"45":1760133428748828672},"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-19 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192805376001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:32:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783270966427648,"km_value":21783270966427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760133428748828672,"description":"Unknown IO ID 45"} 
[2026-09-19 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192805376001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1760133428748828672}} 
[2026-09-19 16:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:32:52] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:32:52] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:33:09] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:09] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:09] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:33:14] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:14] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:33:14] local.INFO: IMEI packet received {"connection_id":186911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:33:15] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:15] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:15] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:15] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33: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-19 16:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:33: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-19 16:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:33: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-19 16:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:33:15] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:33:15] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:33:22] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9536f00012d186ec00721de280057002526..."} 
[2026-09-19 16:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9536f00012d186ec00721de280057002526..."} 
[2026-09-19 16:33:22] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9536f00012d186ec00721de280057002526..."} 
[2026-09-19 16:33:22] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:22] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756575936,"raw_latitude":119660072,"longitude_deg":75.6575936,"latitude_deg":11.9660072,"altitude":87,"angle":37,"satellites":38,"speed":7,"hex_longitude":"2d186ec0","hex_latitude":"0721de28","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783279556362240,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534981386240,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:22] local.INFO: IO Element Parsed {"io_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-19 16:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815648000,"timestamp_ms":1789815648000,"timestamp_seconds":1789815648,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9536f00"} 
[2026-09-19 16: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-19 16:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 16:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192805632001,"66":13135,"105":206,"83":41984,"24":7,"16":21783279556362240,"45":1760344534981386240},"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-19 16:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:33:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783279556362240,"km_value":21783279556362.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534981386240,"description":"Unknown IO ID 45"} 
[2026-09-19 16:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192805632001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1760344534981386240}} 
[2026-09-19 16:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:33:22] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:33:22] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:33:46] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:46] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:46] local.INFO: IMEI packet received {"connection_id":189642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":189642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:33:46] local.INFO: TCP Data received {"connection_id":186911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:46] local.INFO: Processing buffer {"connection_id":186911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:33:46] local.INFO: Packet analysis {"connection_id":186911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:46] local.INFO: Extracted packet for processing {"connection_id":186911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33: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-19 16:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:33: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-19 16: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-19 16: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-19 16:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:33: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-19 16:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":186911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:33:46] local.INFO: GPS data processed {"connection_id":186911,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:33:46] local.INFO: Acknowledgment sent {"connection_id":186911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:33:49] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:49] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:33:49] local.INFO: IMEI packet received {"connection_id":189642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":189642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:33:49] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9556300012d1870800721e170005d008422..."} 
[2026-09-19 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9556300012d1870800721e170005d008422..."} 
[2026-09-19 16:33:49] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9556300012d1870800721e170005d008422..."} 
[2026-09-19 16:33:49] local.INFO: Packet analysis {"connection_id":189642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:33:49] local.INFO: Extracted packet for processing {"connection_id":189642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119660912,"longitude_deg":75.6576384,"latitude_deg":11.9660912,"altitude":93,"angle":132,"satellites":34,"speed":2,"hex_longitude":"2d187080","hex_latitude":"0721e170","is_valid_coordinates":true} 
[2026-09-19 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192834816001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783386930544640,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761118591167643648,"note":"Value kept but may cause issues"} 
[2026-09-19 16:33:49] local.INFO: IO Element Parsed {"io_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-19 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789815776000,"timestamp_ms":1789815776000,"timestamp_seconds":1789815776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9556300"} 
[2026-09-19 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 16:33:49] 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-19 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192834816001,"66":14189,"105":206,"83":41984,"24":2,"16":21783386930544640,"45":1761118591167643648},"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-19 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192834816001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:33:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783386930544640,"km_value":21783386930544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761118591167643648,"description":"Unknown IO ID 45"} 
[2026-09-19 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192834816001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1761118591167643648}} 
[2026-09-19 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":189642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:33:49] local.INFO: GPS data processed {"connection_id":189642,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:33:49] local.INFO: Acknowledgment sent {"connection_id":189642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:34:09] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:09] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:09] local.INFO: IMEI packet received {"connection_id":187042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":187042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:34:14] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:14] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:34:14] local.INFO: IMEI packet received {"connection_id":187042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":187042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:34:15] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:15] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:15] local.INFO: Packet analysis {"connection_id":187042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:34:15] local.INFO: Extracted packet for processing {"connection_id":187042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34: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-19 16:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:34: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-19 16: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-19 16: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-19 16:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:34:15] 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-19 16:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":187042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:34:15] local.INFO: GPS data processed {"connection_id":187042,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:34:15] local.INFO: Acknowledgment sent {"connection_id":187042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:34:20] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95566e8012d1870800721e120005d009422..."} 
[2026-09-19 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95566e8012d1870800721e120005d009422..."} 
[2026-09-19 16:34:20] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95566e8012d1870800721e120005d009422..."} 
[2026-09-19 16:34:20] local.INFO: Packet analysis {"connection_id":189642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:34:20] local.INFO: Extracted packet for processing {"connection_id":189642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119660832,"longitude_deg":75.6576384,"latitude_deg":11.9660832,"altitude":93,"angle":148,"satellites":34,"speed":3,"hex_longitude":"2d187080","hex_latitude":"0721e120","is_valid_coordinates":true} 
[2026-09-19 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192838656001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783391225511936,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222423412736,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:20] local.INFO: IO Element Parsed {"io_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-19 16:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789815777000,"timestamp_ms":1789815777000,"timestamp_seconds":1789815777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95566e8"} 
[2026-09-19 16:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 16:34:20] 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-19 16:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192838656001,"66":14233,"105":206,"83":41984,"24":3,"16":21783391225511936,"45":1761048222423412736},"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-19 16:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192838656001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:34:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783391225511936,"km_value":21783391225511.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222423412736,"description":"Unknown IO ID 45"} 
[2026-09-19 16:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192838656001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1761048222423412736}} 
[2026-09-19 16:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":189642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:34:21] local.INFO: GPS data processed {"connection_id":189642,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:34:21] local.INFO: Acknowledgment sent {"connection_id":189642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:34:45] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:45] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:45] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:34:46] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:46] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:46] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:34:47] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:47] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:34:47] local.INFO: Packet analysis {"connection_id":187042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:34:47] local.INFO: Extracted packet for processing {"connection_id":187042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:34: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-19 16: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-19 16: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-19 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:34: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-19 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":187042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:34:47] local.INFO: GPS data processed {"connection_id":187042,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:34:47] local.INFO: Acknowledgment sent {"connection_id":187042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:34:52] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:52] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:34:52] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:34:53] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9556eb8012d1870c00721e088005d00a721..."} 
[2026-09-19 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9556eb8012d1870c00721e088005d00a721..."} 
[2026-09-19 16:34:53] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9556eb8012d1870c00721e088005d00a721..."} 
[2026-09-19 16:34:53] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:34:53] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b955"} 
[2026-09-19 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756576448,"raw_latitude":119660680,"longitude_deg":75.6576448,"latitude_deg":11.966068,"altitude":93,"angle":167,"satellites":33,"speed":3,"hex_longitude":"2d1870c0","hex_latitude":"0721e088","is_valid_coordinates":true} 
[2026-09-19 16:34: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-19 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192838912001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21783399815446528,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222423392256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:34:53] local.INFO: IO Element Parsed {"io_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-19 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789815779000,"timestamp_ms":1789815779000,"timestamp_seconds":1789815779,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9556eb8"} 
[2026-09-19 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:34: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 16:34:53] 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-19 16:34: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-19 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192838912001,"66":14233,"105":206,"83":41984,"24":3,"16":21783399815446528,"45":1761048222423392256},"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-19 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192838912001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:34:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21783399815446528,"km_value":21783399815446.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222423392256,"description":"Unknown IO ID 45"} 
[2026-09-19 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192838912001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1761048222423392256}} 
[2026-09-19 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:34:53] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:34:53] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:35:09] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:09] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:09] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:35:14] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:14] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:35:14] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:35:16] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:16] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:16] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:35:16] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35: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-19 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:35: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-19 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:35:16] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:35:16] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:35:25] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b956e9a0012d1846800721e500005200fa21..."} 
[2026-09-19 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b956e9a0012d1846800721e500005200fa21..."} 
[2026-09-19 16:35:25] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b956e9a0012d1846800721e500005200fa21..."} 
[2026-09-19 16:35:25] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:25] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":756565632,"raw_latitude":119661824,"longitude_deg":75.6565632,"latitude_deg":11.9661824,"altitude":82,"angle":250,"satellites":33,"speed":8,"hex_longitude":"2d184680","hex_latitude":"0721e500","is_valid_coordinates":true} 
[2026-09-19 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192864000001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21784035470606336,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010890160128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:25] local.INFO: IO Element Parsed {"io_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-19 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789815876000,"timestamp_ms":1789815876000,"timestamp_seconds":1789815876,"priority":1,"record_length":96,"hex_timestamp":"000001a0b956e9a0"} 
[2026-09-19 16:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 16:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:35: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-19 16:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192864000001,"66":13493,"105":206,"83":41984,"24":8,"16":21784035470606336,"45":1749367010890160128},"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-19 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192864000001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:35:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21784035470606336,"km_value":21784035470606.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010890160128,"description":"Unknown IO ID 45"} 
[2026-09-19 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192864000001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1749367010890160128}} 
[2026-09-19 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:35:25] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:35:25] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:35:45] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:45] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:45] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:35:48] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:48] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:48] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:35:48] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:48] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:35:48] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:35:48] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35: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-19 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16: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-19 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:35: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-19 16: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-19 16: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-19 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:35: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-19 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:35:48] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:35:48] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:35:49] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:49] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:49] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:35:51] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:51] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:35:51] local.INFO: IMEI packet received {"connection_id":186912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":186912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:35:52] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b956ed88012d1845800721e490005200e221..."} 
[2026-09-19 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b956ed88012d1845800721e490005200e221..."} 
[2026-09-19 16:35:52] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b956ed88012d1845800721e490005200e221..."} 
[2026-09-19 16:35:52] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:52] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756565376,"raw_latitude":119661712,"longitude_deg":75.6565376,"latitude_deg":11.9661712,"altitude":82,"angle":226,"satellites":33,"speed":10,"hex_longitude":"2d184580","hex_latitude":"0721e490","is_valid_coordinates":true} 
[2026-09-19 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192864256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21784044060540928,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749226273401798656,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:52] local.INFO: IO Element Parsed {"io_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-19 16:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789815877000,"timestamp_ms":1789815877000,"timestamp_seconds":1789815877,"priority":1,"record_length":96,"hex_timestamp":"000001a0b956ed88"} 
[2026-09-19 16:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-19 16:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192864256001,"66":13276,"105":206,"83":41984,"24":10,"16":21784044060540928,"45":1749226273401798656},"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-19 16:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192864256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:35:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21784044060540928,"km_value":21784044060540.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749226273401798656,"description":"Unknown IO ID 45"} 
[2026-09-19 16:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192864256001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1749226273401798656}} 
[2026-09-19 16:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:35:52] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:35:52] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:35:56] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b956f558012d1843c00721e218005100d221..."} 
[2026-09-19 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b956f558012d1843c00721e218005100d221..."} 
[2026-09-19 16:35:56] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b956f558012d1843c00721e218005100d221..."} 
[2026-09-19 16:35:56] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:56] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b956"} 
[2026-09-19 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756564928,"raw_latitude":119661080,"longitude_deg":75.6564928,"latitude_deg":11.966108,"altitude":81,"angle":210,"satellites":33,"speed":19,"hex_longitude":"2d1843c0","hex_latitude":"0721e218","is_valid_coordinates":true} 
[2026-09-19 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192864512001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21784082715246592,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748944798425059328,"note":"Value kept but may cause issues"} 
[2026-09-19 16:35:56] local.INFO: IO Element Parsed {"io_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-19 16:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789815879000,"timestamp_ms":1789815879000,"timestamp_seconds":1789815879,"priority":1,"record_length":96,"hex_timestamp":"000001a0b956f558"} 
[2026-09-19 16:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-19 16:35:56] 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-19 16:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192864512001,"66":13254,"105":206,"83":41984,"24":19,"16":21784082715246592,"45":1748944798425059328},"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-19 16:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192864512001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:35:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 16:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21784082715246592,"km_value":21784082715246.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748944798425059328,"description":"Unknown IO ID 45"} 
[2026-09-19 16:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192864512001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1748944798425059328}} 
[2026-09-19 16:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:35:56] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:35:56] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:36:09] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:09] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:09] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:36:14] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:14] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:36:14] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:36:15] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:15] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95372e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:15] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:36:15] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b953"} 
[2026-09-19 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192729088001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815649000,"timestamp_ms":1789815649000,"timestamp_seconds":1789815649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95372e8"} 
[2026-09-19 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16: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-19 16:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:36: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-19 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192729088001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192729088001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192729088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:36:15] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:36:15] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:36:27] local.INFO: TCP Data received {"connection_id":186912,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9572438012d182f400721c278004a00d726..."} 
[2026-09-19 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9572438012d182f400721c278004a00d726..."} 
[2026-09-19 16:36:27] local.INFO: Processing buffer {"connection_id":186912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9572438012d182f400721c278004a00d726..."} 
[2026-09-19 16:36:27] local.INFO: Packet analysis {"connection_id":186912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:36:27] local.INFO: Extracted packet for processing {"connection_id":186912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119652984,"longitude_deg":75.655968,"latitude_deg":11.9652984,"altitude":74,"angle":215,"satellites":38,"speed":37,"hex_longitude":"2d182f40","hex_latitude":"0721c278","is_valid_coordinates":true} 
[2026-09-19 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192865024001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21784550866681856,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748452217215653888,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:27] 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-19 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789815891000,"timestamp_ms":1789815891000,"timestamp_seconds":1789815891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9572438"} 
[2026-09-19 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-19 16:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192865024001,"66":13080,"107":206,"83":41984,"24":37,"16":21784550866681856,"45":1748452217215653888},"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-19 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192865024001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:36:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21784550866681856,"km_value":21784550866681.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748452217215653888,"description":"Unknown IO ID 45"} 
[2026-09-19 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192865024001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1748452217215653888}} 
[2026-09-19 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":186912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:36:27] local.INFO: GPS data processed {"connection_id":186912,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:36:27] local.INFO: Acknowledgment sent {"connection_id":186912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:36:45] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:45] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:45] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:36:48] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:48] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:36:48] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:36:48] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:36: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-19 16:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:36: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-19 16:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:36:48] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:36:48] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:36:51] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:51] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:36:51] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:36:51] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9574b48012d181b400721a4d0004900d726..."} 
[2026-09-19 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9574b48012d181b400721a4d0004900d726..."} 
[2026-09-19 16:36:51] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9574b48012d181b400721a4d0004900d726..."} 
[2026-09-19 16:36:51] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:36:51] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119645392,"longitude_deg":75.655456,"latitude_deg":11.9645392,"altitude":73,"angle":215,"satellites":38,"speed":35,"hex_longitude":"2d181b40","hex_latitude":"0721a4d0","is_valid_coordinates":true} 
[2026-09-19 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192868096001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21784988953346048,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980191012864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:36:51] 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-19 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815901000,"timestamp_ms":1789815901000,"timestamp_seconds":1789815901,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9574b48"} 
[2026-09-19 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 16:36:51] 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-19 16:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192868096001,"66":12939,"107":206,"83":41984,"24":35,"16":21784988953346048,"45":1742681980191012864},"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-19 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192868096001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:36:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21784988953346048,"km_value":21784988953346.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980191012864,"description":"Unknown IO ID 45"} 
[2026-09-19 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192868096001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1742681980191012864}} 
[2026-09-19 16:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:36:52] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:36:52] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:37:09] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:09] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:09] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:37:15] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:15] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:37:15] local.INFO: IMEI packet received {"connection_id":186913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":186913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:37:16] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:16] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:16] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:16] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37: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-19 16:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37: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-19 16:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:37:16] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:37:16] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:37:19] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:19] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:19] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:19] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37:19] 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-19 16:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:37:19] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:37:19] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:37:22] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:22] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:22] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:37:22] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756548672,"raw_latitude":119638008,"longitude_deg":75.6548672,"latitude_deg":11.9638008,"altitude":72,"angle":228,"satellites":38,"speed":41,"hex_longitude":"2d180440","hex_latitude":"072187f8","is_valid_coordinates":true} 
[2026-09-19 16:37: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-19 16:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192870656001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21785444219879424,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654856192,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:22] 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-19 16:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789815910000,"timestamp_ms":1789815910000,"timestamp_seconds":1789815910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9576e70"} 
[2026-09-19 16:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-19 16:37:22] 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-19 16:37: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-19 16:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192870656001,"66":12874,"107":206,"83":41984,"24":41,"16":21785444219879424,"45":1737052480654856192},"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-19 16:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192870656001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:37:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21785444219879424,"km_value":21785444219879.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654856192,"description":"Unknown IO ID 45"} 
[2026-09-19 16:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192870656001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1737052480654856192}} 
[2026-09-19 16:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:37:22] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:37:22] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:37:34] local.INFO: TCP Data received {"connection_id":186914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:37:34] local.INFO: Processing buffer {"connection_id":186914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:37:34] local.INFO: IMEI packet received {"connection_id":186914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":186914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:37:51] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:51] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:51] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:37:51] local.INFO: TCP Data received {"connection_id":186913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:51] local.INFO: Processing buffer {"connection_id":186913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:37:51] local.INFO: Packet analysis {"connection_id":186913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:51] local.INFO: Extracted packet for processing {"connection_id":186913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37: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-19 16:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 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-19 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 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-19 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-19 16:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:37:51] 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-19 16:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":186913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:37:51] local.INFO: GPS data processed {"connection_id":186913,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:37:51] local.INFO: Acknowledgment sent {"connection_id":186913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:37:55] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:55] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:37:55] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:37:56] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:56] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9576e70012d180440072187f8004800e426..."} 
[2026-09-19 16:37:56] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:37:56] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756548672,"raw_latitude":119638008,"longitude_deg":75.6548672,"latitude_deg":11.9638008,"altitude":72,"angle":228,"satellites":38,"speed":41,"hex_longitude":"2d180440","hex_latitude":"072187f8","is_valid_coordinates":true} 
[2026-09-19 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192872960001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21785444219879424,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730578556188620800,"note":"Value kept but may cause issues"} 
[2026-09-19 16:37:56] 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-19 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789815910000,"timestamp_ms":1789815910000,"timestamp_seconds":1789815910,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9576e70"} 
[2026-09-19 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 16:37:56] 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-19 16:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192872960001,"66":12874,"107":206,"83":41984,"24":41,"16":21785444219879424,"45":1730578556188620800},"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-19 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192872960001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21785444219879424,"km_value":21785444219879.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730578556188620800,"description":"Unknown IO ID 45"} 
[2026-09-19 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192872960001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1730578556188620800}} 
[2026-09-19 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:37:56] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:37:56] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:38:01] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9578db0012d17ee8007217270004700d924..."} 
[2026-09-19 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9578db0012d17ee8007217270004700d924..."} 
[2026-09-19 16:38:01] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9578db0012d17ee8007217270004700d924..."} 
[2026-09-19 16:38:01] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:38:01] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b957"} 
[2026-09-19 16:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119632496,"longitude_deg":75.6543104,"latitude_deg":11.9632496,"altitude":71,"angle":217,"satellites":36,"speed":36,"hex_longitude":"2d17ee80","hex_latitude":"07217270","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192872960001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21785822177001472,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730578556188620800,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38: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-19 16:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789815918000,"timestamp_ms":1789815918000,"timestamp_seconds":1789815918,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9578db0"} 
[2026-09-19 16: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-19 16:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-19 16:38:01] 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-19 16: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-19 16: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-19 16:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:38: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-19 16:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192872960001,"66":12982,"107":206,"83":41984,"24":36,"16":21785822177001472,"45":1730578556188620800},"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-19 16:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192872960001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:38:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21785822177001472,"km_value":21785822177001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730578556188620800,"description":"Unknown IO ID 45"} 
[2026-09-19 16:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192872960001,"power":12982,"unknown_107":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1730578556188620800}} 
[2026-09-19 16:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:38:01] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:38:01] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:38:12] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:12] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:12] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:38:13] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:14] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:14] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:38:14] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:14] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:14] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:38:16] local.INFO: TCP Data received {"connection_id":186915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:16] local.INFO: Processing buffer {"connection_id":186915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:38:16] local.INFO: IMEI packet received {"connection_id":186915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 16:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":186915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:38:19] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:19] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:38:19] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:38:21] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:21] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:21] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:38:21] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:38:21] 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-19 16:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:38:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:38:21] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:38:21] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:38:27] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:27] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:38:27] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:38:27] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:38: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-19 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 16:38: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:38: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-19 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:38:27] 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-19 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:38:27] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:38:27] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:38:42] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:42] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:42] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:38:43] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:43] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:43] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:38:45] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:45] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:45] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:38:46] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:46] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:38:46] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:39:08] local.INFO: TCP Data received {"connection_id":189643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:08] local.INFO: Processing buffer {"connection_id":189643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:08] local.INFO: IMEI packet received {"connection_id":189643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":189643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:39:15] local.INFO: TCP Data received {"connection_id":189643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:15] local.INFO: Processing buffer {"connection_id":189643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:39:15] local.INFO: IMEI packet received {"connection_id":189643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":189643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:39:15] local.INFO: TCP Data received {"connection_id":189643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:15] local.INFO: Processing buffer {"connection_id":189643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:15] local.INFO: Packet analysis {"connection_id":189643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:39:15] local.INFO: Extracted packet for processing {"connection_id":189643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:39: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-19 16:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:39: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-19 16:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:39: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-19 16:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":189643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:39:15] local.INFO: GPS data processed {"connection_id":189643,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:39:15] local.INFO: Acknowledgment sent {"connection_id":189643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:39:48] local.INFO: TCP Data received {"connection_id":189643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:48] local.INFO: Processing buffer {"connection_id":189643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:39:48] local.INFO: Packet analysis {"connection_id":189643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:39:48] local.INFO: Extracted packet for processing {"connection_id":189643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16: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-19 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:39: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-19 16: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-19 16: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-19 16:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16: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-19 16:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":189643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:39:48] local.INFO: GPS data processed {"connection_id":189643,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:39:48] local.INFO: Acknowledgment sent {"connection_id":189643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:40:08] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:08] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:08] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:40:14] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:14] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:40:14] local.INFO: IMEI packet received {"connection_id":186917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":186917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:40:15] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:15] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:15] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:40:15] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40: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-19 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16: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-19 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:40: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-19 16: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-19 16: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-19 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:40:15] 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-19 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:40:15] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:40:15] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:40:47] local.INFO: TCP Data received {"connection_id":186917,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:47] local.INFO: Processing buffer {"connection_id":186917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:40:47] local.INFO: Packet analysis {"connection_id":186917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:40:47] local.INFO: Extracted packet for processing {"connection_id":186917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:40: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-19 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:40: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-19 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:40: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-19 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":186917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:40:48] local.INFO: GPS data processed {"connection_id":186917,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:40:48] local.INFO: Acknowledgment sent {"connection_id":186917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:41:08] local.INFO: TCP Data received {"connection_id":189645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:08] local.INFO: Processing buffer {"connection_id":189645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:08] local.INFO: IMEI packet received {"connection_id":189645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":189645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:41:14] local.INFO: TCP Data received {"connection_id":189645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:14] local.INFO: Processing buffer {"connection_id":189645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:41:14] local.INFO: IMEI packet received {"connection_id":189645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":189645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:41:15] local.INFO: TCP Data received {"connection_id":189645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:41:15] local.INFO: Processing buffer {"connection_id":189645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9580ab0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:41:15] local.INFO: Packet analysis {"connection_id":189645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:41:15] local.INFO: Extracted packet for processing {"connection_id":189645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b958"} 
[2026-09-19 16:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192806144001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789815950000,"timestamp_ms":1789815950000,"timestamp_seconds":1789815950,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9580ab0"} 
[2026-09-19 16: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-19 16:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:41: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-19 16: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-19 16: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-19 16:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:41:15] 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-19 16:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192806144001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192806144001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192806144001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":189645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:41:15] local.INFO: GPS data processed {"connection_id":189645,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:41:15] local.INFO: Acknowledgment sent {"connection_id":189645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:41:47] local.INFO: TCP Data received {"connection_id":189645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:41:47] local.INFO: Processing buffer {"connection_id":189645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:41:47] local.INFO: Packet analysis {"connection_id":189645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:41:47] local.INFO: Extracted packet for processing {"connection_id":189645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:41: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-19 16:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 16: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-19 16:41:47] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:41: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-19 16: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-19 16: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-19 16:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:41: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-19 16:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":189645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:41:47] local.INFO: GPS data processed {"connection_id":189645,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:41:47] local.INFO: Acknowledgment sent {"connection_id":189645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:42:09] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:09] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:09] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:42:14] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:14] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:42:14] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:42:15] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:15] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:15] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:42:15] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42: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-19 16:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 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-19 16:42:15] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:42: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-19 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-19 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-19 16:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:42: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-19 16:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:42:15] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:42:15] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:42:46] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:46] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:42:46] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:42:46] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:42: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-19 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 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-19 16:42:46] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:42: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-19 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-19 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-19 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:42: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-19 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:42:46] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:42:46] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:43:09] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:09] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:09] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:43:14] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:14] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:43:14] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:43:15] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:15] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:15] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:15] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43: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-19 16:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 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-19 16:43:15] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:43: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-19 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-19 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-19 16:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:43: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-19 16:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:43:15] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:43:15] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:43:33] local.INFO: TCP Data received {"connection_id":189647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:43:33] local.INFO: Processing buffer {"connection_id":189647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:43:33] local.INFO: IMEI packet received {"connection_id":189647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":189647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:43:47] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:47] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:43:47] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:47] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 16: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-19 16:43:47] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:43: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-19 16: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-19 16: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-19 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:43:47] 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-19 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:43:47] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:43:47] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:43:50] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:43:50] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:43:50] local.INFO: IMEI packet received {"connection_id":188347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":188347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:43:51] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95cf098012d17ee8007217828004b011c29..."} 
[2026-09-19 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95cf098012d17ee8007217828004b011c29..."} 
[2026-09-19 16:43:51] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95cf098012d17ee8007217828004b011c29..."} 
[2026-09-19 16:43:51] local.INFO: Packet analysis {"connection_id":188347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:51] local.INFO: Extracted packet for processing {"connection_id":188347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119633960,"longitude_deg":75.6543104,"latitude_deg":11.963396,"altitude":75,"angle":284,"satellites":41,"speed":6,"hex_longitude":"2d17ee80","hex_latitude":"07217828","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192965120001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789528733777920,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676662784,"note":"Value kept but may cause issues"} 
[2026-09-19 16:43:51] 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-19 16:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816271000,"timestamp_ms":1789816271000,"timestamp_seconds":1789816271,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95cf098"} 
[2026-09-19 16: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-19 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 16:43:51] 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-19 16: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-19 16: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-19 16:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192965120001,"66":13091,"107":206,"83":41984,"24":6,"16":21789528733777920,"45":1724667581676662784},"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-19 16:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192965120001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:43:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789528733777920,"km_value":21789528733777.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676662784,"description":"Unknown IO ID 45"} 
[2026-09-19 16:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192965120001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1724667581676662784}} 
[2026-09-19 16:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":188347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:43:51] local.INFO: GPS data processed {"connection_id":188347,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:43:51] local.INFO: Acknowledgment sent {"connection_id":188347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:44:08] local.INFO: TCP Data received {"connection_id":189649,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:44:08] local.INFO: Processing buffer {"connection_id":189649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:44:08] local.INFO: IMEI packet received {"connection_id":189649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":189649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:44:09] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:09] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:09] local.INFO: IMEI packet received {"connection_id":189648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:44:15] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:15] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:44:15] local.INFO: IMEI packet received {"connection_id":189648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":189648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:44:16] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:16] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:16] local.INFO: Packet analysis {"connection_id":189648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:44:16] local.INFO: Extracted packet for processing {"connection_id":189648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44: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-19 16:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 16:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:44: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-19 16:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":189648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:44:16] local.INFO: GPS data processed {"connection_id":189648,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:44:16] local.INFO: Acknowledgment sent {"connection_id":189648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:44:22] local.INFO: TCP Data received {"connection_id":188347,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95d42a0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95d42a0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:22] local.INFO: Processing buffer {"connection_id":188347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95d42a0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:22] local.INFO: Packet analysis {"connection_id":188347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:44:22] local.INFO: Extracted packet for processing {"connection_id":188347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192965376001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475444127744,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:22] 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-19 16:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816292000,"timestamp_ms":1789816292000,"timestamp_seconds":1789816292,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95d42a0"} 
[2026-09-19 16:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 16:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192965376001,"66":13015,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724456475444127744},"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-19 16:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192965376001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:44:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475444127744,"description":"Unknown IO ID 45"} 
[2026-09-19 16:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192965376001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724456475444127744}} 
[2026-09-19 16:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":188347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:44:22] local.INFO: GPS data processed {"connection_id":188347,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:44:22] local.INFO: Acknowledgment sent {"connection_id":188347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:44:49] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:49] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:44:49] local.INFO: Packet analysis {"connection_id":189648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:44:49] local.INFO: Extracted packet for processing {"connection_id":189648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:44: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-19 16:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44: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-19 16:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 16: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-19 16:44:49] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16: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-19 16: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-19 16:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:44:49] 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-19 16:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":189648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:44:49] local.INFO: GPS data processed {"connection_id":189648,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:44:49] local.INFO: Acknowledgment sent {"connection_id":189648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:44:50] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:50] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:50] local.INFO: IMEI packet received {"connection_id":189651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":189651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:44:56] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:56] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:44:56] local.INFO: IMEI packet received {"connection_id":189651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":189651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:44:56] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95d94a8012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95d94a8012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:56] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95d94a8012d17ee0007217848004c011c29..."} 
[2026-09-19 16:44:56] local.INFO: Packet analysis {"connection_id":189651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:44:56] local.INFO: Extracted packet for processing {"connection_id":189651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192970752001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:44:56] 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-19 16:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789816313000,"timestamp_ms":1789816313000,"timestamp_seconds":1789816313,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95d94a8"} 
[2026-09-19 16:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 16:44:56] 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-19 16:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192970752001,"66":12950,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192970752001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:44:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192970752001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":189651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:44:56] local.INFO: GPS data processed {"connection_id":189651,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:44:56] local.INFO: Acknowledgment sent {"connection_id":189651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:45:08] local.INFO: TCP Data received {"connection_id":187053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:08] local.INFO: Processing buffer {"connection_id":187053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:08] local.INFO: IMEI packet received {"connection_id":187053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":187053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:45:14] local.INFO: TCP Data received {"connection_id":187053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:14] local.INFO: Processing buffer {"connection_id":187053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:45:14] local.INFO: IMEI packet received {"connection_id":187053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":187053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:45:15] local.INFO: TCP Data received {"connection_id":187053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:15] local.INFO: Processing buffer {"connection_id":187053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:15] local.INFO: Packet analysis {"connection_id":187053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:45:15] local.INFO: Extracted packet for processing {"connection_id":187053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 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-19 16:45:15] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:45: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-19 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-19 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-19 16:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:45: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-19 16:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":187053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:45:15] local.INFO: GPS data processed {"connection_id":187053,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:45:15] local.INFO: Acknowledgment sent {"connection_id":187053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:45:28] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95de6b0012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95de6b0012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:28] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95de6b0012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:28] local.INFO: Packet analysis {"connection_id":189651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:45:28] local.INFO: Extracted packet for processing {"connection_id":189651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95d"} 
[2026-09-19 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192976128001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789816334000,"timestamp_ms":1789816334000,"timestamp_seconds":1789816334,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95de6b0"} 
[2026-09-19 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-19 16:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:45: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-19 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192976128001,"66":12885,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192976128001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192976128001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":189651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:45:28] local.INFO: GPS data processed {"connection_id":189651,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:45:28] local.INFO: Acknowledgment sent {"connection_id":189651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:45:46] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:46] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:46] local.INFO: IMEI packet received {"connection_id":186919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":186919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:45:47] local.INFO: TCP Data received {"connection_id":187053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:47] local.INFO: Processing buffer {"connection_id":187053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:45:47] local.INFO: Packet analysis {"connection_id":187053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:45:47] local.INFO: Extracted packet for processing {"connection_id":187053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 16:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 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-19 16:45:47] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:45: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-19 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-19 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-19 16:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:45:47] 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-19 16:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":187053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:45:47] local.INFO: GPS data processed {"connection_id":187053,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:45:47] local.INFO: Acknowledgment sent {"connection_id":187053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:45:50] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:50] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:45:50] local.INFO: IMEI packet received {"connection_id":186919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":186919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:45:51] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95e38b8012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95e38b8012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:51] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95e38b8012d17ee0007217848004c011c2b..."} 
[2026-09-19 16:45:51] local.INFO: Packet analysis {"connection_id":186919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:45:51] local.INFO: Extracted packet for processing {"connection_id":186919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192981504001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:45:51] 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-19 16:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816355000,"timestamp_ms":1789816355000,"timestamp_seconds":1789816355,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95e38b8"} 
[2026-09-19 16: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-19 16:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-19 16:45:51] 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-19 16: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-19 16: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-19 16:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192981504001,"66":12863,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192981504001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:45:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192981504001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":186919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:45:51] local.INFO: GPS data processed {"connection_id":186919,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:45:51] local.INFO: Acknowledgment sent {"connection_id":186919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:46:08] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:08] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:08] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:46:14] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:14] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:46:14] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:46:15] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:46:15] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95ca278012d34c14006aa41400008010e2e..."} 
[2026-09-19 16:46:15] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:46:15] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95c"} 
[2026-09-19 16:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192883200001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46: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-19 16:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816251000,"timestamp_ms":1789816251000,"timestamp_seconds":1789816251,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95ca278"} 
[2026-09-19 16: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-19 16:46:15] 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-19 16:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16: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-19 16: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-19 16:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:46: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-19 16:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192883200001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192883200001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192883200001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:46:15] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:46:15] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:46:22] local.INFO: TCP Data received {"connection_id":186919,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95e8ac0012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95e8ac0012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:22] local.INFO: Processing buffer {"connection_id":186919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95e8ac0012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:22] local.INFO: Packet analysis {"connection_id":186919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:46:22] local.INFO: Extracted packet for processing {"connection_id":186919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192986880001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:22] 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-19 16:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816376000,"timestamp_ms":1789816376000,"timestamp_seconds":1789816376,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95e8ac0"} 
[2026-09-19 16:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 16:46:22] 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-19 16:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192986880001,"66":12841,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192986880001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:46:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192986880001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":186919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:46:22] local.INFO: GPS data processed {"connection_id":186919,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:46:22] local.INFO: Acknowledgment sent {"connection_id":186919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:46:46] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:46] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:46] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:46:46] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:46:46] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:46:46] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:46:46] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46: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-19 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:46:46] 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-19 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:46: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-19 16:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:46: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-19 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:46:46] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:46:46] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:46:50] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:50] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:46:50] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:46:51] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95edcc8012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95edcc8012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:51] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95edcc8012d17ee0007217848004c011c2a..."} 
[2026-09-19 16:46:51] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:46:51] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95e"} 
[2026-09-19 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192992256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:46:51] 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-19 16:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816397000,"timestamp_ms":1789816397000,"timestamp_seconds":1789816397,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95edcc8"} 
[2026-09-19 16:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192992256001,"66":12798,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192992256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:46:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192992256001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:46:51] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:46:51] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:47:09] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:09] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:09] local.INFO: IMEI packet received {"connection_id":189652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":189652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:47:14] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:14] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:47:14] local.INFO: IMEI packet received {"connection_id":189652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":189652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:47:15] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:15] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:15] local.INFO: Packet analysis {"connection_id":189652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:15] local.INFO: Extracted packet for processing {"connection_id":189652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47: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-19 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:47:15] 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-19 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:47: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-19 16:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:47: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-19 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":189652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:47:15] local.INFO: GPS data processed {"connection_id":189652,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:47:15] local.INFO: Acknowledgment sent {"connection_id":189652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:47:22] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b95f2ed0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b95f2ed0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:47:22] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b95f2ed0012d17ee0007217848004c011c29..."} 
[2026-09-19 16:47:22] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b95f"} 
[2026-09-19 16:47:22] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b95f"} 
[2026-09-19 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633992,"longitude_deg":75.6542976,"latitude_deg":11.9633992,"altitude":76,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"07217848","is_valid_coordinates":true} 
[2026-09-19 16:47: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-19 16:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192997632001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789537323712512,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955780608,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:22] 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-19 16:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816418000,"timestamp_ms":1789816418000,"timestamp_seconds":1789816418,"priority":1,"record_length":96,"hex_timestamp":"000001a0b95f2ed0"} 
[2026-09-19 16:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 16:47:22] 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-19 16:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192997632001,"66":12776,"107":206,"83":41984,"24":0,"16":21789537323712512,"45":1724315737955780608},"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-19 16:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192997632001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:47:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789537323712512,"km_value":21789537323712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955780608,"description":"Unknown IO ID 45"} 
[2026-09-19 16:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192997632001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1724315737955780608}} 
[2026-09-19 16:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:47:22] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:47:22] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:47:46] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:46] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:46] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:47:47] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:47] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:47:47] local.INFO: Packet analysis {"connection_id":189652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:47] local.INFO: Extracted packet for processing {"connection_id":189652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47: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-19 16:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:47:47] 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-19 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:47: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-19 16:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:47: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-19 16:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":189652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:47:47] local.INFO: GPS data processed {"connection_id":189652,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:47:47] local.INFO: Acknowledgment sent {"connection_id":189652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:47:48] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:48] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:48] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:47:51] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:51] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:47:51] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:47:51] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b961f1d8012d17dd0007215898004500cd29..."} 
[2026-09-19 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b961f1d8012d17dd0007215898004500cd29..."} 
[2026-09-19 16:47:51] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b961f1d8012d17dd0007215898004500cd29..."} 
[2026-09-19 16:47:51] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:51] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756538624,"raw_latitude":119625880,"longitude_deg":75.6538624,"latitude_deg":11.962588,"altitude":69,"angle":205,"satellites":41,"speed":35,"hex_longitude":"2d17dd00","hex_latitude":"07215898","is_valid_coordinates":true} 
[2026-09-19 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193044992001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790001180180480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106699888640,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:51] 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-19 16:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816599000,"timestamp_ms":1789816599000,"timestamp_seconds":1789816599,"priority":1,"record_length":96,"hex_timestamp":"000001a0b961f1d8"} 
[2026-09-19 16:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-19 16:47:51] 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-19 16:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193044992001,"66":12841,"107":206,"83":41984,"24":35,"16":21790001180180480,"45":1724386106699888640},"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-19 16:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193044992001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:47:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790001180180480,"km_value":21790001180180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106699888640,"description":"Unknown IO ID 45"} 
[2026-09-19 16:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193044992001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1724386106699888640}} 
[2026-09-19 16:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:47:51] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:47:51] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:47:56] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96218e8012d17cb8007213858003d00cc27..."} 
[2026-09-19 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96218e8012d17cb8007213858003d00cc27..."} 
[2026-09-19 16:47:56] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96218e8012d17cb8007213858003d00cc27..."} 
[2026-09-19 16:47:56] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:47:56] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756534144,"raw_latitude":119617624,"longitude_deg":75.6534144,"latitude_deg":11.9617624,"altitude":61,"angle":204,"satellites":39,"speed":21,"hex_longitude":"2d17cb80","hex_latitude":"07213858","is_valid_coordinates":true} 
[2026-09-19 16:47: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-19 16:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193049344001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790456446713856,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719530663349622784,"note":"Value kept but may cause issues"} 
[2026-09-19 16:47:56] 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-19 16:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789816609000,"timestamp_ms":1789816609000,"timestamp_seconds":1789816609,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96218e8"} 
[2026-09-19 16:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 16:47:56] 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-19 16:47: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-19 16:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193049344001,"66":12809,"107":206,"83":41984,"24":21,"16":21790456446713856,"45":1719530663349622784},"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-19 16:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193049344001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:47:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790456446713856,"km_value":21790456446713.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719530663349622784,"description":"Unknown IO ID 45"} 
[2026-09-19 16:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193049344001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1719530663349622784}} 
[2026-09-19 16:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:47:56] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:47:56] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:48:09] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:09] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:09] local.INFO: IMEI packet received {"connection_id":189654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:48:15] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:15] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:48:15] local.INFO: IMEI packet received {"connection_id":189654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":189654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:48:18] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:18] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:18] local.INFO: Packet analysis {"connection_id":189654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:48:18] local.INFO: Extracted packet for processing {"connection_id":189654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48: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-19 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:48:18] 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-19 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:48: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-19 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":189654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:48:18] local.INFO: GPS data processed {"connection_id":189654,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:48:18] local.INFO: Acknowledgment sent {"connection_id":189654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:48:27] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9626af0012d17c90007213248003c00d121..."} 
[2026-09-19 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9626af0012d17c90007213248003c00d121..."} 
[2026-09-19 16:48:27] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9626af0012d17c90007213248003c00d121..."} 
[2026-09-19 16:48:27] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:48:27] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":33,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193051904001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714604851255072768,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] 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-19 16:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789816630000,"timestamp_ms":1789816630000,"timestamp_seconds":1789816630,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9626af0"} 
[2026-09-19 16:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110148864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":185,"raw_value":6974096706918411776,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085610,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2411756766569241641,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":8286849171307155027,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,106,160,45,88,69,41,10,66,105,175,64,119,74,42,171,128,1,240,254,227,185,33,4,113,205,2,109,238,72,239,50,77,7,76,54,164,120],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:48:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395737704190771200,"timestamp_seconds":4395737704190771.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193051904001,"66":12461,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1714604851255072768},"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-19 16:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193051904001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:48:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714604851255072768,"description":"Unknown IO ID 45"} 
[2026-09-19 16:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193051904001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1714604851255072768}} 
[2026-09-19 16:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:48:27] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:48:27] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:48:46] local.INFO: TCP Data received {"connection_id":186920,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:46] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:46] local.INFO: IMEI packet received {"connection_id":186920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":186920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:48:50] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:50] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:48:50] local.INFO: Packet analysis {"connection_id":189654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:48:50] local.INFO: Extracted packet for processing {"connection_id":189654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:48: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-19 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48: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-19 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:48:50] 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-19 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:48: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-19 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:48:50] 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-19 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":189654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:48:50] local.INFO: GPS data processed {"connection_id":189654,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:48:50] local.INFO: Acknowledgment sent {"connection_id":189654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:48:51] local.INFO: TCP Data received {"connection_id":186920,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:51] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:48:51] local.INFO: IMEI packet received {"connection_id":186920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":186920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:48:51] local.INFO: TCP Data received {"connection_id":186920,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b962bcf8012d17c90007213248003c00d126..."} 
[2026-09-19 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b962bcf8012d17c90007213248003c00d126..."} 
[2026-09-19 16:48:51] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b962bcf8012d17c90007213248003c00d126..."} 
[2026-09-19 16:48:51] local.INFO: Packet analysis {"connection_id":186920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:48:51] local.INFO: Extracted packet for processing {"connection_id":186920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b962"} 
[2026-09-19 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193057280001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:48:51] 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-19 16:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816651000,"timestamp_ms":1789816651000,"timestamp_seconds":1789816651,"priority":1,"record_length":96,"hex_timestamp":"000001a0b962bcf8"} 
[2026-09-19 16:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 16:48:51] 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-19 16:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193057280001,"66":12776,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193057280001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:48:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193057280001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":186920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:48:52] local.INFO: GPS data processed {"connection_id":186920,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:48:52] local.INFO: Acknowledgment sent {"connection_id":186920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:49:09] local.INFO: TCP Data received {"connection_id":189655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:09] local.INFO: Processing buffer {"connection_id":189655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:09] local.INFO: IMEI packet received {"connection_id":189655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:49:14] local.INFO: TCP Data received {"connection_id":189655,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:14] local.INFO: Processing buffer {"connection_id":189655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:49:14] local.INFO: IMEI packet received {"connection_id":189655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:49:15] local.INFO: TCP Data received {"connection_id":189655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:15] local.INFO: Processing buffer {"connection_id":189655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:15] local.INFO: Packet analysis {"connection_id":189655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:49:15] local.INFO: Extracted packet for processing {"connection_id":189655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49: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-19 16:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16: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-19 16:49:15] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:49: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-19 16: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-19 16: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-19 16:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:49:15] 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-19 16:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":189655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:49:15] local.INFO: GPS data processed {"connection_id":189655,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:49:15] local.INFO: Acknowledgment sent {"connection_id":189655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:49:22] local.INFO: TCP Data received {"connection_id":186920,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9630f00012d17c90007213248003c00d128..."} 
[2026-09-19 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9630f00012d17c90007213248003c00d128..."} 
[2026-09-19 16:49:22] local.INFO: Processing buffer {"connection_id":186920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9630f00012d17c90007213248003c00d128..."} 
[2026-09-19 16:49:22] local.INFO: Packet analysis {"connection_id":186920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:49:22] local.INFO: Extracted packet for processing {"connection_id":186920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193062656001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:22] 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-19 16:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816672000,"timestamp_ms":1789816672000,"timestamp_seconds":1789816672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9630f00"} 
[2026-09-19 16:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 16:49:22] 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-19 16:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193062656001,"66":12776,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193062656001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:49:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193062656001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":186920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:49:22] local.INFO: GPS data processed {"connection_id":186920,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:49:22] local.INFO: Acknowledgment sent {"connection_id":186920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:49:32] local.INFO: TCP Data received {"connection_id":188351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:49:32] local.INFO: Processing buffer {"connection_id":188351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:49:32] local.INFO: IMEI packet received {"connection_id":188351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":188351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:49:45] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:45] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:45] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:49:46] local.INFO: TCP Data received {"connection_id":189655,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:46] local.INFO: Processing buffer {"connection_id":189655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:49:46] local.INFO: Packet analysis {"connection_id":189655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:49:46] local.INFO: Extracted packet for processing {"connection_id":189655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:49:46] 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-19 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16: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-19 16:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:49: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-19 16:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":189655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:49:46] local.INFO: GPS data processed {"connection_id":189655,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:49:46] local.INFO: Acknowledgment sent {"connection_id":189655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:49:51] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:51] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:49:51] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:49:51] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9636108012d17c90007213248003c00d12a..."} 
[2026-09-19 16:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9636108012d17c90007213248003c00d12a..."} 
[2026-09-19 16:49:51] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9636108012d17c90007213248003c00d12a..."} 
[2026-09-19 16:49:51] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:49:51] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193068032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:49:51] 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-19 16:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816693000,"timestamp_ms":1789816693000,"timestamp_seconds":1789816693,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9636108"} 
[2026-09-19 16:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 16:49:51] 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-19 16:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193068032001,"66":12743,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193068032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:49:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193068032001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:49:52] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:49:52] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:50:07] local.INFO: TCP Data received {"connection_id":186921,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:50:07] local.INFO: Processing buffer {"connection_id":186921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:50:07] local.INFO: IMEI packet received {"connection_id":186921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":186921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:50:08] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:08] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:08] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:50:14] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:14] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:50:14] local.INFO: IMEI packet received {"connection_id":186922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":186922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:50:15] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:15] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:15] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:50:15] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50: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-19 16:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:50:15] 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-19 16:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:50: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-19 16:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:50: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-19 16:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:50:15] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:50:15] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:50:22] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b963b310012d17c90007213248003c00d129..."} 
[2026-09-19 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b963b310012d17c90007213248003c00d129..."} 
[2026-09-19 16:50:22] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b963b310012d17c90007213248003c00d129..."} 
[2026-09-19 16:50:22] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:50:22] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b963"} 
[2026-09-19 16:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193073408001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:22] 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-19 16:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816714000,"timestamp_ms":1789816714000,"timestamp_seconds":1789816714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b963b310"} 
[2026-09-19 16:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 16:50:22] 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-19 16:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193073408001,"66":12765,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193073408001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:50:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193073408001,"power":12765,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:50:22] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:50:22] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:50:45] local.INFO: TCP Data received {"connection_id":189656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:45] local.INFO: Processing buffer {"connection_id":189656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:45] local.INFO: IMEI packet received {"connection_id":189656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":189656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:50:47] local.INFO: TCP Data received {"connection_id":186922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:47] local.INFO: Processing buffer {"connection_id":186922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:50:47] local.INFO: Packet analysis {"connection_id":186922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:50:47] local.INFO: Extracted packet for processing {"connection_id":186922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50: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-19 16:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16: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-19 16:50:47] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:50: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-19 16: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-19 16: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-19 16:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:50: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-19 16:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":186922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:50:47] local.INFO: GPS data processed {"connection_id":186922,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:50:47] local.INFO: Acknowledgment sent {"connection_id":186922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:50:51] local.INFO: TCP Data received {"connection_id":189656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:51] local.INFO: Processing buffer {"connection_id":189656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:50:51] local.INFO: IMEI packet received {"connection_id":189656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":189656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:50:51] local.INFO: TCP Data received {"connection_id":189656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9640518012d17c90007213248003c00d12a..."} 
[2026-09-19 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9640518012d17c90007213248003c00d12a..."} 
[2026-09-19 16:50:51] local.INFO: Processing buffer {"connection_id":189656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9640518012d17c90007213248003c00d12a..."} 
[2026-09-19 16:50:51] local.INFO: Packet analysis {"connection_id":189656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:50:51] local.INFO: Extracted packet for processing {"connection_id":189656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193078784001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:50:51] 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-19 16:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816735000,"timestamp_ms":1789816735000,"timestamp_seconds":1789816735,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9640518"} 
[2026-09-19 16:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-19 16:50:51] 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-19 16:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193078784001,"66":12711,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193078784001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:50:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193078784001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":189656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:50:51] local.INFO: GPS data processed {"connection_id":189656,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:50:51] local.INFO: Acknowledgment sent {"connection_id":189656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:51:08] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:08] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:08] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:51:14] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:14] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:51:14] local.INFO: IMEI packet received {"connection_id":186923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":186923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:51:15] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:15] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9613a40012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:15] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:51:15] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b961"} 
[2026-09-19 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458192960256001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51: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-19 16:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816552000,"timestamp_ms":1789816552000,"timestamp_seconds":1789816552,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9613a40"} 
[2026-09-19 16:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:51:15] 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-19 16:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:51: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-19 16:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:51:15] 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-19 16:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458192960256001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458192960256001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458192960256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:51:15] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:51:15] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:51:22] local.INFO: TCP Data received {"connection_id":189656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9645720012d17c90007213248003c00d12a..."} 
[2026-09-19 16:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9645720012d17c90007213248003c00d12a..."} 
[2026-09-19 16:51:22] local.INFO: Processing buffer {"connection_id":189656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9645720012d17c90007213248003c00d12a..."} 
[2026-09-19 16:51:22] local.INFO: Packet analysis {"connection_id":189656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:51:22] local.INFO: Extracted packet for processing {"connection_id":189656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193084160001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:22] 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-19 16:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816756000,"timestamp_ms":1789816756000,"timestamp_seconds":1789816756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9645720"} 
[2026-09-19 16:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:51:22] 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-19 16:51: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-19 16:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193084160001,"66":12722,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193084160001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:51:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193084160001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":189656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:51:23] local.INFO: GPS data processed {"connection_id":189656,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:51:23] local.INFO: Acknowledgment sent {"connection_id":189656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:51:48] local.INFO: TCP Data received {"connection_id":186923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:48] local.INFO: Processing buffer {"connection_id":186923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:51:48] local.INFO: Packet analysis {"connection_id":186923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:51:48] local.INFO: Extracted packet for processing {"connection_id":186923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16: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-19 16:51:48] 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-19 16: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:51: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-19 16: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-19 16: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-19 16:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":186923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":186923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:51: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-19 16:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":186923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:51:48] local.INFO: GPS data processed {"connection_id":186923,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:51:48] local.INFO: Acknowledgment sent {"connection_id":186923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:51:51] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:51] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:51] local.INFO: IMEI packet received {"connection_id":187057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":187057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:51:56] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:56] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:51:56] local.INFO: IMEI packet received {"connection_id":187057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":187057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:51:56] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b964a928012d17c90007213248003c00d128..."} 
[2026-09-19 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b964a928012d17c90007213248003c00d128..."} 
[2026-09-19 16:51:56] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b964a928012d17c90007213248003c00d128..."} 
[2026-09-19 16:51:56] local.INFO: Packet analysis {"connection_id":187057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:51:56] local.INFO: Extracted packet for processing {"connection_id":187057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193089536001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:51:56] 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-19 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789816777000,"timestamp_ms":1789816777000,"timestamp_seconds":1789816777,"priority":1,"record_length":96,"hex_timestamp":"000001a0b964a928"} 
[2026-09-19 16:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 16:51:56] 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-19 16:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193089536001,"66":12711,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193089536001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:51:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193089536001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":187057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:51:56] local.INFO: GPS data processed {"connection_id":187057,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:51:56] local.INFO: Acknowledgment sent {"connection_id":187057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:52:00] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b964f748012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b964f748012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:00] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b964f748012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:00] local.INFO: Packet analysis {"connection_id":187057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:52:00] local.INFO: Extracted packet for processing {"connection_id":187057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b964"} 
[2026-09-19 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193094912001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789816797000,"timestamp_ms":1789816797000,"timestamp_seconds":1789816797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b964f748"} 
[2026-09-19 16:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-19 16:52:00] 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-19 16:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:52: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-19 16:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193094912001,"66":12689,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193094912001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:52:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193094912001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":187057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:52:00] local.INFO: GPS data processed {"connection_id":187057,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:52:00] local.INFO: Acknowledgment sent {"connection_id":187057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:52:09] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:09] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:09] local.INFO: IMEI packet received {"connection_id":189658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":189658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:52:14] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:14] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:52:14] local.INFO: IMEI packet received {"connection_id":189658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":189658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:52:15] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:15] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:15] local.INFO: Packet analysis {"connection_id":189658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:15] local.INFO: Extracted packet for processing {"connection_id":189658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52: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-19 16:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:52:15] 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-19 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:52: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-19 16:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":189658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:52:15] local.INFO: GPS data processed {"connection_id":189658,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:52:15] local.INFO: Acknowledgment sent {"connection_id":189658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:52:46] local.INFO: TCP Data received {"connection_id":186924,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:46] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:46] local.INFO: IMEI packet received {"connection_id":186924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":186924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:52:46] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:46] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:52:46] local.INFO: Packet analysis {"connection_id":189658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:46] local.INFO: Extracted packet for processing {"connection_id":189658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52: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-19 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:52: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-19 16:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:52: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-19 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":189658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:52:46] local.INFO: GPS data processed {"connection_id":189658,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:52:46] local.INFO: Acknowledgment sent {"connection_id":189658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:52:51] local.INFO: TCP Data received {"connection_id":186924,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:51] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:52:51] local.INFO: IMEI packet received {"connection_id":186924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":186924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:52:51] local.INFO: TCP Data received {"connection_id":186924,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9654950012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9654950012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:51] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9654950012d17c90007213248003c00d129..."} 
[2026-09-19 16:52:51] local.INFO: Packet analysis {"connection_id":186924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:51] local.INFO: Extracted packet for processing {"connection_id":186924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193100032001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:52:51] 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-19 16:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816818000,"timestamp_ms":1789816818000,"timestamp_seconds":1789816818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9654950"} 
[2026-09-19 16:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 16:52:51] 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-19 16:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193100032001,"66":12689,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193100032001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:52:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193100032001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":186924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:52:52] local.INFO: GPS data processed {"connection_id":186924,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:52:52] local.INFO: Acknowledgment sent {"connection_id":186924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:53:10] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:10] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:10] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:53:14] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:14] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:53:14] local.INFO: IMEI packet received {"connection_id":186925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":186925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:53:15] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:15] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:15] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:15] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53: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-19 16:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:53:15] 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-19 16:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:53: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-19 16:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:53: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-19 16:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:53:15] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:53:15] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:53:22] local.INFO: TCP Data received {"connection_id":186924,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9659b58012d17c90007213248003c00d12a..."} 
[2026-09-19 16:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9659b58012d17c90007213248003c00d12a..."} 
[2026-09-19 16:53:22] local.INFO: Processing buffer {"connection_id":186924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9659b58012d17c90007213248003c00d12a..."} 
[2026-09-19 16:53:22] local.INFO: Packet analysis {"connection_id":186924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:22] local.INFO: Extracted packet for processing {"connection_id":186924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193105408001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:22] 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-19 16:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816839000,"timestamp_ms":1789816839000,"timestamp_seconds":1789816839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9659b58"} 
[2026-09-19 16:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 16:53:22] 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-19 16:53: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-19 16:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193105408001,"66":12678,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193105408001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:53:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193105408001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":186924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:53:22] local.INFO: GPS data processed {"connection_id":186924,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:53:22] local.INFO: Acknowledgment sent {"connection_id":186924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:53:44] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:44] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:44] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:53:45] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:45] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:45] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:53:47] local.INFO: TCP Data received {"connection_id":186925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:47] local.INFO: Processing buffer {"connection_id":186925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:53:47] local.INFO: Packet analysis {"connection_id":186925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:47] local.INFO: Extracted packet for processing {"connection_id":186925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16: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-19 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:53: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-19 16: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-19 16: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-19 16:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:53: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-19 16:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:53:47] local.INFO: GPS data processed {"connection_id":186925,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:53:47] local.INFO: Acknowledgment sent {"connection_id":186925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:53:51] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:51] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:53:51] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:53:52] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965f148012d17c90007213248003c00d127..."} 
[2026-09-19 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965f148012d17c90007213248003c00d127..."} 
[2026-09-19 16:53:52] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965f148012d17c90007213248003c00d127..."} 
[2026-09-19 16:53:52] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:52] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 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-19 16:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193110784001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:53:52] 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-19 16:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789816861000,"timestamp_ms":1789816861000,"timestamp_seconds":1789816861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965f148"} 
[2026-09-19 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-19 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 16:53:52] 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-19 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-19 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-19 16:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193110784001,"66":12667,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193110784001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:53:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193110784001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:53:52] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:53:52] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:54:09] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:09] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:09] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:54:14] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:14] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:54:14] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:54:15] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:15] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:15] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:54:15] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54: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-19 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:54:15] 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-19 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:54: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-19 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:54: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-19 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:54:15] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:54:15] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:54:23] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9664350012d17c90007213248003c00d125..."} 
[2026-09-19 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9664350012d17c90007213248003c00d125..."} 
[2026-09-19 16:54:23] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9664350012d17c90007213248003c00d125..."} 
[2026-09-19 16:54:23] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:54:23] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 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-19 16:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193116416001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:23] 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-19 16:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789816882000,"timestamp_ms":1789816882000,"timestamp_seconds":1789816882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9664350"} 
[2026-09-19 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-19 16:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 16:54:23] 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-19 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-19 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-19 16:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193116416001,"66":12667,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193116416001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:54:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193116416001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:54:23] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:54:23] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:54:45] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:45] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:45] local.INFO: IMEI packet received {"connection_id":187059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":187059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:54:47] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:47] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:54:47] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:54:47] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:54: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-19 16:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:54: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-19 16:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:54:47] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:54:47] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:54:47] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:47] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:54:47] local.INFO: IMEI packet received {"connection_id":187059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":187059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:54:48] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9669558012d17c90007213248003c00d126..."} 
[2026-09-19 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9669558012d17c90007213248003c00d126..."} 
[2026-09-19 16:54:48] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9669558012d17c90007213248003c00d126..."} 
[2026-09-19 16:54:48] local.INFO: Packet analysis {"connection_id":187059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:54:48] local.INFO: Extracted packet for processing {"connection_id":187059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193121792001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:54:48] 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-19 16:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789816903000,"timestamp_ms":1789816903000,"timestamp_seconds":1789816903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9669558"} 
[2026-09-19 16: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-19 16:54: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-19 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 16:54:48] 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-19 16: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-19 16: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-19 16:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193121792001,"66":12645,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193121792001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:54:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193121792001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":187059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:54:48] local.INFO: GPS data processed {"connection_id":187059,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:54:48] local.INFO: Acknowledgment sent {"connection_id":187059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:55:08] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:08] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:08] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:55:14] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:14] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:55:14] local.INFO: IMEI packet received {"connection_id":186926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:55:16] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:16] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:16] local.INFO: Packet analysis {"connection_id":186926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:55:16] local.INFO: Extracted packet for processing {"connection_id":186926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55: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-19 16:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:55:16] 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-19 16:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":186926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:55:16] local.INFO: GPS data processed {"connection_id":186926,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:55:16] local.INFO: Acknowledgment sent {"connection_id":186926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:55:16] local.INFO: TCP Data received {"connection_id":189660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:55:16] local.INFO: Processing buffer {"connection_id":189660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 16:55:16] local.INFO: IMEI packet received {"connection_id":189660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 16:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":189660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:55:19] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b966e760012d17c90007213248003c00d127..."} 
[2026-09-19 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b966e760012d17c90007213248003c00d127..."} 
[2026-09-19 16:55:19] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b966e760012d17c90007213248003c00d127..."} 
[2026-09-19 16:55:19] local.INFO: Packet analysis {"connection_id":187059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:55:19] local.INFO: Extracted packet for processing {"connection_id":187059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b966"} 
[2026-09-19 16:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193127168001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:19] 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-19 16:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789816924000,"timestamp_ms":1789816924000,"timestamp_seconds":1789816924,"priority":1,"record_length":96,"hex_timestamp":"000001a0b966e760"} 
[2026-09-19 16:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:55: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-19 16:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 16:55:19] 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-19 16:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:55: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-19 16:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193127168001,"66":12645,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193127168001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:55:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193127168001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":187059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:55:19] local.INFO: GPS data processed {"connection_id":187059,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:55:19] local.INFO: Acknowledgment sent {"connection_id":187059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:55:46] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:46] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:46] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:55:49] local.INFO: TCP Data received {"connection_id":186926,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:49] local.INFO: Processing buffer {"connection_id":186926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:55:49] local.INFO: Packet analysis {"connection_id":186926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:55:49] local.INFO: Extracted packet for processing {"connection_id":186926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55: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-19 16:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16: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-19 16:55:49] 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-19 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16: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-19 16: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-19 16:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:55: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-19 16:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":186926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:55:49] local.INFO: GPS data processed {"connection_id":186926,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:55:49] local.INFO: Acknowledgment sent {"connection_id":186926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:55:51] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:51] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:55:51] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:55:51] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9673968012d17c90007213248003c00d126..."} 
[2026-09-19 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9673968012d17c90007213248003c00d126..."} 
[2026-09-19 16:55:51] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9673968012d17c90007213248003c00d126..."} 
[2026-09-19 16:55:51] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:55:51] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:55: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-19 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193132544001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:55:51] 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-19 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816945000,"timestamp_ms":1789816945000,"timestamp_seconds":1789816945,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9673968"} 
[2026-09-19 16:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:55: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 16:55:51] 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-19 16:55: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-19 16:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193132544001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193132544001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:55:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193132544001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:55:52] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:55:52] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:56:14] local.INFO: TCP Data received {"connection_id":188357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:14] local.INFO: Processing buffer {"connection_id":188357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:14] local.INFO: IMEI packet received {"connection_id":188357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:56:19] local.INFO: TCP Data received {"connection_id":188357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:19] local.INFO: Processing buffer {"connection_id":188357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:56:19] local.INFO: IMEI packet received {"connection_id":188357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":188357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:56:20] local.INFO: TCP Data received {"connection_id":188357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:20] local.INFO: Processing buffer {"connection_id":188357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:20] local.INFO: Packet analysis {"connection_id":188357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:56:20] local.INFO: Extracted packet for processing {"connection_id":188357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 16:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:56:20] 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-19 16:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:56:20] local.INFO: GPS data processed {"connection_id":188357,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:56:20] local.INFO: Acknowledgment sent {"connection_id":188357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:56:22] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9678b70012d17c90007213248003c00d126..."} 
[2026-09-19 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9678b70012d17c90007213248003c00d126..."} 
[2026-09-19 16:56:22] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9678b70012d17c90007213248003c00d126..."} 
[2026-09-19 16:56:22] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:56:22] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193137920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] 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-19 16:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789816966000,"timestamp_ms":1789816966000,"timestamp_seconds":1789816966,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9678b70"} 
[2026-09-19 16:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110422864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,106,160,231,45,50,60,39,10,66,149,38,67,1,240,123,227,185,33,4,113,205,155,201,72,42,239,49,2,77,7,92,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:56:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685603414638592,"timestamp_seconds":4323685603414638.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193137920001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193137920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:56:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193137920001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:56:22] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:56:22] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:56:24] local.INFO: TCP Data received {"connection_id":188357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:24] local.INFO: Processing buffer {"connection_id":188357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b965d208012d34c14006aa41400008010e2b..."} 
[2026-09-19 16:56:24] local.INFO: Packet analysis {"connection_id":188357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:56:24] local.INFO: Extracted packet for processing {"connection_id":188357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b965"} 
[2026-09-19 16:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:56: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-19 16:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193037312001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 16:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789816853000,"timestamp_ms":1789816853000,"timestamp_seconds":1789816853,"priority":1,"record_length":96,"hex_timestamp":"000001a0b965d208"} 
[2026-09-19 16:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:56:24] 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-19 16:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:56: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-19 16:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:56:24] 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-19 16:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193037312001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193037312001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193037312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":188357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:56:24] local.INFO: GPS data processed {"connection_id":188357,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:56:24] local.INFO: Acknowledgment sent {"connection_id":188357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:56:45] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:45] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:45] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:56:51] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:51] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:56:51] local.INFO: IMEI packet received {"connection_id":186928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":186928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:56:51] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b967dd78012d17c90007213248003c00d128..."} 
[2026-09-19 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b967dd78012d17c90007213248003c00d128..."} 
[2026-09-19 16:56:51] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b967dd78012d17c90007213248003c00d128..."} 
[2026-09-19 16:56:51] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:56:51] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b967"} 
[2026-09-19 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193143296001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] 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-19 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789816987000,"timestamp_ms":1789816987000,"timestamp_seconds":1789816987,"priority":1,"record_length":96,"hex_timestamp":"000001a0b967dd78"} 
[2026-09-19 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110443864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:56:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,106,160,57,45,50,60,38,10,66,231,39,149,1,240,101,227,185,33,4,113,205,201,72,239,49,2,77,7,91,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:56:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685603414638592,"timestamp_seconds":4323685603414638.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193143296001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193143296001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:56:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193143296001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:56:52] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:56:52] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:57:09] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:09] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:09] local.INFO: IMEI packet received {"connection_id":189662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":189662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:57:14] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:14] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:57:14] local.INFO: IMEI packet received {"connection_id":189662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:57:15] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:15] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:15] local.INFO: Packet analysis {"connection_id":189662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:57:15] local.INFO: Extracted packet for processing {"connection_id":189662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16: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-19 16:57:15] 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-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:57: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-19 16: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-19 16: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-19 16:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16: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-19 16:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":189662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:57:15] local.INFO: GPS data processed {"connection_id":189662,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:57:15] local.INFO: Acknowledgment sent {"connection_id":189662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:57:22] local.INFO: TCP Data received {"connection_id":186928,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9682f80012d17c90007213248003c00d127..."} 
[2026-09-19 16:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9682f80012d17c90007213248003c00d127..."} 
[2026-09-19 16:57:22] local.INFO: Processing buffer {"connection_id":186928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9682f80012d17c90007213248003c00d127..."} 
[2026-09-19 16:57:22] local.INFO: Packet analysis {"connection_id":186928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:57:22] local.INFO: Extracted packet for processing {"connection_id":186928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193148672001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] 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-19 16:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817008000,"timestamp_ms":1789817008000,"timestamp_seconds":1789817008,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9682f80"} 
[2026-09-19 16:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110465864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,106,160,139,45,50,60,38,10,66,57,231,1,240,101,227,185,33,4,113,205,67,201,72,37,239,49,2,77,7,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:57:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685612004573184,"timestamp_seconds":4323685612004573.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193148672001,"66":12591,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193148672001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:57:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193148672001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":186928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:57:22] local.INFO: GPS data processed {"connection_id":186928,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:57:22] local.INFO: Acknowledgment sent {"connection_id":186928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:57:45] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:45] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:45] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:57:49] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:49] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:57:49] local.INFO: Packet analysis {"connection_id":189662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:57:49] local.INFO: Extracted packet for processing {"connection_id":189662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16: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-19 16:57:49] 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-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16: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-19 16: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-19 16:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:57: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-19 16:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":189662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:57:49] local.INFO: GPS data processed {"connection_id":189662,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:57:49] local.INFO: Acknowledgment sent {"connection_id":189662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:57:51] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:51] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:57:51] local.INFO: IMEI packet received {"connection_id":186929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":186929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:57:52] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9688188012d17c90007213248003c00d12a..."} 
[2026-09-19 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9688188012d17c90007213248003c00d12a..."} 
[2026-09-19 16:57:52] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9688188012d17c90007213248003c00d12a..."} 
[2026-09-19 16:57:52] local.INFO: Packet analysis {"connection_id":186929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:57:52] local.INFO: Extracted packet for processing {"connection_id":186929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193154048001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:57:52] 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-19 16:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789817029000,"timestamp_ms":1789817029000,"timestamp_seconds":1789817029,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9688188"} 
[2026-09-19 16:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 16:57:52] 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-19 16:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193154048001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193154048001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:57:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193154048001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":186929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:57:52] local.INFO: GPS data processed {"connection_id":186929,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:57:52] local.INFO: Acknowledgment sent {"connection_id":186929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:58:09] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:09] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:09] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:58:14] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:14] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:58:14] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:58:16] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:16] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:16] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:58:16] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58: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-19 16:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 16:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:58:16] 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-19 16:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:58:16] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:58:16] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:58:22] local.INFO: TCP Data received {"connection_id":186929,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b968d390012d17c90007213248003c00d12b..."} 
[2026-09-19 16:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b968d390012d17c90007213248003c00d12b..."} 
[2026-09-19 16:58:22] local.INFO: Processing buffer {"connection_id":186929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b968d390012d17c90007213248003c00d12b..."} 
[2026-09-19 16:58:22] local.INFO: Packet analysis {"connection_id":186929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:58:22] local.INFO: Extracted packet for processing {"connection_id":186929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b968"} 
[2026-09-19 16:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:58: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-19 16:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193159424001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] 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-19 16:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817050000,"timestamp_ms":1789817050000,"timestamp_seconds":1789817050,"priority":1,"record_length":96,"hex_timestamp":"000001a0b968d390"} 
[2026-09-19 16:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 16:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110507864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,106,160,47,45,50,60,39,10,66,221,40,139,1,240,14,227,185,33,4,113,205,231,201,72,239,49,2,77,7,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:58:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685620594507776,"timestamp_seconds":4323685620594508.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193159424001,"66":12580,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193159424001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:58:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193159424001,"power":12580,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":186929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:58:22] local.INFO: GPS data processed {"connection_id":186929,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:58:22] local.INFO: Acknowledgment sent {"connection_id":186929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:58:45] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:45] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:45] local.INFO: IMEI packet received {"connection_id":187060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":187060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:58:47] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:47] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:58:47] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:58:47] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58: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-19 16:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16: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-19 16:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:58: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-19 16: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-19 16: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-19 16:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:58: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-19 16:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:58:47] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:58:47] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:58:51] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:51] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:58:51] local.INFO: IMEI packet received {"connection_id":187060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":187060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:58:51] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96921b0012d17c90007213248003c00d12a..."} 
[2026-09-19 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96921b0012d17c90007213248003c00d12a..."} 
[2026-09-19 16:58:51] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96921b0012d17c90007213248003c00d12a..."} 
[2026-09-19 16:58:51] local.INFO: Packet analysis {"connection_id":187060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:58:51] local.INFO: Extracted packet for processing {"connection_id":187060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193164800001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:58:51] 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-19 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817070000,"timestamp_ms":1789817070000,"timestamp_seconds":1789817070,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96921b0"} 
[2026-09-19 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 16:58:51] 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-19 16:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193164800001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193164800001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:58:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193164800001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":187060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:58:51] local.INFO: GPS data processed {"connection_id":187060,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:58:51] local.INFO: Acknowledgment sent {"connection_id":187060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:59:08] local.INFO: TCP Data received {"connection_id":189663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:08] local.INFO: Processing buffer {"connection_id":189663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:08] local.INFO: IMEI packet received {"connection_id":189663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":189663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:59:14] local.INFO: TCP Data received {"connection_id":189663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:14] local.INFO: Processing buffer {"connection_id":189663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 16:59:14] local.INFO: IMEI packet received {"connection_id":189663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 16:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":189663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:59:15] local.INFO: TCP Data received {"connection_id":189663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:15] local.INFO: Processing buffer {"connection_id":189663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:15] local.INFO: Packet analysis {"connection_id":189663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:59:15] local.INFO: Extracted packet for processing {"connection_id":189663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59: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-19 16:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:59:15] 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-19 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:59: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-19 16:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 16:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:59:15] 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-19 16:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":189663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:59:15] local.INFO: GPS data processed {"connection_id":189663,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:59:15] local.INFO: Acknowledgment sent {"connection_id":189663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:59:22] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96977a0012d17c90007213248003c00d129..."} 
[2026-09-19 16:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96977a0012d17c90007213248003c00d129..."} 
[2026-09-19 16:59:22] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96977a0012d17c90007213248003c00d129..."} 
[2026-09-19 16:59:22] local.INFO: Packet analysis {"connection_id":187060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:59:22] local.INFO: Extracted packet for processing {"connection_id":187060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193169920001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] 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-19 16:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817092000,"timestamp_ms":1789817092000,"timestamp_seconds":1789817092,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96977a0"} 
[2026-09-19 16:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110549864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,106,160,211,45,50,60,43,10,66,129,42,47,1,240,227,185,33,4,113,205,139,201,72,38,239,49,2,77,7,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:59:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685620594507776,"timestamp_seconds":4323685620594508.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193169920001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193169920001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:59:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193169920001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":187060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:59:22] local.INFO: GPS data processed {"connection_id":187060,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:59:22] local.INFO: Acknowledgment sent {"connection_id":187060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:59:45] local.INFO: TCP Data received {"connection_id":189664,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:45] local.INFO: Processing buffer {"connection_id":189664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:45] local.INFO: IMEI packet received {"connection_id":189664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":189664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 16:59:47] local.INFO: TCP Data received {"connection_id":189663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:47] local.INFO: Processing buffer {"connection_id":189663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 16:59:47] local.INFO: Packet analysis {"connection_id":189663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:59:47] local.INFO: Extracted packet for processing {"connection_id":189663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 16:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 16: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-19 16:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 16: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-19 16:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 16: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-19 16:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 16:59: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-19 16: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-19 16: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-19 16:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 16:59: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-19 16:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 16:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 16:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 16:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 16:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 16:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 16:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 16:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 16:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 16:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":189663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:59:47] local.INFO: GPS data processed {"connection_id":189663,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:59:47] local.INFO: Acknowledgment sent {"connection_id":189663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 16:59:51] local.INFO: TCP Data received {"connection_id":189664,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:51] local.INFO: Processing buffer {"connection_id":189664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 16:59:51] local.INFO: IMEI packet received {"connection_id":189664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":189664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 16:59:51] local.INFO: TCP Data received {"connection_id":189664,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b969c5c0012d17c90007213248003c00d12b..."} 
[2026-09-19 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b969c5c0012d17c90007213248003c00d12b..."} 
[2026-09-19 16:59:51] local.INFO: Processing buffer {"connection_id":189664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b969c5c0012d17c90007213248003c00d12b..."} 
[2026-09-19 16:59:51] local.INFO: Packet analysis {"connection_id":189664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:59:51] local.INFO: Extracted packet for processing {"connection_id":189664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b969"} 
[2026-09-19 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193175552001,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] 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-19 16:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817112000,"timestamp_ms":1789817112000,"timestamp_seconds":1789817112,"priority":1,"record_length":96,"hex_timestamp":"000001a0b969c5c0"} 
[2026-09-19 16:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110570864,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901256,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-19 16:59:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,106,160,33,45,50,60,42,10,66,211,43,129,1,240,14,227,185,4,113,205,221,201,72,40,239,49,2,77,7,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 16:59:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685616299540480,"timestamp_seconds":4323685616299540.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 16:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 16:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 16:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 16:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 16:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 16:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 16:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 16:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193175552001,"66":12548,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 16:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 16:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 16:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193175552001,"description":"Unknown IO ID 0"} 
[2026-09-19 16:59:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 16:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 16:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 16:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 16:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193175552001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 16:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":189664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 16:59:52] local.INFO: GPS data processed {"connection_id":189664,"processed":1,"errors":0,"total":1} 
[2026-09-19 16:59:52] local.INFO: Acknowledgment sent {"connection_id":189664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:00:14] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:14] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:14] local.INFO: IMEI packet received {"connection_id":187061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":187061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:00:19] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:19] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:00:19] local.INFO: IMEI packet received {"connection_id":187061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":187061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:00:20] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:20] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:20] local.INFO: Packet analysis {"connection_id":187061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:20] local.INFO: Extracted packet for processing {"connection_id":187061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 17:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:00:20] 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-19 17:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":187061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:00:20] local.INFO: GPS data processed {"connection_id":187061,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:00:20] local.INFO: Acknowledgment sent {"connection_id":187061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:00:22] local.INFO: TCP Data received {"connection_id":189664,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a17c8012d17c90007213248003c00d127..."} 
[2026-09-19 17:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a17c8012d17c90007213248003c00d127..."} 
[2026-09-19 17:00:22] local.INFO: Processing buffer {"connection_id":189664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a17c8012d17c90007213248003c00d127..."} 
[2026-09-19 17:00:22] local.INFO: Packet analysis {"connection_id":189664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:22] local.INFO: Extracted packet for processing {"connection_id":189664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193180672001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] 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-19 17:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817133000,"timestamp_ms":1789817133000,"timestamp_seconds":1789817133,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a17c8"} 
[2026-09-19 17:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3110591864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 17:00:22] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147560727,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,106,160,119,45,50,60,41,10,66,33,42,211,1,240,36,227,185,4,113,205,47,201,72,39,239,49,2,77,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 17:00:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323685624889475072,"timestamp_seconds":4323685624889475.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 17:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193180672001,"66":12558,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193180672001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:00:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193180672001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":189664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:00:22] local.INFO: GPS data processed {"connection_id":189664,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:00:22] local.INFO: Acknowledgment sent {"connection_id":189664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:00:24] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:24] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:00:24] local.INFO: Packet analysis {"connection_id":187061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:24] local.INFO: Extracted packet for processing {"connection_id":187061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 17:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:00:24] 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-19 17:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:00:24] 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-19 17:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":187061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:00:24] local.INFO: GPS data processed {"connection_id":187061,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:00:24] local.INFO: Acknowledgment sent {"connection_id":187061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:00:45] local.INFO: TCP Data received {"connection_id":186931,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:45] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:45] local.INFO: IMEI packet received {"connection_id":186931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":186931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:00:51] local.INFO: TCP Data received {"connection_id":186931,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:51] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:00:51] local.INFO: IMEI packet received {"connection_id":186931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":186931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:00:51] local.INFO: TCP Data received {"connection_id":186931,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96d9e20012d17c90007213248003c00d128..."} 
[2026-09-19 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96d9e20012d17c90007213248003c00d128..."} 
[2026-09-19 17:00:51] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96d9e20012d17c90007213248003c00d128..."} 
[2026-09-19 17:00:51] local.INFO: Packet analysis {"connection_id":186931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96d"} 
[2026-09-19 17:00:51] local.INFO: Extracted packet for processing {"connection_id":186931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96d"} 
[2026-09-19 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 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-19 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193240064001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:00:51] 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-19 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817364000,"timestamp_ms":1789817364000,"timestamp_seconds":1789817364,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96d9e20"} 
[2026-09-19 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-19 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:00:51] 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-19 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-19 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-19 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193240064001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193240064001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193240064001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":186931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:00:52] local.INFO: GPS data processed {"connection_id":186931,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:00:52] local.INFO: Acknowledgment sent {"connection_id":186931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:01:09] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:09] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:09] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:01:14] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:14] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:01:14] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:01:15] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:01:15] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96a69d0012d34c14006aa41400008010e2d..."} 
[2026-09-19 17:01:15] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:01:15] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96a"} 
[2026-09-19 17:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193114368001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01: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-19 17:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817154000,"timestamp_ms":1789817154000,"timestamp_seconds":1789817154,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96a69d0"} 
[2026-09-19 17:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:01:15] 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-19 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:01: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-19 17:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:01: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-19 17:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193114368001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193114368001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193114368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:01:15] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:01:15] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:01:15] local.INFO: TCP Data received {"connection_id":186933,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:01:15] local.INFO: Processing buffer {"connection_id":186933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:01:15] local.INFO: IMEI packet received {"connection_id":186933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":186933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:01:22] local.INFO: TCP Data received {"connection_id":186931,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96df028012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96df028012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:22] local.INFO: Processing buffer {"connection_id":186931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96df028012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:22] local.INFO: Packet analysis {"connection_id":186931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96d"} 
[2026-09-19 17:01:22] local.INFO: Extracted packet for processing {"connection_id":186931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96d"} 
[2026-09-19 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193245184001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:22] 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-19 17:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817385000,"timestamp_ms":1789817385000,"timestamp_seconds":1789817385,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96df028"} 
[2026-09-19 17:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:01:22] 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-19 17:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193245184001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193245184001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:01:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193245184001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":186931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:01:22] local.INFO: GPS data processed {"connection_id":186931,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:01:22] local.INFO: Acknowledgment sent {"connection_id":186931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:01:45] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:45] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:45] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:01:45] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:01:45] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:01:45] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:01:45] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01: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-19 17:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17: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-19 17:01:45] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:01: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-19 17: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-19 17: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-19 17:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:01: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-19 17:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:01:46] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:01:46] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:01:47] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:47] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:47] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:01:50] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:50] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:01:50] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:01:51] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96e4230012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96e4230012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:51] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96e4230012d17c90007213248003c00d129..."} 
[2026-09-19 17:01:51] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:01:51] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:01: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-19 17:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193250560001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:01:51] 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-19 17:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817406000,"timestamp_ms":1789817406000,"timestamp_seconds":1789817406,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96e4230"} 
[2026-09-19 17:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:01:51] 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-19 17:01: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-19 17:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193250560001,"66":12461,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193250560001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:01:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193250560001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:01:51] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:01:51] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:02:08] local.INFO: TCP Data received {"connection_id":189665,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:08] local.INFO: Processing buffer {"connection_id":189665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:08] local.INFO: IMEI packet received {"connection_id":189665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:02:14] local.INFO: TCP Data received {"connection_id":189665,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:14] local.INFO: Processing buffer {"connection_id":189665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:02:14] local.INFO: IMEI packet received {"connection_id":189665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":189665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:02:15] local.INFO: TCP Data received {"connection_id":189665,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:15] local.INFO: Processing buffer {"connection_id":189665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:15] local.INFO: Packet analysis {"connection_id":189665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:02:15] local.INFO: Extracted packet for processing {"connection_id":189665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02: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-19 17:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17: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-19 17:02:15] 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-19 17:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:02: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-19 17:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":189665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:02:15] local.INFO: GPS data processed {"connection_id":189665,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:02:15] local.INFO: Acknowledgment sent {"connection_id":189665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:02:22] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96e9438012d17c90007213248003c00d126..."} 
[2026-09-19 17:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96e9438012d17c90007213248003c00d126..."} 
[2026-09-19 17:02:22] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96e9438012d17c90007213248003c00d126..."} 
[2026-09-19 17:02:22] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:02:22] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193255936001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:22] 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-19 17:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817427000,"timestamp_ms":1789817427000,"timestamp_seconds":1789817427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96e9438"} 
[2026-09-19 17:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 17:02:22] 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-19 17:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193255936001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193255936001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:02:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193255936001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:02:22] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:02:22] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:02:46] local.INFO: TCP Data received {"connection_id":189665,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:46] local.INFO: Processing buffer {"connection_id":189665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:02:46] local.INFO: Packet analysis {"connection_id":189665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:02:46] local.INFO: Extracted packet for processing {"connection_id":189665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02: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-19 17:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17: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-19 17:02:46] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:02: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-19 17: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-19 17: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-19 17:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:02: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-19 17:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":189665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:02:46] local.INFO: GPS data processed {"connection_id":189665,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:02:46] local.INFO: Acknowledgment sent {"connection_id":189665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:02:51] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:02:51] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:51] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:02:56] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:56] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:02:56] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:02:56] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96ee640012d17c90007213248003c00d129..."} 
[2026-09-19 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96ee640012d17c90007213248003c00d129..."} 
[2026-09-19 17:02:56] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96ee640012d17c90007213248003c00d129..."} 
[2026-09-19 17:02:56] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:02:56] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96e"} 
[2026-09-19 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193261312001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:02:56] 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-19 17:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789817448000,"timestamp_ms":1789817448000,"timestamp_seconds":1789817448,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96ee640"} 
[2026-09-19 17:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:02:56] 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-19 17:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193261312001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193261312001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:02:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193261312001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:02:56] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:02:56] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:03:01] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f3c30012d17c90007213248003c00d129..."} 
[2026-09-19 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f3c30012d17c90007213248003c00d129..."} 
[2026-09-19 17:03:01] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f3c30012d17c90007213248003c00d129..."} 
[2026-09-19 17:03:01] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:01] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 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-19 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193266688001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03: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-19 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789817470000,"timestamp_ms":1789817470000,"timestamp_seconds":1789817470,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f3c30"} 
[2026-09-19 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-19 17:03: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-19 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:03: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-19 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193266688001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193266688001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:03:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193266688001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:03:01] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:03:01] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:03:08] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:08] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:08] local.INFO: IMEI packet received {"connection_id":189666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":189666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:03:14] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:14] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:03:14] local.INFO: IMEI packet received {"connection_id":189666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:03:16] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:16] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:16] local.INFO: Packet analysis {"connection_id":189666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:16] local.INFO: Extracted packet for processing {"connection_id":189666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03: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-19 17:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:03:16] 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-19 17:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:03:16] local.INFO: GPS data processed {"connection_id":189666,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:03:16] local.INFO: Acknowledgment sent {"connection_id":189666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:03:46] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:46] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:46] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:03:47] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:47] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:03:47] local.INFO: Packet analysis {"connection_id":189666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:47] local.INFO: Extracted packet for processing {"connection_id":189666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03: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-19 17:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17: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-19 17:03:47] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:03: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-19 17: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-19 17: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-19 17:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:03: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-19 17:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:03:47] local.INFO: GPS data processed {"connection_id":189666,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:03:47] local.INFO: Acknowledgment sent {"connection_id":189666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:03:51] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:51] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:03:51] local.INFO: IMEI packet received {"connection_id":186935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":186935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:03:51] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f8e38012d17c90007213248003c00d12a..."} 
[2026-09-19 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f8e38012d17c90007213248003c00d12a..."} 
[2026-09-19 17:03:51] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f8e38012d17c90007213248003c00d12a..."} 
[2026-09-19 17:03:51] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:51] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193272320001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:03:51] 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-19 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817491000,"timestamp_ms":1789817491000,"timestamp_seconds":1789817491,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f8e38"} 
[2026-09-19 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:03:51] 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-19 17:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193272320001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193272320001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:03:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193272320001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:03:51] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:03:51] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:04:14] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:14] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:14] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:04:19] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:19] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:04:19] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:04:20] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:20] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:20] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:20] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:04:20] 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-19 17:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:04:20] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:04:20] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:04:22] local.INFO: TCP Data received {"connection_id":186935,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96fe040012d17c90007213248003c00d129..."} 
[2026-09-19 17:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96fe040012d17c90007213248003c00d129..."} 
[2026-09-19 17:04:22] local.INFO: Processing buffer {"connection_id":186935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96fe040012d17c90007213248003c00d129..."} 
[2026-09-19 17:04:22] local.INFO: Packet analysis {"connection_id":186935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:22] local.INFO: Extracted packet for processing {"connection_id":186935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:04: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-19 17:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193277696001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:22] 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-19 17:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817512000,"timestamp_ms":1789817512000,"timestamp_seconds":1789817512,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96fe040"} 
[2026-09-19 17:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:04:22] 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-19 17:04: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-19 17:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193277696001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193277696001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:04:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193277696001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":186935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:04:22] local.INFO: GPS data processed {"connection_id":186935,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:04:22] local.INFO: Acknowledgment sent {"connection_id":186935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:04:24] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:24] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:04:24] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:24] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:04:24] 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-19 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:04:24] 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-19 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:04:24] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:04:24] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:04:46] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:04:46] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:04:46] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:46] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:04:47] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:47] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:04:47] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:04:48] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9703248012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9703248012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:48] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9703248012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:48] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:04:48] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193283072001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:48] 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-19 17:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789817533000,"timestamp_ms":1789817533000,"timestamp_seconds":1789817533,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9703248"} 
[2026-09-19 17: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-19 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:04:48] 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-19 17: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-19 17: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-19 17:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193283072001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193283072001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:04:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193283072001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:04:48] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:04:48] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:04:51] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9708450012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9708450012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:51] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9708450012d17c90007213248003c00d128..."} 
[2026-09-19 17:04:51] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:04:51] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:04: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-19 17:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193288448001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:04:51] 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-19 17:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789817554000,"timestamp_ms":1789817554000,"timestamp_seconds":1789817554,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9708450"} 
[2026-09-19 17:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:04:51] 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-19 17:04: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-19 17:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193288448001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193288448001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:04:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193288448001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:04:51] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:04:51] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:05:09] local.INFO: TCP Data received {"connection_id":188366,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:09] local.INFO: Processing buffer {"connection_id":188366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:09] local.INFO: IMEI packet received {"connection_id":188366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:05:14] local.INFO: TCP Data received {"connection_id":188366,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:14] local.INFO: Processing buffer {"connection_id":188366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:05:14] local.INFO: IMEI packet received {"connection_id":188366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:05:15] local.INFO: TCP Data received {"connection_id":188366,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:15] local.INFO: Processing buffer {"connection_id":188366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:15] local.INFO: Packet analysis {"connection_id":188366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:05:15] local.INFO: Extracted packet for processing {"connection_id":188366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17: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-19 17:05:15] 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-19 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:05: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-19 17:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":188366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:05:15] local.INFO: GPS data processed {"connection_id":188366,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:05:15] local.INFO: Acknowledgment sent {"connection_id":188366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:05:22] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b970d658012d17c90007213248003c00d129..."} 
[2026-09-19 17:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b970d658012d17c90007213248003c00d129..."} 
[2026-09-19 17:05:22] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b970d658012d17c90007213248003c00d129..."} 
[2026-09-19 17:05:22] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:05:22] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b970"} 
[2026-09-19 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616072,"longitude_deg":75.6533504,"latitude_deg":11.9616072,"altitude":60,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-09-19 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193293824001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790538051092480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812898816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:22] 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-19 17:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817575000,"timestamp_ms":1789817575000,"timestamp_seconds":1789817575,"priority":1,"record_length":96,"hex_timestamp":"000001a0b970d658"} 
[2026-09-19 17:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:05:22] 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-19 17:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193293824001,"66":12504,"107":206,"83":41984,"24":0,"16":21790538051092480,"45":1713901163812898816},"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-19 17:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193293824001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:05:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790538051092480,"km_value":21790538051092.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812898816,"description":"Unknown IO ID 45"} 
[2026-09-19 17:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193293824001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812898816}} 
[2026-09-19 17:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:05:22] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:05:22] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:05:46] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:46] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:46] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:05:48] local.INFO: TCP Data received {"connection_id":188366,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:48] local.INFO: Processing buffer {"connection_id":188366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:05:48] local.INFO: Packet analysis {"connection_id":188366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:05:48] local.INFO: Extracted packet for processing {"connection_id":188366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05: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-19 17:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:05:48] 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-19 17:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:05: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-19 17:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:05: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-19 17:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":188366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:05:48] local.INFO: GPS data processed {"connection_id":188366,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:05:48] local.INFO: Acknowledgment sent {"connection_id":188366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:05:49] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:49] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:05:49] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:05:50] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9725140012d17d8c0072152b00040001f29..."} 
[2026-09-19 17:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9725140012d17d8c0072152b00040001f29..."} 
[2026-09-19 17:05:50] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9725140012d17d8c0072152b00040001f29..."} 
[2026-09-19 17:05:50] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b972"} 
[2026-09-19 17:05:50] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b972"} 
[2026-09-19 17:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756537536,"raw_latitude":119624368,"longitude_deg":75.6537536,"latitude_deg":11.9624368,"altitude":64,"angle":31,"satellites":41,"speed":25,"hex_longitude":"2d17d8c0","hex_latitude":"072152b0","is_valid_coordinates":true} 
[2026-09-19 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193319680001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21791036267298816,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713338213859616768,"note":"Value kept but may cause issues"} 
[2026-09-19 17:05:50] 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-19 17:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789817672000,"timestamp_ms":1789817672000,"timestamp_seconds":1789817672,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9725140"} 
[2026-09-19 17:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-19 17:05:50] 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-19 17:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193319680001,"66":14189,"107":206,"83":41984,"24":25,"16":21791036267298816,"45":1713338213859616768},"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-19 17:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193319680001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:05:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 17:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21791036267298816,"km_value":21791036267298.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713338213859616768,"description":"Unknown IO ID 45"} 
[2026-09-19 17:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193319680001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1713338213859616768}} 
[2026-09-19 17:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:05:50] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:05:50] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:06:09] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:09] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:09] local.INFO: IMEI packet received {"connection_id":186936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":186936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:06:14] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:14] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:06:14] local.INFO: IMEI packet received {"connection_id":186936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":186936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:06:15] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:06:15] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b96f0198012d34c14006aa41400008010e29..."} 
[2026-09-19 17:06:15] local.INFO: Packet analysis {"connection_id":186936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:06:15] local.INFO: Extracted packet for processing {"connection_id":186936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b96f"} 
[2026-09-19 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193191424001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06: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-19 17:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817455000,"timestamp_ms":1789817455000,"timestamp_seconds":1789817455,"priority":1,"record_length":96,"hex_timestamp":"000001a0b96f0198"} 
[2026-09-19 17:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:06:15] 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-19 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:06: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-19 17:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:06: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-19 17:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193191424001,"66":25680,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193191424001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193191424001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":186936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:06:15] local.INFO: GPS data processed {"connection_id":186936,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:06:15] local.INFO: Acknowledgment sent {"connection_id":186936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:06:21] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9728408012d17eb40072172100046002328..."} 
[2026-09-19 17:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9728408012d17eb40072172100046002328..."} 
[2026-09-19 17:06:21] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9728408012d17eb40072172100046002328..."} 
[2026-09-19 17:06:21] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b972"} 
[2026-09-19 17:06:21] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b972"} 
[2026-09-19 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756542272,"raw_latitude":119632400,"longitude_deg":75.6542272,"latitude_deg":11.96324,"altitude":70,"angle":35,"satellites":40,"speed":32,"hex_longitude":"2d17eb40","hex_latitude":"07217210","is_valid_coordinates":true} 
[2026-09-19 17:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193324032001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21791482943897600,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718334394698215424,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:21] local.INFO: IO Element Parsed {"io_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-19 17:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789817685000,"timestamp_ms":1789817685000,"timestamp_seconds":1789817685,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9728408"} 
[2026-09-19 17:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-19 17:06:21] 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-19 17:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193324032001,"66":14157,"105":206,"83":41984,"24":32,"16":21791482943897600,"45":1718334394698215424},"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-19 17:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193324032001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:06:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 17:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21791482943897600,"km_value":21791482943897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718334394698215424,"description":"Unknown IO ID 45"} 
[2026-09-19 17:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193324032001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1718334394698215424}} 
[2026-09-19 17:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:06:21] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:06:21] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:06:43] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:43] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:43] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:06:46] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:06:46] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:46] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:06:47] local.INFO: TCP Data received {"connection_id":186936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:06:47] local.INFO: Processing buffer {"connection_id":186936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:06:47] local.INFO: Packet analysis {"connection_id":186936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:06:47] local.INFO: Extracted packet for processing {"connection_id":186936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17: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-19 17:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:06: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-19 17: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-19 17: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-19 17:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:06:47] 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-19 17:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:06:47] local.INFO: GPS data processed {"connection_id":186936,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:06:47] local.INFO: Acknowledgment sent {"connection_id":186936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:06:47] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:47] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:06:47] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:07:14] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:14] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:14] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:07:19] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:19] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:07:19] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:07:20] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:20] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:20] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:07:20] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:07:20] 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-19 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:07:20] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:07:20] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:07:26] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:26] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:07:26] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:07:26] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:07:26] 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-19 17:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:07:26] 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-19 17:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:07:26] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:07:26] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:08:09] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:09] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:09] local.INFO: IMEI packet received {"connection_id":187066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":187066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:08:14] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:14] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:08:14] local.INFO: IMEI packet received {"connection_id":187066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":187066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:08:16] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:16] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:16] local.INFO: Packet analysis {"connection_id":187066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:16] local.INFO: Extracted packet for processing {"connection_id":187066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08: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-19 17:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08: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-19 17:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":187066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:08:16] local.INFO: GPS data processed {"connection_id":187066,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:08:16] local.INFO: Acknowledgment sent {"connection_id":187066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:08:22] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:22] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:22] local.INFO: Packet analysis {"connection_id":187066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:22] local.INFO: Extracted packet for processing {"connection_id":187066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:08:22] 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-19 17:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:08:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":187066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:08:22] local.INFO: GPS data processed {"connection_id":187066,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:08:22] local.INFO: Acknowledgment sent {"connection_id":187066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:08:33] local.INFO: TCP Data received {"connection_id":189669,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:33] local.INFO: Processing buffer {"connection_id":189669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:33] local.INFO: IMEI packet received {"connection_id":189669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":189669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:08:35] local.INFO: TCP Data received {"connection_id":189669,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:35] local.INFO: Processing buffer {"connection_id":189669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:08:35] local.INFO: IMEI packet received {"connection_id":189669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":189669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:08:36] local.INFO: TCP Data received {"connection_id":189669,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9749f18012c5f31400884f7b0001101392a..."} 
[2026-09-19 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9749f18012c5f31400884f7b0001101392a..."} 
[2026-09-19 17:08:36] local.INFO: Processing buffer {"connection_id":189669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9749f18012c5f31400884f7b0001101392a..."} 
[2026-09-19 17:08:36] local.INFO: Packet analysis {"connection_id":189669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:08:36] local.INFO: Extracted packet for processing {"connection_id":189669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":744436032,"raw_latitude":142931888,"longitude_deg":74.4436032,"latitude_deg":14.2931888,"altitude":17,"angle":313,"satellites":42,"speed":26,"hex_longitude":"2c5f3140","hex_latitude":"0884f7b0","is_valid_coordinates":true} 
[2026-09-19 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193358848001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1039936136413184,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6866863568422088704,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789817823000,"timestamp_ms":1789817823000,"timestamp_seconds":1789817823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9749f18"} 
[2026-09-19 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 17:08:36] 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-19 17:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":189669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":189669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":189669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193358848001,"66":28256,"120":206,"195":22272,"24":26,"16":1039936136413184,"44":6866863568422088704},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,195,24,16,44]} 
[2026-09-19 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193358848001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:08:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-19 17:08:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-19 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1039936136413184,"km_value":1039936136413.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":6866863568422088704,"description":"Unknown IO ID 44"} 
[2026-09-19 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193358848001,"power":28256,"unknown_120":206,"unknown_195":22272,"ignition":26,"odometer":null,"unknown_44":6866863568422088704}} 
[2026-09-19 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":189669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:08:36] local.INFO: GPS data processed {"connection_id":189669,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:08:36] local.INFO: Acknowledgment sent {"connection_id":189669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:08:39] local.INFO: TCP Data received {"connection_id":189669,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b974d1e0012c5f15c008851150001101382b..."} 
[2026-09-19 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b974d1e0012c5f15c008851150001101382b..."} 
[2026-09-19 17:08:39] local.INFO: Processing buffer {"connection_id":189669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b974d1e0012c5f15c008851150001101382b..."} 
[2026-09-19 17:08:39] local.INFO: Packet analysis {"connection_id":189669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:08:39] local.INFO: Extracted packet for processing {"connection_id":189669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:08:39] local.INFO: GPS Element Parsed {"raw_longitude":744428992,"raw_latitude":142938448,"longitude_deg":74.4428992,"latitude_deg":14.2938448,"altitude":17,"angle":312,"satellites":43,"speed":31,"hex_longitude":"2c5f15c0","hex_latitude":"08851150","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193362688001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1040395697913856,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6859334112796717056,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789817836000,"timestamp_ms":1789817836000,"timestamp_seconds":1789817836,"priority":1,"record_length":96,"hex_timestamp":"000001a0b974d1e0"} 
[2026-09-19 17: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-19 17:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 17:08:39] 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-19 17: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-19 17: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-19 17:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193362688001,"66":28343,"120":206,"195":22272,"24":31,"16":1040395697913856,"44":6859334112796717056},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,195,24,16,44]} 
[2026-09-19 17:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193362688001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:08:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-19 17:08:39] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-19 17:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1040395697913856,"km_value":1040395697913.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":6859334112796717056,"description":"Unknown IO ID 44"} 
[2026-09-19 17:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193362688001,"power":28343,"unknown_120":206,"unknown_195":22272,"ignition":31,"odometer":null,"unknown_44":6859334112796717056}} 
[2026-09-19 17:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":189669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:08:39] local.INFO: GPS data processed {"connection_id":189669,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:08:39] local.INFO: Acknowledgment sent {"connection_id":189669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:08:54] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:54] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:08:54] local.INFO: Packet analysis {"connection_id":187066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:54] local.INFO: Extracted packet for processing {"connection_id":187066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:08:54] 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-19 17:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":187066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:08:54] local.INFO: GPS data processed {"connection_id":187066,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:08:54] local.INFO: Acknowledgment sent {"connection_id":187066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:09:08] local.INFO: TCP Data received {"connection_id":187067,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:08] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:08] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:09:09] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:09] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:09] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:09:11] local.INFO: TCP Data received {"connection_id":187067,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:11] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:09:11] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:09:14] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:14] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:09:14] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:09:15] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:15] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:15] local.INFO: Packet analysis {"connection_id":188368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:09:15] local.INFO: Extracted packet for processing {"connection_id":188368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09: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-19 17:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:09:15] 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-19 17:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:09:15] 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-19 17:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":188368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:09:15] local.INFO: GPS data processed {"connection_id":188368,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:09:15] local.INFO: Acknowledgment sent {"connection_id":188368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:09:16] local.INFO: TCP Data received {"connection_id":187067,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b974f120012c5eff4008852280000f012c2b..."} 
[2026-09-19 17:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b974f120012c5eff4008852280000f012c2b..."} 
[2026-09-19 17:09:16] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b974f120012c5eff4008852280000f012c2b..."} 
[2026-09-19 17:09:16] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:09:16] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b974"} 
[2026-09-19 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":744423232,"raw_latitude":142942848,"longitude_deg":74.4423232,"latitude_deg":14.2942848,"altitude":15,"angle":300,"satellites":43,"speed":39,"hex_longitude":"2c5eff40","hex_latitude":"08852280","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193366016001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1040739295297536,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6851593550938853376,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:16] 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-19 17:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789817844000,"timestamp_ms":1789817844000,"timestamp_seconds":1789817844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b974f120"} 
[2026-09-19 17: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-19 17:09: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-19 17: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":183,"data_length":795,"current_offset":136} 
[2026-09-19 17:09:16] 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-19 17: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-19 17: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-19 17:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193366016001,"66":28332,"41":206,"9":56064,"24":39,"16":1040739295297536,"44":6851593550938853376},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-19 17:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193366016001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:09:16] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-19 17:09:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1040739295297536,"km_value":1040739295297.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6851593550938853376,"description":"Unknown IO ID 44"} 
[2026-09-19 17:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193366016001,"power":28332,"unknown_41":206,"unknown_9":56064,"ignition":39,"odometer":null,"unknown_44":6851593550938853376}} 
[2026-09-19 17:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:09:16] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:09:16] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:09:27] local.INFO: TCP Data received {"connection_id":187067,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97504a8012c5eecc008852ab0000e01202b..."} 
[2026-09-19 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97504a8012c5eecc008852ab0000e01202b..."} 
[2026-09-19 17:09:27] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97504a8012c5eecc008852ab0000e01202b..."} 
[2026-09-19 17:09:27] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b975"} 
[2026-09-19 17:09:27] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b975"} 
[2026-09-19 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":744418496,"raw_latitude":142944944,"longitude_deg":74.4418496,"latitude_deg":14.2944944,"altitude":14,"angle":288,"satellites":43,"speed":41,"hex_longitude":"2c5eecc0","hex_latitude":"08852ab0","is_valid_coordinates":true} 
[2026-09-19 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193368064001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1040984108433408,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6845260363963990016,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:27] 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-19 17:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789817849000,"timestamp_ms":1789817849000,"timestamp_seconds":1789817849,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97504a8"} 
[2026-09-19 17:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 17:09:27] 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-19 17:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193368064001,"66":28376,"41":206,"9":56064,"24":41,"16":1040984108433408,"44":6845260363963990016},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-19 17:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193368064001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:09:27] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-19 17:09:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1040984108433408,"km_value":1040984108433.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":6845260363963990016,"description":"Unknown IO ID 44"} 
[2026-09-19 17:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193368064001,"power":28376,"unknown_41":206,"unknown_9":56064,"ignition":41,"odometer":null,"unknown_44":6845260363963990016}} 
[2026-09-19 17:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:09:27] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:09:27] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:09:46] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:46] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:09:46] local.INFO: Packet analysis {"connection_id":188368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:09:46] local.INFO: Extracted packet for processing {"connection_id":188368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:09: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-19 17:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17: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-19 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:09: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-19 17:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":188368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:09:46] local.INFO: GPS data processed {"connection_id":188368,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:09:46] local.INFO: Acknowledgment sent {"connection_id":188368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:10:07] local.INFO: TCP Data received {"connection_id":189670,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:07] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:07] local.INFO: IMEI packet received {"connection_id":189670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":189670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:10:08] local.INFO: TCP Data received {"connection_id":189670,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:08] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:08] local.INFO: IMEI packet received {"connection_id":189670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":189670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:10:09] local.INFO: TCP Data received {"connection_id":189671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:09] local.INFO: Processing buffer {"connection_id":189671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:09] local.INFO: IMEI packet received {"connection_id":189671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":189671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:10:14] local.INFO: TCP Data received {"connection_id":189671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:14] local.INFO: Processing buffer {"connection_id":189671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:10:14] local.INFO: IMEI packet received {"connection_id":189671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":189671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:10:14] local.INFO: TCP Data received {"connection_id":189670,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:14] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:10:14] local.INFO: IMEI packet received {"connection_id":189670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":189670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:10:15] local.INFO: TCP Data received {"connection_id":189671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:15] local.INFO: Processing buffer {"connection_id":189671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:15] local.INFO: Packet analysis {"connection_id":189671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:10:15] local.INFO: Extracted packet for processing {"connection_id":189671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10: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-19 17:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17: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-19 17:10:15] 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-19 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:10: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-19 17: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-19 17: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-19 17:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:10: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-19 17:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":189671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:10:15] local.INFO: GPS data processed {"connection_id":189671,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:10:15] local.INFO: Acknowledgment sent {"connection_id":189671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:10:17] local.INFO: TCP Data received {"connection_id":189670,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9766c08012c5dc140088687700007015b2c..."} 
[2026-09-19 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9766c08012c5dc140088687700007015b2c..."} 
[2026-09-19 17:10:17] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9766c08012c5dc140088687700007015b2c..."} 
[2026-09-19 17:10:17] local.INFO: Packet analysis {"connection_id":189670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:10:17] local.INFO: Extracted packet for processing {"connection_id":189670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":744341824,"raw_latitude":143034224,"longitude_deg":74.4341824,"latitude_deg":14.3034224,"altitude":7,"angle":347,"satellites":44,"speed":57,"hex_longitude":"2c5dc140","hex_latitude":"08868770","is_valid_coordinates":true} 
[2026-09-19 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193391104001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1047181746241536,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6758143858692923392,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:17] 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-19 17:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789817941000,"timestamp_ms":1789817941000,"timestamp_seconds":1789817941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9766c08"} 
[2026-09-19 17:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:10: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-19 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 17:10:17] 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-19 17:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193391104001,"66":28354,"33":206,"9":56064,"24":57,"16":1047181746241536,"44":6758143858692923392},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-19 17:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193391104001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:10:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-19 17:10:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1047181746241536,"km_value":1047181746241.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":6758143858692923392,"description":"Unknown IO ID 44"} 
[2026-09-19 17:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193391104001,"power":28354,"unknown_33":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":6758143858692923392}} 
[2026-09-19 17:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":189670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:10:17] local.INFO: GPS data processed {"connection_id":189670,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:10:17] local.INFO: Acknowledgment sent {"connection_id":189670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:10:47] local.INFO: TCP Data received {"connection_id":189671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:47] local.INFO: Processing buffer {"connection_id":189671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:10:47] local.INFO: Packet analysis {"connection_id":189671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:10:47] local.INFO: Extracted packet for processing {"connection_id":189671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10: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-19 17:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17: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-19 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:10: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-19 17: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-19 17: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-19 17:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:10: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-19 17:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":189671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:10:47] local.INFO: GPS data processed {"connection_id":189671,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:10:47] local.INFO: Acknowledgment sent {"connection_id":189671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:10:48] local.INFO: TCP Data received {"connection_id":189670,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9768760012c5db6400886acc0000601522c..."} 
[2026-09-19 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9768760012c5db6400886acc0000601522c..."} 
[2026-09-19 17:10:48] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9768760012c5db6400886acc0000601522c..."} 
[2026-09-19 17:10:48] local.INFO: Packet analysis {"connection_id":189670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:10:48] local.INFO: Extracted packet for processing {"connection_id":189670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:10:48] local.INFO: GPS Element Parsed {"raw_longitude":744339008,"raw_latitude":143043776,"longitude_deg":74.4339008,"latitude_deg":14.3043776,"altitude":6,"angle":338,"satellites":44,"speed":56,"hex_longitude":"2c5db640","hex_latitude":"0886acc0","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193392896001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1047662782578688,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6755751321393393664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:10:48] 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-19 17:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789817948000,"timestamp_ms":1789817948000,"timestamp_seconds":1789817948,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9768760"} 
[2026-09-19 17: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-19 17:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 17:10:48] 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-19 17: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-19 17: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-19 17:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193392896001,"66":28354,"33":206,"9":56064,"24":56,"16":1047662782578688,"44":6755751321393393664},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-19 17:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193392896001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:10:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-19 17:10:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1047662782578688,"km_value":1047662782578.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":6755751321393393664,"description":"Unknown IO ID 44"} 
[2026-09-19 17:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193392896001,"power":28354,"unknown_33":206,"unknown_9":56064,"ignition":56,"odometer":null,"unknown_44":6755751321393393664}} 
[2026-09-19 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":189670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:10:49] local.INFO: GPS data processed {"connection_id":189670,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:10:49] local.INFO: Acknowledgment sent {"connection_id":189670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:11:08] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:08] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:08] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:11:09] local.INFO: TCP Data received {"connection_id":187068,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:09] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:09] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:11:10] local.INFO: TCP Data received {"connection_id":187068,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:10] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:10] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:11:14] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:14] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:11:14] local.INFO: IMEI packet received {"connection_id":186938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":186938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:11:15] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:11:15] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9739960012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:11:15] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:11:15] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b973"} 
[2026-09-19 17:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193268480001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789817756000,"timestamp_ms":1789817756000,"timestamp_seconds":1789817756,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9739960"} 
[2026-09-19 17: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-19 17:11:15] 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-19 17: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":80,"data_length":795,"current_offset":136} 
[2026-09-19 17:11: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-19 17: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-19 17: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-19 17:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17: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-19 17:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193268480001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193268480001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193268480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:11:15] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:11:15] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:11:16] local.INFO: TCP Data received {"connection_id":187068,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:16] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:11:16] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:11:17] local.INFO: TCP Data received {"connection_id":187068,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b976a2b8012c5da4800886cfd00005014a2a..."} 
[2026-09-19 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b976a2b8012c5da4800886cfd00005014a2a..."} 
[2026-09-19 17:11:17] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b976a2b8012c5da4800886cfd00005014a2a..."} 
[2026-09-19 17:11:17] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:11:17] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b976"} 
[2026-09-19 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":744334464,"raw_latitude":143052752,"longitude_deg":74.4334464,"latitude_deg":14.3052752,"altitude":5,"angle":330,"satellites":42,"speed":55,"hex_longitude":"2c5da480","hex_latitude":"0886cfd0","is_valid_coordinates":true} 
[2026-09-19 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193394688001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1048148113883136,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6752655096652021760,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:17] 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-19 17:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789817955000,"timestamp_ms":1789817955000,"timestamp_seconds":1789817955,"priority":1,"record_length":96,"hex_timestamp":"000001a0b976a2b8"} 
[2026-09-19 17:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:11: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-19 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 17:11:17] 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-19 17:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193394688001,"66":28452,"33":206,"9":56064,"24":55,"16":1048148113883136,"44":6752655096652021760},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-19 17:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193394688001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:11:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-19 17:11:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1048148113883136,"km_value":1048148113883.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":6752655096652021760,"description":"Unknown IO ID 44"} 
[2026-09-19 17:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193394688001,"power":28452,"unknown_33":206,"unknown_9":56064,"ignition":55,"odometer":null,"unknown_44":6752655096652021760}} 
[2026-09-19 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:11:18] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:11:18] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:11:47] local.INFO: TCP Data received {"connection_id":186938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:11:47] local.INFO: Processing buffer {"connection_id":186938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:11:47] local.INFO: Packet analysis {"connection_id":186938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:47] local.INFO: Extracted packet for processing {"connection_id":186938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17: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-19 17:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:11:47] 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-19 17:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":186938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:11:47] local.INFO: GPS data processed {"connection_id":186938,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:11:47] local.INFO: Acknowledgment sent {"connection_id":186938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:11:51] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:11:51] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:11:51] local.INFO: IMEI packet received {"connection_id":187069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":187069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:11:51] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9782d40012d18d8400720fdc8003e008e28..."} 
[2026-09-19 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9782d40012d18d8400720fdc8003e008e28..."} 
[2026-09-19 17:11:51] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9782d40012d18d8400720fdc8003e008e28..."} 
[2026-09-19 17:11:51] local.INFO: Packet analysis {"connection_id":187069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:51] local.INFO: Extracted packet for processing {"connection_id":187069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602632,"longitude_deg":75.6602944,"latitude_deg":11.9602632,"altitude":62,"angle":142,"satellites":40,"speed":27,"hex_longitude":"2d18d840","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-09-19 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193421824001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21799029201436672,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056562176,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:51] local.INFO: IO Element Parsed {"io_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-19 17:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818056000,"timestamp_ms":1789818056000,"timestamp_seconds":1789818056,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9782d40"} 
[2026-09-19 17:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 17:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193421824001,"66":11700,"103":206,"83":41984,"24":27,"16":21799029201436672,"45":1789477195056562176},"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-19 17:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193421824001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:11:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21799029201436672,"km_value":21799029201436.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056562176,"description":"Unknown IO ID 45"} 
[2026-09-19 17:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193421824001,"power":11700,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1789477195056562176}} 
[2026-09-19 17:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":187069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:11:51] local.INFO: GPS data processed {"connection_id":187069,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:11:51] local.INFO: Acknowledgment sent {"connection_id":187069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:11:52] local.INFO: TCP Data received {"connection_id":187068,"ip":"117.224.171.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9781da0012c5cbb400888a380000200012c..."} 
[2026-09-19 17:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9781da0012c5cbb400888a380000200012c..."} 
[2026-09-19 17:11:52] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9781da0012c5cbb400888a380000200012c..."} 
[2026-09-19 17:11:52] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:52] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":744274752,"raw_latitude":143172480,"longitude_deg":74.4274752,"latitude_deg":14.317248,"altitude":2,"angle":1,"satellites":44,"speed":56,"hex_longitude":"2c5cbb40","hex_latitude":"0888a380","is_valid_coordinates":true} 
[2026-09-19 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193419520001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1054702233976832,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6681864140039688192,"note":"Value kept but may cause issues"} 
[2026-09-19 17:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789818052000,"timestamp_ms":1789818052000,"timestamp_seconds":1789818052,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9781da0"} 
[2026-09-19 17:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 17:11:52] 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-19 17:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.171.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193419520001,"66":28354,"31":206,"9":56064,"24":56,"16":1054702233976832,"44":6681864140039688192},"client_ip":"117.224.171.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,9,24,16,44]} 
[2026-09-19 17:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193419520001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:11:52] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-19 17:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1054702233976832,"km_value":1054702233976.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6681864140039688192,"description":"Unknown IO ID 44"} 
[2026-09-19 17:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193419520001,"power":28354,"unknown_31":206,"unknown_9":56064,"ignition":56,"odometer":null,"unknown_44":6681864140039688192}} 
[2026-09-19 17:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:11:52] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:11:52] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:12:08] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:08] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:08] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:12:14] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:14] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:12:14] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:12:15] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:15] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:15] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:15] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12: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-19 17:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17: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-19 17:12:15] 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-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:12: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-19 17:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:12:15] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:12:15] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:12:22] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783510012d18dc000720fa28003e008225..."} 
[2026-09-19 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783510012d18dc000720fa28003e008225..."} 
[2026-09-19 17:12:22] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783510012d18dc000720fa28003e008225..."} 
[2026-09-19 17:12:22] local.INFO: Packet analysis {"connection_id":187069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:22] local.INFO: Extracted packet for processing {"connection_id":187069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601704,"longitude_deg":75.6603904,"latitude_deg":11.9601704,"altitude":62,"angle":130,"satellites":37,"speed":26,"hex_longitude":"2d18dc00","hex_latitude":"0720fa28","is_valid_coordinates":true} 
[2026-09-19 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422336001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21799093625946112,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251242223616,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:22] local.INFO: IO Element Parsed {"io_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-19 17:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789818058000,"timestamp_ms":1789818058000,"timestamp_seconds":1789818058,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783510"} 
[2026-09-19 17:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422336001,"66":13624,"103":206,"83":41984,"24":26,"16":21799093625946112,"45":1790251251242223616},"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-19 17:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422336001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:12:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21799093625946112,"km_value":21799093625946.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251242223616,"description":"Unknown IO ID 45"} 
[2026-09-19 17:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422336001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1790251251242223616}} 
[2026-09-19 17:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":187069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:12:22] local.INFO: GPS data processed {"connection_id":187069,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:12:22] local.INFO: Acknowledgment sent {"connection_id":187069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:12:44] local.INFO: TCP Data received {"connection_id":186939,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:12:44] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:12:44] local.INFO: IMEI packet received {"connection_id":186939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":186939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:12:46] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:46] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:46] local.INFO: IMEI packet received {"connection_id":189672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":189672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:12:47] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:47] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:12:47] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:47] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12: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-19 17:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17: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-19 17:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:12: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-19 17:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:12:47] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:12:47] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:12:49] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:49] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:12:49] local.INFO: IMEI packet received {"connection_id":189672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":189672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:12:49] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9790fd0012d19594007209fe8002800ef27..."} 
[2026-09-19 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9790fd0012d19594007209fe8002800ef27..."} 
[2026-09-19 17:12:49] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9790fd0012d19594007209fe8002800ef27..."} 
[2026-09-19 17:12:49] local.INFO: Packet analysis {"connection_id":189672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:12:49] local.INFO: Extracted packet for processing {"connection_id":189672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756635968,"raw_latitude":119578600,"longitude_deg":75.6635968,"latitude_deg":11.95786,"altitude":40,"angle":239,"satellites":39,"speed":14,"hex_longitude":"2d195940","hex_latitude":"07209fe8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193436928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21801159505215488,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366952685568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:12:49] local.INFO: IO Element Parsed {"io_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-19 17:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789818114000,"timestamp_ms":1789818114000,"timestamp_seconds":1789818114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9790fd0"} 
[2026-09-19 17: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-19 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 17:12:49] 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-19 17: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-19 17: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-19 17:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193436928001,"66":14254,"103":206,"83":41984,"24":14,"16":21801159505215488,"45":1826913366952685568},"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-19 17:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193436928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:12:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21801159505215488,"km_value":21801159505215.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366952685568,"description":"Unknown IO ID 45"} 
[2026-09-19 17:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193436928001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1826913366952685568}} 
[2026-09-19 17:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":189672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:12:50] local.INFO: GPS data processed {"connection_id":189672,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:12:50] local.INFO: Acknowledgment sent {"connection_id":189672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:13:01] local.INFO: TCP Data received {"connection_id":186939,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: IMEI packet received {"connection_id":186939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":186939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:13:01] local.INFO: TCP Data received {"connection_id":186939,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: Processing buffer {"connection_id":186939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:01] local.INFO: IMEI packet received {"connection_id":186939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":186939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:13:13] local.INFO: TCP Data received {"connection_id":189673,"ip":"117.224.171.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:13] local.INFO: Processing buffer {"connection_id":189673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:13:13] local.INFO: IMEI packet received {"connection_id":189673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":189673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:13:14] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:14] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:14] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:13:19] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:19] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:13:19] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:13:20] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:20] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:20] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:13:20] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:13: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-19 17:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:13: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-19 17:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:13:20] 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-19 17:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:13:20] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:13:20] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:13:21] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97913b8012d1957c007209f90002700fe27..."} 
[2026-09-19 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97913b8012d1957c007209f90002700fe27..."} 
[2026-09-19 17:13:21] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97913b8012d1957c007209f90002700fe27..."} 
[2026-09-19 17:13:21] local.INFO: Packet analysis {"connection_id":189672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:13:21] local.INFO: Extracted packet for processing {"connection_id":189672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756635584,"raw_latitude":119578512,"longitude_deg":75.6635584,"latitude_deg":11.9578512,"altitude":39,"angle":254,"satellites":39,"speed":14,"hex_longitude":"2d1957c0","hex_latitude":"07209f90","is_valid_coordinates":true} 
[2026-09-19 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193437184001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21801176685084672,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826561523231746048,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:21] local.INFO: IO Element Parsed {"io_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-19 17:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789818115000,"timestamp_ms":1789818115000,"timestamp_seconds":1789818115,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97913b8"} 
[2026-09-19 17:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-19 17:13:21] 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-19 17:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193437184001,"66":14265,"103":206,"83":41984,"24":14,"16":21801176685084672,"45":1826561523231746048},"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-19 17:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193437184001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:13:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21801176685084672,"km_value":21801176685084.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826561523231746048,"description":"Unknown IO ID 45"} 
[2026-09-19 17:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193437184001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1826561523231746048}} 
[2026-09-19 17:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":189672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:13:21] local.INFO: GPS data processed {"connection_id":189672,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:13:21] local.INFO: Acknowledgment sent {"connection_id":189672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:13:45] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:45] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:45] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:13:47] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:47] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:47] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:13:51] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:51] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:13:51] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:13:51] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b979ded8012d196bc007206708002500a929..."} 
[2026-09-19 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b979ded8012d196bc007206708002500a929..."} 
[2026-09-19 17:13:51] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b979ded8012d196bc007206708002500a929..."} 
[2026-09-19 17:13:51] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:13:51] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119564040,"longitude_deg":75.6640704,"latitude_deg":11.956404,"altitude":37,"angle":169,"satellites":41,"speed":8,"hex_longitude":"2d196bc0","hex_latitude":"07206708","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193450752001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802039973511168,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810297165824,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:51] local.INFO: IO Element Parsed {"io_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-19 17:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818167000,"timestamp_ms":1789818167000,"timestamp_seconds":1789818167,"priority":1,"record_length":96,"hex_timestamp":"000001a0b979ded8"} 
[2026-09-19 17: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-19 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 17:13:51] 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-19 17: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-19 17: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-19 17:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193450752001,"66":14070,"103":206,"83":41984,"24":8,"16":21802039973511168,"45":1831768810297165824},"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-19 17:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193450752001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:13:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802039973511168,"km_value":21802039973511.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810297165824,"description":"Unknown IO ID 45"} 
[2026-09-19 17:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193450752001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831768810297165824}} 
[2026-09-19 17:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:13:51] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:13:51] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:13:52] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:52] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:13:52] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:13:52] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:13: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-19 17:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:13:52] 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-19 17:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:13:52] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:13:52] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:14:10] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:10] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:10] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:14:14] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:14] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:14:14] local.INFO: IMEI packet received {"connection_id":186940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:14:15] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:15] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:15] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:14:15] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17: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-19 17:14:15] 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-19 17:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:14: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-19 17:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:14:15] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:14:15] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:14:23] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b979e6a8012d196c0007206520002400b828..."} 
[2026-09-19 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b979e6a8012d196c0007206520002400b828..."} 
[2026-09-19 17:14:23] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b979e6a8012d196c0007206520002400b828..."} 
[2026-09-19 17:14:23] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:14:23] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119563552,"longitude_deg":75.6640768,"latitude_deg":11.9563552,"altitude":36,"angle":184,"satellites":40,"speed":12,"hex_longitude":"2d196c00","hex_latitude":"07206520","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193450752001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802065743314944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810297165824,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:23] local.INFO: IO Element Parsed {"io_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-19 17:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789818169000,"timestamp_ms":1789818169000,"timestamp_seconds":1789818169,"priority":1,"record_length":96,"hex_timestamp":"000001a0b979e6a8"} 
[2026-09-19 17: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-19 17:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 17:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193450752001,"66":14233,"103":206,"83":41984,"24":12,"16":21802065743314944,"45":1831768810297165824},"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-19 17:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193450752001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:14:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802065743314944,"km_value":21802065743314.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810297165824,"description":"Unknown IO ID 45"} 
[2026-09-19 17:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193450752001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1831768810297165824}} 
[2026-09-19 17:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:14:23] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:14:23] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:14:45] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:45] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:45] local.INFO: IMEI packet received {"connection_id":187070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":187070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:14:46] local.INFO: TCP Data received {"connection_id":186940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:46] local.INFO: Processing buffer {"connection_id":186940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:14:46] local.INFO: Packet analysis {"connection_id":186940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:14:46] local.INFO: Extracted packet for processing {"connection_id":186940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17: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-19 17:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:14:46] 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-19 17: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-19 17: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-19 17:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:14: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-19 17:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:14:47] local.INFO: GPS data processed {"connection_id":186940,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:14:47] local.INFO: Acknowledgment sent {"connection_id":186940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:14:51] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:51] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:14:51] local.INFO: IMEI packet received {"connection_id":187070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":187070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:14:51] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b979f648012d196c4007205dd0002400ac26..."} 
[2026-09-19 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b979f648012d196c4007205dd0002400ac26..."} 
[2026-09-19 17:14:51] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b979f648012d196c4007205dd0002400ac26..."} 
[2026-09-19 17:14:51] local.INFO: Packet analysis {"connection_id":187070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:14:51] local.INFO: Extracted packet for processing {"connection_id":187070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b979"} 
[2026-09-19 17:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119561680,"longitude_deg":75.6640832,"latitude_deg":11.956168,"altitude":36,"angle":172,"satellites":38,"speed":14,"hex_longitude":"2d196c40","hex_latitude":"07205dd0","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193451264001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802155937628160,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179041218560,"note":"Value kept but may cause issues"} 
[2026-09-19 17:14:51] local.INFO: IO Element Parsed {"io_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-19 17:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818173000,"timestamp_ms":1789818173000,"timestamp_seconds":1789818173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b979f648"} 
[2026-09-19 17: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-19 17:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 17:14:51] 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-19 17: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-19 17: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-19 17:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193451264001,"66":14102,"103":206,"83":41984,"24":14,"16":21802155937628160,"45":1831839179041218560},"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-19 17:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193451264001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:14:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802155937628160,"km_value":21802155937628.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179041218560,"description":"Unknown IO ID 45"} 
[2026-09-19 17:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193451264001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1831839179041218560}} 
[2026-09-19 17:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":187070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:14:52] local.INFO: GPS data processed {"connection_id":187070,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:14:52] local.INFO: Acknowledgment sent {"connection_id":187070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:15:09] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:09] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:09] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:15:14] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:14] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:15:14] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:15:15] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:15] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:15] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:15:15] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15: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-19 17:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:15:15] 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-19 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:15: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-19 17:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:15:15] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:15:15] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:15:23] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97a34c8012d196e80072041d0002500ba26..."} 
[2026-09-19 17:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97a34c8012d196e80072041d0002500ba26..."} 
[2026-09-19 17:15:23] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97a34c8012d196e80072041d0002500ba26..."} 
[2026-09-19 17:15:23] local.INFO: Packet analysis {"connection_id":187070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97a"} 
[2026-09-19 17:15:23] local.INFO: Extracted packet for processing {"connection_id":187070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97a"} 
[2026-09-19 17:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119554512,"longitude_deg":75.6641408,"latitude_deg":11.9554512,"altitude":37,"angle":186,"satellites":38,"speed":17,"hex_longitude":"2d196e80","hex_latitude":"072041d0","is_valid_coordinates":true} 
[2026-09-19 17:15: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-19 17:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193452288001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802503829979136,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547784916992,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:23] local.INFO: IO Element Parsed {"io_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-19 17:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789818189000,"timestamp_ms":1789818189000,"timestamp_seconds":1789818189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97a34c8"} 
[2026-09-19 17:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 17:15:23] 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-19 17:15: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-19 17:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193452288001,"66":13298,"103":206,"83":41984,"24":17,"16":21802503829979136,"45":1831909547784916992},"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-19 17:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193452288001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:15:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802503829979136,"km_value":21802503829979.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547784916992,"description":"Unknown IO ID 45"} 
[2026-09-19 17:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193452288001,"power":13298,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1831909547784916992}} 
[2026-09-19 17:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":187070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:15:23] local.INFO: GPS data processed {"connection_id":187070,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:15:23] local.INFO: Acknowledgment sent {"connection_id":187070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:15:45] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:45] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:45] local.INFO: IMEI packet received {"connection_id":188376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":188376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:15:47] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:47] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:15:47] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:15:47] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15: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-19 17:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:15: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-19 17:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:15:47] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:15:47] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:15:49] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:49] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:49] local.INFO: IMEI packet received {"connection_id":188376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":188376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:15:50] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:50] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:15:50] local.INFO: IMEI packet received {"connection_id":188376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":188376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:15:51] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97bbb68012d196c40072035d00032016625..."} 
[2026-09-19 17:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97bbb68012d196c40072035d00032016625..."} 
[2026-09-19 17:15:51] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97bbb68012d196c40072035d00032016625..."} 
[2026-09-19 17:15:51] local.INFO: Packet analysis {"connection_id":188376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97b"} 
[2026-09-19 17:15:51] local.INFO: Extracted packet for processing {"connection_id":188376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97b"} 
[2026-09-19 17:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119551440,"longitude_deg":75.6640832,"latitude_deg":11.955144,"altitude":50,"angle":358,"satellites":37,"speed":7,"hex_longitude":"2d196c40","hex_latitude":"072035d0","is_valid_coordinates":true} 
[2026-09-19 17:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193481472001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802907556904960,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285270542336,"note":"Value kept but may cause issues"} 
[2026-09-19 17:15:51] local.INFO: IO Element Parsed {"io_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-19 17:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818289000,"timestamp_ms":1789818289000,"timestamp_seconds":1789818289,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97bbb68"} 
[2026-09-19 17: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-19 17:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 17:15:51] 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-19 17: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-19 17: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-19 17:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193481472001,"66":14363,"103":206,"83":41984,"24":7,"16":21802907556904960,"45":1832050285270542336},"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-19 17:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193481472001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:15:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802907556904960,"km_value":21802907556904.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285270542336,"description":"Unknown IO ID 45"} 
[2026-09-19 17:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193481472001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1832050285270542336}} 
[2026-09-19 17:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":188376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:15:52] local.INFO: GPS data processed {"connection_id":188376,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:15:52] local.INFO: Acknowledgment sent {"connection_id":188376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:08] local.INFO: TCP Data received {"connection_id":187072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:08] local.INFO: Processing buffer {"connection_id":187072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:08] local.INFO: IMEI packet received {"connection_id":187072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":187072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:16:14] local.INFO: TCP Data received {"connection_id":187072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:14] local.INFO: Processing buffer {"connection_id":187072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:16:14] local.INFO: IMEI packet received {"connection_id":187072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":187072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:16:15] local.INFO: TCP Data received {"connection_id":187072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:16:15] local.INFO: Processing buffer {"connection_id":187072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9783128012d34c14006aa41400008010e2a..."} 
[2026-09-19 17:16:15] local.INFO: Packet analysis {"connection_id":187072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:16:15] local.INFO: Extracted packet for processing {"connection_id":187072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b978"} 
[2026-09-19 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193345536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16: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-19 17:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818057000,"timestamp_ms":1789818057000,"timestamp_seconds":1789818057,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9783128"} 
[2026-09-19 17:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:16:15] 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-19 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:16: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-19 17:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193345536001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193345536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193345536001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":187072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:15] local.INFO: GPS data processed {"connection_id":187072,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:15] local.INFO: Acknowledgment sent {"connection_id":187072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:23] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97bbf50012d196cc0072036d80032000d24..."} 
[2026-09-19 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97bbf50012d196cc0072036d80032000d24..."} 
[2026-09-19 17:16:23] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97bbf50012d196cc0072036d80032000d24..."} 
[2026-09-19 17:16:23] local.INFO: Packet analysis {"connection_id":188376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97b"} 
[2026-09-19 17:16:23] local.INFO: Extracted packet for processing {"connection_id":188376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97b"} 
[2026-09-19 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119551704,"longitude_deg":75.664096,"latitude_deg":11.9551704,"altitude":50,"angle":13,"satellites":36,"speed":10,"hex_longitude":"2d196cc0","hex_latitude":"072036d8","is_valid_coordinates":true} 
[2026-09-19 17:16: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-19 17:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193481984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802920441806848,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547782295552,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:23] local.INFO: IO Element Parsed {"io_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-19 17:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789818290000,"timestamp_ms":1789818290000,"timestamp_seconds":1789818290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97bbf50"} 
[2026-09-19 17:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:16: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":27,"data_length":795,"current_offset":136} 
[2026-09-19 17:16:23] 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-19 17:16: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-19 17:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193481984001,"66":14254,"103":206,"83":41984,"24":10,"16":21802920441806848,"45":1831909547782295552},"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-19 17:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193481984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802920441806848,"km_value":21802920441806.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547782295552,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193481984001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1831909547782295552}} 
[2026-09-19 17:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":188376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:23] local.INFO: GPS data processed {"connection_id":188376,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:23] local.INFO: Acknowledgment sent {"connection_id":188376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:46] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:46] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:46] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:16:47] local.INFO: TCP Data received {"connection_id":187072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:16:47] local.INFO: Processing buffer {"connection_id":187072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:16:47] local.INFO: Packet analysis {"connection_id":187072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:16:47] local.INFO: Extracted packet for processing {"connection_id":187072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17: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-19 17:16:47] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:16: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-19 17: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-19 17: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-19 17:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:16:47] 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-19 17:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":187072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:47] local.INFO: GPS data processed {"connection_id":187072,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:47] local.INFO: Acknowledgment sent {"connection_id":187072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:51] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:16:51] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:16:51] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:16:52] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b9..."} 
[2026-09-19 17:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b9..."} 
[2026-09-19 17:16:52] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b9..."} 
[2026-09-19 17:16:52] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:16:53] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97d0388012d195c000720a7d00034016428..."} 
[2026-09-19 17:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97d0388012d195c000720a7d00034016428..."} 
[2026-09-19 17:16:53] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b97cf3e8012d195b000720a2080033000a28..."} 
[2026-09-19 17:16:53] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:16:53] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119579144,"longitude_deg":75.6636416,"latitude_deg":11.9579144,"altitude":51,"angle":10,"satellites":40,"speed":16,"hex_longitude":"2d195b00","hex_latitude":"0720a208","is_valid_coordinates":true} 
[2026-09-19 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193502208001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21804440860229632,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735696855040,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.INFO: IO Element Parsed {"io_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-19 17:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789818369000,"timestamp_ms":1789818369000,"timestamp_seconds":1789818369,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cf3e8"} 
[2026-09-19 17:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 17:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193502208001,"66":14004,"103":206,"83":41984,"24":16,"16":21804440860229632,"45":1826983735696855040},"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-19 17:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193502208001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21804440860229632,"km_value":21804440860229.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735696855040,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193502208001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1826983735696855040}} 
[2026-09-19 17:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:53] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:53] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:53] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:16:53] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119580624,"longitude_deg":75.6636672,"latitude_deg":11.9580624,"altitude":52,"angle":356,"satellites":40,"speed":7,"hex_longitude":"2d195c00","hex_latitude":"0720a7d0","is_valid_coordinates":true} 
[2026-09-19 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193502464001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21804513874673664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441128960,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:53] local.INFO: IO Element Parsed {"io_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-19 17:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789818373000,"timestamp_ms":1789818373000,"timestamp_seconds":1789818373,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97d0388"} 
[2026-09-19 17:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:16: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-19 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:16:53] 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-19 17:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193502464001,"66":14048,"103":206,"83":41984,"24":7,"16":21804513874673664,"45":1827054104441128960},"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-19 17:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193502464001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21804513874673664,"km_value":21804513874673.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441128960,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193502464001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1827054104441128960}} 
[2026-09-19 17:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:53] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:53] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:16:54] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97d0770012d195bc00720a8680033014f28..."} 
[2026-09-19 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97d0770012d195bc00720a8680033014f28..."} 
[2026-09-19 17:16:54] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97d0770012d195bc00720a8680033014f28..."} 
[2026-09-19 17:16:54] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:16:54] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119580776,"longitude_deg":75.6636608,"latitude_deg":11.9580776,"altitude":51,"angle":335,"satellites":40,"speed":6,"hex_longitude":"2d195bc0","hex_latitude":"0720a868","is_valid_coordinates":true} 
[2026-09-19 17:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193503488001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21804522464608256,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579418218496,"note":"Value kept but may cause issues"} 
[2026-09-19 17:16:54] local.INFO: IO Element Parsed {"io_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-19 17:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789818374000,"timestamp_ms":1789818374000,"timestamp_seconds":1789818374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97d0770"} 
[2026-09-19 17:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 17:16:54] 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-19 17:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193503488001,"66":14048,"103":206,"83":41984,"24":6,"16":21804522464608256,"45":1827335579418218496},"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-19 17:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193503488001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:16:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21804522464608256,"km_value":21804522464608.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579418218496,"description":"Unknown IO ID 45"} 
[2026-09-19 17:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193503488001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1827335579418218496}} 
[2026-09-19 17:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:16:54] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:16:54] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:17:09] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:09] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:09] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:17:14] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:14] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:17:14] local.INFO: IMEI packet received {"connection_id":186941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":186941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:17:15] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:15] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:15] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:17:15] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17: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-19 17:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:17:15] 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-19 17:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:17: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-19 17:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:17: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-19 17:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:17:15] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:17:15] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:17:24] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97d0b58012d195b000720a8f80034013527..."} 
[2026-09-19 17:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97d0b58012d195b000720a8f80034013527..."} 
[2026-09-19 17:17:24] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97d0b58012d195b000720a8f80034013527..."} 
[2026-09-19 17:17:24] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:24] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119580920,"longitude_deg":75.6636416,"latitude_deg":11.958092,"altitude":52,"angle":309,"satellites":39,"speed":8,"hex_longitude":"2d195b00","hex_latitude":"0720a8f8","is_valid_coordinates":true} 
[2026-09-19 17:17: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-19 17:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193503744001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21804531054542848,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210674079744,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:24] local.INFO: IO Element Parsed {"io_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-19 17:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789818375000,"timestamp_ms":1789818375000,"timestamp_seconds":1789818375,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97d0b58"} 
[2026-09-19 17:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:17: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":224,"data_length":795,"current_offset":136} 
[2026-09-19 17:17:24] 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-19 17:17: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-19 17:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17: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-19 17:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193503744001,"66":13722,"103":206,"83":41984,"24":8,"16":21804531054542848,"45":1827265210674079744},"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-19 17:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193503744001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:17:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21804531054542848,"km_value":21804531054542.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210674079744,"description":"Unknown IO ID 45"} 
[2026-09-19 17:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193503744001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1827265210674079744}} 
[2026-09-19 17:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:17:25] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:17:25] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:17:45] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:45] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:45] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:17:47] local.INFO: TCP Data received {"connection_id":186941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:47] local.INFO: Processing buffer {"connection_id":186941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:17:47] local.INFO: Packet analysis {"connection_id":186941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:17:47] local.INFO: Extracted packet for processing {"connection_id":186941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17: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-19 17:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:17:47] 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-19 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:17: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-19 17:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:17:47] 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-19 17:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":186941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:17:47] local.INFO: GPS data processed {"connection_id":186941,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:17:47] local.INFO: Acknowledgment sent {"connection_id":186941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:17:49] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:17:49] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:49] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:17:50] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:50] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:17:50] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:17:51] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97dc2f0012d18d380072108a0003a015927..."} 
[2026-09-19 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97dc2f0012d18d380072108a0003a015927..."} 
[2026-09-19 17:17:51] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97dc2f0012d18d380072108a0003a015927..."} 
[2026-09-19 17:17:51] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:51] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119605408,"longitude_deg":75.6601728,"latitude_deg":11.9605408,"altitude":58,"angle":345,"satellites":39,"speed":39,"hex_longitude":"2d18d380","hex_latitude":"072108a0","is_valid_coordinates":true} 
[2026-09-19 17:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193515520001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21806661358321664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800676352,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:51] local.INFO: IO Element Parsed {"io_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-19 17:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818422000,"timestamp_ms":1789818422000,"timestamp_seconds":1789818422,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97dc2f0"} 
[2026-09-19 17:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 17:17:51] 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-19 17:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193515520001,"66":14102,"103":206,"83":41984,"24":39,"16":21806661358321664,"45":1789547563800676352},"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-19 17:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193515520001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:17:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21806661358321664,"km_value":21806661358321.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800676352,"description":"Unknown IO ID 45"} 
[2026-09-19 17:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193515520001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1789547563800676352}} 
[2026-09-19 17:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:17:51] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:17:51] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:17:56] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97dd290012d18d140072117e0003a016629..."} 
[2026-09-19 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97dd290012d18d140072117e0003a016629..."} 
[2026-09-19 17:17:56] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97dd290012d18d140072117e0003a016629..."} 
[2026-09-19 17:17:56] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:56] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119609312,"longitude_deg":75.6601152,"latitude_deg":11.9609312,"altitude":58,"angle":358,"satellites":41,"speed":39,"hex_longitude":"2d18d140","hex_latitude":"072117e0","is_valid_coordinates":true} 
[2026-09-19 17:17: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-19 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193516032001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21806854631849984,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103558656,"note":"Value kept but may cause issues"} 
[2026-09-19 17:17:56] local.INFO: IO Element Parsed {"io_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-19 17:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789818426000,"timestamp_ms":1789818426000,"timestamp_seconds":1789818426,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97dd290"} 
[2026-09-19 17:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-19 17:17:56] 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-19 17:17: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-19 17:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193516032001,"66":14080,"103":206,"83":41984,"24":39,"16":21806854631849984,"45":1788914245103558656},"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-19 17:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193516032001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:17:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21806854631849984,"km_value":21806854631849.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103558656,"description":"Unknown IO ID 45"} 
[2026-09-19 17:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193516032001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788914245103558656}} 
[2026-09-19 17:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:17:56] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:17:56] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:11] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:11] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:11] local.INFO: IMEI packet received {"connection_id":189674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":189674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:18:13] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:13] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:18:13] local.INFO: IMEI packet received {"connection_id":189674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":189674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:18:15] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:15] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:15] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:15] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18: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-19 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:18:15] 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-19 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:18: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-19 17:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18: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-19 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:15] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:15] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:20] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:20] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:20] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:20] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18:20] 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-19 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:20] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:20] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:25] local.INFO: TCP Data received {"connection_id":189675,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:25] local.INFO: Processing buffer {"connection_id":189675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:25] local.INFO: IMEI packet received {"connection_id":189675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":189675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:18:27] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97de618012d18d0c007212af8003a015927..."} 
[2026-09-19 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97de618012d18d0c007212af8003a015927..."} 
[2026-09-19 17:18:27] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97de618012d18d0c007212af8003a015927..."} 
[2026-09-19 17:18:27] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:18:27] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119614200,"longitude_deg":75.6601024,"latitude_deg":11.96142,"altitude":58,"angle":345,"satellites":39,"speed":37,"hex_longitude":"2d18d0c0","hex_latitude":"07212af8","is_valid_coordinates":true} 
[2026-09-19 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193517056001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21807090855051264,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406959104,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.INFO: IO Element Parsed {"io_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-19 17:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789818431000,"timestamp_ms":1789818431000,"timestamp_seconds":1789818431,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97de618"} 
[2026-09-19 17:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3112002864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3695706169,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 17:18:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,121,160,194,45,128,8,58,39,10,66,187,192,1,59,40,120,179,240,5,227,185,32,4,113,205,36,132,245,208,239,54,2,77,7,38],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 17:18:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179734255458779136,"timestamp_seconds":4179734255458779.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 17:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193517056001,"66":14352,"103":206,"83":41984,"24":37,"16":21807090855051264,"45":1788280926406959104},"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-19 17:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193517056001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21807090855051264,"km_value":21807090855051.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406959104,"description":"Unknown IO ID 45"} 
[2026-09-19 17:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193517056001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788280926406959104}} 
[2026-09-19 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:27] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:27] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:31] local.INFO: TCP Data received {"connection_id":189675,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:31] local.INFO: Processing buffer {"connection_id":189675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:18:31] local.INFO: IMEI packet received {"connection_id":189675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":189675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:18:34] local.INFO: TCP Data received {"connection_id":189675,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97c5f78012c5bbbc0088e65800003014a2d..."} 
[2026-09-19 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97c5f78012c5bbbc0088e65800003014a2d..."} 
[2026-09-19 17:18:34] local.INFO: Processing buffer {"connection_id":189675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97c5f78012c5bbbc0088e65800003014a2d..."} 
[2026-09-19 17:18:34] local.INFO: Packet analysis {"connection_id":189675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:34] local.INFO: Extracted packet for processing {"connection_id":189675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":744209344,"raw_latitude":143549824,"longitude_deg":74.4209344,"latitude_deg":14.3549824,"altitude":3,"angle":330,"satellites":45,"speed":53,"hex_longitude":"2c5bbbc0","hex_latitude":"088e6580","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193490944001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1073819133411328,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6615717520609804288,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789818331000,"timestamp_ms":1789818331000,"timestamp_seconds":1789818331,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97c5f78"} 
[2026-09-19 17: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-19 17: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-19 17: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:34] 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-19 17: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-19 17: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-19 17:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":189675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":189675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":189675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193490944001,"66":28452,"99":206,"9":56064,"24":53,"16":1073819133411328,"44":6615717520609804288},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193490944001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1073819133411328,"km_value":1073819133411.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":6615717520609804288,"description":"Unknown IO ID 44"} 
[2026-09-19 17:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193490944001,"power":28452,"unknown_99":206,"unknown_9":56064,"ignition":53,"odometer":null,"unknown_44":6615717520609804288}} 
[2026-09-19 17:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":189675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:34] local.INFO: GPS data processed {"connection_id":189675,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:34] local.INFO: Acknowledgment sent {"connection_id":189675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:42] local.INFO: TCP Data received {"connection_id":189675,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97c7ad0012c5ba940088e86000004014f2c..."} 
[2026-09-19 17:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97c7ad0012c5ba940088e86000004014f2c..."} 
[2026-09-19 17:18:42] local.INFO: Processing buffer {"connection_id":189675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97c7ad0012c5ba940088e86000004014f2c..."} 
[2026-09-19 17:18:42] local.INFO: Packet analysis {"connection_id":189675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:42] local.INFO: Extracted packet for processing {"connection_id":189675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:42] local.INFO: GPS Element Parsed {"raw_longitude":744204608,"raw_latitude":143558144,"longitude_deg":74.4204608,"latitude_deg":14.3558144,"altitude":4,"angle":335,"satellites":44,"speed":53,"hex_longitude":"2c5ba940","hex_latitude":"088e8600","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193492736001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1074282989879296,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6610088021077622784,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789818338000,"timestamp_ms":1789818338000,"timestamp_seconds":1789818338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97c7ad0"} 
[2026-09-19 17: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-19 17:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:42] 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-19 17: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-19 17: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-19 17:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193492736001,"66":28452,"99":206,"9":56064,"24":53,"16":1074282989879296,"44":6610088021077622784},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193492736001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:42] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:18:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1074282989879296,"km_value":1074282989879.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":6610088021077622784,"description":"Unknown IO ID 44"} 
[2026-09-19 17:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193492736001,"power":28452,"unknown_99":206,"unknown_9":56064,"ignition":53,"odometer":null,"unknown_44":6610088021077622784}} 
[2026-09-19 17:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":189675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:42] local.INFO: GPS data processed {"connection_id":189675,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:42] local.INFO: Acknowledgment sent {"connection_id":189675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:51] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:51] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:51] local.INFO: IMEI packet received {"connection_id":189676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":189676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:18:52] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:52] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:18:52] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:52] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18: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-19 17:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:18:52] 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-19 17:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:18:52] 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-19 17:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:52] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:52] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:18:53] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:53] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:18:53] local.INFO: IMEI packet received {"connection_id":189676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":189676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:18:55] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97dea00012d18cf0007212e30003b014b26..."} 
[2026-09-19 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97dea00012d18cf0007212e30003b014b26..."} 
[2026-09-19 17:18:55] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97dea00012d18cf0007212e30003b014b26..."} 
[2026-09-19 17:18:55] local.INFO: Packet analysis {"connection_id":189676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:18:55] local.INFO: Extracted packet for processing {"connection_id":189676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":119615024,"longitude_deg":75.6600576,"latitude_deg":11.9615024,"altitude":59,"angle":331,"satellites":38,"speed":37,"hex_longitude":"2d18cf00","hex_latitude":"07212e30","is_valid_coordinates":true} 
[2026-09-19 17:18: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-19 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193518336001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21807138099691520,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919855104,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.INFO: IO Element Parsed {"io_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-19 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789818432000,"timestamp_ms":1789818432000,"timestamp_seconds":1789818432,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97dea00"} 
[2026-09-19 17:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3112010864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2244481666154233866,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932359213056,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4211605563,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666223719,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751511615643847,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":56,"raw_value":15200929296950784,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2720182012116729905,"note":"Value kept but may cause issues"} 
[2026-09-19 17:18:55] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,121,160,210,45,64,23,58,41,10,66,194,128,8,39,187,192,1,240,185,227,120,32,4,113,205,37,140,72,239,52,2,77,7,57,36,206,48,56,25],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-19 17:18:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179719953217552384,"timestamp_seconds":4179719953217552.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 17:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193518336001,"66":14352,"103":206,"83":41984,"24":37,"16":21807138099691520,"45":1788140188919855104},"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-19 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193518336001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:18:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 17:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21807138099691520,"km_value":21807138099691.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919855104,"description":"Unknown IO ID 45"} 
[2026-09-19 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193518336001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788140188919855104}} 
[2026-09-19 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":189676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:18:55] local.INFO: GPS data processed {"connection_id":189676,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:18:55] local.INFO: Acknowledgment sent {"connection_id":189676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:08] local.INFO: TCP Data received {"connection_id":187074,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:08] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:08] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:19:08] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:08] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:08] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:19:14] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:14] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:19:14] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:19:15] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:15] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:15] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:15] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17: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-19 17:19:15] 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-19 17:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:19: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-19 17:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:15] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:15] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:15] local.INFO: TCP Data received {"connection_id":187074,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:15] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:19:15] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:19:17] local.INFO: TCP Data received {"connection_id":187074,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97c9628012c5b9c40088ea7000004015329..."} 
[2026-09-19 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97c9628012c5b9c40088ea7000004015329..."} 
[2026-09-19 17:19:17] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97c9628012c5b9c40088ea7000004015329..."} 
[2026-09-19 17:19:17] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:17] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":744201280,"raw_latitude":143566592,"longitude_deg":74.420128,"latitude_deg":14.3566592,"altitude":4,"angle":339,"satellites":41,"speed":50,"hex_longitude":"2c5b9c40","hex_latitude":"088ea700","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193494528001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1074721076543488,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6604880734010605568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789818345000,"timestamp_ms":1789818345000,"timestamp_seconds":1789818345,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97c9628"} 
[2026-09-19 17: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-19 17:19: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-19 17: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 17:19:17] 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-19 17: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-19 17: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-19 17:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193494528001,"66":28495,"99":206,"9":56064,"24":50,"16":1074721076543488,"44":6604880734010605568},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193494528001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:17] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:19:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1074721076543488,"km_value":1074721076543.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":6604880734010605568,"description":"Unknown IO ID 44"} 
[2026-09-19 17:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193494528001,"power":28495,"unknown_99":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":6604880734010605568}} 
[2026-09-19 17:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:17] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:17] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:26] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97f45a8012d181e800721a940004a001728..."} 
[2026-09-19 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97f45a8012d181e800721a940004a001728..."} 
[2026-09-19 17:19:26] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97f45a8012d181e800721a940004a001728..."} 
[2026-09-19 17:19:26] local.INFO: Packet analysis {"connection_id":189676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:19:26] local.INFO: Extracted packet for processing {"connection_id":189676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646528,"longitude_deg":75.6555392,"latitude_deg":11.9646528,"altitude":74,"angle":23,"satellites":40,"speed":9,"hex_longitude":"2d181e80","hex_latitude":"0721a940","is_valid_coordinates":true} 
[2026-09-19 17:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193541120001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810011432812544,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585229824,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789818521000,"timestamp_ms":1789818521000,"timestamp_seconds":1789818521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97f45a8"} 
[2026-09-19 17:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-19 17:19:26] 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-19 17:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":189676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":189676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":189676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:19: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-19 17:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193541120001,"66":14157,"105":206,"83":41984,"24":9,"16":21810011432812544,"45":1737896905585229824},"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-19 17:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193541120001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 17:19:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810011432812544,"km_value":21810011432812.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585229824,"description":"Unknown IO ID 45"} 
[2026-09-19 17:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193541120001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737896905585229824}} 
[2026-09-19 17:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":189676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:26] local.INFO: GPS data processed {"connection_id":189676,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:26] local.INFO: Acknowledgment sent {"connection_id":189676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:46] local.INFO: TCP Data received {"connection_id":189677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:46] local.INFO: Processing buffer {"connection_id":189677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:46] local.INFO: IMEI packet received {"connection_id":189677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":189677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:19:47] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:47] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:19:47] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:47] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19: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-19 17:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:19:47] 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-19 17:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:19: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-19 17:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:19: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-19 17:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:47] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:47] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:48] local.INFO: TCP Data received {"connection_id":187074,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cb568012c5b8cc0088ecb20000501502c..."} 
[2026-09-19 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cb568012c5b8cc0088ecb20000501502c..."} 
[2026-09-19 17:19:48] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cb568012c5b8cc0088ecb20000501502c..."} 
[2026-09-19 17:19:48] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:48] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":744197312,"raw_latitude":143575840,"longitude_deg":74.4197312,"latitude_deg":14.357584,"altitude":5,"angle":336,"satellites":44,"speed":48,"hex_longitude":"2c5b8cc0","hex_latitude":"088ecb20","is_valid_coordinates":true} 
[2026-09-19 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193496320001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1075206407847936,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6601221559315529728,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789818353000,"timestamp_ms":1789818353000,"timestamp_seconds":1789818353,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cb568"} 
[2026-09-19 17:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 17:19:48] 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-19 17:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193496320001,"66":28300,"99":206,"9":56064,"24":48,"16":1075206407847936,"44":6601221559315529728},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193496320001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:48] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:19:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1075206407847936,"km_value":1075206407847.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":6601221559315529728,"description":"Unknown IO ID 44"} 
[2026-09-19 17:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193496320001,"power":28300,"unknown_99":206,"unknown_9":56064,"ignition":48,"odometer":null,"unknown_44":6601221559315529728}} 
[2026-09-19 17:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:48] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:48] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:19:49] local.INFO: TCP Data received {"connection_id":189677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:49] local.INFO: Processing buffer {"connection_id":189677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:19:49] local.INFO: IMEI packet received {"connection_id":189677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":189677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:19:49] local.INFO: TCP Data received {"connection_id":189677,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97f4d78012d1820000721ab78004b002428..."} 
[2026-09-19 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97f4d78012d1820000721ab78004b002428..."} 
[2026-09-19 17:19:49] local.INFO: Processing buffer {"connection_id":189677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97f4d78012d1820000721ab78004b002428..."} 
[2026-09-19 17:19:49] local.INFO: Packet analysis {"connection_id":189677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:19:49] local.INFO: Extracted packet for processing {"connection_id":189677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647096,"longitude_deg":75.6555776,"latitude_deg":11.9647096,"altitude":75,"angle":36,"satellites":40,"speed":16,"hex_longitude":"2d182000","hex_latitude":"0721ab78","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193541376001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810045792550912,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329456640,"note":"Value kept but may cause issues"} 
[2026-09-19 17:19:49] local.INFO: IO Element Parsed {"io_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-19 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789818523000,"timestamp_ms":1789818523000,"timestamp_seconds":1789818523,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97f4d78"} 
[2026-09-19 17: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-19 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-19 17:19:49] 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-19 17: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-19 17: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-19 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193541376001,"66":14374,"105":206,"83":41984,"24":16,"16":21810045792550912,"45":1737967274329456640},"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-19 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193541376001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:19:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 17:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810045792550912,"km_value":21810045792550.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329456640,"description":"Unknown IO ID 45"} 
[2026-09-19 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193541376001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1737967274329456640}} 
[2026-09-19 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":189677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:19:49] local.INFO: GPS data processed {"connection_id":189677,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:19:49] local.INFO: Acknowledgment sent {"connection_id":189677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:20:09] local.INFO: TCP Data received {"connection_id":189678,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:09] local.INFO: Processing buffer {"connection_id":189678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:09] local.INFO: IMEI packet received {"connection_id":189678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":189678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:20:14] local.INFO: TCP Data received {"connection_id":186942,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:14] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:14] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:20:14] local.INFO: TCP Data received {"connection_id":189678,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:14] local.INFO: Processing buffer {"connection_id":189678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:20:14] local.INFO: IMEI packet received {"connection_id":189678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":189678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:20:17] local.INFO: TCP Data received {"connection_id":189678,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:17] local.INFO: Processing buffer {"connection_id":189678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:17] local.INFO: Packet analysis {"connection_id":189678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:17] local.INFO: Extracted packet for processing {"connection_id":189678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20: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-19 17:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:20:17] 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-19 17:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:20:17] 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-19 17:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":189678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:20:17] local.INFO: GPS data processed {"connection_id":189678,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:20:17] local.INFO: Acknowledgment sent {"connection_id":189678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:20:21] local.INFO: TCP Data received {"connection_id":189677,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97f5d18012d1824000721b1b8004c001527..."} 
[2026-09-19 17:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97f5d18012d1824000721b1b8004c001527..."} 
[2026-09-19 17:20:21] local.INFO: Processing buffer {"connection_id":189677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97f5d18012d1824000721b1b8004c001527..."} 
[2026-09-19 17:20:21] local.INFO: Packet analysis {"connection_id":189677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:20:21] local.INFO: Extracted packet for processing {"connection_id":189677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97f"} 
[2026-09-19 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119648696,"longitude_deg":75.65568,"latitude_deg":11.9648696,"altitude":76,"angle":21,"satellites":39,"speed":17,"hex_longitude":"2d182400","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-19 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193541888001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810135986864128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794668032,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:21] local.INFO: IO Element Parsed {"io_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-19 17:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789818527000,"timestamp_ms":1789818527000,"timestamp_seconds":1789818527,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97f5d18"} 
[2026-09-19 17:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:20:21] 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-19 17:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193541888001,"66":14330,"105":206,"83":41984,"24":17,"16":21810135986864128,"45":1738389486794668032},"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-19 17:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193541888001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:20:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 17:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810135986864128,"km_value":21810135986864.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794668032,"description":"Unknown IO ID 45"} 
[2026-09-19 17:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193541888001,"power":14330,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1738389486794668032}} 
[2026-09-19 17:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":189677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:20:21] local.INFO: GPS data processed {"connection_id":189677,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:20:21] local.INFO: Acknowledgment sent {"connection_id":189677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:20:32] local.INFO: TCP Data received {"connection_id":186942,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:32] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:20:32] local.INFO: IMEI packet received {"connection_id":186942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":186942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:20:38] local.INFO: TCP Data received {"connection_id":186942,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cd4a8012c5b7d80088eec500005014f2a..."} 
[2026-09-19 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cd4a8012c5b7d80088eec500005014f2a..."} 
[2026-09-19 17:20:38] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cd4a8012c5b7d80088eec500005014f2a..."} 
[2026-09-19 17:20:38] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:38] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":744193408,"raw_latitude":143584336,"longitude_deg":74.4193408,"latitude_deg":14.3584336,"altitude":5,"angle":335,"satellites":42,"speed":43,"hex_longitude":"2c5b7d80","hex_latitude":"088eec50","is_valid_coordinates":true} 
[2026-09-19 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193498368001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1075657379414016,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6596858697178882048,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789818361000,"timestamp_ms":1789818361000,"timestamp_seconds":1789818361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cd4a8"} 
[2026-09-19 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 17:20:38] 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-19 17:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193498368001,"66":28224,"99":206,"9":56064,"24":43,"16":1075657379414016,"44":6596858697178882048},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193498368001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:20:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:20:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1075657379414016,"km_value":1075657379414.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":6596858697178882048,"description":"Unknown IO ID 44"} 
[2026-09-19 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193498368001,"power":28224,"unknown_99":206,"unknown_9":56064,"ignition":43,"odometer":null,"unknown_44":6596858697178882048}} 
[2026-09-19 17:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:20:38] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:20:38] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:20:39] local.INFO: TCP Data received {"connection_id":186942,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97d26b0012c5b7140088f0a20000701552b..."} 
[2026-09-19 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97d26b0012c5b7140088f0a20000701552b..."} 
[2026-09-19 17:20:39] local.INFO: Processing buffer {"connection_id":186942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97d26b0012c5b7140088f0a20000701552b..."} 
[2026-09-19 17:20:39] local.INFO: Packet analysis {"connection_id":186942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:20:39] local.INFO: Extracted packet for processing {"connection_id":186942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":744190272,"raw_latitude":143591968,"longitude_deg":74.4190272,"latitude_deg":14.3591968,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2c5b7140","hex_latitude":"088f0a20","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193500416001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1076056811372544,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6592566203786219520,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789818382000,"timestamp_ms":1789818382000,"timestamp_seconds":1789818382,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97d26b0"} 
[2026-09-19 17: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-19 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-19 17:20:39] 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-19 17: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-19 17: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-19 17:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":186942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":186942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":186942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193500416001,"66":28430,"99":206,"9":56064,"24":0,"16":1076056811372544,"44":6592566203786219520},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193500416001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:20:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:20:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1076056811372544,"km_value":1076056811372.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":6592566203786219520,"description":"Unknown IO ID 44"} 
[2026-09-19 17:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193500416001,"power":28430,"unknown_99":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":6592566203786219520}} 
[2026-09-19 17:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":186942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:20:39] local.INFO: GPS data processed {"connection_id":186942,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:20:39] local.INFO: Acknowledgment sent {"connection_id":186942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:20:49] local.INFO: TCP Data received {"connection_id":189678,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:49] local.INFO: Processing buffer {"connection_id":189678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:20:49] local.INFO: Packet analysis {"connection_id":189678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:49] local.INFO: Extracted packet for processing {"connection_id":189678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:20: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-19 17:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:20:49] 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-19 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:20: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-19 17:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":189678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:20:49] local.INFO: GPS data processed {"connection_id":189678,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:20:49] local.INFO: Acknowledgment sent {"connection_id":189678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:21:08] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:08] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:08] local.INFO: IMEI packet received {"connection_id":189679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":189679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:21:13] local.INFO: TCP Data received {"connection_id":187076,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:13] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:13] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:21:14] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:14] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:21:14] local.INFO: IMEI packet received {"connection_id":189679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":189679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:21:16] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:21:16] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97cc8f0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:21:16] local.INFO: Packet analysis {"connection_id":189679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:21:16] local.INFO: Extracted packet for processing {"connection_id":189679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97c"} 
[2026-09-19 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193422592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789818358000,"timestamp_ms":1789818358000,"timestamp_seconds":1789818358,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97cc8f0"} 
[2026-09-19 17: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-19 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17: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-19 17:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193422592001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193422592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193422592001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":189679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:21:16] local.INFO: GPS data processed {"connection_id":189679,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:21:16] local.INFO: Acknowledgment sent {"connection_id":189679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:21:18] local.INFO: TCP Data received {"connection_id":187076,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:18] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:21:18] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:21:21] local.INFO: TCP Data received {"connection_id":187076,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97d8470012c5b6640088f2bd0000701502a..."} 
[2026-09-19 17:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97d8470012c5b6640088f2bd0000701502a..."} 
[2026-09-19 17:21:21] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97d8470012c5b6640088f2bd0000701502a..."} 
[2026-09-19 17:21:21] local.INFO: Packet analysis {"connection_id":187076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:21:21] local.INFO: Extracted packet for processing {"connection_id":187076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:21:21] local.INFO: GPS Element Parsed {"raw_longitude":744187456,"raw_latitude":143600592,"longitude_deg":74.4187456,"latitude_deg":14.3600592,"altitude":7,"angle":336,"satellites":42,"speed":16,"hex_longitude":"2c5b6640","hex_latitude":"088f2bd0","is_valid_coordinates":true} 
[2026-09-19 17:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193505792001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1076494898036736,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6589118135323467776,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:21] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-19 17:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789818406000,"timestamp_ms":1789818406000,"timestamp_seconds":1789818406,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97d8470"} 
[2026-09-19 17:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-19 17:21:21] 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-19 17:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193505792001,"66":28452,"24":16,"16":1076494898036736,"44":6589118135323467776},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,44]} 
[2026-09-19 17:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193505792001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1076494898036736,"km_value":1076494898036.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6589118135323467776,"description":"Unknown IO ID 44"} 
[2026-09-19 17:21:21] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458193505792001,"power":28452,"ignition":16,"odometer":null,"unknown_44":6589118135323467776}} 
[2026-09-19 17:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":187076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:21:21] local.INFO: GPS data processed {"connection_id":187076,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:21:21] local.INFO: Acknowledgment sent {"connection_id":187076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:21:24] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:24] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:24] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:21:25] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:25] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:25] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:21:26] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:26] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:21:26] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:21:27] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b980cc48012d18a3400722cbe0006c00142a..."} 
[2026-09-19 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b980cc48012d18a3400722cbe0006c00142a..."} 
[2026-09-19 17:21:27] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b980cc48012d18a3400722cbe0006c00142a..."} 
[2026-09-19 17:21:27] local.INFO: Packet analysis {"connection_id":188378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b980"} 
[2026-09-19 17:21:27] local.INFO: Extracted packet for processing {"connection_id":188378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b980"} 
[2026-09-19 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119720928,"longitude_deg":75.6589376,"latitude_deg":11.9720928,"altitude":108,"angle":20,"satellites":42,"speed":44,"hex_longitude":"2d18a340","hex_latitude":"0722cbe0","is_valid_coordinates":true} 
[2026-09-19 17:21: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-19 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193566464001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21814100241678336,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774699758808688640,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789818621000,"timestamp_ms":1789818621000,"timestamp_seconds":1789818621,"priority":1,"record_length":96,"hex_timestamp":"000001a0b980cc48"} 
[2026-09-19 17:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 17:21:27] 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-19 17:21: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-19 17:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193566464001,"66":13961,"177":206,"83":42752,"24":44,"16":21814100241678336,"45":1774699758808688640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-19 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193566464001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:21:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-19 17:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21814100241678336,"km_value":21814100241678.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774699758808688640,"description":"Unknown IO ID 45"} 
[2026-09-19 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193566464001,"power":13961,"unknown_177":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1774699758808688640}} 
[2026-09-19 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":188378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:21:27] local.INFO: GPS data processed {"connection_id":188378,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:21:27] local.INFO: Acknowledgment sent {"connection_id":188378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:21:51] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:21:51] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:21:51] local.INFO: Packet analysis {"connection_id":189679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:21:51] local.INFO: Extracted packet for processing {"connection_id":189679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:21: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-19 17:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:21:51] 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-19 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:21:51] 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-19 17:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":189679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:21:51] local.INFO: GPS data processed {"connection_id":189679,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:21:51] local.INFO: Acknowledgment sent {"connection_id":189679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:08] local.INFO: TCP Data received {"connection_id":186943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:08] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:08] local.INFO: IMEI packet received {"connection_id":186943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":186943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:22:11] local.INFO: TCP Data received {"connection_id":187076,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97dd678012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97dd678012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:11] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97dd678012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:11] local.INFO: Packet analysis {"connection_id":187076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:22:11] local.INFO: Extracted packet for processing {"connection_id":187076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97d"} 
[2026-09-19 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":744186944,"raw_latitude":143602112,"longitude_deg":74.4186944,"latitude_deg":14.3602112,"altitude":6,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2c5b6440","hex_latitude":"088f31c0","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193511936001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1076576502415360,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6586021910581858304,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:11] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-19 17:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789818427000,"timestamp_ms":1789818427000,"timestamp_seconds":1789818427,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97dd678"} 
[2026-09-19 17: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-19 17:22: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-19 17: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-19 17:22:11] 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-19 17: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-19 17: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-19 17:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193511936001,"66":28506,"24":0,"16":1076576502415360,"44":6586021910581858304},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,44]} 
[2026-09-19 17:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193511936001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1076576502415360,"km_value":1076576502415.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":6586021910581858304,"description":"Unknown IO ID 44"} 
[2026-09-19 17:22:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458193511936001,"power":28506,"ignition":0,"odometer":null,"unknown_44":6586021910581858304}} 
[2026-09-19 17:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":187076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:11] local.INFO: GPS data processed {"connection_id":187076,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:11] local.INFO: Acknowledgment sent {"connection_id":187076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:14] local.INFO: TCP Data received {"connection_id":186943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:14] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:22:14] local.INFO: IMEI packet received {"connection_id":186943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":186943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:22:16] local.INFO: TCP Data received {"connection_id":186943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:16] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:16] local.INFO: Packet analysis {"connection_id":186943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:16] local.INFO: Extracted packet for processing {"connection_id":186943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22: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-19 17:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:22: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-19 17:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:22: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-19 17:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":186943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:16] local.INFO: GPS data processed {"connection_id":186943,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:16] local.INFO: Acknowledgment sent {"connection_id":186943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:17] local.INFO: TCP Data received {"connection_id":188379,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:17] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:17] local.INFO: IMEI packet received {"connection_id":188379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:22:20] local.INFO: TCP Data received {"connection_id":188379,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:20] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:20] local.INFO: IMEI packet received {"connection_id":188379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":188379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:22:20] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:20] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:20] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:22:24] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:24] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:24] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:22:24] local.INFO: TCP Data received {"connection_id":188379,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:24] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:22:24] local.INFO: IMEI packet received {"connection_id":188379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":188379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:22:24] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98139a8012d18f9800722fbc0005c004025..."} 
[2026-09-19 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98139a8012d18f9800722fbc0005c004025..."} 
[2026-09-19 17:22:24] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98139a8012d18f9800722fbc0005c004025..."} 
[2026-09-19 17:22:24] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:24] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756611456,"raw_latitude":119733184,"longitude_deg":75.6611456,"latitude_deg":11.9733184,"altitude":92,"angle":64,"satellites":37,"speed":41,"hex_longitude":"2d18f980","hex_latitude":"0722fbc0","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193573888001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21815637839970304,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131832680448,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789818649000,"timestamp_ms":1789818649000,"timestamp_seconds":1789818649,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98139a8"} 
[2026-09-19 17: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-19 17:22: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-19 17: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-19 17:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:22:24] 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-19 17:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193573888001,"66":14330,"177":206,"83":42752,"24":41,"16":21815637839970304,"45":1798625131832680448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-19 17:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193573888001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-19 17:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21815637839970304,"km_value":21815637839970.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131832680448,"description":"Unknown IO ID 45"} 
[2026-09-19 17:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193573888001,"power":14330,"unknown_177":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1798625131832680448}} 
[2026-09-19 17:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:25] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:25] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:26] local.INFO: TCP Data received {"connection_id":188379,"ip":"117.224.243.106","data_length":795,"data_hex":"000000000000030f8e0a000001a0b97e3c08012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b97e3c08012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:26] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b97e3c08012c5b6440088f31c00006015929..."} 
[2026-09-19 17:22:26] local.INFO: Packet analysis {"connection_id":188379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b97e"} 
[2026-09-19 17:22:26] local.INFO: Extracted packet for processing {"connection_id":188379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b97e"} 
[2026-09-19 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":744186944,"raw_latitude":143602112,"longitude_deg":74.4186944,"latitude_deg":14.3602112,"altitude":6,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2c5b6440","hex_latitude":"088f31c0","is_valid_coordinates":true} 
[2026-09-19 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-19 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193517312001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1076576502415360,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6585458960628826112,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789818453000,"timestamp_ms":1789818453000,"timestamp_seconds":1789818453,"priority":1,"record_length":96,"hex_timestamp":"000001a0b97e3c08"} 
[2026-09-19 17:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-19 17:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 17:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.243.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193517312001,"66":28398,"99":206,"9":56064,"24":0,"16":1076576502415360,"44":6585458960628826112},"client_ip":"117.224.243.106","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,9,24,16,44]} 
[2026-09-19 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193517312001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-19 17:22:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-19 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1076576502415360,"km_value":1076576502415.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":6585458960628826112,"description":"Unknown IO ID 44"} 
[2026-09-19 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193517312001,"power":28398,"unknown_99":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":6585458960628826112}} 
[2026-09-19 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":188379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:26] local.INFO: GPS data processed {"connection_id":188379,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:26] local.INFO: Acknowledgment sent {"connection_id":188379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:47] local.INFO: TCP Data received {"connection_id":186943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:47] local.INFO: Processing buffer {"connection_id":186943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:22:47] local.INFO: Packet analysis {"connection_id":186943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:47] local.INFO: Extracted packet for processing {"connection_id":186943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:22: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-19 17:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":186943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:47] local.INFO: GPS data processed {"connection_id":186943,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:47] local.INFO: Acknowledgment sent {"connection_id":186943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:22:50] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:50] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:50] local.INFO: IMEI packet received {"connection_id":187077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":187077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:22:56] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:56] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:22:56] local.INFO: IMEI packet received {"connection_id":187077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":187077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:22:56] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9821850012d19d7400723a5a80032005227..."} 
[2026-09-19 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9821850012d19d7400723a5a80032005227..."} 
[2026-09-19 17:22:56] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9821850012d19d7400723a5a80032005227..."} 
[2026-09-19 17:22:56] local.INFO: Packet analysis {"connection_id":187077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:22:56] local.INFO: Extracted packet for processing {"connection_id":187077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756668224,"raw_latitude":119776680,"longitude_deg":75.6668224,"latitude_deg":11.977668,"altitude":50,"angle":82,"satellites":39,"speed":49,"hex_longitude":"2d19d740","hex_latitude":"0723a5a8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193586432001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21819279972237312,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102628194304,"note":"Value kept but may cause issues"} 
[2026-09-19 17:22:56] 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-19 17:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789818706000,"timestamp_ms":1789818706000,"timestamp_seconds":1789818706,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9821850"} 
[2026-09-19 17: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-19 17:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:22:56] 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-19 17: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-19 17: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-19 17:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:22:56] 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-19 17:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193586432001,"66":13993,"42":206,"83":42752,"24":49,"16":21819279972237312,"45":1849572102628194304},"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-19 17:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193586432001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:22:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 17:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21819279972237312,"km_value":21819279972237.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102628194304,"description":"Unknown IO ID 45"} 
[2026-09-19 17:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193586432001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1849572102628194304}} 
[2026-09-19 17:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":187077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:22:56] local.INFO: GPS data processed {"connection_id":187077,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:22:56] local.INFO: Acknowledgment sent {"connection_id":187077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:23:08] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:08] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:08] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:23:08] local.INFO: TCP Data received {"connection_id":189680,"ip":"117.224.243.106","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:23:08] local.INFO: Processing buffer {"connection_id":189680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:23:08] local.INFO: IMEI packet received {"connection_id":189680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":189680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:23:14] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:14] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:23:14] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:23:15] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:15] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:15] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:23:15] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23: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-19 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:23:15] 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-19 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:23: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-19 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:23:15] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:23:15] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:23:27] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9823790012d19fc800723aa18002d005327..."} 
[2026-09-19 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9823790012d19fc800723aa18002d005327..."} 
[2026-09-19 17:23:27] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9823790012d19fc800723aa18002d005327..."} 
[2026-09-19 17:23:27] local.INFO: Packet analysis {"connection_id":187077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:23:27] local.INFO: Extracted packet for processing {"connection_id":187077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756677760,"raw_latitude":119777816,"longitude_deg":75.667776,"latitude_deg":11.9777816,"altitude":45,"angle":83,"satellites":39,"speed":41,"hex_longitude":"2d19fc80","hex_latitude":"0723aa18","is_valid_coordinates":true} 
[2026-09-19 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193588736001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21819735238770688,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370347997184,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:27] 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-19 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789818714000,"timestamp_ms":1789818714000,"timestamp_seconds":1789818714,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9823790"} 
[2026-09-19 17:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 17:23:27] 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-19 17:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:23:27] 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-19 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193588736001,"66":14004,"42":206,"83":42752,"24":41,"16":21819735238770688,"45":1862027370347997184},"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-19 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193588736001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:23:27] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 17:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21819735238770688,"km_value":21819735238770.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370347997184,"description":"Unknown IO ID 45"} 
[2026-09-19 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193588736001,"power":14004,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1862027370347997184}} 
[2026-09-19 17:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":187077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:23:28] local.INFO: GPS data processed {"connection_id":187077,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:23:28] local.INFO: Acknowledgment sent {"connection_id":187077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:23:46] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:46] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:23:46] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:23:46] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23: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-19 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:23:46] 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-19 17: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-19 17: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-19 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:23: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-19 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:23:46] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:23:46] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:23:50] local.INFO: TCP Data received {"connection_id":189681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:50] local.INFO: Processing buffer {"connection_id":189681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:50] local.INFO: IMEI packet received {"connection_id":189681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":189681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:23:54] local.INFO: TCP Data received {"connection_id":189681,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:54] local.INFO: Processing buffer {"connection_id":189681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:23:54] local.INFO: IMEI packet received {"connection_id":189681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":189681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:23:54] local.INFO: TCP Data received {"connection_id":189681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9824f00012d1a10c00723add0002b004526..."} 
[2026-09-19 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9824f00012d1a10c00723add0002b004526..."} 
[2026-09-19 17:23:54] local.INFO: Processing buffer {"connection_id":189681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9824f00012d1a10c00723add0002b004526..."} 
[2026-09-19 17:23:54] local.INFO: Packet analysis {"connection_id":189681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:23:54] local.INFO: Extracted packet for processing {"connection_id":189681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756682944,"raw_latitude":119778768,"longitude_deg":75.6682944,"latitude_deg":11.9778768,"altitude":43,"angle":69,"satellites":38,"speed":25,"hex_longitude":"2d1a10c0","hex_latitude":"0723add0","is_valid_coordinates":true} 
[2026-09-19 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193590784001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21819984346873856,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872512313230759936,"note":"Value kept but may cause issues"} 
[2026-09-19 17:23:54] 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-19 17:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789818720000,"timestamp_ms":1789818720000,"timestamp_seconds":1789818720,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9824f00"} 
[2026-09-19 17:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:23:54] 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-19 17:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:23:54] 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-19 17:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193590784001,"66":14374,"42":206,"83":42752,"24":25,"16":21819984346873856,"45":1872512313230759936},"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-19 17:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193590784001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:23:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 17:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21819984346873856,"km_value":21819984346873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872512313230759936,"description":"Unknown IO ID 45"} 
[2026-09-19 17:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193590784001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1872512313230759936}} 
[2026-09-19 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":189681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:23:54] local.INFO: GPS data processed {"connection_id":189681,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:23:54] local.INFO: Acknowledgment sent {"connection_id":189681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:24:14] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:14] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:14] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:24:19] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:19] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:24:19] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:24:19] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:20] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:20] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:20] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:20] 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-19 17:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:24:20] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:24:20] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:24:24] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:24] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:24] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:24] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:24: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-19 17:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:24:24] 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-19 17:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:24: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-19 17:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:24] 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-19 17:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:24:24] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:24:24] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:24:25] local.INFO: TCP Data received {"connection_id":189681,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9829d20012d1a17800723b050002c004325..."} 
[2026-09-19 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9829d20012d1a17800723b050002c004325..."} 
[2026-09-19 17:24:25] local.INFO: Processing buffer {"connection_id":189681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9829d20012d1a17800723b050002c004325..."} 
[2026-09-19 17:24:25] local.INFO: Packet analysis {"connection_id":189681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:24:25] local.INFO: Extracted packet for processing {"connection_id":189681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756684672,"raw_latitude":119779408,"longitude_deg":75.6684672,"latitude_deg":11.9779408,"altitude":44,"angle":67,"satellites":37,"speed":0,"hex_longitude":"2d1a1780","hex_latitude":"0723b050","is_valid_coordinates":true} 
[2026-09-19 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193592320001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21820078836154368,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878212181509394432,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:25] 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-19 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789818740000,"timestamp_ms":1789818740000,"timestamp_seconds":1789818740,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9829d20"} 
[2026-09-19 17:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:24:25] 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-19 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193592320001,"66":13319,"42":206,"83":42752,"24":0,"16":21820078836154368,"45":1878212181509394432},"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-19 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193592320001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:24:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 17:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21820078836154368,"km_value":21820078836154.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878212181509394432,"description":"Unknown IO ID 45"} 
[2026-09-19 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193592320001,"power":13319,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1878212181509394432}} 
[2026-09-19 17:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":189681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:24:26] local.INFO: GPS data processed {"connection_id":189681,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:24:26] local.INFO: Acknowledgment sent {"connection_id":189681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:24:29] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:29] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:24:29] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:29] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:24: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-19 17:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:24:29] 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-19 17:24: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:24:29] 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-19 17:24: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-19 17:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:24:29] 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-19 17:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:24:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:24:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:24:29] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:24:29] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:24:46] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:46] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:46] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:24:51] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:51] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:24:51] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:24:51] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b982ef28012d1a17800723b050002c004328..."} 
[2026-09-19 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b982ef28012d1a17800723b050002c004328..."} 
[2026-09-19 17:24:51] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b982ef28012d1a17800723b050002c004328..."} 
[2026-09-19 17:24:51] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:24:51] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b982"} 
[2026-09-19 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756684672,"raw_latitude":119779408,"longitude_deg":75.6684672,"latitude_deg":11.9779408,"altitude":44,"angle":67,"satellites":40,"speed":0,"hex_longitude":"2d1a1780","hex_latitude":"0723b050","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193597440001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21820078836154368,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880112137602355200,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] 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-19 17:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818761000,"timestamp_ms":1789818761000,"timestamp_seconds":1789818761,"priority":1,"record_length":96,"hex_timestamp":"000001a0b982ef28"} 
[2026-09-19 17: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-19 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3221693338,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3112292864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2180327425,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-8061443049522258432,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531167,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2208038912,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57807004232471463,"corrected_to":0} 
[2026-09-19 17:24:51] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-3877597985953955833,"note":"Value kept but may cause issues"} 
[2026-09-19 17:24:51] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,42,83,24,241,157,16,133,160,79,45,192,173,43,38,10,66,55,128,170,39,132,64,1,240,169,227,185,35,4,113,205,49,217,232,32,239,54,2,77,7,65,57,246,129],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0},{"io_id":246,"original":57807004232471463,"validated":0}]} 
[2026-09-19 17:24:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170607963861680128,"timestamp_seconds":3170607963861680.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 17: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-19 17:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:24:51] 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-19 17:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193597440001,"66":14113,"42":206,"83":42752,"24":0,"16":21820078836154368,"45":1880112137602355200},"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-19 17:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193597440001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:24:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 17:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21820078836154368,"km_value":21820078836154.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880112137602355200,"description":"Unknown IO ID 45"} 
[2026-09-19 17:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193597440001,"power":14113,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1880112137602355200}} 
[2026-09-19 17:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:24:52] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:24:52] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:25:08] local.INFO: TCP Data received {"connection_id":189682,"ip":"117.224.200.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:25:08] local.INFO: Processing buffer {"connection_id":189682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:25:08] local.INFO: IMEI packet received {"connection_id":189682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":189682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:25:09] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:09] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:09] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:25:14] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:14] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:25:14] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:25:15] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:15] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:15] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:25:15] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:25:15] 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-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:25:15] 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-19 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:25:15] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:25:15] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:25:26] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9848950012d1a9d40072420800030004127..."} 
[2026-09-19 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9848950012d1a9d40072420800030004127..."} 
[2026-09-19 17:25:26] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9848950012d1a9d40072420800030004127..."} 
[2026-09-19 17:25:26] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:25:26] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756718912,"raw_latitude":119808128,"longitude_deg":75.6718912,"latitude_deg":11.9808128,"altitude":48,"angle":65,"satellites":39,"speed":37,"hex_longitude":"2d1a9d40","hex_latitude":"07242080","is_valid_coordinates":true} 
[2026-09-19 17:25: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-19 17:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193626112001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21822290744311808,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908259635279816704,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:26] 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-19 17:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789818866000,"timestamp_ms":1789818866000,"timestamp_seconds":1789818866,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9848950"} 
[2026-09-19 17:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:25:26] 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-19 17:25: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-19 17:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:25:26] 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-19 17:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193626112001,"66":14374,"137":206,"83":42752,"24":37,"16":21822290744311808,"45":1908259635279816704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-19 17:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193626112001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21822290744311808,"km_value":21822290744311.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908259635279816704,"description":"Unknown IO ID 45"} 
[2026-09-19 17:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193626112001,"power":14374,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1908259635279816704}} 
[2026-09-19 17:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:25:26] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:25:26] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:25:45] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:45] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:45] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:25:46] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:46] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:46] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:25:46] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:46] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:25:46] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:25:46] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:25:46] 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-19 17: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-19 17: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-19 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:25: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-19 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:25:46] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:25:46] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:25:52] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:52] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:25:52] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:25:53] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b984ac78012d1abe8007242ff00030004027..."} 
[2026-09-19 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b984ac78012d1abe8007242ff00030004027..."} 
[2026-09-19 17:25:53] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b984ac78012d1abe8007242ff00030004027..."} 
[2026-09-19 17:25:53] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:25:53] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756727424,"raw_latitude":119812080,"longitude_deg":75.6727424,"latitude_deg":11.981208,"altitude":48,"angle":64,"satellites":39,"speed":42,"hex_longitude":"2d1abe80","hex_latitude":"07242ff0","is_valid_coordinates":true} 
[2026-09-19 17:25: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-19 17:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193629696001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21822737420910592,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917759415744757760,"note":"Value kept but may cause issues"} 
[2026-09-19 17:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789818875000,"timestamp_ms":1789818875000,"timestamp_seconds":1789818875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b984ac78"} 
[2026-09-19 17:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:25: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-19 17:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:25:53] 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-19 17:25: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-19 17:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:25:53] 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-19 17:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193629696001,"66":14461,"176":206,"83":42752,"24":42,"16":21822737420910592,"45":1917759415744757760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193629696001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:25:53] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21822737420910592,"km_value":21822737420910.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917759415744757760,"description":"Unknown IO ID 45"} 
[2026-09-19 17:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193629696001,"power":14461,"unknown_176":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1917759415744757760}} 
[2026-09-19 17:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:25:53] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:25:53] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:26:09] local.INFO: TCP Data received {"connection_id":189683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:09] local.INFO: Processing buffer {"connection_id":189683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:09] local.INFO: IMEI packet received {"connection_id":189683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":189683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:26:14] local.INFO: TCP Data received {"connection_id":189683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:14] local.INFO: Processing buffer {"connection_id":189683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:26:14] local.INFO: IMEI packet received {"connection_id":189683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":189683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:26:15] local.INFO: TCP Data received {"connection_id":189683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:15] local.INFO: Processing buffer {"connection_id":189683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98160b8012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:15] local.INFO: Packet analysis {"connection_id":189683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:26:15] local.INFO: Extracted packet for processing {"connection_id":189683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b981"} 
[2026-09-19 17:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193499648001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818659000,"timestamp_ms":1789818659000,"timestamp_seconds":1789818659,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98160b8"} 
[2026-09-19 17: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-19 17:26:15] 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-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:26: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-19 17:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193499648001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193499648001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193499648001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":189683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:26:15] local.INFO: GPS data processed {"connection_id":189683,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:26:15] local.INFO: Acknowledgment sent {"connection_id":189683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:26:26] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b984c3e8012d1ad34007243ae80031003528..."} 
[2026-09-19 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b984c3e8012d1ad34007243ae80031003528..."} 
[2026-09-19 17:26:26] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b984c3e8012d1ad34007243ae80031003528..."} 
[2026-09-19 17:26:26] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:26:26] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119814888,"longitude_deg":75.6732736,"latitude_deg":11.9814888,"altitude":49,"angle":53,"satellites":40,"speed":36,"hex_longitude":"2d1ad340","hex_latitude":"07243ae8","is_valid_coordinates":true} 
[2026-09-19 17:26: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-19 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193632000001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21823025183719424,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927118458721398784,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789818881000,"timestamp_ms":1789818881000,"timestamp_seconds":1789818881,"priority":1,"record_length":96,"hex_timestamp":"000001a0b984c3e8"} 
[2026-09-19 17:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 17:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:26: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-19 17:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:26:26] 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-19 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193632000001,"66":13993,"176":206,"83":42752,"24":36,"16":21823025183719424,"45":1927118458721398784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193632000001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:26:26] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21823025183719424,"km_value":21823025183719.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927118458721398784,"description":"Unknown IO ID 45"} 
[2026-09-19 17:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193632000001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1927118458721398784}} 
[2026-09-19 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:26:27] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:26:27] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:26:45] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:45] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:45] local.INFO: IMEI packet received {"connection_id":189684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":189684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:26:46] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:46] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:46] local.INFO: IMEI packet received {"connection_id":189684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":189684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:26:47] local.INFO: TCP Data received {"connection_id":189683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:47] local.INFO: Processing buffer {"connection_id":189683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:26:47] local.INFO: Packet analysis {"connection_id":189683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:26:47] local.INFO: Extracted packet for processing {"connection_id":189683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26: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-19 17:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17: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-19 17:26:47] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:26: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-19 17: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-19 17: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-19 17:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:26: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-19 17:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":189683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:26:47] local.INFO: GPS data processed {"connection_id":189683,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:26:47] local.INFO: Acknowledgment sent {"connection_id":189683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:26:51] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:51] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:26:51] local.INFO: IMEI packet received {"connection_id":189684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":189684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:26:51] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b984d388012d1ade00072444e80030002727..."} 
[2026-09-19 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b984d388012d1ade00072444e80030002727..."} 
[2026-09-19 17:26:51] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b984d388012d1ade00072444e80030002727..."} 
[2026-09-19 17:26:51] local.INFO: Packet analysis {"connection_id":189684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:26:51] local.INFO: Extracted packet for processing {"connection_id":189684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756735488,"raw_latitude":119817448,"longitude_deg":75.6735488,"latitude_deg":11.9817448,"altitude":48,"angle":39,"satellites":39,"speed":38,"hex_longitude":"2d1ade00","hex_latitude":"072444e8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193633536001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21823205572345856,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064488863744,"note":"Value kept but may cause issues"} 
[2026-09-19 17:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818885000,"timestamp_ms":1789818885000,"timestamp_seconds":1789818885,"priority":1,"record_length":96,"hex_timestamp":"000001a0b984d388"} 
[2026-09-19 17: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-19 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 17:26:51] 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-19 17: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-19 17: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-19 17:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:26:51] 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-19 17:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193633536001,"66":14004,"176":206,"83":42752,"24":38,"16":21823205572345856,"45":1932959064488863744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193633536001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:26:51] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21823205572345856,"km_value":21823205572345.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064488863744,"description":"Unknown IO ID 45"} 
[2026-09-19 17:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193633536001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1932959064488863744}} 
[2026-09-19 17:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":189684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:26:52] local.INFO: GPS data processed {"connection_id":189684,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:26:52] local.INFO: Acknowledgment sent {"connection_id":189684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:27:08] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:08] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:08] local.INFO: IMEI packet received {"connection_id":187080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":187080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:27:14] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:14] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:27:14] local.INFO: IMEI packet received {"connection_id":187080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":187080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:27:15] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:15] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:15] local.INFO: Packet analysis {"connection_id":187080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:27:15] local.INFO: Extracted packet for processing {"connection_id":187080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17: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-19 17:27:15] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:27: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-19 17: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-19 17: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-19 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17: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-19 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":187080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:27:15] local.INFO: GPS data processed {"connection_id":187080,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:27:15] local.INFO: Acknowledgment sent {"connection_id":187080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:27:22] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b984df40012d1ae48007244e68002f001c27..."} 
[2026-09-19 17:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b984df40012d1ae48007244e68002f001c27..."} 
[2026-09-19 17:27:22] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b984df40012d1ae48007244e68002f001c27..."} 
[2026-09-19 17:27:22] local.INFO: Packet analysis {"connection_id":189684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:27:22] local.INFO: Extracted packet for processing {"connection_id":189684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b984"} 
[2026-09-19 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756737152,"raw_latitude":119819880,"longitude_deg":75.6737152,"latitude_deg":11.981988,"altitude":47,"angle":28,"satellites":39,"speed":39,"hex_longitude":"2d1ae480","hex_latitude":"07244e68","is_valid_coordinates":true} 
[2026-09-19 17:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193634560001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21823347306266624,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935984920489158656,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789818888000,"timestamp_ms":1789818888000,"timestamp_seconds":1789818888,"priority":1,"record_length":96,"hex_timestamp":"000001a0b984df40"} 
[2026-09-19 17:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:27:22] 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-19 17:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:27:22] 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-19 17:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193634560001,"66":14243,"176":206,"83":42752,"24":39,"16":21823347306266624,"45":1935984920489158656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193634560001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:27:22] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21823347306266624,"km_value":21823347306266.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935984920489158656,"description":"Unknown IO ID 45"} 
[2026-09-19 17:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193634560001,"power":14243,"unknown_176":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1935984920489158656}} 
[2026-09-19 17:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":189684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:27:22] local.INFO: GPS data processed {"connection_id":189684,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:27:22] local.INFO: Acknowledgment sent {"connection_id":189684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:27:45] local.INFO: TCP Data received {"connection_id":187082,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:45] local.INFO: Processing buffer {"connection_id":187082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:45] local.INFO: IMEI packet received {"connection_id":187082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":187082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:27:47] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:47] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:27:47] local.INFO: Packet analysis {"connection_id":187080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:27:47] local.INFO: Extracted packet for processing {"connection_id":187080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27: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-19 17:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:27:47] 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-19 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:27: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-19 17:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:27:47] 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-19 17:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":187080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:27:47] local.INFO: GPS data processed {"connection_id":187080,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:27:47] local.INFO: Acknowledgment sent {"connection_id":187080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:27:51] local.INFO: TCP Data received {"connection_id":187082,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:51] local.INFO: Processing buffer {"connection_id":187082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:27:51] local.INFO: IMEI packet received {"connection_id":187082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":187082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:27:52] local.INFO: TCP Data received {"connection_id":187082,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b986b018012d1ba30007240dd00023009627..."} 
[2026-09-19 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b986b018012d1ba30007240dd00023009627..."} 
[2026-09-19 17:27:52] local.INFO: Processing buffer {"connection_id":187082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b986b018012d1ba30007240dd00023009627..."} 
[2026-09-19 17:27:52] local.INFO: Packet analysis {"connection_id":187082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b986"} 
[2026-09-19 17:27:52] local.INFO: Extracted packet for processing {"connection_id":187082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b986"} 
[2026-09-19 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756785920,"raw_latitude":119803344,"longitude_deg":75.678592,"latitude_deg":11.9803344,"altitude":35,"angle":150,"satellites":39,"speed":24,"hex_longitude":"2d1ba300","hex_latitude":"07240dd0","is_valid_coordinates":true} 
[2026-09-19 17:27: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-19 17:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193662720001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21826839114678272,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985876360109543424,"note":"Value kept but may cause issues"} 
[2026-09-19 17:27:52] 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-19 17:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789819007000,"timestamp_ms":1789819007000,"timestamp_seconds":1789819007,"priority":1,"record_length":96,"hex_timestamp":"000001a0b986b018"} 
[2026-09-19 17:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:27: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-19 17:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:27:52] 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-19 17:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193662720001,"66":14080,"136":206,"83":42752,"24":24,"16":21826839114678272,"45":1985876360109543424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193662720001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:27:52] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21826839114678272,"km_value":21826839114678.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985876360109543424,"description":"Unknown IO ID 45"} 
[2026-09-19 17:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193662720001,"power":14080,"unknown_136":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1985876360109543424}} 
[2026-09-19 17:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":187082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:27:53] local.INFO: GPS data processed {"connection_id":187082,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:27:53] local.INFO: Acknowledgment sent {"connection_id":187082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:28:19] local.INFO: TCP Data received {"connection_id":189685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:19] local.INFO: Processing buffer {"connection_id":189685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:19] local.INFO: IMEI packet received {"connection_id":189685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":189685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:28:24] local.INFO: TCP Data received {"connection_id":189685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:24] local.INFO: Processing buffer {"connection_id":189685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:28:24] local.INFO: IMEI packet received {"connection_id":189685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":189685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:28:24] local.INFO: TCP Data received {"connection_id":189685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:28:24] local.INFO: Processing buffer {"connection_id":189685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:28:24] local.INFO: Packet analysis {"connection_id":189685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:28:24] local.INFO: Extracted packet for processing {"connection_id":189685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] 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-19 17:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:28:24] 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-19 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:28:24] 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-19 17:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:28:24] local.INFO: TCP Data received {"connection_id":187082,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9878308012d1b87800723b4d8003000a927..."} 
[2026-09-19 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9878308012d1b87800723b4d8003000a927..."} 
[2026-09-19 17:28:24] local.INFO: Processing buffer {"connection_id":187082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9878308012d1b87800723b4d8003000a927..."} 
[2026-09-19 17:28:24] local.INFO: Packet analysis {"connection_id":187082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:24] local.INFO: Extracted packet for processing {"connection_id":187082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756778880,"raw_latitude":119780568,"longitude_deg":75.677888,"latitude_deg":11.9780568,"altitude":48,"angle":169,"satellites":39,"speed":19,"hex_longitude":"2d1b8780","hex_latitude":"0723b4d8","is_valid_coordinates":true} 
[2026-09-19 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193679360001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21828196324343808,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983483822799763456,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:24] 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-19 17:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789819061000,"timestamp_ms":1789819061000,"timestamp_seconds":1789819061,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9878308"} 
[2026-09-19 17:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:28: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-19 17:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:24] 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-19 17:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193679360001,"66":14004,"136":206,"83":42752,"24":19,"16":21828196324343808,"45":1983483822799763456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":189685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:28:24] local.INFO: GPS data processed {"connection_id":189685,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:28:24] local.INFO: Acknowledgment sent {"connection_id":189685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193679360001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21828196324343808,"km_value":21828196324343.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983483822799763456,"description":"Unknown IO ID 45"} 
[2026-09-19 17:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193679360001,"power":14004,"unknown_136":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1983483822799763456}} 
[2026-09-19 17:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":187082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:28:25] local.INFO: GPS data processed {"connection_id":187082,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:28:25] local.INFO: Acknowledgment sent {"connection_id":187082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:28:45] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:45] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:45] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:28:49] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:49] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:49] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:28:52] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:52] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:52] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:28:53] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:53] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:28:53] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:28:54] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98786f0012d1b87800723b2e0003000b527..."} 
[2026-09-19 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98786f0012d1b87800723b2e0003000b527..."} 
[2026-09-19 17:28:54] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98786f0012d1b87800723b2e0003000b527..."} 
[2026-09-19 17:28:54] local.INFO: Packet analysis {"connection_id":187083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:54] local.INFO: Extracted packet for processing {"connection_id":187083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756778880,"raw_latitude":119780064,"longitude_deg":75.677888,"latitude_deg":11.9780064,"altitude":48,"angle":181,"satellites":39,"speed":20,"hex_longitude":"2d1b8780","hex_latitude":"0723b2e0","is_valid_coordinates":true} 
[2026-09-19 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193679616001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21828217799180288,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983694929032173568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:54] 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-19 17:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789819062000,"timestamp_ms":1789819062000,"timestamp_seconds":1789819062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98786f0"} 
[2026-09-19 17:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-19 17:28:54] 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-19 17:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:54] 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-19 17:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193679616001,"66":14265,"136":206,"83":42752,"24":20,"16":21828217799180288,"45":1983694929032173568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193679616001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:28:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21828217799180288,"km_value":21828217799180.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983694929032173568,"description":"Unknown IO ID 45"} 
[2026-09-19 17:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193679616001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1983694929032173568}} 
[2026-09-19 17:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":187083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:28:54] local.INFO: GPS data processed {"connection_id":187083,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:28:54] local.INFO: Acknowledgment sent {"connection_id":187083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:28:56] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9878ec0012d1b86400723aea0003000c128..."} 
[2026-09-19 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9878ec0012d1b86400723aea0003000c128..."} 
[2026-09-19 17:28:56] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9878ec0012d1b86400723aea0003000c128..."} 
[2026-09-19 17:28:56] local.INFO: Packet analysis {"connection_id":187083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:56] local.INFO: Extracted packet for processing {"connection_id":187083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b987"} 
[2026-09-19 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756778560,"raw_latitude":119778976,"longitude_deg":75.677856,"latitude_deg":11.9778976,"altitude":48,"angle":193,"satellites":40,"speed":23,"hex_longitude":"2d1b8640","hex_latitude":"0723aea0","is_valid_coordinates":true} 
[2026-09-19 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193679872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21828273633755136,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983694929032044544,"note":"Value kept but may cause issues"} 
[2026-09-19 17:28:56] 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-19 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789819064000,"timestamp_ms":1789819064000,"timestamp_seconds":1789819064,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9878ec0"} 
[2026-09-19 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 17:28:56] 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-19 17:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:28:56] 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-19 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193679872001,"66":14004,"136":206,"83":42752,"24":23,"16":21828273633755136,"45":1983694929032044544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193679872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21828273633755136,"km_value":21828273633755.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983694929032044544,"description":"Unknown IO ID 45"} 
[2026-09-19 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193679872001,"power":14004,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1983694929032044544}} 
[2026-09-19 17:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":187083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:28:56] local.INFO: GPS data processed {"connection_id":187083,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:28:56] local.INFO: Acknowledgment sent {"connection_id":187083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:29:09] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:09] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:09] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:29:14] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:14] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:29:14] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:29:15] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:15] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:15] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:29:15] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29: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-19 17:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17: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-19 17:29:15] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:29: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-19 17: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-19 17: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-19 17:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:29: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-19 17:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:29:15] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:29:15] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:29:28] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9886980012d1b7e80072333e0002800b728..."} 
[2026-09-19 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9886980012d1b7e80072333e0002800b728..."} 
[2026-09-19 17:29:28] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9886980012d1b7e80072333e0002800b728..."} 
[2026-09-19 17:29:28] local.INFO: Packet analysis {"connection_id":187083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b988"} 
[2026-09-19 17:29:28] local.INFO: Extracted packet for processing {"connection_id":187083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b988"} 
[2026-09-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756776576,"raw_latitude":119747552,"longitude_deg":75.6776576,"latitude_deg":11.9747552,"altitude":40,"angle":183,"satellites":40,"speed":20,"hex_longitude":"2d1b7e80","hex_latitude":"072333e0","is_valid_coordinates":true} 
[2026-09-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193693184001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21829871361589248,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981091285489965056,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:28] 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-19 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789819120000,"timestamp_ms":1789819120000,"timestamp_seconds":1789819120,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9886980"} 
[2026-09-19 17:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 17:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:29:28] 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-19 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193693184001,"66":14048,"136":206,"83":42752,"24":20,"16":21829871361589248,"45":1981091285489965056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193693184001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21829871361589248,"km_value":21829871361589.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981091285489965056,"description":"Unknown IO ID 45"} 
[2026-09-19 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193693184001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1981091285489965056}} 
[2026-09-19 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":187083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:29:28] local.INFO: GPS data processed {"connection_id":187083,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:29:28] local.INFO: Acknowledgment sent {"connection_id":187083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:29:46] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:46] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:29:46] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:29:46] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:29:46] 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-19 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17: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-19 17:29:46] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:29: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-19 17: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-19 17: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-19 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:29: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-19 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:29:46] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:29:46] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:29:49] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:49] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:49] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:29:50] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:50] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:29:50] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:30:00] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:00] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:00] local.INFO: IMEI packet received {"connection_id":186945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":186945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:30:08] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:08] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:08] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:30:12] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9887920012d1b7e8007232c28002600ab26..."} 
[2026-09-19 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9887920012d1b7e8007232c28002600ab26..."} 
[2026-09-19 17:30:12] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9887920012d1b7e8007232c28002600ab26..."} 
[2026-09-19 17:30:12] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b988"} 
[2026-09-19 17:30:12] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b988"} 
[2026-09-19 17:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756776576,"raw_latitude":119745576,"longitude_deg":75.6776576,"latitude_deg":11.9745576,"altitude":38,"angle":171,"satellites":38,"speed":18,"hex_longitude":"2d1b7e80","hex_latitude":"07232c28","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193694720001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21829965850869760,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981161654233325568,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:12] 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-19 17:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789819124000,"timestamp_ms":1789819124000,"timestamp_seconds":1789819124,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9887920"} 
[2026-09-19 17: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-19 17:30: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-19 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 17:30: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-19 17: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-19 17: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-19 17:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:30: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-19 17:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193694720001,"66":14048,"136":206,"83":42752,"24":18,"16":21829965850869760,"45":1981161654233325568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193694720001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:30:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21829965850869760,"km_value":21829965850869.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981161654233325568,"description":"Unknown IO ID 45"} 
[2026-09-19 17:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193694720001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1981161654233325568}} 
[2026-09-19 17:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:30:12] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:30:12] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:30:14] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:14] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:30:14] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:30:19] local.INFO: TCP Data received {"connection_id":186945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9893c70012d1b7580072305e00028015025..."} 
[2026-09-19 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9893c70012d1b7580072305e00028015025..."} 
[2026-09-19 17:30:19] local.INFO: Processing buffer {"connection_id":186945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9893c70012d1b7580072305e00028015025..."} 
[2026-09-19 17:30:19] local.INFO: Packet analysis {"connection_id":186945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:30:19] local.INFO: Extracted packet for processing {"connection_id":186945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756774272,"raw_latitude":119735776,"longitude_deg":75.6774272,"latitude_deg":11.9735776,"altitude":40,"angle":336,"satellites":37,"speed":1,"hex_longitude":"2d1b7580","hex_latitude":"072305e0","is_valid_coordinates":true} 
[2026-09-19 17:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193708288001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21830580031193088,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978769116928258048,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789819174000,"timestamp_ms":1789819174000,"timestamp_seconds":1789819174,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9893c70"} 
[2026-09-19 17:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-19 17:30: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-19 17:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:30:19] 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-19 17:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193708288001,"66":13820,"196":206,"83":42752,"24":1,"16":21830580031193088,"45":1978769116928258048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193708288001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:30:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21830580031193088,"km_value":21830580031193.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978769116928258048,"description":"Unknown IO ID 45"} 
[2026-09-19 17:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193708288001,"power":13820,"unknown_196":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1978769116928258048}} 
[2026-09-19 17:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":186945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:30:19] local.INFO: GPS data processed {"connection_id":186945,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:30:19] local.INFO: Acknowledgment sent {"connection_id":186945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:30:20] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:20] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:20] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:30:20] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:20] 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-19 17:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17: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-19 17:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:30: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-19 17:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:30:20] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:30:20] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:30:44] local.INFO: TCP Data received {"connection_id":189686,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:44] local.INFO: Processing buffer {"connection_id":189686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:30:44] local.INFO: IMEI packet received {"connection_id":189686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":189686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:30:51] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:51] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:30:51] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:30:51] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:30:51] 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-19 17:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:30:51] 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-19 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:30: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-19 17:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:30:51] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:30:51] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:01] local.INFO: TCP Data received {"connection_id":189686,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189686,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:31:01] local.INFO: Processing buffer {"connection_id":189686,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:31:01] local.INFO: IMEI packet received {"connection_id":189686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":189686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:31:03] local.INFO: TCP Data received {"connection_id":189686,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9894828012d1b7580072305c80028006e25..."} 
[2026-09-19 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9894828012d1b7580072305c80028006e25..."} 
[2026-09-19 17:31:03] local.INFO: Processing buffer {"connection_id":189686,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b9..."} 
[2026-09-19 17:31:03] local.INFO: IMEI packet received {"connection_id":189686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":189686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:31:04] local.INFO: TCP Data received {"connection_id":189686,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9894ff8012d1b7680072306200028004124..."} 
[2026-09-19 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9894ff8012d1b7680072306200028004124..."} 
[2026-09-19 17:31:04] local.INFO: Processing buffer {"connection_id":189686,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0b9894828012d1b7580072305c80028006e25..."} 
[2026-09-19 17:31:04] local.INFO: Packet analysis {"connection_id":189686,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:04] local.INFO: Extracted packet for processing {"connection_id":189686,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756774272,"raw_latitude":119735752,"longitude_deg":75.6774272,"latitude_deg":11.9735752,"altitude":40,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d1b7580","hex_latitude":"072305c8","is_valid_coordinates":true} 
[2026-09-19 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193708544001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21830584326160384,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978628379439915008,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789819177000,"timestamp_ms":1789819177000,"timestamp_seconds":1789819177,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9894828"} 
[2026-09-19 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31: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-19 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 17:31:04] 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-19 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":189686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:04] 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-19 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193708544001,"66":13820,"196":206,"83":42752,"24":0,"16":21830584326160384,"45":1978628379439915008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193708544001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21830584326160384,"km_value":21830584326160.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978628379439915008,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193708544001,"power":13820,"unknown_196":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978628379439915008}} 
[2026-09-19 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":189686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:04] local.INFO: GPS data processed {"connection_id":189686,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:04] local.INFO: Acknowledgment sent {"connection_id":189686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:04] local.INFO: Packet analysis {"connection_id":189686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:04] local.INFO: Extracted packet for processing {"connection_id":189686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119735840,"longitude_deg":75.6774528,"latitude_deg":11.973584,"altitude":40,"angle":65,"satellites":36,"speed":5,"hex_longitude":"2d1b7680","hex_latitude":"07230620","is_valid_coordinates":true} 
[2026-09-19 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193709312001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21830592916094976,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978628379439908864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789819179000,"timestamp_ms":1789819179000,"timestamp_seconds":1789819179,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9894ff8"} 
[2026-09-19 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 17:31:04] 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-19 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":189686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:04] 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-19 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193709312001,"66":13820,"196":206,"83":42752,"24":5,"16":21830592916094976,"45":1978628379439908864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193709312001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21830592916094976,"km_value":21830592916094.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978628379439908864,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193709312001,"power":13820,"unknown_196":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1978628379439908864}} 
[2026-09-19 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":189686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:04] local.INFO: GPS data processed {"connection_id":189686,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:04] local.INFO: Acknowledgment sent {"connection_id":189686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:06] local.INFO: TCP Data received {"connection_id":189686,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9896380012d1b7a40072308c00028003125..."} 
[2026-09-19 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9896380012d1b7a40072308c00028003125..."} 
[2026-09-19 17:31:06] local.INFO: Processing buffer {"connection_id":189686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9896380012d1b7a40072308c00028003125..."} 
[2026-09-19 17:31:06] local.INFO: Packet analysis {"connection_id":189686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:06] local.INFO: Extracted packet for processing {"connection_id":189686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756775488,"raw_latitude":119736512,"longitude_deg":75.6775488,"latitude_deg":11.9736512,"altitude":40,"angle":49,"satellites":37,"speed":9,"hex_longitude":"2d1b7a40","hex_latitude":"072308c0","is_valid_coordinates":true} 
[2026-09-19 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193709824001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21830653045637120,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854416642048,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789819184000,"timestamp_ms":1789819184000,"timestamp_seconds":1789819184,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9896380"} 
[2026-09-19 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31: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-19 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 17:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":189686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":189686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:06] 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-19 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193709824001,"66":13863,"196":206,"83":42752,"24":9,"16":21830653045637120,"45":1978909854416642048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193709824001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21830653045637120,"km_value":21830653045637.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854416642048,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193709824001,"power":13863,"unknown_196":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1978909854416642048}} 
[2026-09-19 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":189686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:06] local.INFO: GPS data processed {"connection_id":189686,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:06] local.INFO: Acknowledgment sent {"connection_id":189686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:08] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:08] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:08] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:31:14] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:14] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:31:14] local.INFO: IMEI packet received {"connection_id":186946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":186946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:31:15] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:31:15] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b985f880012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:31:15] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:31:15] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b985"} 
[2026-09-19 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193576704001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31: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-19 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789818960000,"timestamp_ms":1789818960000,"timestamp_seconds":1789818960,"priority":1,"record_length":96,"hex_timestamp":"000001a0b985f880"} 
[2026-09-19 17:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31:15] 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-19 17:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:31: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-19 17:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:31: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-19 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193576704001,"66":25625,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193576704001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193576704001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:15] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:15] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:45] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:45] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:45] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:31:46] local.INFO: TCP Data received {"connection_id":186946,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:31:46] local.INFO: Processing buffer {"connection_id":186946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:31:46] local.INFO: Packet analysis {"connection_id":186946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:31:46] local.INFO: Extracted packet for processing {"connection_id":186946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31: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-19 17:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31:46] 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-19 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:31:46] 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-19 17:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:31: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-19 17:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":186946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:46] local.INFO: GPS data processed {"connection_id":186946,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:46] local.INFO: Acknowledgment sent {"connection_id":186946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:48] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:48] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:48] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:31:50] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:50] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:31:50] local.INFO: IMEI packet received {"connection_id":186947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":186947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:31:51] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b989b588012d1b7bc007230a500027003226..."} 
[2026-09-19 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b989b588012d1b7bc007230a500027003226..."} 
[2026-09-19 17:31:51] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b989b588012d1b7bc007230a500027003226..."} 
[2026-09-19 17:31:51] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:51] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b989"} 
[2026-09-19 17:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756775872,"raw_latitude":119736912,"longitude_deg":75.6775872,"latitude_deg":11.9736912,"altitude":39,"angle":50,"satellites":38,"speed":0,"hex_longitude":"2d1b7bc0","hex_latitude":"07230a50","is_valid_coordinates":true} 
[2026-09-19 17:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193711104001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21830678815440896,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979965385579479040,"note":"Value kept but may cause issues"} 
[2026-09-19 17:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819205000,"timestamp_ms":1789819205000,"timestamp_seconds":1789819205,"priority":1,"record_length":96,"hex_timestamp":"000001a0b989b588"} 
[2026-09-19 17:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-19 17:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:31:51] 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-19 17:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193711104001,"66":14363,"196":206,"83":42752,"24":0,"16":21830678815440896,"45":1979965385579479040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193711104001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:31:51] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21830678815440896,"km_value":21830678815440.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979965385579479040,"description":"Unknown IO ID 45"} 
[2026-09-19 17:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193711104001,"power":14363,"unknown_196":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1979965385579479040}} 
[2026-09-19 17:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:31:51] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:31:51] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:31:53] local.INFO: TCP Data received {"connection_id":186948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:31:53] local.INFO: Processing buffer {"connection_id":186948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:31:53] local.INFO: IMEI packet received {"connection_id":186948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":186948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:32:14] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:14] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:14] local.INFO: IMEI packet received {"connection_id":189687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":189687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:32:19] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:19] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:32:19] local.INFO: IMEI packet received {"connection_id":189687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":189687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:32:20] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:20] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:20] local.INFO: Packet analysis {"connection_id":189687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:20] local.INFO: Extracted packet for processing {"connection_id":189687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:32: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-19 17:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:32:20] 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-19 17:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":189687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:32:20] local.INFO: GPS data processed {"connection_id":189687,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:32:20] local.INFO: Acknowledgment sent {"connection_id":189687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:32:22] local.INFO: TCP Data received {"connection_id":186947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98acae0012d1bbf0007230d500028009028..."} 
[2026-09-19 17:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98acae0012d1bbf0007230d500028009028..."} 
[2026-09-19 17:32:22] local.INFO: Processing buffer {"connection_id":186947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98acae0012d1bbf0007230d500028009028..."} 
[2026-09-19 17:32:22] local.INFO: Packet analysis {"connection_id":186947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:22] local.INFO: Extracted packet for processing {"connection_id":186947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756793088,"raw_latitude":119737680,"longitude_deg":75.6793088,"latitude_deg":11.973768,"altitude":40,"angle":144,"satellites":40,"speed":7,"hex_longitude":"2d1bbf00","hex_latitude":"07230d50","is_valid_coordinates":true} 
[2026-09-19 17:32: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-19 17:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193733120001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21831516334063616,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998120521577627648,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789819276000,"timestamp_ms":1789819276000,"timestamp_seconds":1789819276,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98acae0"} 
[2026-09-19 17:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-19 17:32:22] 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-19 17:32: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-19 17:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:32:22] 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-19 17:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193733120001,"66":12841,"176":206,"83":42752,"24":7,"16":21831516334063616,"45":1998120521577627648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193733120001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:32:22] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21831516334063616,"km_value":21831516334063.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998120521577627648,"description":"Unknown IO ID 45"} 
[2026-09-19 17:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193733120001,"power":12841,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1998120521577627648}} 
[2026-09-19 17:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":186947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:32:23] local.INFO: GPS data processed {"connection_id":186947,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:32:23] local.INFO: Acknowledgment sent {"connection_id":186947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:32:23] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:32:23] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:32:23] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:32:45] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:45] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:45] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:32:51] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:51] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:32:51] local.INFO: IMEI packet received {"connection_id":186949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":186949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:32:52] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98af9c0012d1bbe8007230ce8002700e928..."} 
[2026-09-19 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98af9c0012d1bbe8007230ce8002700e928..."} 
[2026-09-19 17:32:52] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98af9c0012d1bbe8007230ce8002700e928..."} 
[2026-09-19 17:32:52] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:52] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756792960,"raw_latitude":119737576,"longitude_deg":75.679296,"latitude_deg":11.9737576,"altitude":39,"angle":233,"satellites":40,"speed":2,"hex_longitude":"2d1bbe80","hex_latitude":"07230ce8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193734656001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21831554988769280,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999316790228635648,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789819288000,"timestamp_ms":1789819288000,"timestamp_seconds":1789819288,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98af9c0"} 
[2026-09-19 17: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-19 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-19 17:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:32:52] 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-19 17:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193734656001,"66":12678,"176":206,"83":42752,"24":2,"16":21831554988769280,"45":1999316790228635648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193734656001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21831554988769280,"km_value":21831554988769.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999316790228635648,"description":"Unknown IO ID 45"} 
[2026-09-19 17:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193734656001,"power":12678,"unknown_176":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1999316790228635648}} 
[2026-09-19 17:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:32:52] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:32:52] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:32:54] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:54] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:32:54] local.INFO: Packet analysis {"connection_id":189687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:54] local.INFO: Extracted packet for processing {"connection_id":189687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:32:54] 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-19 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:32:54] 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-19 17:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:32:54] 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-19 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":189687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:32:54] local.INFO: GPS data processed {"connection_id":189687,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:32:54] local.INFO: Acknowledgment sent {"connection_id":189687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:33:09] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:09] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:09] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:33:14] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:14] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:33:14] local.INFO: IMEI packet received {"connection_id":186950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":186950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:33:15] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:15] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:15] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:33:15] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33: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-19 17:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:33:15] 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-19 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:33:15] 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-19 17:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:33:15] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:33:15] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:33:23] local.INFO: TCP Data received {"connection_id":186949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98b0190012d1bbe0007230cd80026010329..."} 
[2026-09-19 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98b0190012d1bbe0007230cd80026010329..."} 
[2026-09-19 17:33:23] local.INFO: Processing buffer {"connection_id":186949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98b0190012d1bbe0007230cd80026010329..."} 
[2026-09-19 17:33:23] local.INFO: Packet analysis {"connection_id":186949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98b"} 
[2026-09-19 17:33:23] local.INFO: Extracted packet for processing {"connection_id":186949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98b"} 
[2026-09-19 17:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756792832,"raw_latitude":119737560,"longitude_deg":75.6792832,"latitude_deg":11.973756,"altitude":38,"angle":259,"satellites":41,"speed":2,"hex_longitude":"2d1bbe00","hex_latitude":"07230cd8","is_valid_coordinates":true} 
[2026-09-19 17:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193737728001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21831563578703872,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999176052740253696,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789819290000,"timestamp_ms":1789819290000,"timestamp_seconds":1789819290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98b0190"} 
[2026-09-19 17:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 17:33:23] 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-19 17:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:33:23] 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-19 17:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193737728001,"66":12667,"176":206,"83":42752,"24":2,"16":21831563578703872,"45":1999176052740253696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193737728001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:33:23] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21831563578703872,"km_value":21831563578703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999176052740253696,"description":"Unknown IO ID 45"} 
[2026-09-19 17:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193737728001,"power":12667,"unknown_176":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1999176052740253696}} 
[2026-09-19 17:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":186949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:33:23] local.INFO: GPS data processed {"connection_id":186949,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:33:23] local.INFO: Acknowledgment sent {"connection_id":186949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:33:47] local.INFO: TCP Data received {"connection_id":186950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:47] local.INFO: Processing buffer {"connection_id":186950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:33:47] local.INFO: Packet analysis {"connection_id":186950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:33:47] local.INFO: Extracted packet for processing {"connection_id":186950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:33: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-19 17:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17: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-19 17:33:47] 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-19 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:33: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-19 17:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":186950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:33:47] local.INFO: GPS data processed {"connection_id":186950,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:33:47] local.INFO: Acknowledgment sent {"connection_id":186950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:33:54] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:54] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:54] local.INFO: IMEI packet received {"connection_id":189688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":189688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:33:55] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:55] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:33:55] local.INFO: IMEI packet received {"connection_id":189688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":189688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:34:01] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:01] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:01] local.INFO: IMEI packet received {"connection_id":189688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":189688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:34:03] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98b5398012d1bbdc007230cd00026010c26..."} 
[2026-09-19 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98b5398012d1bbdc007230cd00026010c26..."} 
[2026-09-19 17:34:03] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98b5398012d1bbdc007230cd00026010c26..."} 
[2026-09-19 17:34:03] local.INFO: Packet analysis {"connection_id":189688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98b"} 
[2026-09-19 17:34:03] local.INFO: Extracted packet for processing {"connection_id":189688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98b"} 
[2026-09-19 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756792768,"raw_latitude":119737552,"longitude_deg":75.6792768,"latitude_deg":11.9737552,"altitude":38,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d1bbdc0","hex_latitude":"07230cd0","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193738240001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21831567873671168,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999035315251894272,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789819311000,"timestamp_ms":1789819311000,"timestamp_seconds":1789819311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98b5398"} 
[2026-09-19 17: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-19 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 17:34:03] 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-19 17: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-19 17: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-19 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:34: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-19 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193738240001,"66":12667,"176":206,"83":42752,"24":0,"16":21831567873671168,"45":1999035315251894272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-19 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193738240001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:34:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-19 17:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21831567873671168,"km_value":21831567873671.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999035315251894272,"description":"Unknown IO ID 45"} 
[2026-09-19 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193738240001,"power":12667,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1999035315251894272}} 
[2026-09-19 17:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":189688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:34:03] local.INFO: GPS data processed {"connection_id":189688,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:34:03] local.INFO: Acknowledgment sent {"connection_id":189688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:34:09] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:09] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:09] local.INFO: IMEI packet received {"connection_id":188387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":188387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:34:14] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:14] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:34:14] local.INFO: IMEI packet received {"connection_id":188387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:34:15] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:15] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:15] local.INFO: Packet analysis {"connection_id":188387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:34:15] local.INFO: Extracted packet for processing {"connection_id":188387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34: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-19 17:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17: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-19 17:34:15] 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-19 17:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:34: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-19 17:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":188387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:34:15] local.INFO: GPS data processed {"connection_id":188387,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:34:15] local.INFO: Acknowledgment sent {"connection_id":188387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:34:46] local.INFO: TCP Data received {"connection_id":188387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:46] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:46] local.INFO: Processing buffer {"connection_id":188387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:34:46] local.INFO: Packet analysis {"connection_id":188387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:34:46] local.INFO: Extracted packet for processing {"connection_id":188387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17: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-19 17:34:46] 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-19 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:34:46] 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-19 17: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-19 17: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-19 17:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:34: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-19 17:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:46] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:46] local.INFO: IMEI packet received {"connection_id":189689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":189689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":188387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:34:46] local.INFO: GPS data processed {"connection_id":188387,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:34:46] local.INFO: Acknowledgment sent {"connection_id":188387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:34:50] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:50] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:34:50] local.INFO: IMEI packet received {"connection_id":189689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":189689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:08] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:08] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:08] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:35:11] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:35:11] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-19 17:35:11] local.INFO: IMEI packet received {"connection_id":189689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":189689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:13] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":1348,"data_hex":"000000000000030f8e0a000001a0b98d2470012d1b87c007230ed0002a010d23..."} 
[2026-09-19 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0b98d2470012d1b87c007230ed0002a010d23..."} 
[2026-09-19 17:35:13] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":1365,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0b9..."} 
[2026-09-19 17:35:13] local.INFO: IMEI packet received {"connection_id":189689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":189689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:14] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:14] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:35:14] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:14] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":1037,"data_hex":"000000000001a0b98d4b80012d1b8380072319500029000525000d0000000a00..."} 
[2026-09-19 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":1037,"packet_hex":"000000000001a0b98d4b80012d1b8380072319500029000525000d0000000a00..."} 
[2026-09-19 17:35:14] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0b98d2470012d1b87c007230ed0002a010d23..."} 
[2026-09-19 17:35:14] local.INFO: Packet analysis {"connection_id":189689,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:14] local.INFO: Extracted packet for processing {"connection_id":189689,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756778944,"raw_latitude":119738064,"longitude_deg":75.6778944,"latitude_deg":11.9738064,"altitude":42,"angle":269,"satellites":35,"speed":13,"hex_longitude":"2d1b87c0","hex_latitude":"07230ed0","is_valid_coordinates":true} 
[2026-09-19 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193773824001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21832229298634752,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984187510230546432,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] 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-19 17:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789819430000,"timestamp_ms":1789819430000,"timestamp_seconds":1789819430,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98d2470"} 
[2026-09-19 17:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:35: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-19 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-19 17:35: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-19 17:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:14] 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-19 17:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193773824001,"66":14428,"136":206,"83":42752,"24":13,"16":21832229298634752,"45":1984187510230546432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193773824001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21832229298634752,"km_value":21832229298634.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984187510230546432,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193773824001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1984187510230546432}} 
[2026-09-19 17:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":189689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:14] local.INFO: GPS data processed {"connection_id":189689,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:14] local.INFO: Acknowledgment sent {"connection_id":189689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:14] local.INFO: Packet analysis {"connection_id":189689,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:14] local.INFO: Extracted packet for processing {"connection_id":189689,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756775104,"raw_latitude":119753368,"longitude_deg":75.6775104,"latitude_deg":11.9753368,"altitude":47,"angle":351,"satellites":41,"speed":20,"hex_longitude":"2d1b78c0","hex_latitude":"07234a98","is_valid_coordinates":true} 
[2026-09-19 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193783296001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833023867584512,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979754279351134208,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789819467000,"timestamp_ms":1789819467000,"timestamp_seconds":1789819467,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98db4f8"} 
[2026-09-19 17:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:35: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-19 17:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:14] 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-19 17:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193783296001,"66":14070,"196":206,"83":42752,"24":20,"16":21833023867584512,"45":1979754279351134208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193783296001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833023867584512,"km_value":21833023867584.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979754279351134208,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193783296001,"power":14070,"unknown_196":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1979754279351134208}} 
[2026-09-19 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:15] local.INFO: GPS data processed {"connection_id":189689,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:15] local.INFO: Acknowledgment sent {"connection_id":189689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:15] local.INFO: Packet analysis {"connection_id":189689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:15] local.INFO: Extracted packet for processing {"connection_id":189689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756775104,"raw_latitude":119754384,"longitude_deg":75.6775104,"latitude_deg":11.9754384,"altitude":48,"angle":2,"satellites":42,"speed":20,"hex_longitude":"2d1b78c0","hex_latitude":"07234e90","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193783552001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833071112224768,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979543173118728192,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819469000,"timestamp_ms":1789819469000,"timestamp_seconds":1789819469,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98dbcc8"} 
[2026-09-19 17: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-19 17:35: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-19 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:15] 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-19 17: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-19 17: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-19 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:15] 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-19 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193783552001,"66":13972,"196":206,"83":42752,"24":20,"16":21833071112224768,"45":1979543173118728192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193783552001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833071112224768,"km_value":21833071112224.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979543173118728192,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193783552001,"power":13972,"unknown_196":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1979543173118728192}} 
[2026-09-19 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:15] local.INFO: GPS data processed {"connection_id":189689,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:15] local.INFO: Acknowledgment sent {"connection_id":189689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:15] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:15] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:15] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:35:15] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35: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-19 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17: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-19 17:35:15] 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-19 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:35: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-19 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:15] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:15] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:15] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98dc880012d1b7a0007235480003100102a..."} 
[2026-09-19 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98dc880012d1b7a0007235480003100102a..."} 
[2026-09-19 17:35:15] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98dc880012d1b7a0007235480003100102a..."} 
[2026-09-19 17:35:15] local.INFO: Packet analysis {"connection_id":189689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:15] local.INFO: Extracted packet for processing {"connection_id":189689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756775424,"raw_latitude":119755904,"longitude_deg":75.6775424,"latitude_deg":11.9755904,"altitude":49,"angle":16,"satellites":42,"speed":18,"hex_longitude":"2d1b7a00","hex_latitude":"07235480","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193784064001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833148421636096,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979543173118988288,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819472000,"timestamp_ms":1789819472000,"timestamp_seconds":1789819472,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98dc880"} 
[2026-09-19 17: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-19 17:35: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-19 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:15] 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-19 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193784064001,"66":14483,"196":206,"83":42752,"24":18,"16":21833148421636096,"45":1979543173118988288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193784064001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833148421636096,"km_value":21833148421636.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979543173118988288,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193784064001,"power":14483,"unknown_196":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1979543173118988288}} 
[2026-09-19 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:15] local.INFO: GPS data processed {"connection_id":189689,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:15] local.INFO: Acknowledgment sent {"connection_id":189689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:16] local.INFO: TCP Data received {"connection_id":189689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98dd050012d1b7b40072357c80031001b2a..."} 
[2026-09-19 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98dd050012d1b7b40072357c80031001b2a..."} 
[2026-09-19 17:35:16] local.INFO: Processing buffer {"connection_id":189689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98dd050012d1b7b40072357c80031001b2a..."} 
[2026-09-19 17:35:16] local.INFO: Packet analysis {"connection_id":189689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:16] local.INFO: Extracted packet for processing {"connection_id":189689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756775744,"raw_latitude":119756744,"longitude_deg":75.6775744,"latitude_deg":11.9756744,"altitude":49,"angle":27,"satellites":42,"speed":16,"hex_longitude":"2d1b7b40","hex_latitude":"072357c8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193784832001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833191371309056,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979895016840265728,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789819474000,"timestamp_ms":1789819474000,"timestamp_seconds":1789819474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98dd050"} 
[2026-09-19 17: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-19 17:35: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-19 17: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":147,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:16] 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-19 17:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193784832001,"66":14396,"196":206,"83":42752,"24":16,"16":21833191371309056,"45":1979895016840265728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193784832001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:16] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833191371309056,"km_value":21833191371309.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979895016840265728,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193784832001,"power":14396,"unknown_196":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1979895016840265728}} 
[2026-09-19 17:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":189689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:16] local.INFO: GPS data processed {"connection_id":189689,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:16] local.INFO: Acknowledgment sent {"connection_id":189689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:45] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:45] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:45] local.INFO: IMEI packet received {"connection_id":189690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":189690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:35:46] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:46] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:35:46] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:35:46] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17: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-19 17:35:46] 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-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:46] 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-19 17: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-19 17: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-19 17:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17: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-19 17:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:46] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:46] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:35:47] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:47] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:47] local.INFO: IMEI packet received {"connection_id":189690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":189690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:54] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:54] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:35:54] local.INFO: IMEI packet received {"connection_id":189690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":189690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:35:56] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98dd820012d1b7d0007235ab80031002727..."} 
[2026-09-19 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98dd820012d1b7d0007235ab80031002727..."} 
[2026-09-19 17:35:56] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98dd820012d1b7d0007235ab80031002727..."} 
[2026-09-19 17:35:56] local.INFO: Packet analysis {"connection_id":189690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:56] local.INFO: Extracted packet for processing {"connection_id":189690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756776192,"raw_latitude":119757496,"longitude_deg":75.6776192,"latitude_deg":11.9757496,"altitude":49,"angle":39,"satellites":39,"speed":17,"hex_longitude":"2d1b7d00","hex_latitude":"07235ab8","is_valid_coordinates":true} 
[2026-09-19 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193785344001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833234320982016,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980246860561369088,"note":"Value kept but may cause issues"} 
[2026-09-19 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789819476000,"timestamp_ms":1789819476000,"timestamp_seconds":1789819476,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98dd820"} 
[2026-09-19 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:35:56] 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-19 17:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:35:56] 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-19 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193785344001,"66":14363,"196":206,"83":42752,"24":17,"16":21833234320982016,"45":1980246860561369088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-09-19 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193785344001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833234320982016,"km_value":21833234320982.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980246860561369088,"description":"Unknown IO ID 45"} 
[2026-09-19 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193785344001,"power":14363,"unknown_196":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1980246860561369088}} 
[2026-09-19 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":189690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:35:56] local.INFO: GPS data processed {"connection_id":189690,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:35:56] local.INFO: Acknowledgment sent {"connection_id":189690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:36:08] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:08] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:08] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:36:14] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:14] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:36:14] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:36:15] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:36:15] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98a9048012d34c14006aa41400008010e29..."} 
[2026-09-19 17:36:15] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:36:15] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98a"} 
[2026-09-19 17:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193653760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819261000,"timestamp_ms":1789819261000,"timestamp_seconds":1789819261,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98a9048"} 
[2026-09-19 17:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:36:15] 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-19 17:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:36: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-19 17:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193653760001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193653760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193653760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:36:15] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:36:15] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:36:29] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98def90012d1b8440072364900031001b29..."} 
[2026-09-19 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98def90012d1b8440072364900031001b29..."} 
[2026-09-19 17:36:29] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98def90012d1b8440072364900031001b29..."} 
[2026-09-19 17:36:29] local.INFO: Packet analysis {"connection_id":189690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:36:29] local.INFO: Extracted packet for processing {"connection_id":189690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98d"} 
[2026-09-19 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756778048,"raw_latitude":119760016,"longitude_deg":75.6778048,"latitude_deg":11.9760016,"altitude":49,"angle":27,"satellites":41,"speed":20,"hex_longitude":"2d1b8440","hex_latitude":"07236490","is_valid_coordinates":true} 
[2026-09-19 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193785856001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833384644837376,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980739441770805248,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:29] 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-19 17:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789819482000,"timestamp_ms":1789819482000,"timestamp_seconds":1789819482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98def90"} 
[2026-09-19 17:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 17:36:29] 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-19 17:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:36:29] 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-19 17:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193785856001,"66":14450,"136":206,"83":42752,"24":20,"16":21833384644837376,"45":1980739441770805248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-19 17:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193785856001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:36:29] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-19 17:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833384644837376,"km_value":21833384644837.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980739441770805248,"description":"Unknown IO ID 45"} 
[2026-09-19 17:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193785856001,"power":14450,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1980739441770805248}} 
[2026-09-19 17:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":189690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:36:29] local.INFO: GPS data processed {"connection_id":189690,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:36:29] local.INFO: Acknowledgment sent {"connection_id":189690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:36:44] local.INFO: TCP Data received {"connection_id":189691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:44] local.INFO: Processing buffer {"connection_id":189691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:44] local.INFO: IMEI packet received {"connection_id":189691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":189691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:36:45] local.INFO: TCP Data received {"connection_id":189691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: Processing buffer {"connection_id":189691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: IMEI packet received {"connection_id":189691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":189691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:36:45] local.INFO: TCP Data received {"connection_id":189691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: Processing buffer {"connection_id":189691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:45] local.INFO: IMEI packet received {"connection_id":189691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":189691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:36:46] local.INFO: TCP Data received {"connection_id":189691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:46] local.INFO: Processing buffer {"connection_id":189691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:36:46] local.INFO: IMEI packet received {"connection_id":189691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":189691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:36:47] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:36:47] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:36:47] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:36:47] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:36: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-19 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:36: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-19 17: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-19 17: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-19 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:36: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-19 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:36:47] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:36:47] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:37:14] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:14] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:14] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:37:19] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:19] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:37:19] local.INFO: IMEI packet received {"connection_id":186952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":186952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:37:19] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:19] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:19] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:37:19] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:37:19] 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-19 17:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:37:19] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:37:19] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:37:51] local.INFO: TCP Data received {"connection_id":186952,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:51] local.INFO: Processing buffer {"connection_id":186952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:37:51] local.INFO: Packet analysis {"connection_id":186952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:37:51] local.INFO: Extracted packet for processing {"connection_id":186952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:37: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-19 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:37:51] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:37: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-19 17: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-19 17: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-19 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:37:51] 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-19 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":186952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:37:51] local.INFO: GPS data processed {"connection_id":186952,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:37:51] local.INFO: Acknowledgment sent {"connection_id":186952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:38:09] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:09] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:09] local.INFO: IMEI packet received {"connection_id":188390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:38:14] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:14] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:38:14] local.INFO: IMEI packet received {"connection_id":188390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":188390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:38:15] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:15] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:15] local.INFO: Packet analysis {"connection_id":188390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:38:15] local.INFO: Extracted packet for processing {"connection_id":188390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 17:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:38: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-19 17:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 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-19 17:38:15] 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-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:38: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-19 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-19 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-19 17:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:38: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-19 17:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":188390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:38:15] local.INFO: GPS data processed {"connection_id":188390,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:38:15] local.INFO: Acknowledgment sent {"connection_id":188390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:38:47] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:47] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:38:47] local.INFO: Packet analysis {"connection_id":188390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:38:47] local.INFO: Extracted packet for processing {"connection_id":188390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:38: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-19 17: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-19 17: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-19 17:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:38: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-19 17:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":188390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:38:47] local.INFO: GPS data processed {"connection_id":188390,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:38:47] local.INFO: Acknowledgment sent {"connection_id":188390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:39:09] local.INFO: TCP Data received {"connection_id":189693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:09] local.INFO: Processing buffer {"connection_id":189693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:09] local.INFO: IMEI packet received {"connection_id":189693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":189693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:39:14] local.INFO: TCP Data received {"connection_id":189693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:14] local.INFO: Processing buffer {"connection_id":189693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:39:14] local.INFO: IMEI packet received {"connection_id":189693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":189693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:39:15] local.INFO: TCP Data received {"connection_id":189693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:15] local.INFO: Processing buffer {"connection_id":189693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:15] local.INFO: Packet analysis {"connection_id":189693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:39:15] local.INFO: Extracted packet for processing {"connection_id":189693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:39: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-19 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:39:15] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:39: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-19 17: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-19 17: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-19 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:39: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-19 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":189693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:39:15] local.INFO: GPS data processed {"connection_id":189693,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:39:15] local.INFO: Acknowledgment sent {"connection_id":189693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:39:33] local.INFO: TCP Data received {"connection_id":189694,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:39:33] local.INFO: Processing buffer {"connection_id":189694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:39:33] local.INFO: IMEI packet received {"connection_id":189694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":189694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:39:46] local.INFO: TCP Data received {"connection_id":189693,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:46] local.INFO: Processing buffer {"connection_id":189693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:39:46] local.INFO: Packet analysis {"connection_id":189693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:39:46] local.INFO: Extracted packet for processing {"connection_id":189693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:39: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-19 17: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-19 17: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-19 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:39: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-19 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":189693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:39:46] local.INFO: GPS data processed {"connection_id":189693,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:39:46] local.INFO: Acknowledgment sent {"connection_id":189693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:40:08] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:08] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:08] local.INFO: IMEI packet received {"connection_id":189695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":189695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:40:14] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:14] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:40:14] local.INFO: IMEI packet received {"connection_id":189695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":189695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:40:16] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:16] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:16] local.INFO: Packet analysis {"connection_id":189695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:40:16] local.INFO: Extracted packet for processing {"connection_id":189695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40: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-19 17:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:40: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-19 17:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":189695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:40:16] local.INFO: GPS data processed {"connection_id":189695,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:40:16] local.INFO: Acknowledgment sent {"connection_id":189695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:40:48] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:48] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:40:48] local.INFO: Packet analysis {"connection_id":189695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:40:48] local.INFO: Extracted packet for processing {"connection_id":189695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:40: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-19 17:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:40:48] 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-19 17:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:40: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-19 17:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:40: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-19 17:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":189695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:40:48] local.INFO: GPS data processed {"connection_id":189695,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:40:48] local.INFO: Acknowledgment sent {"connection_id":189695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:41:09] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:09] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:09] local.INFO: IMEI packet received {"connection_id":186954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:41:14] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:14] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:41:14] local.INFO: IMEI packet received {"connection_id":186954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":186954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:41:15] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:41:15] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b98f2810012d34c14006aa41400008010e2c..."} 
[2026-09-19 17:41:15] local.INFO: Packet analysis {"connection_id":186954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:41:15] local.INFO: Extracted packet for processing {"connection_id":186954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b98f"} 
[2026-09-19 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193730816001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819562000,"timestamp_ms":1789819562000,"timestamp_seconds":1789819562,"priority":1,"record_length":96,"hex_timestamp":"000001a0b98f2810"} 
[2026-09-19 17: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-19 17:41:15] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:41: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-19 17: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-19 17: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-19 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:41: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-19 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193730816001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193730816001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193730816001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":186954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:41:15] local.INFO: GPS data processed {"connection_id":186954,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:41:15] local.INFO: Acknowledgment sent {"connection_id":186954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:41:47] local.INFO: TCP Data received {"connection_id":186954,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:41:47] local.INFO: Processing buffer {"connection_id":186954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:41:47] local.INFO: Packet analysis {"connection_id":186954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:41:47] local.INFO: Extracted packet for processing {"connection_id":186954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41: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-19 17:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:41:47] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:41: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-19 17: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-19 17: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-19 17:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:41: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-19 17:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":186954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:41:47] local.INFO: GPS data processed {"connection_id":186954,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:41:47] local.INFO: Acknowledgment sent {"connection_id":186954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:41:50] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:41:50] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:41:50] local.INFO: IMEI packet received {"connection_id":187089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":187089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:41:51] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b991e730012d1aec4007245b58002c00ce28..."} 
[2026-09-19 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b991e730012d1aec4007245b58002c00ce28..."} 
[2026-09-19 17:41:51] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b991e730012d1aec4007245b58002c00ce28..."} 
[2026-09-19 17:41:51] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b991"} 
[2026-09-19 17:41:51] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b991"} 
[2026-09-19 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756739136,"raw_latitude":119823192,"longitude_deg":75.6739136,"latitude_deg":11.9823192,"altitude":44,"angle":206,"satellites":40,"speed":23,"hex_longitude":"2d1aec40","hex_latitude":"07245b58","is_valid_coordinates":true} 
[2026-09-19 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193852416001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942177369979029504,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21839011051995136,"note":"Value kept but may cause issues"} 
[2026-09-19 17:41:51] 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-19 17:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819742000,"timestamp_ms":1789819742000,"timestamp_seconds":1789819742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b991e730"} 
[2026-09-19 17:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:41:51] 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-19 17:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:41:51] 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-19 17:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193852416001,"66":13580,"45":1942177369979029504,"83":41984,"24":23,"16":21839011051995136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193852416001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942177369979029504,"description":"Unknown IO ID 45"} 
[2026-09-19 17:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21839011051995136,"km_value":21839011051995.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:41:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193852416001,"power":13580,"unknown_45":1942177369979029504,"unknown_83":41984,"ignition":23,"odometer":null}} 
[2026-09-19 17:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:41:51] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:41:51] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:42:14] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:14] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:14] local.INFO: IMEI packet received {"connection_id":188392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:42:19] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:19] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:42:19] local.INFO: IMEI packet received {"connection_id":188392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":188392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:42:20] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:20] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:20] local.INFO: Packet analysis {"connection_id":188392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:20] local.INFO: Extracted packet for processing {"connection_id":188392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:42: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-19 17:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":188392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:42:20] local.INFO: GPS data processed {"connection_id":188392,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:42:20] local.INFO: Acknowledgment sent {"connection_id":188392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:42:22] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993eeb8012d1a5cc00723f640003300d928..."} 
[2026-09-19 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993eeb8012d1a5cc00723f640003300d928..."} 
[2026-09-19 17:42:22] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993eeb8012d1a5cc00723f640003300d928..."} 
[2026-09-19 17:42:22] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:22] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756702400,"raw_latitude":119797312,"longitude_deg":75.67024,"latitude_deg":11.9797312,"altitude":51,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d1a5cc0","hex_latitude":"0723f640","is_valid_coordinates":true} 
[2026-09-19 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193882624001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21841351809171456,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898759854813818880,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:22] 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-19 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789819875000,"timestamp_ms":1789819875000,"timestamp_seconds":1789819875,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993eeb8"} 
[2026-09-19 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-19 17:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:42:22] 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-19 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193882624001,"66":14428,"43":206,"83":42752,"24":0,"16":21841351809171456,"45":1898759854813818880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193882624001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21841351809171456,"km_value":21841351809171.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898759854813818880,"description":"Unknown IO ID 45"} 
[2026-09-19 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193882624001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1898759854813818880}} 
[2026-09-19 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:42:22] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:42:22] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:42:45] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:45] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:45] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:42:50] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:50] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:42:50] local.INFO: IMEI packet received {"connection_id":186955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":186955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:42:51] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:51] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:42:51] local.INFO: Packet analysis {"connection_id":188392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:51] local.INFO: Extracted packet for processing {"connection_id":188392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42: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-19 17:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:42:51] 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-19 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:42: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-19 17:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":188392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:42:51] local.INFO: GPS data processed {"connection_id":188392,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:42:51] local.INFO: Acknowledgment sent {"connection_id":188392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:42:51] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99440c0012d1a5cc00723f640003300d927..."} 
[2026-09-19 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99440c0012d1a5cc00723f640003300d927..."} 
[2026-09-19 17:42:51] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99440c0012d1a5cc00723f640003300d927..."} 
[2026-09-19 17:42:51] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b994"} 
[2026-09-19 17:42:51] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b994"} 
[2026-09-19 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756702400,"raw_latitude":119797312,"longitude_deg":75.67024,"latitude_deg":11.9797312,"altitude":51,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d1a5cc0","hex_latitude":"0723f640","is_valid_coordinates":true} 
[2026-09-19 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193888000001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21841351809171456,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604279744151552,"note":"Value kept but may cause issues"} 
[2026-09-19 17:42:51] 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-19 17:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819896000,"timestamp_ms":1789819896000,"timestamp_seconds":1789819896,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99440c0"} 
[2026-09-19 17:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-19 17:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:42:51] 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-19 17:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193888000001,"66":14265,"43":206,"83":42752,"24":0,"16":21841351809171456,"45":1899604279744151552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193888000001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21841351809171456,"km_value":21841351809171.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604279744151552,"description":"Unknown IO ID 45"} 
[2026-09-19 17:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193888000001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1899604279744151552}} 
[2026-09-19 17:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:42:51] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:42:51] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:43:09] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:09] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:09] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:43:14] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:14] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:43:14] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:43:15] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:15] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:15] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:43:15] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43: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-19 17:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:43:15] 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-19 17:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:43: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-19 17: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-19 17: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-19 17:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:43: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-19 17:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:43:15] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:43:15] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:43:24] local.INFO: TCP Data received {"connection_id":186955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9945c18012d1a5bc00723f558003300e527..."} 
[2026-09-19 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9945c18012d1a5bc00723f558003300e527..."} 
[2026-09-19 17:43:24] local.INFO: Processing buffer {"connection_id":186955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9945c18012d1a5bc00723f558003300e527..."} 
[2026-09-19 17:43:24] local.INFO: Packet analysis {"connection_id":186955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b994"} 
[2026-09-19 17:43:24] local.INFO: Extracted packet for processing {"connection_id":186955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b994"} 
[2026-09-19 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756702144,"raw_latitude":119797080,"longitude_deg":75.6702144,"latitude_deg":11.979708,"altitude":51,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d1a5bc0","hex_latitude":"0723f558","is_valid_coordinates":true} 
[2026-09-19 17:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193893376001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21841373284007936,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604279744151552,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:24] 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-19 17:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789819903000,"timestamp_ms":1789819903000,"timestamp_seconds":1789819903,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9945c18"} 
[2026-09-19 17:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-19 17:43:24] 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-19 17:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:43:24] 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-19 17:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193893376001,"66":14363,"43":206,"83":42752,"24":0,"16":21841373284007936,"45":1899604279744151552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193893376001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:43:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21841373284007936,"km_value":21841373284007.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604279744151552,"description":"Unknown IO ID 45"} 
[2026-09-19 17:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193893376001,"power":14363,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1899604279744151552}} 
[2026-09-19 17:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":186955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:43:25] local.INFO: GPS data processed {"connection_id":186955,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:43:25] local.INFO: Acknowledgment sent {"connection_id":186955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:43:45] local.INFO: TCP Data received {"connection_id":186957,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:45] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:45] local.INFO: IMEI packet received {"connection_id":186957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":186957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:43:46] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:46] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:43:46] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:43:46] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43: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-19 17:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:43:46] 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-19 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:43: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-19 17:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:43: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-19 17:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:43:46] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:43:46] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:43:46] local.INFO: TCP Data received {"connection_id":186957,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:46] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:46] local.INFO: IMEI packet received {"connection_id":186957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":186957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:43:50] local.INFO: TCP Data received {"connection_id":186957,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:50] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:43:50] local.INFO: IMEI packet received {"connection_id":186957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":186957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:43:51] local.INFO: TCP Data received {"connection_id":186957,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9954a60012d1adf0007244578002d002529..."} 
[2026-09-19 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9954a60012d1adf0007244578002d002529..."} 
[2026-09-19 17:43:51] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9954a60012d1adf0007244578002d002529..."} 
[2026-09-19 17:43:51] local.INFO: Packet analysis {"connection_id":186957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:43:51] local.INFO: Extracted packet for processing {"connection_id":186957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":119817592,"longitude_deg":75.6735744,"latitude_deg":11.9817592,"altitude":45,"angle":37,"satellites":41,"speed":37,"hex_longitude":"2d1adf00","hex_latitude":"07244578","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193909760001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933170170721415168,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21843306019291136,"note":"Value kept but may cause issues"} 
[2026-09-19 17:43:51] 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-19 17:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819964000,"timestamp_ms":1789819964000,"timestamp_seconds":1789819964,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9954a60"} 
[2026-09-19 17: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-19 17:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:43:51] 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-19 17: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-19 17: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-19 17:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:43:51] 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-19 17:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193909760001,"66":14374,"45":1933170170721415168,"83":41984,"24":37,"16":21843306019291136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193909760001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933170170721415168,"description":"Unknown IO ID 45"} 
[2026-09-19 17:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21843306019291136,"km_value":21843306019291.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:43:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193909760001,"power":14374,"unknown_45":1933170170721415168,"unknown_83":41984,"ignition":37,"odometer":null}} 
[2026-09-19 17:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":186957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:43:51] local.INFO: GPS data processed {"connection_id":186957,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:43:51] local.INFO: Acknowledgment sent {"connection_id":186957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:44:09] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:09] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:09] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:44:14] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:14] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:44:14] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:44:15] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:15] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:15] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:44:15] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:44:15] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:44: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-19 17: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-19 17: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-19 17:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:44:15] 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-19 17:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:44:15] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:44:15] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:44:22] local.INFO: TCP Data received {"connection_id":186957,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9955de8012d1ae7c007245470002c001a29..."} 
[2026-09-19 17:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9955de8012d1ae7c007245470002c001a29..."} 
[2026-09-19 17:44:22] local.INFO: Processing buffer {"connection_id":186957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9955de8012d1ae7c007245470002c001a29..."} 
[2026-09-19 17:44:22] local.INFO: Packet analysis {"connection_id":186957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:22] local.INFO: Extracted packet for processing {"connection_id":186957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756737984,"raw_latitude":119821424,"longitude_deg":75.6737984,"latitude_deg":11.9821424,"altitude":44,"angle":26,"satellites":41,"speed":29,"hex_longitude":"2d1ae7c0","hex_latitude":"07245470","is_valid_coordinates":true} 
[2026-09-19 17:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193910784001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936266395465906176,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21843520767655936,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:22] 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-19 17:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789819969000,"timestamp_ms":1789819969000,"timestamp_seconds":1789819969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9955de8"} 
[2026-09-19 17:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:44:22] 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-19 17:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44:22] 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-19 17:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193910784001,"66":14396,"45":1936266395465906176,"83":41984,"24":29,"16":21843520767655936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193910784001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936266395465906176,"description":"Unknown IO ID 45"} 
[2026-09-19 17:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21843520767655936,"km_value":21843520767655.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:44:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193910784001,"power":14396,"unknown_45":1936266395465906176,"unknown_83":41984,"ignition":29,"odometer":null}} 
[2026-09-19 17:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":186957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:44:22] local.INFO: GPS data processed {"connection_id":186957,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:44:22] local.INFO: Acknowledgment sent {"connection_id":186957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:44:45] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:45] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:45] local.INFO: IMEI packet received {"connection_id":188393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":188393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:44:46] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:46] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:44:46] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:44:46] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:44:46] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:44: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-19 17: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-19 17: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-19 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:44: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-19 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:44:46] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:44:46] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:44:46] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:46] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:46] local.INFO: IMEI packet received {"connection_id":188393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":188393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:44:50] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:50] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:50] local.INFO: IMEI packet received {"connection_id":188393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":188393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:44:51] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:51] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:44:51] local.INFO: IMEI packet received {"connection_id":188393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":188393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:44:51] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9957d28012d1af34007246730002a002729..."} 
[2026-09-19 17:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9957d28012d1af34007246730002a002729..."} 
[2026-09-19 17:44:51] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9957d28012d1af34007246730002a002729..."} 
[2026-09-19 17:44:51] local.INFO: Packet analysis {"connection_id":188393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:51] local.INFO: Extracted packet for processing {"connection_id":188393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756740928,"raw_latitude":119826224,"longitude_deg":75.6740928,"latitude_deg":11.9826224,"altitude":42,"angle":39,"satellites":41,"speed":31,"hex_longitude":"2d1af340","hex_latitude":"07246730","is_valid_coordinates":true} 
[2026-09-19 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193912064001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938729301513105408,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21843795645562880,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:51] 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-19 17:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789819977000,"timestamp_ms":1789819977000,"timestamp_seconds":1789819977,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9957d28"} 
[2026-09-19 17:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:44:51] 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-19 17:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44:51] 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-19 17:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193912064001,"66":13852,"45":1938729301513105408,"83":41984,"24":31,"16":21843795645562880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193912064001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938729301513105408,"description":"Unknown IO ID 45"} 
[2026-09-19 17:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21843795645562880,"km_value":21843795645562.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:44:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193912064001,"power":13852,"unknown_45":1938729301513105408,"unknown_83":41984,"ignition":31,"odometer":null}} 
[2026-09-19 17:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":188393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:44:51] local.INFO: GPS data processed {"connection_id":188393,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:44:51] local.INFO: Acknowledgment sent {"connection_id":188393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:44:58] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b995a820012d1b0b00072481280025002a26..."} 
[2026-09-19 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b995a820012d1b0b00072481280025002a26..."} 
[2026-09-19 17:44:58] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b995a820012d1b0b00072481280025002a26..."} 
[2026-09-19 17:44:58] local.INFO: Packet analysis {"connection_id":188393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:58] local.INFO: Extracted packet for processing {"connection_id":188393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756747008,"raw_latitude":119832872,"longitude_deg":75.6747008,"latitude_deg":11.9832872,"altitude":37,"angle":42,"satellites":38,"speed":33,"hex_longitude":"2d1b0b00","hex_latitude":"07248128","is_valid_coordinates":true} 
[2026-09-19 17:44: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-19 17:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193914112001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941966263746506752,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21844225142292480,"note":"Value kept but may cause issues"} 
[2026-09-19 17:44:58] 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-19 17:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789819988000,"timestamp_ms":1789819988000,"timestamp_seconds":1789819988,"priority":1,"record_length":96,"hex_timestamp":"000001a0b995a820"} 
[2026-09-19 17:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:44: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":28,"data_length":795,"current_offset":136} 
[2026-09-19 17:44:58] 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-19 17:44: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-19 17:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:44: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-19 17:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193914112001,"66":14157,"45":1941966263746506752,"83":41984,"24":33,"16":21844225142292480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193914112001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941966263746506752,"description":"Unknown IO ID 45"} 
[2026-09-19 17:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21844225142292480,"km_value":21844225142292.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:44:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193914112001,"power":14157,"unknown_45":1941966263746506752,"unknown_83":41984,"ignition":33,"odometer":null}} 
[2026-09-19 17:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":188393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:44:58] local.INFO: GPS data processed {"connection_id":188393,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:44:58] local.INFO: Acknowledgment sent {"connection_id":188393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:45:08] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:08] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:08] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:45:14] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:14] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:45:14] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:45:15] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:15] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:15] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:45:15] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:45:15] 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-19 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:45: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-19 17: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-19 17: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-19 17:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:45:15] 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-19 17:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:45:15] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:45:15] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:45:30] local.INFO: TCP Data received {"connection_id":188393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b995dae8012d1b1b40072491200025003528..."} 
[2026-09-19 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b995dae8012d1b1b40072491200025003528..."} 
[2026-09-19 17:45:31] local.INFO: Processing buffer {"connection_id":188393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b995dae8012d1b1b40072491200025003528..."} 
[2026-09-19 17:45:31] local.INFO: Packet analysis {"connection_id":188393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:45:31] local.INFO: Extracted packet for processing {"connection_id":188393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b995"} 
[2026-09-19 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756751168,"raw_latitude":119836960,"longitude_deg":75.6751168,"latitude_deg":11.983696,"altitude":37,"angle":53,"satellites":40,"speed":16,"hex_longitude":"2d1b1b40","hex_latitude":"07249120","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193916928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948651294445086720,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21844504315166720,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:31] 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-19 17:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789820001000,"timestamp_ms":1789820001000,"timestamp_seconds":1789820001,"priority":1,"record_length":96,"hex_timestamp":"000001a0b995dae8"} 
[2026-09-19 17: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-19 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-19 17:45: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-19 17: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-19 17: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-19 17:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":188393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":188393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:45:31] 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-19 17:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193916928001,"66":14428,"45":1948651294445086720,"83":41984,"24":16,"16":21844504315166720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193916928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948651294445086720,"description":"Unknown IO ID 45"} 
[2026-09-19 17:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21844504315166720,"km_value":21844504315166.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:45:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458193916928001,"power":14428,"unknown_45":1948651294445086720,"unknown_83":41984,"ignition":16,"odometer":null}} 
[2026-09-19 17:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":188393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:45:31] local.INFO: GPS data processed {"connection_id":188393,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:45:31] local.INFO: Acknowledgment sent {"connection_id":188393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:45:38] local.INFO: TCP Data received {"connection_id":189696,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:45:38] local.INFO: Processing buffer {"connection_id":189696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 17:45:38] local.INFO: IMEI packet received {"connection_id":189696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 17:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":189696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:45:46] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:46] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:45:46] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:45:46] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:45:46] 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-19 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:45: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-19 17:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:45: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-19 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:45:46] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:45:46] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:46:02] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:02] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:02] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:46:04] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:04] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:04] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:05] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:05] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:05] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:08] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:08] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:08] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:46:11] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:11] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:11] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:12] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9979450012d1b668007254f40002d000629..."} 
[2026-09-19 17:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9979450012d1b668007254f40002d000629..."} 
[2026-09-19 17:46:12] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9979450012d1b668007254f40002d000629..."} 
[2026-09-19 17:46:12] local.INFO: Packet analysis {"connection_id":187093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b997"} 
[2026-09-19 17:46:12] local.INFO: Extracted packet for processing {"connection_id":187093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b997"} 
[2026-09-19 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119885632,"longitude_deg":75.6770432,"latitude_deg":11.9885632,"altitude":45,"angle":6,"satellites":41,"speed":18,"hex_longitude":"2d1b6680","hex_latitude":"07254f40","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193944832001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21847231619399680,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972858142453456896,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:12] 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-19 17:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789820114000,"timestamp_ms":1789820114000,"timestamp_seconds":1789820114,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9979450"} 
[2026-09-19 17: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-19 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-19 17:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:46: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-19 17:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193944832001,"66":14233,"44":206,"83":41984,"24":18,"16":21847231619399680,"45":1972858142453456896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-19 17:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193944832001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-19 17:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21847231619399680,"km_value":21847231619399.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972858142453456896,"description":"Unknown IO ID 45"} 
[2026-09-19 17:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193944832001,"power":14233,"unknown_44":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1972858142453456896}} 
[2026-09-19 17:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":187093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:46:12] local.INFO: GPS data processed {"connection_id":187093,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:46:12] local.INFO: Acknowledgment sent {"connection_id":187093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:46:14] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:14] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:46:14] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:15] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:15] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b993bfd8012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:15] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:46:15] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b993"} 
[2026-09-19 17:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193807872001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46: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-19 17:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789819863000,"timestamp_ms":1789819863000,"timestamp_seconds":1789819863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b993bfd8"} 
[2026-09-19 17: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-19 17:46:15] 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-19 17:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:46: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-19 17:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193807872001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193807872001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193807872001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:46:15] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:46:15] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:46:45] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:45] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:45] local.INFO: IMEI packet received {"connection_id":189697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":189697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:46:46] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:46] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:46:46] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:46:46] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46: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-19 17:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:46: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-19 17:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:46: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-19 17:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:46:46] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:46:46] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:46:46] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:46] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:46] local.INFO: IMEI packet received {"connection_id":189697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":189697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:50] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:50] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:46:50] local.INFO: IMEI packet received {"connection_id":189697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":189697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:46:50] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b997a3f0012d1b668007255860002d016428..."} 
[2026-09-19 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b997a3f0012d1b668007255860002d016428..."} 
[2026-09-19 17:46:50] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b997a3f0012d1b668007255860002d016428..."} 
[2026-09-19 17:46:50] local.INFO: Packet analysis {"connection_id":189697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b997"} 
[2026-09-19 17:46:50] local.INFO: Extracted packet for processing {"connection_id":189697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b997"} 
[2026-09-19 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119887968,"longitude_deg":75.6770432,"latitude_deg":11.9887968,"altitude":45,"angle":356,"satellites":40,"speed":28,"hex_longitude":"2d1b6680","hex_latitude":"07255860","is_valid_coordinates":true} 
[2026-09-19 17:46: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-19 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193949184001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21847343288549376,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254827618304,"note":"Value kept but may cause issues"} 
[2026-09-19 17:46:50] 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-19 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789820118000,"timestamp_ms":1789820118000,"timestamp_seconds":1789820118,"priority":1,"record_length":96,"hex_timestamp":"000001a0b997a3f0"} 
[2026-09-19 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-19 17:46:50] 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-19 17:46: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-19 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:46:50] 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-19 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193949184001,"66":14374,"135":206,"83":42752,"24":28,"16":21847343288549376,"45":1974406254827618304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-19 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193949184001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:46:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-19 17:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21847343288549376,"km_value":21847343288549.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254827618304,"description":"Unknown IO ID 45"} 
[2026-09-19 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193949184001,"power":14374,"unknown_135":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1974406254827618304}} 
[2026-09-19 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":189697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:46:50] local.INFO: GPS data processed {"connection_id":189697,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:46:50] local.INFO: Acknowledgment sent {"connection_id":189697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:47:14] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:14] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:14] local.INFO: IMEI packet received {"connection_id":186959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":186959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:47:19] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:19] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:47:19] local.INFO: IMEI packet received {"connection_id":186959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":186959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:47:20] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:20] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:20] local.INFO: Packet analysis {"connection_id":186959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:20] local.INFO: Extracted packet for processing {"connection_id":186959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17: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-19 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:47:20] 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-19 17:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":186959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:47:20] local.INFO: GPS data processed {"connection_id":186959,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:47:20] local.INFO: Acknowledgment sent {"connection_id":186959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:47:22] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9989df0012d1b290007258c28003300f424..."} 
[2026-09-19 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9989df0012d1b290007258c28003300f424..."} 
[2026-09-19 17:47:22] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9989df0012d1b290007258c28003300f424..."} 
[2026-09-19 17:47:22] local.INFO: Packet analysis {"connection_id":189697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:22] local.INFO: Extracted packet for processing {"connection_id":189697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756754688,"raw_latitude":119901224,"longitude_deg":75.6754688,"latitude_deg":11.9901224,"altitude":51,"angle":244,"satellites":36,"speed":8,"hex_longitude":"2d1b2900","hex_latitude":"07258c28","is_valid_coordinates":true} 
[2026-09-19 17:47: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-19 17:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193965568001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848515814621184,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958151074926653440,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789820182000,"timestamp_ms":1789820182000,"timestamp_seconds":1789820182,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9989df0"} 
[2026-09-19 17:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-19 17:47:22] 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-19 17:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:47:22] 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-19 17:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193965568001,"66":13167,"217":206,"83":42752,"24":8,"16":21848515814621184,"45":1958151074926653440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-19 17:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193965568001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21848515814621184,"km_value":21848515814621.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958151074926653440,"description":"Unknown IO ID 45"} 
[2026-09-19 17:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193965568001,"power":13167,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1958151074926653440}} 
[2026-09-19 17:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":189697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:47:22] local.INFO: GPS data processed {"connection_id":189697,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:47:22] local.INFO: Acknowledgment sent {"connection_id":189697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:47:45] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:45] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:45] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:47:50] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:50] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:47:50] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:47:51] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b998b948012d1b22c0072589f80034010024..."} 
[2026-09-19 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b998b948012d1b22c0072589f80034010024..."} 
[2026-09-19 17:47:51] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b998b948012d1b22c0072589f80034010024..."} 
[2026-09-19 17:47:51] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:51] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756753088,"raw_latitude":119900664,"longitude_deg":75.6753088,"latitude_deg":11.9900664,"altitude":52,"angle":256,"satellites":36,"speed":8,"hex_longitude":"2d1b22c0","hex_latitude":"072589f8","is_valid_coordinates":true} 
[2026-09-19 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193966592001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848597418999808,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957095543763904512,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:51] 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-19 17:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820189000,"timestamp_ms":1789820189000,"timestamp_seconds":1789820189,"priority":1,"record_length":96,"hex_timestamp":"000001a0b998b948"} 
[2026-09-19 17:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-19 17:47:51] 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-19 17:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:47:51] 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-19 17:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193966592001,"66":13167,"217":206,"83":42752,"24":8,"16":21848597418999808,"45":1957095543763904512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-19 17:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193966592001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:47:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 17:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21848597418999808,"km_value":21848597418999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957095543763904512,"description":"Unknown IO ID 45"} 
[2026-09-19 17:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193966592001,"power":13167,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1957095543763904512}} 
[2026-09-19 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:47:51] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:47:51] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:47:52] local.INFO: TCP Data received {"connection_id":186959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:52] local.INFO: Processing buffer {"connection_id":186959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:47:52] local.INFO: Packet analysis {"connection_id":186959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:52] local.INFO: Extracted packet for processing {"connection_id":186959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:47: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-19 17:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:47:52] 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-19 17:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":186959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:47:52] local.INFO: GPS data processed {"connection_id":186959,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:47:52] local.INFO: Acknowledgment sent {"connection_id":186959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:48:09] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:09] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:09] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:48:14] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:14] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:14] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:48:19] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:19] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:48:19] local.INFO: IMEI packet received {"connection_id":186960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":186960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:48:20] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:20] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:20] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:20] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:48:20] 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-19 17:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:48:20] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:48:20] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:48:22] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b998d0b8012d1b200007258920003400f41a..."} 
[2026-09-19 17:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b998d0b8012d1b200007258920003400f41a..."} 
[2026-09-19 17:48:22] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b998d0b8012d1b200007258920003400f41a..."} 
[2026-09-19 17:48:22] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:22] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756752384,"raw_latitude":119900448,"longitude_deg":75.6752384,"latitude_deg":11.9900448,"altitude":52,"angle":244,"satellites":26,"speed":5,"hex_longitude":"2d1b2000","hex_latitude":"07258920","is_valid_coordinates":true} 
[2026-09-19 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193968384001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848631778738176,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955336325159319552,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789820195000,"timestamp_ms":1789820195000,"timestamp_seconds":1789820195,"priority":1,"record_length":96,"hex_timestamp":"000001a0b998d0b8"} 
[2026-09-19 17:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-19 17:48:22] 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-19 17:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:48:22] 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-19 17:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193968384001,"66":13156,"217":206,"83":42752,"24":5,"16":21848631778738176,"45":1955336325159319552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-19 17:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193968384001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:48:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-19 17:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21848631778738176,"km_value":21848631778738.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955336325159319552,"description":"Unknown IO ID 45"} 
[2026-09-19 17:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193968384001,"power":13156,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1955336325159319552}} 
[2026-09-19 17:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:48:22] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:48:22] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:48:46] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:46] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:46] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:48:50] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:50] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:48:50] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:48:51] local.INFO: TCP Data received {"connection_id":186960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:51] local.INFO: Processing buffer {"connection_id":186960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:48:51] local.INFO: Packet analysis {"connection_id":186960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:51] local.INFO: Extracted packet for processing {"connection_id":186960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48: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-19 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:48:51] 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-19 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":186960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":186960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:48:51] 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-19 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":186960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:48:51] local.INFO: GPS data processed {"connection_id":186960,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:48:51] local.INFO: Acknowledgment sent {"connection_id":186960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:48:51] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b999b7300100000000000000000000000000..."} 
[2026-09-19 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b999b7300100000000000000000000000000..."} 
[2026-09-19 17:48:51] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b999b7300100000000000000000000000000..."} 
[2026-09-19 17:48:51] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b999"} 
[2026-09-19 17:48:51] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b999"} 
[2026-09-19 17:48: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-19 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193969920001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954562268973309952,"note":"Value kept but may cause issues"} 
[2026-09-19 17:48:51] 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-19 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820254000,"timestamp_ms":1789820254000,"timestamp_seconds":1789820254,"priority":1,"record_length":96,"hex_timestamp":"000001a0b999b730"} 
[2026-09-19 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-19 17:48:51] 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-19 17:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:48:51] 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-19 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:48:51] local.INFO: GPS data processed {"connection_id":188396,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:48:51] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:49:09] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:09] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:09] local.INFO: IMEI packet received {"connection_id":189698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:49:14] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:14] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:49:14] local.INFO: IMEI packet received {"connection_id":189698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:49:15] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:15] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:15] local.INFO: Packet analysis {"connection_id":189698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:49:15] local.INFO: Extracted packet for processing {"connection_id":189698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49: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-19 17:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17: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-19 17:49:15] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:49: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-19 17: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-19 17: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-19 17:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:49: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-19 17:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":189698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:49:15] local.INFO: GPS data processed {"connection_id":189698,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:49:15] local.INFO: Acknowledgment sent {"connection_id":189698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:49:25] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99a09380100000000000000000000000000..."} 
[2026-09-19 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99a09380100000000000000000000000000..."} 
[2026-09-19 17:49:25] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99a09380100000000000000000000000000..."} 
[2026-09-19 17:49:25] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:49:25] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:49: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-19 17:49: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-19 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789820275000,"timestamp_ms":1789820275000,"timestamp_seconds":1789820275,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99a0938"} 
[2026-09-19 17:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 17:49:25] 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-19 17:49: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-19 17:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:49:25] 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-19 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:49:25] local.INFO: GPS data processed {"connection_id":188396,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:49:25] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:49:45] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:45] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:45] local.INFO: IMEI packet received {"connection_id":189699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":189699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:49:47] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:47] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:49:47] local.INFO: Packet analysis {"connection_id":189698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:49:47] local.INFO: Extracted packet for processing {"connection_id":189698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17: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-19 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:49: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-19 17: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-19 17: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-19 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:49:47] 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-19 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:49:47] local.INFO: GPS data processed {"connection_id":189698,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:49:47] local.INFO: Acknowledgment sent {"connection_id":189698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:49:50] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:50] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:49:50] local.INFO: IMEI packet received {"connection_id":189699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":189699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:49:51] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99a5b400100000000000000000000000000..."} 
[2026-09-19 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99a5b400100000000000000000000000000..."} 
[2026-09-19 17:49:51] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99a5b400100000000000000000000000000..."} 
[2026-09-19 17:49:51] local.INFO: Packet analysis {"connection_id":189699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:49:51] local.INFO: Extracted packet for processing {"connection_id":189699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:49: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-19 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:49:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820296000,"timestamp_ms":1789820296000,"timestamp_seconds":1789820296,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99a5b40"} 
[2026-09-19 17:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-19 17:49:51] 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-19 17:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:49:51] 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-19 17:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":189699,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:49:51] local.INFO: GPS data processed {"connection_id":189699,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:49:51] local.INFO: Acknowledgment sent {"connection_id":189699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:50:08] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:08] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:08] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:50:14] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:14] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:50:14] local.INFO: IMEI packet received {"connection_id":186962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":186962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:50:15] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:15] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:15] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:50:15] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50: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-19 17:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:50:15] 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-19 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:50: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-19 17:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:50: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-19 17:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:50:15] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:50:15] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:50:35] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99aad480100000000000000000000000000..."} 
[2026-09-19 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99aad480100000000000000000000000000..."} 
[2026-09-19 17:50:35] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99aad480100000000000000000000000000..."} 
[2026-09-19 17:50:35] local.INFO: Packet analysis {"connection_id":189699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:50:35] local.INFO: Extracted packet for processing {"connection_id":189699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:50: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-19 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-19 17:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789820317000,"timestamp_ms":1789820317000,"timestamp_seconds":1789820317,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99aad48"} 
[2026-09-19 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-19 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 17:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 17:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":189699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":189699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":189699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:50:35] 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-19 17:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":189699,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:50:35] local.INFO: GPS data processed {"connection_id":189699,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:50:35] local.INFO: Acknowledgment sent {"connection_id":189699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:50:47] local.INFO: TCP Data received {"connection_id":186962,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:47] local.INFO: Processing buffer {"connection_id":186962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:50:47] local.INFO: Packet analysis {"connection_id":186962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:50:47] local.INFO: Extracted packet for processing {"connection_id":186962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50: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-19 17:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17: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-19 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:50: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-19 17: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-19 17: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-19 17:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:50: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-19 17:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":186962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:50:47] local.INFO: GPS data processed {"connection_id":186962,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:50:47] local.INFO: Acknowledgment sent {"connection_id":186962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:50:50] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:50] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:51] local.INFO: IMEI packet received {"connection_id":189700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":189700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:50:55] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:55] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:50:55] local.INFO: IMEI packet received {"connection_id":189700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":189700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:50:56] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99aff500100000000000000000000000000..."} 
[2026-09-19 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99aff500100000000000000000000000000..."} 
[2026-09-19 17:50:56] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99aff500100000000000000000000000000..."} 
[2026-09-19 17:50:56] local.INFO: Packet analysis {"connection_id":189700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:50:56] local.INFO: Extracted packet for processing {"connection_id":189700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99a"} 
[2026-09-19 17:50: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-19 17:50: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-19 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:50:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789820338000,"timestamp_ms":1789820338000,"timestamp_seconds":1789820338,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99aff50"} 
[2026-09-19 17:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 17:50:56] 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-19 17:50: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-19 17:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":189700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:50:56] 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-19 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":189700,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:50:56] local.INFO: GPS data processed {"connection_id":189700,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:50:56] local.INFO: Acknowledgment sent {"connection_id":189700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:51:00] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99b51580100000000000000000000000000..."} 
[2026-09-19 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99b51580100000000000000000000000000..."} 
[2026-09-19 17:51:00] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99b51580100000000000000000000000000..."} 
[2026-09-19 17:51:00] local.INFO: Packet analysis {"connection_id":189700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99b"} 
[2026-09-19 17:51:00] local.INFO: Extracted packet for processing {"connection_id":189700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99b"} 
[2026-09-19 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-19 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789820359000,"timestamp_ms":1789820359000,"timestamp_seconds":1789820359,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99b5158"} 
[2026-09-19 17:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-19 17:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":189700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:51:00] 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-19 17:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":189700,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:51:00] local.INFO: GPS data processed {"connection_id":189700,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:51:00] local.INFO: Acknowledgment sent {"connection_id":189700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:51:08] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:08] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:08] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:51:14] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:14] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:51:14] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:51:15] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:15] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99857a0012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:15] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:51:15] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b998"} 
[2026-09-19 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193884928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51: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-19 17:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820164000,"timestamp_ms":1789820164000,"timestamp_seconds":1789820164,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99857a0"} 
[2026-09-19 17:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:51:15] 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-19 17:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:51: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-19 17:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:51: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-19 17:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193884928001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193884928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193884928001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:51:15] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:51:15] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:51:31] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99ba3600100000000000000000000000000..."} 
[2026-09-19 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99ba3600100000000000000000000000000..."} 
[2026-09-19 17:51:31] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99ba3600100000000000000000000000000..."} 
[2026-09-19 17:51:31] local.INFO: Packet analysis {"connection_id":189700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99b"} 
[2026-09-19 17:51:31] local.INFO: Extracted packet for processing {"connection_id":189700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99b"} 
[2026-09-19 17:51: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-19 17:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21848670433443840,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 17:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789820380000,"timestamp_ms":1789820380000,"timestamp_seconds":1789820380,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99ba360"} 
[2026-09-19 17:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-19 17:51:31] 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-19 17:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":189700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":189700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:51:31] 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-19 17:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":189700,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 17:51:31] local.INFO: GPS data processed {"connection_id":189700,"processed":0,"errors":0,"total":1} 
[2026-09-19 17:51:31] local.INFO: Acknowledgment sent {"connection_id":189700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:51:41] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:41] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:41] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:51:42] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:42] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:42] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:51:44] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:44] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:44] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:51:45] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:45] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:51:45] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:51:46] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:46] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:51:46] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:51:46] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:51: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-19 17:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:51:46] 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-19 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:51: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-19 17:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:51: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-19 17:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:51:46] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:51:46] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:52:14] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:14] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:14] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:52:19] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:19] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:52:19] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:52:19] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:19] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:19] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:52:19] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:52:19] 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-19 17:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 17:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:52:19] 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-19 17:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:52:19] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:52:19] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:52:52] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:52] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:52:52] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:52:52] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:52: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-19 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:52:52] 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-19 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:52: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-19 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:52:52] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:52:52] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:53:09] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:09] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:09] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:53:14] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:14] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:53:14] local.INFO: IMEI packet received {"connection_id":186963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":186963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:53:16] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:16] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:16] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:53:16] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:53: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-19 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17: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-19 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:53:16] 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-19 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:53:16] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:53:16] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:53:47] local.INFO: TCP Data received {"connection_id":186963,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:47] local.INFO: Processing buffer {"connection_id":186963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:53:47] local.INFO: Packet analysis {"connection_id":186963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:53:47] local.INFO: Extracted packet for processing {"connection_id":186963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17: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-19 17:53:47] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:53: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-19 17: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-19 17: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-19 17:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:53: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-19 17:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":186963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:53:47] local.INFO: GPS data processed {"connection_id":186963,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:53:47] local.INFO: Acknowledgment sent {"connection_id":186963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:54:09] local.INFO: TCP Data received {"connection_id":188399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:09] local.INFO: Processing buffer {"connection_id":188399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:09] local.INFO: IMEI packet received {"connection_id":188399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:54:14] local.INFO: TCP Data received {"connection_id":188399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:14] local.INFO: Processing buffer {"connection_id":188399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:54:14] local.INFO: IMEI packet received {"connection_id":188399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:54:15] local.INFO: TCP Data received {"connection_id":188399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:15] local.INFO: Processing buffer {"connection_id":188399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:15] local.INFO: Packet analysis {"connection_id":188399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:54:15] local.INFO: Extracted packet for processing {"connection_id":188399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:54: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-19 17:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17: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-19 17:54:15] 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-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:54: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-19 17: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-19 17: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-19 17:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:54: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-19 17:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:54:15] local.INFO: GPS data processed {"connection_id":188399,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:54:15] local.INFO: Acknowledgment sent {"connection_id":188399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:54:47] local.INFO: TCP Data received {"connection_id":188399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:47] local.INFO: Processing buffer {"connection_id":188399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:54:47] local.INFO: Packet analysis {"connection_id":188399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:54:47] local.INFO: Extracted packet for processing {"connection_id":188399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17: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-19 17:54:47] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:54: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-19 17: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-19 17: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-19 17:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:54:47] 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-19 17:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:54:47] local.INFO: GPS data processed {"connection_id":188399,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:54:47] local.INFO: Acknowledgment sent {"connection_id":188399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:55:08] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:08] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:08] local.INFO: IMEI packet received {"connection_id":189704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":189704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:55:14] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:14] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:55:14] local.INFO: IMEI packet received {"connection_id":189704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":189704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:55:16] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:16] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:16] local.INFO: Packet analysis {"connection_id":189704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:55:16] local.INFO: Extracted packet for processing {"connection_id":189704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:55: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-19 17:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:55: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-19 17:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":189704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:55:16] local.INFO: GPS data processed {"connection_id":189704,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:55:16] local.INFO: Acknowledgment sent {"connection_id":189704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:55:48] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:48] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:55:48] local.INFO: Packet analysis {"connection_id":189704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:55:48] local.INFO: Extracted packet for processing {"connection_id":189704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17: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-19 17:55:48] 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-19 17: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:55: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-19 17: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-19 17: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-19 17:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:55: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-19 17:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":189704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:55:48] local.INFO: GPS data processed {"connection_id":189704,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:55:48] local.INFO: Acknowledgment sent {"connection_id":189704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:56:08] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:08] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:08] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:56:14] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:14] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:56:14] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:56:15] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:15] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b99cef68012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:15] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:56:15] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b99c"} 
[2026-09-19 17:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458193961984001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56: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-19 17:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820465000,"timestamp_ms":1789820465000,"timestamp_seconds":1789820465,"priority":1,"record_length":96,"hex_timestamp":"000001a0b99cef68"} 
[2026-09-19 17:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:56:15] 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-19 17:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 17:56: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-19 17:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:56: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-19 17:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458193961984001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458193961984001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458193961984001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:56:15] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:56:15] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:56:47] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:47] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:56:47] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:56:47] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56: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-19 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:56:47] 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-19 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:56: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-19 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:56:47] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:56:47] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:56:50] local.INFO: TCP Data received {"connection_id":189705,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:56:50] local.INFO: Processing buffer {"connection_id":189705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:56:50] local.INFO: IMEI packet received {"connection_id":189705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":189705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:56:51] local.INFO: TCP Data received {"connection_id":189705,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a0fa90012d1b0dc007248308002900dc27..."} 
[2026-09-19 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a0fa90012d1b0dc007248308002900dc27..."} 
[2026-09-19 17:56:51] local.INFO: Processing buffer {"connection_id":189705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a0fa90012d1b0dc007248308002900dc27..."} 
[2026-09-19 17:56:51] local.INFO: Packet analysis {"connection_id":189705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a0"} 
[2026-09-19 17:56:51] local.INFO: Extracted packet for processing {"connection_id":189705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a0"} 
[2026-09-19 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756747712,"raw_latitude":119833352,"longitude_deg":75.6747712,"latitude_deg":11.9833352,"altitude":41,"angle":220,"satellites":39,"speed":19,"hex_longitude":"2d1b0dc0","hex_latitude":"07248308","is_valid_coordinates":true} 
[2026-09-19 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194104064001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1953999319003568128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21853386307534848,"note":"Value kept but may cause issues"} 
[2026-09-19 17:56:51] 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-19 17:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820730000,"timestamp_ms":1789820730000,"timestamp_seconds":1789820730,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a0fa90"} 
[2026-09-19 17:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:56:51] 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-19 17:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:56:51] 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-19 17:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194104064001,"66":13820,"45":1953999319003568128,"83":41984,"24":19,"16":21853386307534848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194104064001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1953999319003568128,"description":"Unknown IO ID 45"} 
[2026-09-19 17:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21853386307534848,"km_value":21853386307534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:56:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458194104064001,"power":13820,"unknown_45":1953999319003568128,"unknown_83":41984,"ignition":19,"odometer":null}} 
[2026-09-19 17:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":189705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:56:51] local.INFO: GPS data processed {"connection_id":189705,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:56:51] local.INFO: Acknowledgment sent {"connection_id":189705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:57:14] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:14] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:14] local.INFO: IMEI packet received {"connection_id":189706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:57:19] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:19] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:57:19] local.INFO: IMEI packet received {"connection_id":189706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":189706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:57:20] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:20] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:20] local.INFO: Packet analysis {"connection_id":189706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:20] local.INFO: Extracted packet for processing {"connection_id":189706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 17:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 17:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:57:20] 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-19 17:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":189706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:57:20] local.INFO: GPS data processed {"connection_id":189706,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:57:20] local.INFO: Acknowledgment sent {"connection_id":189706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:57:23] local.INFO: TCP Data received {"connection_id":189705,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a12970012d1af5c0072468d0002a00dc29..."} 
[2026-09-19 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a12970012d1af5c0072468d0002a00dc29..."} 
[2026-09-19 17:57:23] local.INFO: Processing buffer {"connection_id":189705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a12970012d1af5c0072468d0002a00dc29..."} 
[2026-09-19 17:57:23] local.INFO: Packet analysis {"connection_id":189705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:23] local.INFO: Extracted packet for processing {"connection_id":189705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756741568,"raw_latitude":119826640,"longitude_deg":75.6741568,"latitude_deg":11.982664,"altitude":42,"angle":220,"satellites":41,"speed":33,"hex_longitude":"2d1af5c0","hex_latitude":"072468d0","is_valid_coordinates":true} 
[2026-09-19 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194106880001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949425350631163904,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21853828689166336,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:23] 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-19 17:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789820742000,"timestamp_ms":1789820742000,"timestamp_seconds":1789820742,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a12970"} 
[2026-09-19 17:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-19 17:57:23] 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-19 17:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:57:23] 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-19 17:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194106880001,"66":13993,"45":1949425350631163904,"83":41984,"24":33,"16":21853828689166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194106880001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949425350631163904,"description":"Unknown IO ID 45"} 
[2026-09-19 17:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21853828689166336,"km_value":21853828689166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:57:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458194106880001,"power":13993,"unknown_45":1949425350631163904,"unknown_83":41984,"ignition":33,"odometer":null}} 
[2026-09-19 17:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:57:23] local.INFO: GPS data processed {"connection_id":189705,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:57:23] local.INFO: Acknowledgment sent {"connection_id":189705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:57:45] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:57:45] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:45] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:57:50] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:50] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:57:50] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:57:51] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a140e0012d1ae9c007245820002c00d126..."} 
[2026-09-19 17:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a140e0012d1ae9c007245820002c00d126..."} 
[2026-09-19 17:57:51] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a140e0012d1ae9c007245820002c00d126..."} 
[2026-09-19 17:57:51] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:51] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756738496,"raw_latitude":119822368,"longitude_deg":75.6738496,"latitude_deg":11.9822368,"altitude":44,"angle":209,"satellites":38,"speed":35,"hex_longitude":"2d1ae9c0","hex_latitude":"07245820","is_valid_coordinates":true} 
[2026-09-19 17:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194109952001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942669951188389888,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21854077797269504,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:51] 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-19 17:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789820748000,"timestamp_ms":1789820748000,"timestamp_seconds":1789820748,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a140e0"} 
[2026-09-19 17:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 17:57:51] 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-19 17:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:57:51] 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-19 17:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194109952001,"66":14048,"45":1942669951188389888,"83":41984,"24":35,"16":21854077797269504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-19 17:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194109952001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942669951188389888,"description":"Unknown IO ID 45"} 
[2026-09-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 17:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21854077797269504,"km_value":21854077797269.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:57:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458194109952001,"power":14048,"unknown_45":1942669951188389888,"unknown_83":41984,"ignition":35,"odometer":null}} 
[2026-09-19 17:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:57:51] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:57:51] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:57:52] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:52] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:57:52] local.INFO: Packet analysis {"connection_id":189706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:52] local.INFO: Extracted packet for processing {"connection_id":189706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:57: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-19 17:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:57:52] 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-19 17:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:57:52] 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-19 17:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":189706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:57:52] local.INFO: GPS data processed {"connection_id":189706,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:57:52] local.INFO: Acknowledgment sent {"connection_id":189706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:58:09] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:09] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:09] local.INFO: IMEI packet received {"connection_id":186965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":186965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:58:14] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:14] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:58:14] local.INFO: IMEI packet received {"connection_id":186965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":186965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:58:15] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:15] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:15] local.INFO: Packet analysis {"connection_id":186965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:58:15] local.INFO: Extracted packet for processing {"connection_id":186965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17: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-19 17:58:15] 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-19 17: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17: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-19 17:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":186965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:58:15] local.INFO: GPS data processed {"connection_id":186965,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:58:15] local.INFO: Acknowledgment sent {"connection_id":186965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:58:22] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a2f278012d1a5ec00723fa08002f00dd27..."} 
[2026-09-19 17:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a2f278012d1a5ec00723fa08002f00dd27..."} 
[2026-09-19 17:58:22] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a2f278012d1a5ec00723fa08002f00dd27..."} 
[2026-09-19 17:58:22] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a2"} 
[2026-09-19 17:58:22] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a2"} 
[2026-09-19 17:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756702912,"raw_latitude":119798280,"longitude_deg":75.6702912,"latitude_deg":11.979828,"altitude":47,"angle":221,"satellites":39,"speed":6,"hex_longitude":"2d1a5ec0","hex_latitude":"0723fa08","is_valid_coordinates":true} 
[2026-09-19 17:58: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-19 17:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194135808001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856195216146432,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900448704674619392,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:22] 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-19 17:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789820859000,"timestamp_ms":1789820859000,"timestamp_seconds":1789820859,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a2f278"} 
[2026-09-19 17:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:58: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":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:58:22] 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-19 17:58: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-19 17:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:58:22] 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-19 17:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194135808001,"66":14374,"43":206,"83":42752,"24":6,"16":21856195216146432,"45":1900448704674619392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194135808001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:58:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856195216146432,"km_value":21856195216146.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900448704674619392,"description":"Unknown IO ID 45"} 
[2026-09-19 17:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194135808001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1900448704674619392}} 
[2026-09-19 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:58:23] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:58:23] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:58:45] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:45] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:45] local.INFO: IMEI packet received {"connection_id":189707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":189707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:58:46] local.INFO: TCP Data received {"connection_id":186965,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:46] local.INFO: Processing buffer {"connection_id":186965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:58:46] local.INFO: Packet analysis {"connection_id":186965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:58:46] local.INFO: Extracted packet for processing {"connection_id":186965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17: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-19 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:58:46] 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-19 17:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:58:46] 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-19 17:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:58: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-19 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":186965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:58:46] local.INFO: GPS data processed {"connection_id":186965,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:58:46] local.INFO: Acknowledgment sent {"connection_id":186965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:58:50] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:50] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:58:50] local.INFO: IMEI packet received {"connection_id":189707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":189707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:58:50] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a2fa48012d1a5d400723f8e0002f00e82a..."} 
[2026-09-19 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a2fa48012d1a5d400723f8e0002f00e82a..."} 
[2026-09-19 17:58:50] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a2fa48012d1a5d400723f8e0002f00e82a..."} 
[2026-09-19 17:58:50] local.INFO: Packet analysis {"connection_id":189707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a2"} 
[2026-09-19 17:58:50] local.INFO: Extracted packet for processing {"connection_id":189707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a2"} 
[2026-09-19 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756702528,"raw_latitude":119797984,"longitude_deg":75.6702528,"latitude_deg":11.9797984,"altitude":47,"angle":232,"satellites":42,"speed":12,"hex_longitude":"2d1a5d40","hex_latitude":"0723f8e0","is_valid_coordinates":true} 
[2026-09-19 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194139904001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856220985950208,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900167229697820672,"note":"Value kept but may cause issues"} 
[2026-09-19 17:58:50] 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-19 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789820861000,"timestamp_ms":1789820861000,"timestamp_seconds":1789820861,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a2fa48"} 
[2026-09-19 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-19 17:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:58:50] 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-19 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194139904001,"66":14396,"43":206,"83":42752,"24":12,"16":21856220985950208,"45":1900167229697820672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194139904001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856220985950208,"km_value":21856220985950.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900167229697820672,"description":"Unknown IO ID 45"} 
[2026-09-19 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194139904001,"power":14396,"unknown_43":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1900167229697820672}} 
[2026-09-19 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":189707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:58:50] local.INFO: GPS data processed {"connection_id":189707,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:58:50] local.INFO: Acknowledgment sent {"connection_id":189707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:59:08] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:08] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:08] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:59:14] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:14] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 17:59:14] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 17:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:59:15] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:15] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:15] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:59:15] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59: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-19 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17: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-19 17:59:15] 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-19 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 17: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-19 17: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-19 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:59:15] 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-19 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:59:15] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:59:15] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:59:24] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a30218012d1a5ac00723f6b8002f00db29..."} 
[2026-09-19 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a30218012d1a5ac00723f6b8002f00db29..."} 
[2026-09-19 17:59:24] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a30218012d1a5ac00723f6b8002f00db29..."} 
[2026-09-19 17:59:24] local.INFO: Packet analysis {"connection_id":189707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 17:59:24] local.INFO: Extracted packet for processing {"connection_id":189707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756701888,"raw_latitude":119797432,"longitude_deg":75.6701888,"latitude_deg":11.9797432,"altitude":47,"angle":219,"satellites":41,"speed":17,"hex_longitude":"2d1a5ac0","hex_latitude":"0723f6b8","is_valid_coordinates":true} 
[2026-09-19 17:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 17:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194140416001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856259640655872,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899745017232678912,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:24] 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-19 17:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789820863000,"timestamp_ms":1789820863000,"timestamp_seconds":1789820863,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a30218"} 
[2026-09-19 17:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 17:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 17:59:24] 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-19 17:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 17:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 17:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:59:24] 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-19 17:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194140416001,"66":14352,"43":206,"83":42752,"24":17,"16":21856259640655872,"45":1899745017232678912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194140416001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:59:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856259640655872,"km_value":21856259640655.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899745017232678912,"description":"Unknown IO ID 45"} 
[2026-09-19 17:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194140416001,"power":14352,"unknown_43":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1899745017232678912}} 
[2026-09-19 17:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":189707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:59:24] local.INFO: GPS data processed {"connection_id":189707,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:59:24] local.INFO: Acknowledgment sent {"connection_id":189707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:59:45] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:45] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:45] local.INFO: IMEI packet received {"connection_id":188401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":188401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 17:59:46] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:46] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 17:59:46] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:59:46] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59: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-19 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 17: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-19 17:59:46] 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-19 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 17:59:46] 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-19 17: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-19 17: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-19 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 17:59: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-19 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 17:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:59:46] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:59:46] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 17:59:52] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:52] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:52] local.INFO: IMEI packet received {"connection_id":188401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":188401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:59:53] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:53] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 17:59:53] local.INFO: IMEI packet received {"connection_id":188401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 17:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":188401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 17:59:53] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a338c8012d1a46c00723d7b8003300d326..."} 
[2026-09-19 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a338c8012d1a46c00723d7b8003300d326..."} 
[2026-09-19 17:59:53] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a338c8012d1a46c00723d7b8003300d326..."} 
[2026-09-19 17:59:53] local.INFO: Packet analysis {"connection_id":188401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 17:59:53] local.INFO: Extracted packet for processing {"connection_id":188401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756696768,"raw_latitude":119789496,"longitude_deg":75.6696768,"latitude_deg":11.9789496,"altitude":51,"angle":211,"satellites":38,"speed":26,"hex_longitude":"2d1a46c0","hex_latitude":"0723d7b8","is_valid_coordinates":true} 
[2026-09-19 17: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-19 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194140928001,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856714907189248,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899041329790760960,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] 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-19 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789820877000,"timestamp_ms":1789820877000,"timestamp_seconds":1789820877,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a338c8"} 
[2026-09-19 17: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-19 17: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-19 17: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3114430864,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503933120544768,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2729191425,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4237819951,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264509227,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3221693447,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2782986240,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84753134039540758,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-6287017227983519701,"note":"Value kept but may cause issues"} 
[2026-09-19 17:59:53] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,83,24,241,157,16,166,160,250,45,64,248,47,42,10,66,242,192,39,179,1,240,38,227,185,35,4,113,205,140,107,152,239,56,2,77,7,46,12,206,88,26],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-09-19 17:59:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386947888923869184,"timestamp_seconds":3386947888923869.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 17: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-19 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 17:59:53] 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-19 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194140928001,"66":13993,"43":206,"83":42752,"24":26,"16":21856714907189248,"45":1899041329790760960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-19 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194140928001,"description":"Unknown IO ID 0"} 
[2026-09-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856714907189248,"km_value":21856714907189.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899041329790760960,"description":"Unknown IO ID 45"} 
[2026-09-19 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194140928001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1899041329790760960}} 
[2026-09-19 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":188401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 17:59:53] local.INFO: GPS data processed {"connection_id":188401,"processed":1,"errors":0,"total":1} 
[2026-09-19 17:59:53] local.INFO: Acknowledgment sent {"connection_id":188401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:00:08] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a35fd8012d1a38400723c388003400df29..."} 
[2026-09-19 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a35fd8012d1a38400723c388003400df29..."} 
[2026-09-19 18:00:08] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a35fd8012d1a38400723c388003400df29..."} 
[2026-09-19 18:00:08] local.INFO: Packet analysis {"connection_id":188401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 18:00:08] local.INFO: Extracted packet for processing {"connection_id":188401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a3"} 
[2026-09-19 18:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756693056,"raw_latitude":119784328,"longitude_deg":75.6693056,"latitude_deg":11.9784328,"altitude":52,"angle":223,"satellites":41,"speed":24,"hex_longitude":"2d1a3840","hex_latitude":"0723c388","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194144512001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21857024144834560,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893411830254516224,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789820887000,"timestamp_ms":1789820887000,"timestamp_seconds":1789820887,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a35fd8"} 
[2026-09-19 18: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-19 18:00: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-19 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 18:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:00: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-19 18:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194144512001,"66":13972,"42":206,"83":42752,"24":24,"16":21857024144834560,"45":1893411830254516224},"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-19 18:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194144512001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 18:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21857024144834560,"km_value":21857024144834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893411830254516224,"description":"Unknown IO ID 45"} 
[2026-09-19 18:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194144512001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1893411830254516224}} 
[2026-09-19 18:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":188401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:00:08] local.INFO: GPS data processed {"connection_id":188401,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:00:08] local.INFO: Acknowledgment sent {"connection_id":188401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:00:08] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:08] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:08] local.INFO: IMEI packet received {"connection_id":189708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":189708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:00:14] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:14] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:00:14] local.INFO: IMEI packet received {"connection_id":189708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":189708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:00:15] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:15] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:15] local.INFO: Packet analysis {"connection_id":189708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:00:15] local.INFO: Extracted packet for processing {"connection_id":189708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00: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-19 18:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 18:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:00:15] 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-19 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:00: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-19 18:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":189708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:00:15] local.INFO: GPS data processed {"connection_id":189708,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:00:15] local.INFO: Acknowledgment sent {"connection_id":189708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:00:48] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:48] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:00:48] local.INFO: Packet analysis {"connection_id":189708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:00:48] local.INFO: Extracted packet for processing {"connection_id":189708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:00: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-19 18:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 18: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-19 18:00:48] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:00: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-19 18: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-19 18: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-19 18:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:00: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-19 18:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":189708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:00:48] local.INFO: GPS data processed {"connection_id":189708,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:00:48] local.INFO: Acknowledgment sent {"connection_id":189708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:00:55] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:00:55] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:00:55] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:01:00] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:00] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:00] local.INFO: IMEI packet received {"connection_id":186966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":186966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:01:01] local.INFO: TCP Data received {"connection_id":186966,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a53c68012d18b8400722fc40006200e528..."} 
[2026-09-19 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a53c68012d18b8400722fc40006200e528..."} 
[2026-09-19 18:01:01] local.INFO: Processing buffer {"connection_id":186966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a53c68012d18b8400722fc40006200e528..."} 
[2026-09-19 18:01:01] local.INFO: Packet analysis {"connection_id":186966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a5"} 
[2026-09-19 18:01:01] local.INFO: Extracted packet for processing {"connection_id":186966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a5"} 
[2026-09-19 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756594752,"raw_latitude":119733312,"longitude_deg":75.6594752,"latitude_deg":11.9733312,"altitude":98,"angle":229,"satellites":40,"speed":36,"hex_longitude":"2d18b840","hex_latitude":"0722fc40","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194178048001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21862813760749568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781947739462924288,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:01] 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-19 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789821009000,"timestamp_ms":1789821009000,"timestamp_seconds":1789821009,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a53c68"} 
[2026-09-19 18: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-19 18:01: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-19 18: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-19 18:01:01] 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-19 18: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-19 18: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-19 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":186966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":186966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:01: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-19 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194178048001,"66":13939,"137":206,"83":42752,"24":36,"16":21862813760749568,"45":1781947739462924288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-19 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194178048001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:01:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 18:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21862813760749568,"km_value":21862813760749.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781947739462924288,"description":"Unknown IO ID 45"} 
[2026-09-19 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194178048001,"power":13939,"unknown_137":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1781947739462924288}} 
[2026-09-19 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":186966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:01:01] local.INFO: GPS data processed {"connection_id":186966,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:01:01] local.INFO: Acknowledgment sent {"connection_id":186966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:01:14] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:14] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:14] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:01:19] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:19] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:01:19] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:01:20] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:20] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:20] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:20] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 18:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:20] 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-19 18:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:01:20] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:01:20] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:01:24] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:24] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:24] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:24] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 18:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:01:24] 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-19 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:24] 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-19 18:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:01:24] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:01:24] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:01:29] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:29] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a18348012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:01:29] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:29] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a1"} 
[2026-09-19 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194039040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789820765000,"timestamp_ms":1789820765000,"timestamp_seconds":1789820765,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a18348"} 
[2026-09-19 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:01:29] 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-19 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:01:29] 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-19 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:01:29] 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-19 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194039040001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194039040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:01:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:01:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194039040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:01:29] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:01:29] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:01:45] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:45] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:45] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:01:46] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:46] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:46] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:01:50] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:50] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:01:50] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:01:51] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a54050012d18b6800722f848006200d426..."} 
[2026-09-19 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a54050012d18b6800722f848006200d426..."} 
[2026-09-19 18:01:51] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a54050012d18b6800722f848006200d426..."} 
[2026-09-19 18:01:51] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a5"} 
[2026-09-19 18:01:51] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a5"} 
[2026-09-19 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756594304,"raw_latitude":119732296,"longitude_deg":75.6594304,"latitude_deg":11.9732296,"altitude":98,"angle":212,"satellites":38,"speed":38,"hex_longitude":"2d18b680","hex_latitude":"0722f848","is_valid_coordinates":true} 
[2026-09-19 18:01: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-19 18:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194178304001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21862865300357120,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781244052020936704,"note":"Value kept but may cause issues"} 
[2026-09-19 18:01:51] 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-19 18:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789821010000,"timestamp_ms":1789821010000,"timestamp_seconds":1789821010,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a54050"} 
[2026-09-19 18:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:01: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-19 18:01:51] 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-19 18:01: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-19 18:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:01:51] 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-19 18:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194178304001,"66":14048,"137":206,"83":42752,"24":38,"16":21862865300357120,"45":1781244052020936704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-19 18:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194178304001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:01:51] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-19 18:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-19 18:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21862865300357120,"km_value":21862865300357.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781244052020936704,"description":"Unknown IO ID 45"} 
[2026-09-19 18:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194178304001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1781244052020936704}} 
[2026-09-19 18:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:01:51] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:01:51] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:02:09] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:09] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:09] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:02:14] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:14] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:02:14] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:02:15] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:15] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:15] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:15] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02: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-19 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18: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-19 18:02:15] 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-19 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:02: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-19 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:02:15] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:02:15] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:02:23] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a655a8012d18600007220c50005300d827..."} 
[2026-09-19 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a655a8012d18600007220c50005300d827..."} 
[2026-09-19 18:02:23] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a655a8012d18600007220c50005300d827..."} 
[2026-09-19 18:02:23] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:23] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756572160,"raw_latitude":119671888,"longitude_deg":75.657216,"latitude_deg":11.9671888,"altitude":83,"angle":216,"satellites":39,"speed":44,"hex_longitude":"2d186000","hex_latitude":"07220c50","is_valid_coordinates":true} 
[2026-09-19 18:02: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-19 18:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194194944001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21866120885567488,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762314859823394816,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:23] local.INFO: IO Element Parsed {"io_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-19 18:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789821081000,"timestamp_ms":1789821081000,"timestamp_seconds":1789821081,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a655a8"} 
[2026-09-19 18:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 18:02:23] 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-19 18:02: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-19 18:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:02:23] 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-19 18:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194194944001,"66":14341,"105":206,"83":41984,"24":44,"16":21866120885567488,"45":1762314859823394816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 18:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194194944001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:02:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 18:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21866120885567488,"km_value":21866120885567.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762314859823394816,"description":"Unknown IO ID 45"} 
[2026-09-19 18:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194194944001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1762314859823394816}} 
[2026-09-19 18:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:02:23] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:02:23] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:02:45] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:45] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:45] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:02:46] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:46] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:46] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:02:47] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:47] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:02:47] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:47] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02: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-19 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:02:47] 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-19 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:02:47] 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-19 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:02:47] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:02:47] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:02:50] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:50] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:02:50] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:02:51] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a67cb8012d184b800721ef30004e00d929..."} 
[2026-09-19 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a67cb8012d184b800721ef30004e00d929..."} 
[2026-09-19 18:02:51] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a67cb8012d184b800721ef30004e00d929..."} 
[2026-09-19 18:02:51] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:51] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756566912,"raw_latitude":119664432,"longitude_deg":75.6566912,"latitude_deg":11.9664432,"altitude":78,"angle":217,"satellites":41,"speed":34,"hex_longitude":"2d184b80","hex_latitude":"0721ef30","is_valid_coordinates":true} 
[2026-09-19 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194196736001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21866558972231680,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756403885310496768,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.INFO: IO Element Parsed {"io_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-19 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789821091000,"timestamp_ms":1789821091000,"timestamp_seconds":1789821091,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a67cb8"} 
[2026-09-19 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84751053127885502,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3114636864,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":29555629089631232,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503933246504960,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2783463425,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":165,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2909995008,"note":"Value kept but may cause issues"} 
[2026-09-19 18:02:51] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,175,160,58,45,42,88,39,10,66,174,30,128,74,94,40,255,1,240,92,227,173,185,34,4,113,205,18,165,168,239,54,2,77,7,108,43,206],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-19 18:02:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5981017967166226432,"timestamp_seconds":5981017967166226.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:02:51] 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-19 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194196736001,"66":14374,"105":206,"83":41984,"24":34,"16":21866558972231680,"45":1756403885310496768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194196736001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:02:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 18:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21866558972231680,"km_value":21866558972231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756403885310496768,"description":"Unknown IO ID 45"} 
[2026-09-19 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194196736001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1756403885310496768}} 
[2026-09-19 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:02:51] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:02:51] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:03:08] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:08] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:08] local.INFO: IMEI packet received {"connection_id":188404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":188404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:03:14] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:14] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:03:14] local.INFO: IMEI packet received {"connection_id":188404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":188404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:03:14] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:14] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:14] local.INFO: Packet analysis {"connection_id":188404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:14] local.INFO: Extracted packet for processing {"connection_id":188404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03: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-19 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:03: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-19 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":188404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:03:14] local.INFO: GPS data processed {"connection_id":188404,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:03:14] local.INFO: Acknowledgment sent {"connection_id":188404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:03:22] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a6a3c8012d1836000721cff8004900d629..."} 
[2026-09-19 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a6a3c8012d1836000721cff8004900d629..."} 
[2026-09-19 18:03:22] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a6a3c8012d1836000721cff8004900d629..."} 
[2026-09-19 18:03:22] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:22] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756561408,"raw_latitude":119656440,"longitude_deg":75.6561408,"latitude_deg":11.965644,"altitude":73,"angle":214,"satellites":41,"speed":46,"hex_longitude":"2d183600","hex_latitude":"0721cff8","is_valid_coordinates":true} 
[2026-09-19 18:03: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-19 18:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194199296001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21867027123666944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750633648286019584,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:22] local.INFO: IO Element Parsed {"io_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-19 18:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789821101000,"timestamp_ms":1789821101000,"timestamp_seconds":1789821101,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a6a3c8"} 
[2026-09-19 18:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:03: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":38,"data_length":795,"current_offset":136} 
[2026-09-19 18:03:22] 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-19 18:03: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-19 18:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:03:22] 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-19 18:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194199296001,"66":14461,"105":206,"83":41984,"24":46,"16":21867027123666944,"45":1750633648286019584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 18:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194199296001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:03:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 18:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21867027123666944,"km_value":21867027123666.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750633648286019584,"description":"Unknown IO ID 45"} 
[2026-09-19 18:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194199296001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1750633648286019584}} 
[2026-09-19 18:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:03:22] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:03:22] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:03:45] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:45] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:45] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:03:47] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:47] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:03:47] local.INFO: Packet analysis {"connection_id":188404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:47] local.INFO: Extracted packet for processing {"connection_id":188404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:03: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-19 18:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18: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-19 18:03:47] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:03: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-19 18:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":188404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:03:47] local.INFO: GPS data processed {"connection_id":188404,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:03:47] local.INFO: Acknowledgment sent {"connection_id":188404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:03:50] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:50] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:03:50] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:04:08] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:08] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:08] local.INFO: IMEI packet received {"connection_id":188406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:04:14] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:14] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:04:14] local.INFO: IMEI packet received {"connection_id":188406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":188406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:04:15] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:15] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:15] local.INFO: Packet analysis {"connection_id":188406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:04:15] local.INFO: Extracted packet for processing {"connection_id":188406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 18:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04: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-19 18:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 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-19 18:04:15] 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-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 18:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:04: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-19 18:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":188406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:04:16] local.INFO: GPS data processed {"connection_id":188406,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:04:16] local.INFO: Acknowledgment sent {"connection_id":188406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:04:38] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:38] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:38] local.INFO: IMEI packet received {"connection_id":186967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":186967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:04:39] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:39] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:39] local.INFO: IMEI packet received {"connection_id":186967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":186967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:04:42] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:42] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:04:42] local.INFO: IMEI packet received {"connection_id":186967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":186967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:04:43] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a85178012d16dd4007205348002600e228..."} 
[2026-09-19 18:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a85178012d16dd4007205348002600e228..."} 
[2026-09-19 18:04:43] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a85178012d16dd4007205348002600e228..."} 
[2026-09-19 18:04:43] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:04:43] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756473152,"raw_latitude":119558984,"longitude_deg":75.6473152,"latitude_deg":11.9558984,"altitude":38,"angle":226,"satellites":40,"speed":6,"hex_longitude":"2d16dd40","hex_latitude":"07205348","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21872430192525312,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,85,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 18:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789821211000,"timestamp_ms":1789821211000,"timestamp_seconds":1789821211,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a85178"} 
[2026-09-19 18: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-19 18:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 18:04:43] 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-19 18: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-19 18: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-19 18:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:04:43] 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-19 18:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14396,"85":206,"83":41984,"24":6,"16":21872430192525312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16]} 
[2026-09-19 18:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 18:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-19 18:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21872430192525312,"km_value":21872430192525.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:04:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14396,"unknown_85":206,"unknown_83":41984,"ignition":6,"odometer":null}} 
[2026-09-19 18:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:04:43] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:04:43] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:04:48] local.INFO: TCP Data received {"connection_id":188406,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:48] local.INFO: Processing buffer {"connection_id":188406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:04:48] local.INFO: Packet analysis {"connection_id":188406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:04:48] local.INFO: Extracted packet for processing {"connection_id":188406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18: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-19 18:04:48] 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-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:04: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-19 18: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-19 18: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-19 18:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:04: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-19 18:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":188406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:04:48] local.INFO: GPS data processed {"connection_id":188406,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:04:48] local.INFO: Acknowledgment sent {"connection_id":188406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:05:08] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:08] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:08] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:05:14] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:14] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:05:14] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:05:14] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a8c6a8012d16dc0007205438002800e22a..."} 
[2026-09-19 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a8c6a8012d16dc0007205438002800e22a..."} 
[2026-09-19 18:05:14] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a8c6a8012d16dc0007205438002800e22a..."} 
[2026-09-19 18:05:14] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:05:14] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756472832,"raw_latitude":119559224,"longitude_deg":75.6472832,"latitude_deg":11.9559224,"altitude":40,"angle":226,"satellites":42,"speed":2,"hex_longitude":"2d16dc00","hex_latitude":"07205438","is_valid_coordinates":true} 
[2026-09-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194230016001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21872460257296384,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1647543438038747136,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:14] 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-19 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789821241000,"timestamp_ms":1789821241000,"timestamp_seconds":1789821241,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a8c6a8"} 
[2026-09-19 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:05: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-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-19 18:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:05:14] 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-19 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194230016001,"66":14298,"107":206,"83":41984,"24":2,"16":21872460257296384,"45":1647543438038747136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194230016001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21872460257296384,"km_value":21872460257296.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1647543438038747136,"description":"Unknown IO ID 45"} 
[2026-09-19 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194230016001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1647543438038747136}} 
[2026-09-19 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:05:14] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:05:14] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:05:16] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:16] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:16] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:05:16] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05: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-19 18:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18: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-19 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:05: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-19 18: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-19 18: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-19 18:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:05: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-19 18:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:05:16] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:05:16] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:05:45] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a8d260012d16db80072055500028015a2a..."} 
[2026-09-19 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a8d260012d16db80072055500028015a2a..."} 
[2026-09-19 18:05:45] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a8d260012d16db80072055500028015a2a..."} 
[2026-09-19 18:05:45] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:05:45] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a8"} 
[2026-09-19 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756472704,"raw_latitude":119559504,"longitude_deg":75.6472704,"latitude_deg":11.9559504,"altitude":40,"angle":346,"satellites":42,"speed":9,"hex_longitude":"2d16db80","hex_latitude":"07205550","is_valid_coordinates":true} 
[2026-09-19 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194237696001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21872477437165568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1647191594317920256,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:45] 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-19 18:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789821244000,"timestamp_ms":1789821244000,"timestamp_seconds":1789821244,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a8d260"} 
[2026-09-19 18:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 18:05:45] 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-19 18:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:05:45] 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-19 18:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194237696001,"66":14396,"107":206,"83":41984,"24":9,"16":21872477437165568,"45":1647191594317920256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194237696001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21872477437165568,"km_value":21872477437165.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1647191594317920256,"description":"Unknown IO ID 45"} 
[2026-09-19 18:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194237696001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1647191594317920256}} 
[2026-09-19 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:05:45] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:05:45] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:05:48] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:48] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:05:48] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:05:48] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:05: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-19 18:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:05:48] 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-19 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:05: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-19 18:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:05: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-19 18:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:05:48] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:05:48] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:06:14] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:14] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:14] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:06:16] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a9f370012d17b800072123600039002a2a..."} 
[2026-09-19 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a9f370012d17b800072123600039002a2a..."} 
[2026-09-19 18:06:16] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a9f370012d17b800072123600039002a2a..."} 
[2026-09-19 18:06:16] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a9"} 
[2026-09-19 18:06:16] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a9"} 
[2026-09-19 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756529152,"raw_latitude":119612256,"longitude_deg":75.6529152,"latitude_deg":11.9612256,"altitude":57,"angle":42,"satellites":42,"speed":47,"hex_longitude":"2d17b800","hex_latitude":"07212360","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194257408001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876192583876608,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709116089207840768,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789821318000,"timestamp_ms":1789821318000,"timestamp_seconds":1789821318,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a9f370"} 
[2026-09-19 18: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-19 18:06: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-19 18: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-19 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:06:16] 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-19 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194257408001,"66":13863,"107":206,"83":41984,"24":47,"16":21876192583876608,"45":1709116089207840768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194257408001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:06:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876192583876608,"km_value":21876192583876.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709116089207840768,"description":"Unknown IO ID 45"} 
[2026-09-19 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194257408001,"power":13863,"unknown_107":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1709116089207840768}} 
[2026-09-19 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:06:16] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:06:16] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:06:19] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:19] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:06:19] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:06:23] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:23] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:23] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:06:23] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:06:23] 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-19 18:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:06:23] 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-19 18:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:06:23] 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-19 18:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:06:23] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:06:23] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:06:26] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:26] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9a61b10012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:06:26] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:06:26] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9a6"} 
[2026-09-19 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194115840001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789821066000,"timestamp_ms":1789821066000,"timestamp_seconds":1789821066,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9a61b10"} 
[2026-09-19 18:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:06:26] 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-19 18:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:06:26] 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-19 18:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:06:26] 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-19 18:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194115840001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194115840001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194115840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:06:26] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:06:26] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:06:47] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa0ae0012d17c900072139b8003b001f29..."} 
[2026-09-19 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa0ae0012d17c900072139b8003b001f29..."} 
[2026-09-19 18:06:47] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa0ae0012d17c900072139b8003b001f29..."} 
[2026-09-19 18:06:47] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:06:47] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119617976,"longitude_deg":75.6533504,"latitude_deg":11.9617976,"altitude":59,"angle":31,"satellites":41,"speed":46,"hex_longitude":"2d17c900","hex_latitude":"072139b8","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194257408001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876540476227584,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709116089207840768,"note":"Value kept but may cause issues"} 
[2026-09-19 18:06:47] 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-19 18:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821324000,"timestamp_ms":1789821324000,"timestamp_seconds":1789821324,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa0ae0"} 
[2026-09-19 18: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-19 18:06: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-19 18: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-19 18:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:06:47] 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-19 18:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194257408001,"66":13689,"107":206,"83":41984,"24":46,"16":21876540476227584,"45":1709116089207840768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194257408001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:06:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876540476227584,"km_value":21876540476227.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709116089207840768,"description":"Unknown IO ID 45"} 
[2026-09-19 18:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194257408001,"power":13689,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1709116089207840768}} 
[2026-09-19 18:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:06:47] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:06:47] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:07:10] local.INFO: TCP Data received {"connection_id":189709,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:10] local.INFO: Processing buffer {"connection_id":189709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:10] local.INFO: IMEI packet received {"connection_id":189709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":189709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:07:14] local.INFO: TCP Data received {"connection_id":189709,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:14] local.INFO: Processing buffer {"connection_id":189709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:07:14] local.INFO: IMEI packet received {"connection_id":189709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":189709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:07:15] local.INFO: TCP Data received {"connection_id":189709,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:15] local.INFO: Processing buffer {"connection_id":189709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:15] local.INFO: Packet analysis {"connection_id":189709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:15] local.INFO: Extracted packet for processing {"connection_id":189709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07: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-19 18:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:07:15] 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-19 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:07: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-19 18:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":189709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:07:15] local.INFO: GPS data processed {"connection_id":189709,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:07:15] local.INFO: Acknowledgment sent {"connection_id":189709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:07:18] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa2e08012d17dd0007215a880041001d2a..."} 
[2026-09-19 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa2e08012d17dd0007215a880041001d2a..."} 
[2026-09-19 18:07:18] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa2e08012d17dd0007215a880041001d2a..."} 
[2026-09-19 18:07:18] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:18] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756538624,"raw_latitude":119626376,"longitude_deg":75.6538624,"latitude_deg":11.9626376,"altitude":65,"angle":29,"satellites":42,"speed":40,"hex_longitude":"2d17dd00","hex_latitude":"07215a88","is_valid_coordinates":true} 
[2026-09-19 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194258944001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877012922630144,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163813386240,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:18] 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-19 18:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789821333000,"timestamp_ms":1789821333000,"timestamp_seconds":1789821333,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa2e08"} 
[2026-09-19 18:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-19 18:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:07:18] 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-19 18:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194258944001,"66":14352,"107":206,"83":41984,"24":40,"16":21877012922630144,"45":1713901163813386240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194258944001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:07:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877012922630144,"km_value":21877012922630.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163813386240,"description":"Unknown IO ID 45"} 
[2026-09-19 18:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194258944001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1713901163813386240}} 
[2026-09-19 18:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:07:18] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:07:18] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:07:27] local.INFO: TCP Data received {"connection_id":186968,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:07:27] local.INFO: Processing buffer {"connection_id":186968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:07:27] local.INFO: IMEI packet received {"connection_id":186968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":186968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:07:46] local.INFO: TCP Data received {"connection_id":189709,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:46] local.INFO: Processing buffer {"connection_id":189709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:07:46] local.INFO: Packet analysis {"connection_id":189709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:46] local.INFO: Extracted packet for processing {"connection_id":189709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07: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-19 18:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18: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-19 18:07:46] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:07:46] 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-19 18: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-19 18: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-19 18:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:07: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-19 18:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":189709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:07:46] local.INFO: GPS data processed {"connection_id":189709,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:07:46] local.INFO: Acknowledgment sent {"connection_id":189709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:07:49] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:07:49] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:07:49] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:49] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756543680,"raw_latitude":119634200,"longitude_deg":75.654368,"latitude_deg":11.96342,"altitude":69,"angle":42,"satellites":43,"speed":42,"hex_longitude":"2d17f0c0","hex_latitude":"07217918","is_valid_coordinates":true} 
[2026-09-19 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194261248001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877463894196224,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719530663349749760,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] 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-19 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789821342000,"timestamp_ms":1789821342000,"timestamp_seconds":1789821342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa5130"} 
[2026-09-19 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2849255425,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84749563847975102,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503933410541568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637357759425131,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4026608919,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050218,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3077767168,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":248,"raw_value":14073964271774976,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3098484380472967214,"note":"Value kept but may cause issues"} 
[2026-09-19 18:07:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,107,83,24,241,157,16,185,160,10,45,57,59,41,66,184,243,35,42,1,240,39,227,33,4,113,205,48,180,126,152,40,239,54,2,77,7,55,43,206,248,23],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-19 18:07:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683775678693769216,"timestamp_seconds":4683775678693769.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:07:49] 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-19 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194261248001,"66":14048,"107":206,"83":41984,"24":42,"16":21877463894196224,"45":1719530663349749760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194261248001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:07:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877463894196224,"km_value":21877463894196.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719530663349749760,"description":"Unknown IO ID 45"} 
[2026-09-19 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194261248001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1719530663349749760}} 
[2026-09-19 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:07:49] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:07:49] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:08:08] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:08] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:08] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:08:14] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:14] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:08:14] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:08:14] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:14] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:14] local.INFO: Packet analysis {"connection_id":188408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:14] local.INFO: Extracted packet for processing {"connection_id":188408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08: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-19 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:08: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-19 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":188408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:08:14] local.INFO: GPS data processed {"connection_id":188408,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:08:14] local.INFO: Acknowledgment sent {"connection_id":188408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:08:20] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:08:20] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa5130012d17f0c0072179180045002a2b..."} 
[2026-09-19 18:08:20] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:20] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756543680,"raw_latitude":119634200,"longitude_deg":75.654368,"latitude_deg":11.96342,"altitude":69,"angle":42,"satellites":43,"speed":42,"hex_longitude":"2d17f0c0","hex_latitude":"07217918","is_valid_coordinates":true} 
[2026-09-19 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194263552001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877463894196224,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725089794141788160,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:20] 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-19 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789821342000,"timestamp_ms":1789821342000,"timestamp_seconds":1789821342,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa5130"} 
[2026-09-19 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:08: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-19 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 18:08:20] 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-19 18:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:08:20] 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-19 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194263552001,"66":14048,"107":206,"83":41984,"24":42,"16":21877463894196224,"45":1725089794141788160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-19 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194263552001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:08:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-19 18:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877463894196224,"km_value":21877463894196.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725089794141788160,"description":"Unknown IO ID 45"} 
[2026-09-19 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194263552001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1725089794141788160}} 
[2026-09-19 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:08:21] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:08:21] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:08:46] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:46] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:08:46] local.INFO: Packet analysis {"connection_id":188408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:46] local.INFO: Extracted packet for processing {"connection_id":188408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18: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-19 18:08:46] 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-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:08:46] 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-19 18: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-19 18: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-19 18:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:08: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-19 18:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":188408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:08:46] local.INFO: GPS data processed {"connection_id":188408,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:08:46] local.INFO: Acknowledgment sent {"connection_id":188408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:08:52] local.INFO: TCP Data received {"connection_id":186967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa7458012d180c00072191e80046002a29..."} 
[2026-09-19 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa7458012d180c00072191e80046002a29..."} 
[2026-09-19 18:08:52] local.INFO: Processing buffer {"connection_id":186967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa7458012d180c00072191e80046002a29..."} 
[2026-09-19 18:08:52] local.INFO: Packet analysis {"connection_id":186967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:52] local.INFO: Extracted packet for processing {"connection_id":186967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756550656,"raw_latitude":119640552,"longitude_deg":75.6550656,"latitude_deg":11.9640552,"altitude":70,"angle":42,"satellites":41,"speed":39,"hex_longitude":"2d180c00","hex_latitude":"072191e8","is_valid_coordinates":true} 
[2026-09-19 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194263552001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877914865762304,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725089794141788160,"note":"Value kept but may cause issues"} 
[2026-09-19 18:08:52] local.INFO: IO Element Parsed {"io_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-19 18:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789821351000,"timestamp_ms":1789821351000,"timestamp_seconds":1789821351,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa7458"} 
[2026-09-19 18:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 18:08:52] 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-19 18:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":186967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":186967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:08:52] 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-19 18:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194263552001,"66":14048,"105":206,"83":41984,"24":39,"16":21877914865762304,"45":1725089794141788160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 18:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194263552001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:08:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 18:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877914865762304,"km_value":21877914865762.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725089794141788160,"description":"Unknown IO ID 45"} 
[2026-09-19 18:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194263552001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1725089794141788160}} 
[2026-09-19 18:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":186967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:08:52] local.INFO: GPS data processed {"connection_id":186967,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:08:52] local.INFO: Acknowledgment sent {"connection_id":186967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:09:08] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:08] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:08] local.INFO: IMEI packet received {"connection_id":188409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:09:14] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:14] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:09:14] local.INFO: IMEI packet received {"connection_id":188409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":188409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:09:15] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:15] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:15] local.INFO: Packet analysis {"connection_id":188409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:15] local.INFO: Extracted packet for processing {"connection_id":188409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09: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-19 18:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:09:15] 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-19 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:09: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-19 18:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":188409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:09:15] local.INFO: GPS data processed {"connection_id":188409,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:09:15] local.INFO: Acknowledgment sent {"connection_id":188409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:09:18] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:18] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:18] local.INFO: IMEI packet received {"connection_id":186969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":186969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:09:20] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:20] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:20] local.INFO: IMEI packet received {"connection_id":186969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":186969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:09:23] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:23] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:09:23] local.INFO: IMEI packet received {"connection_id":186969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":186969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:09:24] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aa9b68012d181d400721a730004700472a..."} 
[2026-09-19 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aa9b68012d181d400721a730004700472a..."} 
[2026-09-19 18:09:24] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aa9b68012d181d400721a730004700472a..."} 
[2026-09-19 18:09:24] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:24] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646000,"longitude_deg":75.6555072,"latitude_deg":11.9646,"altitude":71,"angle":71,"satellites":42,"speed":11,"hex_longitude":"2d181d40","hex_latitude":"0721a730","is_valid_coordinates":true} 
[2026-09-19 18:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194265856001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21878254168178688,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987258779648,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:24] local.INFO: IO Element Parsed {"io_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-19 18:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821361000,"timestamp_ms":1789821361000,"timestamp_seconds":1789821361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aa9b68"} 
[2026-09-19 18:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:09: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-19 18:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-19 18:09:24] 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-19 18:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194265856001,"66":13102,"105":206,"83":41984,"24":11,"16":21878254168178688,"45":1732759987258779648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-19 18:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194265856001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:09:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 18:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21878254168178688,"km_value":21878254168178.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987258779648,"description":"Unknown IO ID 45"} 
[2026-09-19 18:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194265856001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1732759987258779648}} 
[2026-09-19 18:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:09:24] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:09:24] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:09:47] local.INFO: TCP Data received {"connection_id":188409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:47] local.INFO: Processing buffer {"connection_id":188409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:09:47] local.INFO: Packet analysis {"connection_id":188409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:47] local.INFO: Extracted packet for processing {"connection_id":188409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09: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-19 18:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:09:47] 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-19 18:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:09: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-19 18:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":188409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:09:47] local.INFO: GPS data processed {"connection_id":188409,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:09:47] local.INFO: Acknowledgment sent {"connection_id":188409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:09:56] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:09:56] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:09:56] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ad"} 
[2026-09-19 18:09:56] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ad"} 
[2026-09-19 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632224,"longitude_deg":75.6591936,"latitude_deg":11.9632224,"altitude":73,"angle":129,"satellites":37,"speed":36,"hex_longitude":"2d18ad40","hex_latitude":"07217160","is_valid_coordinates":true} 
[2026-09-19 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194315008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21880169723592704,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678044008448,"note":"Value kept but may cause issues"} 
[2026-09-19 18:09:56] local.INFO: IO Element Parsed {"io_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-19 18:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789821553000,"timestamp_ms":1789821553000,"timestamp_seconds":1789821553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ad8968"} 
[2026-09-19 18:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-19 18:09:56] 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-19 18:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:09:56] 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-19 18:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194315008001,"66":14461,"103":206,"83":41984,"24":36,"16":21880169723592704,"45":1768577678044008448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194315008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21880169723592704,"km_value":21880169723592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678044008448,"description":"Unknown IO ID 45"} 
[2026-09-19 18:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194315008001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1768577678044008448}} 
[2026-09-19 18:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:09:56] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:09:56] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:10:08] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:08] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:08] local.INFO: IMEI packet received {"connection_id":186970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":186970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:10:14] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:14] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:10:14] local.INFO: IMEI packet received {"connection_id":186970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":186970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:10:15] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:15] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:15] local.INFO: Packet analysis {"connection_id":186970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:10:15] local.INFO: Extracted packet for processing {"connection_id":186970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10: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-19 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18: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-19 18:10:15] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:10: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-19 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":186970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:10:15] local.INFO: GPS data processed {"connection_id":186970,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:10:15] local.INFO: Acknowledgment sent {"connection_id":186970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:10:27] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:10:27] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ad8968012d18ad40072171600049008125..."} 
[2026-09-19 18:10:27] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ad"} 
[2026-09-19 18:10:27] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ad"} 
[2026-09-19 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632224,"longitude_deg":75.6591936,"latitude_deg":11.9632224,"altitude":73,"angle":129,"satellites":37,"speed":36,"hex_longitude":"2d18ad40","hex_latitude":"07217160","is_valid_coordinates":true} 
[2026-09-19 18:10: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-19 18:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194317568001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21880169723592704,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251240960,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:27] local.INFO: IO Element Parsed {"io_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-19 18:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789821553000,"timestamp_ms":1789821553000,"timestamp_seconds":1789821553,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ad8968"} 
[2026-09-19 18:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-19 18:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:10: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-19 18:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:10:27] 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-19 18:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194317568001,"66":14461,"103":206,"83":41984,"24":36,"16":21880169723592704,"45":1778147827251240960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194317568001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:10:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21880169723592704,"km_value":21880169723592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251240960,"description":"Unknown IO ID 45"} 
[2026-09-19 18:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194317568001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1778147827251240960}} 
[2026-09-19 18:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:10:27] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:10:27] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:10:47] local.INFO: TCP Data received {"connection_id":186970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:47] local.INFO: Processing buffer {"connection_id":186970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:10:47] local.INFO: Packet analysis {"connection_id":186970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:10:47] local.INFO: Extracted packet for processing {"connection_id":186970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10: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-19 18:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18: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-19 18:10:47] 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-19 18:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:10:47] 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-19 18:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":186970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:10:47] local.INFO: GPS data processed {"connection_id":186970,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:10:47] local.INFO: Acknowledgment sent {"connection_id":186970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:10:58] local.INFO: TCP Data received {"connection_id":186969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ae4100012d190bc00720c8f8002e007628..."} 
[2026-09-19 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ae4100012d190bc00720c8f8002e007628..."} 
[2026-09-19 18:10:58] local.INFO: Processing buffer {"connection_id":186969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ae4100012d190bc00720c8f8002e007628..."} 
[2026-09-19 18:10:58] local.INFO: Packet analysis {"connection_id":186969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:10:58] local.INFO: Extracted packet for processing {"connection_id":186969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756616128,"raw_latitude":119589112,"longitude_deg":75.6616128,"latitude_deg":11.9589112,"altitude":46,"angle":118,"satellites":40,"speed":49,"hex_longitude":"2d190bc0","hex_latitude":"0720c8f8","is_valid_coordinates":true} 
[2026-09-19 18:10: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-19 18:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194328576001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21882656509657088,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350400974848,"note":"Value kept but may cause issues"} 
[2026-09-19 18:10:58] local.INFO: IO Element Parsed {"io_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-19 18:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789821600000,"timestamp_ms":1789821600000,"timestamp_seconds":1789821600,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ae4100"} 
[2026-09-19 18:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:10: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-19 18:10: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-19 18:10: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-19 18:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":186969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":186969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:10:58] 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-19 18:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194328576001,"66":14211,"103":206,"83":41984,"24":49,"16":21882656509657088,"45":1800384350400974848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194328576001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21882656509657088,"km_value":21882656509657.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350400974848,"description":"Unknown IO ID 45"} 
[2026-09-19 18:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194328576001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1800384350400974848}} 
[2026-09-19 18:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":186969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:10:58] local.INFO: GPS data processed {"connection_id":186969,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:10:58] local.INFO: Acknowledgment sent {"connection_id":186969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:11:14] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:14] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:14] local.INFO: IMEI packet received {"connection_id":188411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":188411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:11:18] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:18] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:18] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:11:19] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:19] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:11:19] local.INFO: IMEI packet received {"connection_id":188411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":188411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:11:19] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:19] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:19] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:11:19] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:19] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:19] local.INFO: Packet analysis {"connection_id":188411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:11:19] local.INFO: Extracted packet for processing {"connection_id":188411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18: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-19 18:11:19] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:11:19] 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-19 18:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":188411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:11:19] local.INFO: GPS data processed {"connection_id":188411,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:11:19] local.INFO: Acknowledgment sent {"connection_id":188411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:11:23] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:23] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:11:23] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:11:24] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aed958012d19508007209ba8002500c126..."} 
[2026-09-19 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aed958012d19508007209ba8002500c126..."} 
[2026-09-19 18:11:24] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aed958012d19508007209ba8002500c126..."} 
[2026-09-19 18:11:24] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:11:24] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119577512,"longitude_deg":75.6633728,"latitude_deg":11.9577512,"altitude":37,"angle":193,"satellites":38,"speed":8,"hex_longitude":"2d195080","hex_latitude":"07209ba8","is_valid_coordinates":true} 
[2026-09-19 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194339328001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21883992244486144,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673655808,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.INFO: IO Element Parsed {"io_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-19 18:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821639000,"timestamp_ms":1789821639000,"timestamp_seconds":1789821639,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aed958"} 
[2026-09-19 18:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:11: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-19 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-19 18:11:24] 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-19 18:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194339328001,"66":13993,"103":206,"83":41984,"24":8,"16":21883992244486144,"45":1824239354673655808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194339328001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21883992244486144,"km_value":21883992244486.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673655808,"description":"Unknown IO ID 45"} 
[2026-09-19 18:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194339328001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824239354673655808}} 
[2026-09-19 18:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:11:24] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:11:24] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:11:24] local.INFO: TCP Data received {"connection_id":188411,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:24] local.INFO: Processing buffer {"connection_id":188411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aab2d8012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:11:24] local.INFO: Packet analysis {"connection_id":188411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:11:24] local.INFO: Extracted packet for processing {"connection_id":188411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9aa"} 
[2026-09-19 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194192896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821367000,"timestamp_ms":1789821367000,"timestamp_seconds":1789821367,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aab2d8"} 
[2026-09-19 18:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:11:24] 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-19 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:11:24] 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-19 18:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194192896001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194192896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194192896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":188411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:11:25] local.INFO: GPS data processed {"connection_id":188411,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:11:25] local.INFO: Acknowledgment sent {"connection_id":188411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:11:55] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aee128012d195040072099e8002500b426..."} 
[2026-09-19 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aee128012d195040072099e8002500b426..."} 
[2026-09-19 18:11:55] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aee128012d195040072099e8002500b426..."} 
[2026-09-19 18:11:55] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:11:55] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577064,"longitude_deg":75.6633664,"latitude_deg":11.9577064,"altitude":37,"angle":180,"satellites":38,"speed":9,"hex_longitude":"2d195040","hex_latitude":"072099e8","is_valid_coordinates":true} 
[2026-09-19 18:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194339584001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21884013719322624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185249280,"note":"Value kept but may cause issues"} 
[2026-09-19 18:11:55] local.INFO: IO Element Parsed {"io_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-19 18:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789821641000,"timestamp_ms":1789821641000,"timestamp_seconds":1789821641,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aee128"} 
[2026-09-19 18:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-19 18:11:55] 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-19 18:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:11:55] 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-19 18:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194339584001,"66":14298,"103":206,"83":41984,"24":9,"16":21884013719322624,"45":1824098617185249280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194339584001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:11:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21884013719322624,"km_value":21884013719322.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185249280,"description":"Unknown IO ID 45"} 
[2026-09-19 18:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194339584001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824098617185249280}} 
[2026-09-19 18:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:11:55] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:11:55] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:12:08] local.INFO: TCP Data received {"connection_id":186971,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:08] local.INFO: Processing buffer {"connection_id":186971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:08] local.INFO: IMEI packet received {"connection_id":186971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":186971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:12:14] local.INFO: TCP Data received {"connection_id":186971,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:14] local.INFO: Processing buffer {"connection_id":186971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:12:14] local.INFO: IMEI packet received {"connection_id":186971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":186971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:12:15] local.INFO: TCP Data received {"connection_id":186971,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:15] local.INFO: Processing buffer {"connection_id":186971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:15] local.INFO: Packet analysis {"connection_id":186971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:12:15] local.INFO: Extracted packet for processing {"connection_id":186971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12: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-19 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18: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-19 18:12:15] 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-19 18: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:12:15] 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-19 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":186971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:12:15] local.INFO: GPS data processed {"connection_id":186971,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:12:15] local.INFO: Acknowledgment sent {"connection_id":186971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:12:18] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:18] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:18] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:12:23] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:23] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:12:23] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:12:24] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9aef0c8012d19504007209568002500a527..."} 
[2026-09-19 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9aef0c8012d19504007209568002500a527..."} 
[2026-09-19 18:12:24] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9aef0c8012d19504007209568002500a527..."} 
[2026-09-19 18:12:24] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:12:24] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ae"} 
[2026-09-19 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119575912,"longitude_deg":75.6633664,"latitude_deg":11.9575912,"altitude":37,"angle":165,"satellites":39,"speed":11,"hex_longitude":"2d195040","hex_latitude":"07209568","is_valid_coordinates":true} 
[2026-09-19 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194340096001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21884069553897472,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248440956928,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:24] local.INFO: IO Element Parsed {"io_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-19 18:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821645000,"timestamp_ms":1789821645000,"timestamp_seconds":1789821645,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9aef0c8"} 
[2026-09-19 18:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:12: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-19 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-19 18:12:24] 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-19 18:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194340096001,"66":14396,"103":206,"83":41984,"24":11,"16":21884069553897472,"45":1824028248440956928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194340096001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:12:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21884069553897472,"km_value":21884069553897.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248440956928,"description":"Unknown IO ID 45"} 
[2026-09-19 18:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194340096001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1824028248440956928}} 
[2026-09-19 18:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:12:24] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:12:24] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:12:45] local.INFO: TCP Data received {"connection_id":186972,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:12:45] local.INFO: Processing buffer {"connection_id":186972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:12:45] local.INFO: IMEI packet received {"connection_id":186972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":186972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:12:47] local.INFO: TCP Data received {"connection_id":186971,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:47] local.INFO: Processing buffer {"connection_id":186971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:12:47] local.INFO: Packet analysis {"connection_id":186971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:12:47] local.INFO: Extracted packet for processing {"connection_id":186971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12: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-19 18:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18: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-19 18:12:47] 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-19 18:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:12:47] 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-19 18:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":186971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:12:47] local.INFO: GPS data processed {"connection_id":186971,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:12:47] local.INFO: Acknowledgment sent {"connection_id":186971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:12:55] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b04c70012d195c4007202f80003300d527..."} 
[2026-09-19 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b04c70012d195c4007202f80003300d527..."} 
[2026-09-19 18:12:55] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b04c70012d195c4007202f80003300d527..."} 
[2026-09-19 18:12:55] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b0"} 
[2026-09-19 18:12:55] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b0"} 
[2026-09-19 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119549824,"longitude_deg":75.6636736,"latitude_deg":11.9549824,"altitude":51,"angle":213,"satellites":39,"speed":8,"hex_longitude":"2d195c40","hex_latitude":"07202f80","is_valid_coordinates":true} 
[2026-09-19 18:12: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-19 18:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194363648001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21885594267287552,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685642913792,"note":"Value kept but may cause issues"} 
[2026-09-19 18:12:55] local.INFO: IO Element Parsed {"io_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-19 18:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789821734000,"timestamp_ms":1789821734000,"timestamp_seconds":1789821734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b04c70"} 
[2026-09-19 18:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-19 18:12:55] 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-19 18:12: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-19 18:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:12:55] 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-19 18:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194363648001,"66":13852,"103":206,"83":41984,"24":8,"16":21885594267287552,"45":1827546685642913792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-19 18:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194363648001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:12:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-19 18:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21885594267287552,"km_value":21885594267287.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685642913792,"description":"Unknown IO ID 45"} 
[2026-09-19 18:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194363648001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1827546685642913792}} 
[2026-09-19 18:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:12:55] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:12:55] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:13:09] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:09] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:09] local.INFO: IMEI packet received {"connection_id":186973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":186973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:13:14] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:14] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:13:14] local.INFO: IMEI packet received {"connection_id":186973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:13:14] local.INFO: TCP Data received {"connection_id":186974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:13:14] local.INFO: Processing buffer {"connection_id":186974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:13:14] local.INFO: IMEI packet received {"connection_id":186974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 18:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":186974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:13:15] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:15] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:15] local.INFO: Packet analysis {"connection_id":186973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:13:15] local.INFO: Extracted packet for processing {"connection_id":186973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13: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-19 18:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:13:15] 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-19 18:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:13: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-19 18:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":186973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:13:15] local.INFO: GPS data processed {"connection_id":186973,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:13:15] local.INFO: Acknowledgment sent {"connection_id":186973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:13:18] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:18] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:18] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:13:19] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:19] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:19] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:13:20] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:20] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:20] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:13:21] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:21] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:13:21] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:13:46] local.INFO: TCP Data received {"connection_id":186973,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:46] local.INFO: Processing buffer {"connection_id":186973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:13:46] local.INFO: Packet analysis {"connection_id":186973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:13:46] local.INFO: Extracted packet for processing {"connection_id":186973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:13: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-19 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:13:46] 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-19 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:13: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-19 18:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:13: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-19 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":186973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:13:46] local.INFO: GPS data processed {"connection_id":186973,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:13:46] local.INFO: Acknowledgment sent {"connection_id":186973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:14:08] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:08] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:08] local.INFO: IMEI packet received {"connection_id":186975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":186975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:14:14] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:14] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:14:14] local.INFO: IMEI packet received {"connection_id":186975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":186975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:14:15] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:15] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:15] local.INFO: Packet analysis {"connection_id":186975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:14:15] local.INFO: Extracted packet for processing {"connection_id":186975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:14:15] 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-19 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:14: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-19 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":186975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:14:15] local.INFO: GPS data processed {"connection_id":186975,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:14:15] local.INFO: Acknowledgment sent {"connection_id":186975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:14:47] local.INFO: TCP Data received {"connection_id":186975,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:47] local.INFO: Processing buffer {"connection_id":186975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:14:47] local.INFO: Packet analysis {"connection_id":186975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:14:47] local.INFO: Extracted packet for processing {"connection_id":186975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:14: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-19 18:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:14:47] 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-19 18:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:14: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-19 18:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":186975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:14:47] local.INFO: GPS data processed {"connection_id":186975,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:14:47] local.INFO: Acknowledgment sent {"connection_id":186975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:15:08] local.INFO: TCP Data received {"connection_id":189711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:08] local.INFO: Processing buffer {"connection_id":189711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:08] local.INFO: IMEI packet received {"connection_id":189711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":189711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:15:14] local.INFO: TCP Data received {"connection_id":189711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:14] local.INFO: Processing buffer {"connection_id":189711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:15:14] local.INFO: IMEI packet received {"connection_id":189711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":189711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:15:16] local.INFO: TCP Data received {"connection_id":189711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:16] local.INFO: Processing buffer {"connection_id":189711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:16] local.INFO: Packet analysis {"connection_id":189711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:15:16] local.INFO: Extracted packet for processing {"connection_id":189711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15: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-19 18:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:15:16] 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-19 18:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:15: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-19 18:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":189711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:15:16] local.INFO: GPS data processed {"connection_id":189711,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:15:16] local.INFO: Acknowledgment sent {"connection_id":189711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:15:47] local.INFO: TCP Data received {"connection_id":189711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:47] local.INFO: Processing buffer {"connection_id":189711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:15:47] local.INFO: Packet analysis {"connection_id":189711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:15:47] local.INFO: Extracted packet for processing {"connection_id":189711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:15: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-19 18:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:15:47] 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-19 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:15: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-19 18:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":189711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:15:47] local.INFO: GPS data processed {"connection_id":189711,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:15:47] local.INFO: Acknowledgment sent {"connection_id":189711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:16:14] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:14] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:14] local.INFO: IMEI packet received {"connection_id":189712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":189712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:16:19] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:19] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:16:19] local.INFO: IMEI packet received {"connection_id":189712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":189712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:16:21] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:21] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:21] local.INFO: Packet analysis {"connection_id":189712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:16:21] local.INFO: Extracted packet for processing {"connection_id":189712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:16:21] 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-19 18:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:16:21] 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-19 18:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:16:21] 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-19 18:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":189712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:16:21] local.INFO: GPS data processed {"connection_id":189712,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:16:21] local.INFO: Acknowledgment sent {"connection_id":189712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:16:25] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:25] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9af4aa0012d34c14006aa41400008010e2b..."} 
[2026-09-19 18:16:25] local.INFO: Packet analysis {"connection_id":189712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:16:25] local.INFO: Extracted packet for processing {"connection_id":189712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9af"} 
[2026-09-19 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194269952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789821668000,"timestamp_ms":1789821668000,"timestamp_seconds":1789821668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9af4aa0"} 
[2026-09-19 18:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:16:25] 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-19 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:16:25] 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-19 18:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:16:25] 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-19 18:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194269952001,"66":25647,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194269952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:16:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194269952001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":189712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:16:25] local.INFO: GPS data processed {"connection_id":189712,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:16:25] local.INFO: Acknowledgment sent {"connection_id":189712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:17:11] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:11] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:11] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:17:13] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:13] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:17:13] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:17:15] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:15] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:15] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:15] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17: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-19 18:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:17:15] 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-19 18:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:17: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-19 18:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:15] 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-19 18:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:17:15] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:17:15] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:17:20] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:20] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:20] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:20] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:17: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-19 18:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:17: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-19 18:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:20] 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-19 18:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:17:20] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:17:20] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:17:52] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:52] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:17:52] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:52] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:17: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-19 18:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:17:52] 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-19 18:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:17:52] 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-19 18:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:17:52] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:17:52] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:18:08] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:08] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:08] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:18:14] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:14] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:18:14] local.INFO: IMEI packet received {"connection_id":186977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":186977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:18:15] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:15] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:15] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:18:15] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18: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-19 18:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18: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-19 18:18:15] 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-19 18:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:18: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-19 18: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-19 18: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-19 18:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:18: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-19 18:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:18:15] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:18:15] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:18:23] local.INFO: TCP Data received {"connection_id":189713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:18:23] local.INFO: Processing buffer {"connection_id":189713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:18:23] local.INFO: IMEI packet received {"connection_id":189713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":189713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:18:24] local.INFO: TCP Data received {"connection_id":189713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b25fb0012d196740071fed200038006129..."} 
[2026-09-19 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b25fb0012d196740071fed200038006129..."} 
[2026-09-19 18:18:24] local.INFO: Processing buffer {"connection_id":189713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b25fb0012d196740071fed200038006129..."} 
[2026-09-19 18:18:24] local.INFO: Packet analysis {"connection_id":189713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b2"} 
[2026-09-19 18:18:24] local.INFO: Extracted packet for processing {"connection_id":189713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b2"} 
[2026-09-19 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194393344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821870000,"timestamp_ms":1789821870000,"timestamp_seconds":1789821870,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b25fb0"} 
[2026-09-19 18: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-19 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-19 18:18:24] 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-19 18: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-19 18: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-19 18:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194393344001,"66":13091,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194393344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194393344001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":189713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:18:24] local.INFO: GPS data processed {"connection_id":189713,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:18:24] local.INFO: Acknowledgment sent {"connection_id":189713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:18:47] local.INFO: TCP Data received {"connection_id":186977,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:47] local.INFO: Processing buffer {"connection_id":186977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:18:47] local.INFO: Packet analysis {"connection_id":186977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:18:47] local.INFO: Extracted packet for processing {"connection_id":186977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18: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-19 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18: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-19 18:18:47] 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-19 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:18: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-19 18: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-19 18: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-19 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:18: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-19 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":186977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:18:47] local.INFO: GPS data processed {"connection_id":186977,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:18:47] local.INFO: Acknowledgment sent {"connection_id":186977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:18:55] local.INFO: TCP Data received {"connection_id":189713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b2b1b8012d196740071fed200038006128..."} 
[2026-09-19 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b2b1b8012d196740071fed200038006128..."} 
[2026-09-19 18:18:55] local.INFO: Processing buffer {"connection_id":189713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b2b1b8012d196740071fed200038006128..."} 
[2026-09-19 18:18:55] local.INFO: Packet analysis {"connection_id":189713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b2"} 
[2026-09-19 18:18:55] local.INFO: Extracted packet for processing {"connection_id":189713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b2"} 
[2026-09-19 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:18: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-19 18:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194398720001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789821891000,"timestamp_ms":1789821891000,"timestamp_seconds":1789821891,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b2b1b8"} 
[2026-09-19 18:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-19 18:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:18: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-19 18:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:18:55] 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-19 18:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194398720001,"66":13080,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194398720001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194398720001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":189713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:18:55] local.INFO: GPS data processed {"connection_id":189713,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:18:55] local.INFO: Acknowledgment sent {"connection_id":189713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:19:08] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:08] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:08] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:19:14] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:14] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:19:14] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:19:15] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:15] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:15] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:15] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18: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-19 18:19:15] 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-19 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:19: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-19 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:19:15] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:19:15] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:19:18] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:18] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:18] local.INFO: IMEI packet received {"connection_id":189714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":189714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:19:20] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:20] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:20] local.INFO: IMEI packet received {"connection_id":189714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":189714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:19:23] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:23] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:19:23] local.INFO: IMEI packet received {"connection_id":189714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":189714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:19:24] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b303c0012d196740071fed200038006128..."} 
[2026-09-19 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b303c0012d196740071fed200038006128..."} 
[2026-09-19 18:19:24] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b303c0012d196740071fed200038006128..."} 
[2026-09-19 18:19:24] local.INFO: Packet analysis {"connection_id":189714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:24] local.INFO: Extracted packet for processing {"connection_id":189714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194404096001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821912000,"timestamp_ms":1789821912000,"timestamp_seconds":1789821912,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b303c0"} 
[2026-09-19 18:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-19 18:19:24] 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-19 18:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194404096001,"66":13048,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194404096001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194404096001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":189714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:19:24] local.INFO: GPS data processed {"connection_id":189714,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:19:24] local.INFO: Acknowledgment sent {"connection_id":189714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:19:46] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:46] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:19:46] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:46] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18: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-19 18:19:46] 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-19 18: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":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:19: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-19 18: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-19 18: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-19 18:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:19: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-19 18:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:19:46] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:19:46] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:19:55] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b355c8012d196740071fed200038006129..."} 
[2026-09-19 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b355c8012d196740071fed200038006129..."} 
[2026-09-19 18:19:55] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b355c8012d196740071fed200038006129..."} 
[2026-09-19 18:19:55] local.INFO: Packet analysis {"connection_id":189714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:55] local.INFO: Extracted packet for processing {"connection_id":189714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:19: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-19 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194409472001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789821933000,"timestamp_ms":1789821933000,"timestamp_seconds":1789821933,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b355c8"} 
[2026-09-19 18:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-19 18:19:55] 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-19 18:19: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-19 18:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:19:55] 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-19 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194409472001,"66":12972,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194409472001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:19:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194409472001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":189714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:19:55] local.INFO: GPS data processed {"connection_id":189714,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:19:55] local.INFO: Acknowledgment sent {"connection_id":189714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:20:14] local.INFO: TCP Data received {"connection_id":189715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:14] local.INFO: Processing buffer {"connection_id":189715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:14] local.INFO: IMEI packet received {"connection_id":189715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":189715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:20:19] local.INFO: TCP Data received {"connection_id":189715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:19] local.INFO: Processing buffer {"connection_id":189715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:20:19] local.INFO: IMEI packet received {"connection_id":189715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":189715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:20:21] local.INFO: TCP Data received {"connection_id":189715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:21] local.INFO: Processing buffer {"connection_id":189715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:21] local.INFO: Packet analysis {"connection_id":189715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:21] local.INFO: Extracted packet for processing {"connection_id":189715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:20:21] 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-19 18:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 18:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:20:21] 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-19 18:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":189715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:20:21] local.INFO: GPS data processed {"connection_id":189715,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:20:21] local.INFO: Acknowledgment sent {"connection_id":189715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:20:23] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:20:23] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:23] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:20:24] local.INFO: TCP Data received {"connection_id":189715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:24] local.INFO: Processing buffer {"connection_id":189715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:20:24] local.INFO: Packet analysis {"connection_id":189715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:24] local.INFO: Extracted packet for processing {"connection_id":189715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:20:24] 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-19 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 18:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:20:24] 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-19 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":189715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:20:24] local.INFO: GPS data processed {"connection_id":189715,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:20:24] local.INFO: Acknowledgment sent {"connection_id":189715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:20:28] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:28] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:20:28] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:20:29] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3a7d0012d196740071fed20003800612a..."} 
[2026-09-19 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3a7d0012d196740071fed20003800612a..."} 
[2026-09-19 18:20:29] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3a7d0012d196740071fed20003800612a..."} 
[2026-09-19 18:20:29] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:29] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:20: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-19 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194414848001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789821954000,"timestamp_ms":1789821954000,"timestamp_seconds":1789821954,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3a7d0"} 
[2026-09-19 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 18:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:20: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-19 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:20:29] 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-19 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194414848001,"66":12961,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194414848001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194414848001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:20:29] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:20:29] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:20:33] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3f9d8012d196740071fed20003800612a..."} 
[2026-09-19 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3f9d8012d196740071fed20003800612a..."} 
[2026-09-19 18:20:33] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3f9d8012d196740071fed20003800612a..."} 
[2026-09-19 18:20:33] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:33] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 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-19 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194420224001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789821975000,"timestamp_ms":1789821975000,"timestamp_seconds":1789821975,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3f9d8"} 
[2026-09-19 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-19 18:20: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-19 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-19 18:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:20: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-19 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194420224001,"66":12972,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194420224001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:20:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194420224001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:20:33] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:20:33] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:21:18] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:18] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:18] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:21:23] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:23] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:21:23] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:21:24] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b44be0012d196740071fed200038006129..."} 
[2026-09-19 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b44be0012d196740071fed200038006129..."} 
[2026-09-19 18:21:24] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b44be0012d196740071fed200038006129..."} 
[2026-09-19 18:21:24] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b4"} 
[2026-09-19 18:21:24] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b4"} 
[2026-09-19 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194425600001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789821996000,"timestamp_ms":1789821996000,"timestamp_seconds":1789821996,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b44be0"} 
[2026-09-19 18:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-19 18:21:24] 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-19 18:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194425600001,"66":12950,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194425600001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194425600001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:21:24] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:21:24] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:21:39] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:39] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:39] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:21:44] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:44] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:21:44] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:21:45] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:21:45] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b3e268012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:21:45] local.INFO: Packet analysis {"connection_id":187113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:21:45] local.INFO: Extracted packet for processing {"connection_id":187113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b3"} 
[2026-09-19 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194347008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21: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-19 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789821969000,"timestamp_ms":1789821969000,"timestamp_seconds":1789821969,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b3e268"} 
[2026-09-19 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:21:45] 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-19 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:21: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-19 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:21:45] 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-19 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194347008001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194347008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194347008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":187113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:21:45] local.INFO: GPS data processed {"connection_id":187113,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:21:45] local.INFO: Acknowledgment sent {"connection_id":187113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:21:55] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b7d238012d196740071fed20003800612a..."} 
[2026-09-19 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b7d238012d196740071fed20003800612a..."} 
[2026-09-19 18:21:55] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b7d238012d196740071fed20003800612a..."} 
[2026-09-19 18:21:55] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b7"} 
[2026-09-19 18:21:55] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b7"} 
[2026-09-19 18:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194484736001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822227000,"timestamp_ms":1789822227000,"timestamp_seconds":1789822227,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b7d238"} 
[2026-09-19 18:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3115684864,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":185,"raw_value":-5385750995423107264,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297400,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3251961856,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300530169967829292,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-19 18:21:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,193,160,46,45,64,237,56,44,10,66,220,43,138,1,240,41,227,185,31,4,113,205,230,103,32,42,239,50,2,77,7,164,213],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 18:21:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035332086255583232,"timestamp_seconds":4035332086255583.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 18:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:21:55] 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-19 18:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194484736001,"66":12776,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194484736001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:21:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194484736001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:21:55] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:21:55] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:22:04] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:04] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:04] local.INFO: IMEI packet received {"connection_id":189716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":189716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:22:09] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:09] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:22:09] local.INFO: IMEI packet received {"connection_id":189716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":189716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:22:10] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:10] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:10] local.INFO: Packet analysis {"connection_id":189716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:10] local.INFO: Extracted packet for processing {"connection_id":189716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:22: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-19 18:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:22: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-19 18:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":189716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:22:10] local.INFO: GPS data processed {"connection_id":189716,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:22:10] local.INFO: Acknowledgment sent {"connection_id":189716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:22:18] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:18] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:18] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:22:23] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:23] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:22:23] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:22:24] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b82440012d196740071fed20003800612b..."} 
[2026-09-19 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b82440012d196740071fed20003800612b..."} 
[2026-09-19 18:22:24] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b82440012d196740071fed20003800612b..."} 
[2026-09-19 18:22:24] local.INFO: Packet analysis {"connection_id":187114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:24] local.INFO: Extracted packet for processing {"connection_id":187114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194490112001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822248000,"timestamp_ms":1789822248000,"timestamp_seconds":1789822248,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b82440"} 
[2026-09-19 18: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-19 18:22: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-19 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 18:22:24] 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-19 18: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-19 18: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-19 18:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194490112001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194490112001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194490112001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":187114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:22:24] local.INFO: GPS data processed {"connection_id":187114,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:22:24] local.INFO: Acknowledgment sent {"connection_id":187114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:22:41] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:41] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:22:41] local.INFO: Packet analysis {"connection_id":189716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:41] local.INFO: Extracted packet for processing {"connection_id":189716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:22: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-19 18:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18: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-19 18:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:22: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-19 18:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":189716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:22:41] local.INFO: GPS data processed {"connection_id":189716,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:22:41] local.INFO: Acknowledgment sent {"connection_id":189716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:22:55] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a0b9b87648012d196740071fed200038006129..."} 
[2026-09-19 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":93,"packet_hex":"00000000000000518e01000001a0b9b87648012d196740071fed200038006129..."} 
[2026-09-19 18:22:55] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0b9b87648012d196740071fed200038006129..."} 
[2026-09-19 18:22:55] local.INFO: Packet analysis {"connection_id":187114,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0b9b8"} 
[2026-09-19 18:22:55] local.INFO: Extracted packet for processing {"connection_id":187114,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0b9b8"} 
[2026-09-19 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 18:22:55] 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-19 18:22:55] 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-19 18:22:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:22:55] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 18:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187114,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 18:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187114,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 18:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187114,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-19 18:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 18:22:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 18:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":187114,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 18:22:55] local.ERROR: GPS data processing failed {"connection_id":187114,"error":"No valid data to process"} 
[2026-09-19 18:22:55] local.INFO: Acknowledgment sent {"connection_id":187114,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 18:23:08] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:08] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:08] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:23:14] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:14] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:23:14] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:23:15] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:15] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:15] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:15] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23: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-19 18:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:23:15] 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-19 18:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:23: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-19 18:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:23:15] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:23:15] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:23:18] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:18] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:18] local.INFO: IMEI packet received {"connection_id":186978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":186978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:23:23] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:23] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:23:23] local.INFO: IMEI packet received {"connection_id":186978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":186978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:23:24] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b8c850012d196740071fed200038006128..."} 
[2026-09-19 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b8c850012d196740071fed200038006128..."} 
[2026-09-19 18:23:24] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b8c850012d196740071fed200038006128..."} 
[2026-09-19 18:23:24] local.INFO: Packet analysis {"connection_id":186978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:24] local.INFO: Extracted packet for processing {"connection_id":186978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:23: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-19 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822290000,"timestamp_ms":1789822290000,"timestamp_seconds":1789822290,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b8c850"} 
[2026-09-19 18:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-19 18:23:24] 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-19 18:23: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-19 18:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194500864001,"66":12743,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194500864001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":186978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:23:24] local.INFO: GPS data processed {"connection_id":186978,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:23:24] local.INFO: Acknowledgment sent {"connection_id":186978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:23:46] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:46] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:23:46] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:46] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23: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-19 18:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18: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-19 18:23:46] 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-19 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:23:46] 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-19 18: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-19 18: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-19 18:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:23: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-19 18:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:23:46] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:23:46] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:23:54] local.INFO: TCP Data received {"connection_id":186978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b91a58012d196740071fed20003800612b..."} 
[2026-09-19 18:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b91a58012d196740071fed20003800612b..."} 
[2026-09-19 18:23:54] local.INFO: Processing buffer {"connection_id":186978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b91a58012d196740071fed20003800612b..."} 
[2026-09-19 18:23:54] local.INFO: Packet analysis {"connection_id":186978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:23:54] local.INFO: Extracted packet for processing {"connection_id":186978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194506240001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789822311000,"timestamp_ms":1789822311000,"timestamp_seconds":1789822311,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b91a58"} 
[2026-09-19 18:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 18:23:54] 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-19 18:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:23:54] 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-19 18:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194506240001,"66":12743,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194506240001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:23:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194506240001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":186978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:23:55] local.INFO: GPS data processed {"connection_id":186978,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:23:55] local.INFO: Acknowledgment sent {"connection_id":186978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:24:14] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:14] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:14] local.INFO: IMEI packet received {"connection_id":187116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":187116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:24:18] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:18] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:18] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:24:19] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:19] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:24:19] local.INFO: IMEI packet received {"connection_id":187116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":187116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:24:19] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:19] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:19] local.INFO: Packet analysis {"connection_id":187116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:24:19] local.INFO: Extracted packet for processing {"connection_id":187116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18: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-19 18:24:19] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:24:19] 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-19 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":187116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:24:19] local.INFO: GPS data processed {"connection_id":187116,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:24:19] local.INFO: Acknowledgment sent {"connection_id":187116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:24:23] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:23] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:24:23] local.INFO: IMEI packet received {"connection_id":186979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":186979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:24:24] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b96c60012d196740071fed20003800612c..."} 
[2026-09-19 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b96c60012d196740071fed20003800612c..."} 
[2026-09-19 18:24:24] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b96c60012d196740071fed20003800612c..."} 
[2026-09-19 18:24:24] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:24:24] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:24: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-19 18:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194511616001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822332000,"timestamp_ms":1789822332000,"timestamp_seconds":1789822332,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b96c60"} 
[2026-09-19 18:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:24: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-19 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-19 18:24:24] 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-19 18:24: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-19 18:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194511616001,"66":12722,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194511616001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194511616001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:24:24] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:24:24] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:24:24] local.INFO: TCP Data received {"connection_id":187116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:24] local.INFO: Processing buffer {"connection_id":187116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:24:24] local.INFO: Packet analysis {"connection_id":187116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:24:24] local.INFO: Extracted packet for processing {"connection_id":187116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:24: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-19 18:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:24:24] 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-19 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:24: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-19 18:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:24:24] 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-19 18:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":187116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:24:24] local.INFO: GPS data processed {"connection_id":187116,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:24:24] local.INFO: Acknowledgment sent {"connection_id":187116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:24:55] local.INFO: TCP Data received {"connection_id":186979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b9be68012d196740071fed20003800612b..."} 
[2026-09-19 18:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b9be68012d196740071fed20003800612b..."} 
[2026-09-19 18:24:55] local.INFO: Processing buffer {"connection_id":186979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b9be68012d196740071fed20003800612b..."} 
[2026-09-19 18:24:55] local.INFO: Packet analysis {"connection_id":186979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:24:55] local.INFO: Extracted packet for processing {"connection_id":186979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b9"} 
[2026-09-19 18:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194516992001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822353000,"timestamp_ms":1789822353000,"timestamp_seconds":1789822353,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b9be68"} 
[2026-09-19 18:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 18:24:55] 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-19 18:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:24:55] 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-19 18:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194516992001,"66":12298,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194516992001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:24:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194516992001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":186979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:24:55] local.INFO: GPS data processed {"connection_id":186979,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:24:55] local.INFO: Acknowledgment sent {"connection_id":186979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:25:09] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:09] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:09] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:25:14] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:14] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:25:14] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:25:15] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:15] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:15] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:25:15] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:25:15] 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-19 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:25:15] 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-19 18:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:25:15] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:25:15] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:25:18] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:18] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:18] local.INFO: IMEI packet received {"connection_id":189717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":189717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:25:23] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:23] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:25:23] local.INFO: IMEI packet received {"connection_id":189717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":189717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:25:24] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ba1070012d196740071fed200038006128..."} 
[2026-09-19 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ba1070012d196740071fed200038006128..."} 
[2026-09-19 18:25:24] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ba1070012d196740071fed200038006128..."} 
[2026-09-19 18:25:24] local.INFO: Packet analysis {"connection_id":189717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:25:24] local.INFO: Extracted packet for processing {"connection_id":189717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:25: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-19 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194522368001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822374000,"timestamp_ms":1789822374000,"timestamp_seconds":1789822374,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ba1070"} 
[2026-09-19 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:25: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-19 18:25: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185677,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-3098476543630901247,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-5064438312288315033,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389604241932385,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":56,"raw_value":27349252229300224,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3596125184943587534,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":20481,"corrected_to":0} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3094759425,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297400,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-19 18:25:24] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3251961856,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:24] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,193,160,108,45,64,237,56,44,10,66,26,43,200,1,240,199,227,185,31,4,113,205,36,103,32,239,48,2,77,7,39],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":200,"original":20481,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-19 18:25:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035332103435452416,"timestamp_seconds":4035332103435452.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-19 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194522368001,"66":12341,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194522368001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194522368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":189717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:25:24] local.INFO: GPS data processed {"connection_id":189717,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:25:24] local.INFO: Acknowledgment sent {"connection_id":189717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:25:46] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:46] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:25:46] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:25:46] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:25:46] 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-19 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:25:46] 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-19 18:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:25: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-19 18:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:25:46] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:25:46] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:25:55] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ba6278012d196740071fed20003800612c..."} 
[2026-09-19 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ba6278012d196740071fed20003800612c..."} 
[2026-09-19 18:25:55] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ba6278012d196740071fed20003800612c..."} 
[2026-09-19 18:25:55] local.INFO: Packet analysis {"connection_id":189717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:25:55] local.INFO: Extracted packet for processing {"connection_id":189717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:25: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-19 18:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194527744001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822395000,"timestamp_ms":1789822395000,"timestamp_seconds":1789822395,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ba6278"} 
[2026-09-19 18:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 18:25:55] 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-19 18:25: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-19 18:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:25:55] 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-19 18:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194527744001,"66":12722,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194527744001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194527744001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":189717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:25:55] local.INFO: GPS data processed {"connection_id":189717,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:25:55] local.INFO: Acknowledgment sent {"connection_id":189717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:26:09] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:09] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:09] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:26:14] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:14] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:26:14] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:26:15] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:15] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:15] local.INFO: Packet analysis {"connection_id":188417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:26:15] local.INFO: Extracted packet for processing {"connection_id":188417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18: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-19 18:26:15] 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-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:26:15] 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-19 18:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":188417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:26:15] local.INFO: GPS data processed {"connection_id":188417,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:26:15] local.INFO: Acknowledgment sent {"connection_id":188417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:26:18] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:18] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:18] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:26:20] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:20] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:20] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:26:23] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:23] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:26:23] local.INFO: IMEI packet received {"connection_id":186980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":186980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:26:23] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bab480012d196740071fed200038006128..."} 
[2026-09-19 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bab480012d196740071fed200038006128..."} 
[2026-09-19 18:26:23] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bab480012d196740071fed200038006128..."} 
[2026-09-19 18:26:23] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:26:23] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ba"} 
[2026-09-19 18:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194533120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789822416000,"timestamp_ms":1789822416000,"timestamp_seconds":1789822416,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bab480"} 
[2026-09-19 18:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-19 18:26:23] 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-19 18:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:26:23] 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-19 18:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194533120001,"66":12667,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194533120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194533120001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:26:23] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:26:23] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:26:46] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:46] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9b87a30012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:26:46] local.INFO: Packet analysis {"connection_id":188417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:26:46] local.INFO: Extracted packet for processing {"connection_id":188417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9b8"} 
[2026-09-19 18:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194424064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26: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-19 18:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822270000,"timestamp_ms":1789822270000,"timestamp_seconds":1789822270,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9b87a30"} 
[2026-09-19 18: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-19 18:26:46] 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-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:26:46] 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-19 18: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-19 18: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-19 18:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:26: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-19 18:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194424064001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194424064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194424064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":188417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:26:47] local.INFO: GPS data processed {"connection_id":188417,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:26:47] local.INFO: Acknowledgment sent {"connection_id":188417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:26:54] local.INFO: TCP Data received {"connection_id":186980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bb0688012d196740071fed20003800612c..."} 
[2026-09-19 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bb0688012d196740071fed20003800612c..."} 
[2026-09-19 18:26:54] local.INFO: Processing buffer {"connection_id":186980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bb0688012d196740071fed20003800612c..."} 
[2026-09-19 18:26:54] local.INFO: Packet analysis {"connection_id":186980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:26:54] local.INFO: Extracted packet for processing {"connection_id":186980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194538496001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789822437000,"timestamp_ms":1789822437000,"timestamp_seconds":1789822437,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bb0688"} 
[2026-09-19 18:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 18:26:54] 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-19 18:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:26:54] 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-19 18:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194538496001,"66":12689,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194538496001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:26:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194538496001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":186980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:26:55] local.INFO: GPS data processed {"connection_id":186980,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:26:55] local.INFO: Acknowledgment sent {"connection_id":186980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:27:08] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:08] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:08] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:27:14] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:14] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:27:14] local.INFO: IMEI packet received {"connection_id":186981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":186981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:27:16] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:16] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:16] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:27:16] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27: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-19 18:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18: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-19 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:27:16] 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-19 18: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-19 18: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-19 18:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:27:16] 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-19 18:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:27:16] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:27:16] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:27:23] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:27:23] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:23] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:27:28] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:28] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:27:28] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:27:29] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bb5890012d196740071fed20003800612b..."} 
[2026-09-19 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bb5890012d196740071fed20003800612b..."} 
[2026-09-19 18:27:29] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bb5890012d196740071fed20003800612b..."} 
[2026-09-19 18:27:29] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:27:29] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194543872001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789822458000,"timestamp_ms":1789822458000,"timestamp_seconds":1789822458,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bb5890"} 
[2026-09-19 18:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-19 18:27:29] 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-19 18:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:27:29] 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-19 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194543872001,"66":12689,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194543872001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194543872001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:27:29] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:27:29] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:27:33] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bbaa98012d196740071fed20003800612b..."} 
[2026-09-19 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bbaa98012d196740071fed20003800612b..."} 
[2026-09-19 18:27:33] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bbaa98012d196740071fed20003800612b..."} 
[2026-09-19 18:27:33] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:27:33] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194549248001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789822479000,"timestamp_ms":1789822479000,"timestamp_seconds":1789822479,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bbaa98"} 
[2026-09-19 18: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-19 18:27: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-19 18: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":145,"data_length":795,"current_offset":136} 
[2026-09-19 18:27: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-19 18: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-19 18: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-19 18:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:27: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-19 18:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194549248001,"66":12645,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194549248001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:27:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194549248001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:27:33] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:27:33] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:27:47] local.INFO: TCP Data received {"connection_id":186981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:47] local.INFO: Processing buffer {"connection_id":186981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:27:47] local.INFO: Packet analysis {"connection_id":186981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:27:47] local.INFO: Extracted packet for processing {"connection_id":186981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:27: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-19 18:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:27:47] 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-19 18:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":186981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":186981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:27:47] 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-19 18:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":186981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:27:47] local.INFO: GPS data processed {"connection_id":186981,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:27:47] local.INFO: Acknowledgment sent {"connection_id":186981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:28:08] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:08] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:08] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:28:14] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:14] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:28:14] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:28:15] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:15] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:15] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:28:15] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18: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-19 18:28:15] 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-19 18: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:28:15] 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-19 18:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:28:15] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:28:15] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:28:18] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:18] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:18] local.INFO: IMEI packet received {"connection_id":188418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":188418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:28:23] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:23] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:28:23] local.INFO: IMEI packet received {"connection_id":188418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":188418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:28:24] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bbfca0012d196740071fed200038006129..."} 
[2026-09-19 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bbfca0012d196740071fed200038006129..."} 
[2026-09-19 18:28:24] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bbfca0012d196740071fed200038006129..."} 
[2026-09-19 18:28:24] local.INFO: Packet analysis {"connection_id":188418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:28:24] local.INFO: Extracted packet for processing {"connection_id":188418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bb"} 
[2026-09-19 18:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194554624001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822500000,"timestamp_ms":1789822500000,"timestamp_seconds":1789822500,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bbfca0"} 
[2026-09-19 18:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:28: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-19 18:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 18:28:24] 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-19 18:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194554624001,"66":12667,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194554624001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194554624001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":188418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:28:24] local.INFO: GPS data processed {"connection_id":188418,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:28:24] local.INFO: Acknowledgment sent {"connection_id":188418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:28:46] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:46] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:28:46] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:28:46] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28: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-19 18:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:28:46] 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-19 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:28: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-19 18:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:28: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-19 18:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:28:46] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:28:46] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:28:55] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bc4ea8012d196740071fed200038006128..."} 
[2026-09-19 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bc4ea8012d196740071fed200038006128..."} 
[2026-09-19 18:28:55] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bc4ea8012d196740071fed200038006128..."} 
[2026-09-19 18:28:55] local.INFO: Packet analysis {"connection_id":188418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:28:55] local.INFO: Extracted packet for processing {"connection_id":188418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:28: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-19 18:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194560000001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822521000,"timestamp_ms":1789822521000,"timestamp_seconds":1789822521,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bc4ea8"} 
[2026-09-19 18:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:28: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-19 18:28:55] 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-19 18:28: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-19 18:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:28:55] 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-19 18:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194560000001,"66":12613,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194560000001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194560000001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":188418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:28:55] local.INFO: GPS data processed {"connection_id":188418,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:28:55] local.INFO: Acknowledgment sent {"connection_id":188418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:29:08] local.INFO: TCP Data received {"connection_id":189718,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:08] local.INFO: Processing buffer {"connection_id":189718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:08] local.INFO: IMEI packet received {"connection_id":189718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":189718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:29:14] local.INFO: TCP Data received {"connection_id":189718,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:14] local.INFO: Processing buffer {"connection_id":189718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:29:14] local.INFO: IMEI packet received {"connection_id":189718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:29:14] local.INFO: TCP Data received {"connection_id":189718,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:14] local.INFO: Processing buffer {"connection_id":189718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:14] local.INFO: Packet analysis {"connection_id":189718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:29:14] local.INFO: Extracted packet for processing {"connection_id":189718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29: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-19 18:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:29: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-19 18:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":189718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:29:14] local.INFO: GPS data processed {"connection_id":189718,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:29:14] local.INFO: Acknowledgment sent {"connection_id":189718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:29:18] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:18] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:18] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:29:23] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:23] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:29:23] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:29:24] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bca0b0012d196740071fed200038006129..."} 
[2026-09-19 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bca0b0012d196740071fed200038006129..."} 
[2026-09-19 18:29:24] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bca0b0012d196740071fed200038006129..."} 
[2026-09-19 18:29:24] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:29:24] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194565376001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822542000,"timestamp_ms":1789822542000,"timestamp_seconds":1789822542,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bca0b0"} 
[2026-09-19 18:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:29: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-19 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 18:29:24] 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-19 18:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194565376001,"66":12591,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194565376001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194565376001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:29:24] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:29:24] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:29:47] local.INFO: TCP Data received {"connection_id":189718,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:47] local.INFO: Processing buffer {"connection_id":189718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:29:47] local.INFO: Packet analysis {"connection_id":189718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:29:47] local.INFO: Extracted packet for processing {"connection_id":189718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18: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-19 18:29:47] 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-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:29:47] 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-19 18:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":189718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:29:47] local.INFO: GPS data processed {"connection_id":189718,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:29:47] local.INFO: Acknowledgment sent {"connection_id":189718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:29:55] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bcf2b8012d196740071fed200038006129..."} 
[2026-09-19 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bcf2b8012d196740071fed200038006129..."} 
[2026-09-19 18:29:55] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bcf2b8012d196740071fed200038006129..."} 
[2026-09-19 18:29:55] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:29:55] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bc"} 
[2026-09-19 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:29: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-19 18:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194570752001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822563000,"timestamp_ms":1789822563000,"timestamp_seconds":1789822563,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bcf2b8"} 
[2026-09-19 18:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:29: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:29:55] 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-19 18:29: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-19 18:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:29:55] 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-19 18:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194570752001,"66":12645,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194570752001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194570752001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:29:55] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:29:55] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:30:13] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:13] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:13] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:30:18] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:18] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:18] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:30:19] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:19] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:30:19] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:30:20] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:20] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:20] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:20] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18: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-19 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:30:20] 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-19 18: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-19 18: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-19 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:30: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-19 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:30:20] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:30:20] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:30:23] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:23] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:30:23] local.INFO: IMEI packet received {"connection_id":186982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":186982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:30:24] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd44c0012d196740071fed200038006127..."} 
[2026-09-19 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd44c0012d196740071fed200038006127..."} 
[2026-09-19 18:30:24] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd44c0012d196740071fed200038006127..."} 
[2026-09-19 18:30:24] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:24] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:30: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-19 18:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194576128001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822584000,"timestamp_ms":1789822584000,"timestamp_seconds":1789822584,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd44c0"} 
[2026-09-19 18:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-19 18:30:24] 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-19 18:30: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-19 18:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194576128001,"66":12613,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194576128001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194576128001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:30:24] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:30:24] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:30:24] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:24] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:30:24] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:24] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:30: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-19 18:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:30:24] 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-19 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:30:24] 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-19 18:30: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-19 18:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:30: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-19 18:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:30:24] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:30:24] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:30:54] local.INFO: TCP Data received {"connection_id":186982,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd96c8012d196740071fed200038006127..."} 
[2026-09-19 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd96c8012d196740071fed200038006127..."} 
[2026-09-19 18:30:54] local.INFO: Processing buffer {"connection_id":186982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd96c8012d196740071fed200038006127..."} 
[2026-09-19 18:30:54] local.INFO: Packet analysis {"connection_id":186982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:54] local.INFO: Extracted packet for processing {"connection_id":186982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194581504001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789822605000,"timestamp_ms":1789822605000,"timestamp_seconds":1789822605,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd96c8"} 
[2026-09-19 18:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-19 18:30:54] 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-19 18:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":186982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":186982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:30:54] 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-19 18:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194581504001,"66":12591,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194581504001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:30:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194581504001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":186982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:30:55] local.INFO: GPS data processed {"connection_id":186982,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:30:55] local.INFO: Acknowledgment sent {"connection_id":186982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:31:09] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:09] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:09] local.INFO: IMEI packet received {"connection_id":186983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":186983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:31:13] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:13] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:31:13] local.INFO: IMEI packet received {"connection_id":186983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":186983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:31:15] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:15] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:15] local.INFO: Packet analysis {"connection_id":186983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:15] local.INFO: Extracted packet for processing {"connection_id":186983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:31:15] 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-19 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:31: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-19 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":186983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:31:15] local.INFO: GPS data processed {"connection_id":186983,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:31:15] local.INFO: Acknowledgment sent {"connection_id":186983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:31:18] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:18] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:18] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:31:23] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:23] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:31:23] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:31:24] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bde8d0012d196740071fed200038006128..."} 
[2026-09-19 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bde8d0012d196740071fed200038006128..."} 
[2026-09-19 18:31:24] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bde8d0012d196740071fed200038006128..."} 
[2026-09-19 18:31:24] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:24] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194586880001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822626000,"timestamp_ms":1789822626000,"timestamp_seconds":1789822626,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bde8d0"} 
[2026-09-19 18: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-19 18:31: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-19 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:31:24] 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-19 18: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-19 18: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-19 18:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194586880001,"66":12591,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194586880001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194586880001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:31:24] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:31:24] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:31:46] local.INFO: TCP Data received {"connection_id":186983,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:46] local.INFO: Processing buffer {"connection_id":186983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bd11f8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:31:46] local.INFO: Packet analysis {"connection_id":186983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:46] local.INFO: Extracted packet for processing {"connection_id":186983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9bd"} 
[2026-09-19 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194501120001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31: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-19 18:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822571000,"timestamp_ms":1789822571000,"timestamp_seconds":1789822571,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bd11f8"} 
[2026-09-19 18:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:31:46] 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-19 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:31: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-19 18:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:31: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-19 18:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194501120001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194501120001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194501120001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":186983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:31:46] local.INFO: GPS data processed {"connection_id":186983,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:31:46] local.INFO: Acknowledgment sent {"connection_id":186983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:31:55] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9be3ad8012d196740071fed200038006128..."} 
[2026-09-19 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9be3ad8012d196740071fed200038006128..."} 
[2026-09-19 18:31:55] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9be3ad8012d196740071fed200038006128..."} 
[2026-09-19 18:31:55] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:31:55] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:31: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-19 18:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194592256001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822647000,"timestamp_ms":1789822647000,"timestamp_seconds":1789822647,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9be3ad8"} 
[2026-09-19 18:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:31: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-19 18:31:55] 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-19 18:31: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-19 18:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:31:55] 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-19 18:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194592256001,"66":12526,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194592256001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194592256001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:31:55] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:31:55] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:32:08] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:08] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:08] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:32:13] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:13] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:32:13] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:32:14] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:14] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:14] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:32:14] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 18:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 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-19 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 18:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 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-19 18:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:32:14] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:32:14] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:32:18] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:18] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:18] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:32:23] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:23] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:32:23] local.INFO: IMEI packet received {"connection_id":186984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":186984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:32:24] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9be8ce0012d196740071fed20003800612a..."} 
[2026-09-19 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9be8ce0012d196740071fed20003800612a..."} 
[2026-09-19 18:32:24] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9be8ce0012d196740071fed20003800612a..."} 
[2026-09-19 18:32:24] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:32:24] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194597632001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822668000,"timestamp_ms":1789822668000,"timestamp_seconds":1789822668,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9be8ce0"} 
[2026-09-19 18:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:32: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-19 18:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:32:24] 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-19 18:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194597632001,"66":12526,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194597632001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194597632001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:32:24] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:32:24] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:32:46] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:46] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:32:46] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:32:46] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32: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-19 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:32:46] 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-19 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:32: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-19 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:32:46] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:32:46] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:32:55] local.INFO: TCP Data received {"connection_id":186984,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9bedee8012d196740071fed20003800612c..."} 
[2026-09-19 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9bedee8012d196740071fed20003800612c..."} 
[2026-09-19 18:32:55] local.INFO: Processing buffer {"connection_id":186984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9bedee8012d196740071fed20003800612c..."} 
[2026-09-19 18:32:55] local.INFO: Packet analysis {"connection_id":186984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:32:55] local.INFO: Extracted packet for processing {"connection_id":186984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9be"} 
[2026-09-19 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:32: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-19 18:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194603008001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822689000,"timestamp_ms":1789822689000,"timestamp_seconds":1789822689,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9bedee8"} 
[2026-09-19 18:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:32: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-19 18:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:32:55] 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-19 18:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194603008001,"66":12580,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194603008001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194603008001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":186984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:32:55] local.INFO: GPS data processed {"connection_id":186984,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:32:55] local.INFO: Acknowledgment sent {"connection_id":186984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:33:08] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:08] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:08] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:33:13] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:14] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:33:14] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:33:15] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:15] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:15] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:33:15] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33: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-19 18:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:33:15] 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-19 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:33: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-19 18:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:33:15] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:33:15] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:33:20] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:20] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:20] local.INFO: IMEI packet received {"connection_id":189719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":189719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:33:23] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:23] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:23] local.INFO: IMEI packet received {"connection_id":189719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":189719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:33:28] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:28] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:33:28] local.INFO: IMEI packet received {"connection_id":189719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":189719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:33:29] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c26540012d196740071fed200038006129..."} 
[2026-09-19 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c26540012d196740071fed200038006129..."} 
[2026-09-19 18:33:29] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c26540012d196740071fed200038006129..."} 
[2026-09-19 18:33:29] local.INFO: Packet analysis {"connection_id":189719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c2"} 
[2026-09-19 18:33:29] local.INFO: Extracted packet for processing {"connection_id":189719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c2"} 
[2026-09-19 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789822920000,"timestamp_ms":1789822920000,"timestamp_seconds":1789822920,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c26540"} 
[2026-09-19 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:33:29] 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-19 18:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:33:29] 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-19 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194662144001,"66":12537,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:33:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194662144001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":189719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:33:29] local.INFO: GPS data processed {"connection_id":189719,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:33:29] local.INFO: Acknowledgment sent {"connection_id":189719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:33:33] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c2b748012d196740071fed200038006127..."} 
[2026-09-19 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c2b748012d196740071fed200038006127..."} 
[2026-09-19 18:33:33] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c2b748012d196740071fed200038006127..."} 
[2026-09-19 18:33:33] local.INFO: Packet analysis {"connection_id":189719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c2"} 
[2026-09-19 18:33:33] local.INFO: Extracted packet for processing {"connection_id":189719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c2"} 
[2026-09-19 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194667520001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789822941000,"timestamp_ms":1789822941000,"timestamp_seconds":1789822941,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c2b748"} 
[2026-09-19 18: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-19 18:33: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-19 18: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":249,"data_length":795,"current_offset":136} 
[2026-09-19 18:33: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-19 18: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-19 18: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-19 18:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":189719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":189719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":189719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:33: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-19 18:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194667520001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194667520001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194667520001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":189719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:33:33] local.INFO: GPS data processed {"connection_id":189719,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:33:33] local.INFO: Acknowledgment sent {"connection_id":189719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:33:46] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:46] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:33:46] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:33:46] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:33: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-19 18:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18: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-19 18:33:46] 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-19 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:33: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-19 18:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:33:46] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:33:46] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:34:08] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:08] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:08] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:34:14] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:14] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:34:14] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:34:14] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:14] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:14] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:34:14] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34: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-19 18:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18: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-19 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:34: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-19 18:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:34:14] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:34:14] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:34:18] local.INFO: TCP Data received {"connection_id":189720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:18] local.INFO: Processing buffer {"connection_id":189720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:18] local.INFO: IMEI packet received {"connection_id":189720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":189720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:34:23] local.INFO: TCP Data received {"connection_id":189720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:23] local.INFO: Processing buffer {"connection_id":189720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:34:23] local.INFO: IMEI packet received {"connection_id":189720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":189720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:34:24] local.INFO: TCP Data received {"connection_id":189720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c30950012d196740071fed20003800612a..."} 
[2026-09-19 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c30950012d196740071fed20003800612a..."} 
[2026-09-19 18:34:24] local.INFO: Processing buffer {"connection_id":189720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c30950012d196740071fed20003800612a..."} 
[2026-09-19 18:34:24] local.INFO: Packet analysis {"connection_id":189720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:34:24] local.INFO: Extracted packet for processing {"connection_id":189720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194672896001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822962000,"timestamp_ms":1789822962000,"timestamp_seconds":1789822962,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c30950"} 
[2026-09-19 18: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-19 18:34: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-19 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:34:24] 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-19 18: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-19 18: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-19 18:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194672896001,"66":12493,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194672896001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194672896001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":189720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:34:24] local.INFO: GPS data processed {"connection_id":189720,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:34:24] local.INFO: Acknowledgment sent {"connection_id":189720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:34:46] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:46] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:34:46] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:34:46] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18: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-19 18:34:46] 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-19 18:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:34: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-19 18:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:34:46] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:34:46] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:34:55] local.INFO: TCP Data received {"connection_id":189720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c35b58012d196740071fed20003800612a..."} 
[2026-09-19 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c35b58012d196740071fed20003800612a..."} 
[2026-09-19 18:34:55] local.INFO: Processing buffer {"connection_id":189720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c35b58012d196740071fed20003800612a..."} 
[2026-09-19 18:34:55] local.INFO: Packet analysis {"connection_id":189720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:34:55] local.INFO: Extracted packet for processing {"connection_id":189720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194678272001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789822983000,"timestamp_ms":1789822983000,"timestamp_seconds":1789822983,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c35b58"} 
[2026-09-19 18:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 18:34:55] 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-19 18:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:34:55] 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-19 18:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194678272001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194678272001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:34:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:34:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194678272001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":189720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:34:55] local.INFO: GPS data processed {"connection_id":189720,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:34:55] local.INFO: Acknowledgment sent {"connection_id":189720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:35:13] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:13] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:13] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:35:18] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:18] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:18] local.INFO: IMEI packet received {"connection_id":186985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":186985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:35:19] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:19] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:35:19] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:35:20] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:20] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:20] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:35:20] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18: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-19 18:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:35: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-19 18:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:35:20] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:35:20] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:35:23] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:23] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:35:23] local.INFO: IMEI packet received {"connection_id":186985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":186985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:35:24] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c3ad60012d196740071fed200038006127..."} 
[2026-09-19 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c3ad60012d196740071fed200038006127..."} 
[2026-09-19 18:35:24] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c3ad60012d196740071fed200038006127..."} 
[2026-09-19 18:35:24] local.INFO: Packet analysis {"connection_id":186985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:35:24] local.INFO: Extracted packet for processing {"connection_id":186985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:35: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-19 18:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194683648001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823004000,"timestamp_ms":1789823004000,"timestamp_seconds":1789823004,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c3ad60"} 
[2026-09-19 18:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:35: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-19 18:35: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:35:24] 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-19 18:35: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-19 18:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194683648001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194683648001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194683648001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:35:24] local.INFO: TCP Data received {"connection_id":187121,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:24] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:35:24] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:35:24] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:35: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-19 18:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:35:24] 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-19 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:35: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-19 18:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:35: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-19 18:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:35:24] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:35:24] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":186985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:35:24] local.INFO: GPS data processed {"connection_id":186985,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:35:24] local.INFO: Acknowledgment sent {"connection_id":186985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:35:55] local.INFO: TCP Data received {"connection_id":186985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c3ff68012d196740071fed200038006129..."} 
[2026-09-19 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c3ff68012d196740071fed200038006129..."} 
[2026-09-19 18:35:55] local.INFO: Processing buffer {"connection_id":186985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c3ff68012d196740071fed200038006129..."} 
[2026-09-19 18:35:55] local.INFO: Packet analysis {"connection_id":186985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:35:55] local.INFO: Extracted packet for processing {"connection_id":186985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c3"} 
[2026-09-19 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:35: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-19 18:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194689024001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823025000,"timestamp_ms":1789823025000,"timestamp_seconds":1789823025,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c3ff68"} 
[2026-09-19 18:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:35:55] 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-19 18:35: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-19 18:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:35:55] 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-19 18:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194689024001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194689024001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194689024001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":186985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:35:55] local.INFO: GPS data processed {"connection_id":186985,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:35:55] local.INFO: Acknowledgment sent {"connection_id":186985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:36:09] local.INFO: TCP Data received {"connection_id":189721,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:09] local.INFO: Processing buffer {"connection_id":189721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:09] local.INFO: IMEI packet received {"connection_id":189721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:36:13] local.INFO: TCP Data received {"connection_id":189721,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:14] local.INFO: Processing buffer {"connection_id":189721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:36:14] local.INFO: IMEI packet received {"connection_id":189721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:36:14] local.INFO: TCP Data received {"connection_id":189721,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:14] local.INFO: Processing buffer {"connection_id":189721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:14] local.INFO: Packet analysis {"connection_id":189721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:36:14] local.INFO: Extracted packet for processing {"connection_id":189721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 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-19 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 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-19 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":189721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:36:14] local.INFO: GPS data processed {"connection_id":189721,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:36:14] local.INFO: Acknowledgment sent {"connection_id":189721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:36:18] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:18] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:18] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:36:23] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:23] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:36:23] local.INFO: IMEI packet received {"connection_id":186986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":186986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:36:24] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c45170012d196740071fed200038006128..."} 
[2026-09-19 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c45170012d196740071fed200038006128..."} 
[2026-09-19 18:36:24] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c45170012d196740071fed200038006128..."} 
[2026-09-19 18:36:24] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:36:24] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194694400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823046000,"timestamp_ms":1789823046000,"timestamp_seconds":1789823046,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c45170"} 
[2026-09-19 18:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:36: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-19 18:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:36:24] 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-19 18:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194694400001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194694400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194694400001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:36:24] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:36:24] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:36:46] local.INFO: TCP Data received {"connection_id":189721,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:46] local.INFO: Processing buffer {"connection_id":189721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c1a9c0012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:36:46] local.INFO: Packet analysis {"connection_id":189721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:36:46] local.INFO: Extracted packet for processing {"connection_id":189721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c1"} 
[2026-09-19 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194578176001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36: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-19 18:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789822872000,"timestamp_ms":1789822872000,"timestamp_seconds":1789822872,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c1a9c0"} 
[2026-09-19 18:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:36:46] 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-19 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:36: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-19 18:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194578176001,"66":25625,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194578176001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194578176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":189721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:36:46] local.INFO: GPS data processed {"connection_id":189721,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:36:46] local.INFO: Acknowledgment sent {"connection_id":189721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:36:55] local.INFO: TCP Data received {"connection_id":186986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c4a378012d196740071fed200038006129..."} 
[2026-09-19 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c4a378012d196740071fed200038006129..."} 
[2026-09-19 18:36:55] local.INFO: Processing buffer {"connection_id":186986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c4a378012d196740071fed200038006129..."} 
[2026-09-19 18:36:55] local.INFO: Packet analysis {"connection_id":186986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:36:55] local.INFO: Extracted packet for processing {"connection_id":186986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194699776001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823067000,"timestamp_ms":1789823067000,"timestamp_seconds":1789823067,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c4a378"} 
[2026-09-19 18:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:36:55] 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-19 18:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:36:55] 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-19 18:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194699776001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194699776001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194699776001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":186986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:36:55] local.INFO: GPS data processed {"connection_id":186986,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:36:55] local.INFO: Acknowledgment sent {"connection_id":186986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:37:08] local.INFO: TCP Data received {"connection_id":189722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:08] local.INFO: Processing buffer {"connection_id":189722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:08] local.INFO: IMEI packet received {"connection_id":189722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":189722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:37:14] local.INFO: TCP Data received {"connection_id":189722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:14] local.INFO: Processing buffer {"connection_id":189722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:37:14] local.INFO: IMEI packet received {"connection_id":189722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":189722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:37:16] local.INFO: TCP Data received {"connection_id":189722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:16] local.INFO: Processing buffer {"connection_id":189722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:16] local.INFO: Packet analysis {"connection_id":189722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:37:16] local.INFO: Extracted packet for processing {"connection_id":189722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37: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-19 18:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:37: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-19 18:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:37: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-19 18:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":189722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:37:16] local.INFO: GPS data processed {"connection_id":189722,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:37:16] local.INFO: Acknowledgment sent {"connection_id":189722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:37:18] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:18] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:18] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:37:23] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:23] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:37:23] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:37:24] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c4f580012d196740071fed20003800612a..."} 
[2026-09-19 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c4f580012d196740071fed20003800612a..."} 
[2026-09-19 18:37:24] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c4f580012d196740071fed20003800612a..."} 
[2026-09-19 18:37:24] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:37:24] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c4"} 
[2026-09-19 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194705152001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823088000,"timestamp_ms":1789823088000,"timestamp_seconds":1789823088,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c4f580"} 
[2026-09-19 18:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:37: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-19 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:37:24] 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-19 18:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194705152001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194705152001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194705152001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:37:24] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:37:24] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:37:48] local.INFO: TCP Data received {"connection_id":189722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:48] local.INFO: Processing buffer {"connection_id":189722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:37:48] local.INFO: Packet analysis {"connection_id":189722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:37:48] local.INFO: Extracted packet for processing {"connection_id":189722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:37: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-19 18: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-19 18: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-19 18:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:37: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-19 18:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":189722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:37:48] local.INFO: GPS data processed {"connection_id":189722,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:37:48] local.INFO: Acknowledgment sent {"connection_id":189722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:37:54] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c54788012d196740071fed20003800612a..."} 
[2026-09-19 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c54788012d196740071fed20003800612a..."} 
[2026-09-19 18:37:54] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c54788012d196740071fed20003800612a..."} 
[2026-09-19 18:37:54] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:37:54] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194710528001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789823109000,"timestamp_ms":1789823109000,"timestamp_seconds":1789823109,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c54788"} 
[2026-09-19 18:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:37:54] 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-19 18:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:37:54] 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-19 18:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194710528001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194710528001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:37:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194710528001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:37:54] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:37:54] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:38:08] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:08] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:08] local.INFO: IMEI packet received {"connection_id":187123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":187123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:38:13] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:13] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:38:13] local.INFO: IMEI packet received {"connection_id":187123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":187123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:38:14] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:14] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:14] local.INFO: Packet analysis {"connection_id":187123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:38:14] local.INFO: Extracted packet for processing {"connection_id":187123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:38: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-19 18:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":187123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:38:14] local.INFO: GPS data processed {"connection_id":187123,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:38:14] local.INFO: Acknowledgment sent {"connection_id":187123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:38:18] local.INFO: TCP Data received {"connection_id":189723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:18] local.INFO: Processing buffer {"connection_id":189723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:18] local.INFO: IMEI packet received {"connection_id":189723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":189723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:38:23] local.INFO: TCP Data received {"connection_id":189723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:23] local.INFO: Processing buffer {"connection_id":189723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:38:23] local.INFO: IMEI packet received {"connection_id":189723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":189723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:38:24] local.INFO: TCP Data received {"connection_id":189723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c59990012d196740071fed200038006128..."} 
[2026-09-19 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c59990012d196740071fed200038006128..."} 
[2026-09-19 18:38:24] local.INFO: Processing buffer {"connection_id":189723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c59990012d196740071fed200038006128..."} 
[2026-09-19 18:38:24] local.INFO: Packet analysis {"connection_id":189723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:38:24] local.INFO: Extracted packet for processing {"connection_id":189723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194715904001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823130000,"timestamp_ms":1789823130000,"timestamp_seconds":1789823130,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c59990"} 
[2026-09-19 18:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:38: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-19 18:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:38:24] 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-19 18:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194715904001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194715904001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:38:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194715904001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":189723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:38:24] local.INFO: GPS data processed {"connection_id":189723,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:38:24] local.INFO: Acknowledgment sent {"connection_id":189723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:38:45] local.INFO: TCP Data received {"connection_id":187123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:45] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:38:45] local.INFO: Packet analysis {"connection_id":187123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:38:45] local.INFO: Extracted packet for processing {"connection_id":187123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38: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-19 18:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:38: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-19 18:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":187123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:38:46] local.INFO: GPS data processed {"connection_id":187123,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:38:46] local.INFO: Acknowledgment sent {"connection_id":187123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:38:55] local.INFO: TCP Data received {"connection_id":189723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c5eb98012d196740071fed200038006129..."} 
[2026-09-19 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c5eb98012d196740071fed200038006129..."} 
[2026-09-19 18:38:55] local.INFO: Processing buffer {"connection_id":189723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c5eb98012d196740071fed200038006129..."} 
[2026-09-19 18:38:55] local.INFO: Packet analysis {"connection_id":189723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:38:55] local.INFO: Extracted packet for processing {"connection_id":189723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c5"} 
[2026-09-19 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194721280001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823151000,"timestamp_ms":1789823151000,"timestamp_seconds":1789823151,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c5eb98"} 
[2026-09-19 18:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:38:55] 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-19 18:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:38:55] 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-19 18:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194721280001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194721280001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194721280001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":189723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:38:55] local.INFO: GPS data processed {"connection_id":189723,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:38:55] local.INFO: Acknowledgment sent {"connection_id":189723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:39:08] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:08] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:08] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:39:14] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:14] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:39:14] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:39:15] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:15] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:15] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:15] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39: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-19 18:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:39: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-19 18:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:39:15] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:39:15] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:39:18] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:18] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:18] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:39:23] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:23] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:39:23] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:39:24] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c63da0012d196740071fed200038006127..."} 
[2026-09-19 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c63da0012d196740071fed200038006127..."} 
[2026-09-19 18:39:24] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c63da0012d196740071fed200038006127..."} 
[2026-09-19 18:39:24] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:24] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194726656001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823172000,"timestamp_ms":1789823172000,"timestamp_seconds":1789823172,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c63da0"} 
[2026-09-19 18: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-19 18:39: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-19 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:39:24] 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-19 18: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-19 18: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-19 18:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194726656001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194726656001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194726656001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:39:24] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:39:24] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:39:47] local.INFO: TCP Data received {"connection_id":187124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:47] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:39:47] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:47] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39: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-19 18:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:39: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-19 18:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:39:47] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:39:47] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:39:55] local.INFO: TCP Data received {"connection_id":187125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c68fa8012d196740071fed20003800612a..."} 
[2026-09-19 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c68fa8012d196740071fed20003800612a..."} 
[2026-09-19 18:39:55] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c68fa8012d196740071fed20003800612a..."} 
[2026-09-19 18:39:55] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:55] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823193000,"timestamp_ms":1789823193000,"timestamp_seconds":1789823193,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c68fa8"} 
[2026-09-19 18: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-19 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:39:55] 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-19 18: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-19 18: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-19 18:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:39:55] 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-19 18:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732032001,"66":12113,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732032001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:39:55] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:39:55] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:40:13] local.INFO: TCP Data received {"connection_id":189724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:13] local.INFO: Processing buffer {"connection_id":189724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:13] local.INFO: IMEI packet received {"connection_id":189724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":189724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:40:19] local.INFO: TCP Data received {"connection_id":189724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:19] local.INFO: Processing buffer {"connection_id":189724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:40:19] local.INFO: IMEI packet received {"connection_id":189724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":189724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:40:20] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:20] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:20] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:40:21] local.INFO: TCP Data received {"connection_id":189724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:21] local.INFO: Processing buffer {"connection_id":189724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:21] local.INFO: Packet analysis {"connection_id":189724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:21] local.INFO: Extracted packet for processing {"connection_id":189724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:40:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":189724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:40:21] local.INFO: GPS data processed {"connection_id":189724,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:40:21] local.INFO: Acknowledgment sent {"connection_id":189724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:40:23] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:23] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:23] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:40:24] local.INFO: TCP Data received {"connection_id":189724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:24] local.INFO: Processing buffer {"connection_id":189724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:40:24] local.INFO: Packet analysis {"connection_id":189724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:24] local.INFO: Extracted packet for processing {"connection_id":189724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:40: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-19 18:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":189724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:40:25] local.INFO: GPS data processed {"connection_id":189724,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:40:25] local.INFO: Acknowledgment sent {"connection_id":189724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:40:28] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:28] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:40:28] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:40:29] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c6e1b0012d196740071fed20003800612a..."} 
[2026-09-19 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c6e1b0012d196740071fed20003800612a..."} 
[2026-09-19 18:40:29] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c6e1b0012d196740071fed20003800612a..."} 
[2026-09-19 18:40:29] local.INFO: Packet analysis {"connection_id":188423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:29] local.INFO: Extracted packet for processing {"connection_id":188423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194737408001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789823214000,"timestamp_ms":1789823214000,"timestamp_seconds":1789823214,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c6e1b0"} 
[2026-09-19 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-19 18:40:29] 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-19 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:40:29] 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-19 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194737408001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194737408001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194737408001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":188423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:40:29] local.INFO: GPS data processed {"connection_id":188423,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:40:29] local.INFO: Acknowledgment sent {"connection_id":188423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:40:33] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c733b8012d196740071fed20003800612b..."} 
[2026-09-19 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c733b8012d196740071fed20003800612b..."} 
[2026-09-19 18:40:33] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c733b8012d196740071fed20003800612b..."} 
[2026-09-19 18:40:33] local.INFO: Packet analysis {"connection_id":188423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:40:33] local.INFO: Extracted packet for processing {"connection_id":188423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 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-19 18:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194742784001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789823235000,"timestamp_ms":1789823235000,"timestamp_seconds":1789823235,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c733b8"} 
[2026-09-19 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-19 18:40: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-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:40: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-19 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-19 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-19 18:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:40: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-19 18:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194742784001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194742784001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:40:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194742784001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":188423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:40:33] local.INFO: GPS data processed {"connection_id":188423,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:40:33] local.INFO: Acknowledgment sent {"connection_id":188423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:41:09] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:09] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:09] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:41:14] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:14] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:41:14] local.INFO: IMEI packet received {"connection_id":186987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":186987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:41:15] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:15] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:15] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:41:15] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:41: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-19 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:41:15] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:41:15] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:41:18] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:18] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:18] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:41:23] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:23] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:41:23] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:41:24] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c785c0012d196740071fed200038006128..."} 
[2026-09-19 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c785c0012d196740071fed200038006128..."} 
[2026-09-19 18:41:24] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c785c0012d196740071fed200038006128..."} 
[2026-09-19 18:41:24] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:41:24] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:41: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-19 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194748160001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823256000,"timestamp_ms":1789823256000,"timestamp_seconds":1789823256,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c785c0"} 
[2026-09-19 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:41: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-19 18:41: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:41:24] 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-19 18:41: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-19 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194748160001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194748160001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194748160001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:41:24] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:41:24] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:41:46] local.INFO: TCP Data received {"connection_id":186987,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:46] local.INFO: Processing buffer {"connection_id":186987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c64188012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:41:46] local.INFO: Packet analysis {"connection_id":186987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:41:46] local.INFO: Extracted packet for processing {"connection_id":186987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c6"} 
[2026-09-19 18:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194655232001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789823173000,"timestamp_ms":1789823173000,"timestamp_seconds":1789823173,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c64188"} 
[2026-09-19 18: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-19 18:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":25,"data_length":795,"current_offset":136} 
[2026-09-19 18:41:46] 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-19 18: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-19 18: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-19 18:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:41: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-19 18:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194655232001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194655232001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194655232001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":186987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:41:46] local.INFO: GPS data processed {"connection_id":186987,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:41:46] local.INFO: Acknowledgment sent {"connection_id":186987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:41:55] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c7d7c8012d196740071fed200038006127..."} 
[2026-09-19 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c7d7c8012d196740071fed200038006127..."} 
[2026-09-19 18:41:55] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c7d7c8012d196740071fed200038006127..."} 
[2026-09-19 18:41:55] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:41:55] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c7"} 
[2026-09-19 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:41: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-19 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194753536001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823277000,"timestamp_ms":1789823277000,"timestamp_seconds":1789823277,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c7d7c8"} 
[2026-09-19 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:41:55] 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-19 18:41: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-19 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:41:55] 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-19 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194753536001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194753536001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194753536001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:41:55] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:41:55] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:42:08] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:08] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:08] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:42:13] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:13] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:42:13] local.INFO: IMEI packet received {"connection_id":186988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":186988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:42:15] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:15] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:15] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:42:15] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42: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-19 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:42:15] 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-19 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:42: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-19 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:42:15] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:42:15] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:42:18] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:18] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:18] local.INFO: IMEI packet received {"connection_id":186989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":186989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:42:23] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:23] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:42:23] local.INFO: IMEI packet received {"connection_id":186989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":186989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:42:24] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c829d0012d196740071fed200038006129..."} 
[2026-09-19 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c829d0012d196740071fed200038006129..."} 
[2026-09-19 18:42:24] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c829d0012d196740071fed200038006129..."} 
[2026-09-19 18:42:24] local.INFO: Packet analysis {"connection_id":186989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:42:24] local.INFO: Extracted packet for processing {"connection_id":186989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194758912001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823298000,"timestamp_ms":1789823298000,"timestamp_seconds":1789823298,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c829d0"} 
[2026-09-19 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:42:24] 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-19 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194758912001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194758912001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:42:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194758912001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":186989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:42:24] local.INFO: GPS data processed {"connection_id":186989,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:42:24] local.INFO: Acknowledgment sent {"connection_id":186989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:42:46] local.INFO: TCP Data received {"connection_id":186988,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:46] local.INFO: Processing buffer {"connection_id":186988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:42:46] local.INFO: Packet analysis {"connection_id":186988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:42:46] local.INFO: Extracted packet for processing {"connection_id":186988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42: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-19 18:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:42:46] 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-19 18:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:42: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-19 18:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:42: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-19 18:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":186988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:42:46] local.INFO: GPS data processed {"connection_id":186988,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:42:46] local.INFO: Acknowledgment sent {"connection_id":186988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:42:55] local.INFO: TCP Data received {"connection_id":186989,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c87bd8012d196740071fed200038006129..."} 
[2026-09-19 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c87bd8012d196740071fed200038006129..."} 
[2026-09-19 18:42:55] local.INFO: Processing buffer {"connection_id":186989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c87bd8012d196740071fed200038006129..."} 
[2026-09-19 18:42:55] local.INFO: Packet analysis {"connection_id":186989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:42:55] local.INFO: Extracted packet for processing {"connection_id":186989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194764288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823319000,"timestamp_ms":1789823319000,"timestamp_seconds":1789823319,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c87bd8"} 
[2026-09-19 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:42:55] 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-19 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:42:55] 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-19 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194764288001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194764288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194764288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":186989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:42:55] local.INFO: GPS data processed {"connection_id":186989,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:42:55] local.INFO: Acknowledgment sent {"connection_id":186989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:43:08] local.INFO: TCP Data received {"connection_id":189725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:08] local.INFO: Processing buffer {"connection_id":189725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:08] local.INFO: IMEI packet received {"connection_id":189725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":189725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:43:13] local.INFO: TCP Data received {"connection_id":189725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:13] local.INFO: Processing buffer {"connection_id":189725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:43:13] local.INFO: IMEI packet received {"connection_id":189725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":189725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:43:15] local.INFO: TCP Data received {"connection_id":189725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:15] local.INFO: Processing buffer {"connection_id":189725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:15] local.INFO: Packet analysis {"connection_id":189725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:43:15] local.INFO: Extracted packet for processing {"connection_id":189725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43: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-19 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:43:15] 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-19 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:43: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-19 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":189725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:43:15] local.INFO: GPS data processed {"connection_id":189725,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:43:15] local.INFO: Acknowledgment sent {"connection_id":189725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:43:17] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:17] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:17] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:43:23] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:23] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:43:23] local.INFO: IMEI packet received {"connection_id":186990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":186990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:43:24] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c8cde0012d196740071fed200038006129..."} 
[2026-09-19 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c8cde0012d196740071fed200038006129..."} 
[2026-09-19 18:43:24] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c8cde0012d196740071fed200038006129..."} 
[2026-09-19 18:43:24] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:43:24] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c8"} 
[2026-09-19 18:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194769664001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823340000,"timestamp_ms":1789823340000,"timestamp_seconds":1789823340,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c8cde0"} 
[2026-09-19 18:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:43: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-19 18:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:43:24] 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-19 18:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194769664001,"66":12504,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194769664001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:43:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194769664001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:43:24] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:43:24] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:43:46] local.INFO: TCP Data received {"connection_id":189725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:46] local.INFO: Processing buffer {"connection_id":189725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:43:46] local.INFO: Packet analysis {"connection_id":189725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:43:46] local.INFO: Extracted packet for processing {"connection_id":189725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43: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-19 18:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:43:46] 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-19 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:43: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-19 18:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:43: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-19 18:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":189725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:43:46] local.INFO: GPS data processed {"connection_id":189725,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:43:46] local.INFO: Acknowledgment sent {"connection_id":189725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:43:55] local.INFO: TCP Data received {"connection_id":186990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c91fe8012d196740071fed20003800612a..."} 
[2026-09-19 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c91fe8012d196740071fed20003800612a..."} 
[2026-09-19 18:43:55] local.INFO: Processing buffer {"connection_id":186990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c91fe8012d196740071fed20003800612a..."} 
[2026-09-19 18:43:55] local.INFO: Packet analysis {"connection_id":186990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c9"} 
[2026-09-19 18:43:55] local.INFO: Extracted packet for processing {"connection_id":186990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c9"} 
[2026-09-19 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:43: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-19 18:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194775040001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823361000,"timestamp_ms":1789823361000,"timestamp_seconds":1789823361,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c91fe8"} 
[2026-09-19 18:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 18:43:55] 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-19 18:43: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-19 18:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":186990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":186990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":186990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:43:55] 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-19 18:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194775040001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194775040001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:43:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194775040001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":186990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:43:55] local.INFO: GPS data processed {"connection_id":186990,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:43:55] local.INFO: Acknowledgment sent {"connection_id":186990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:44:14] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:14] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:14] local.INFO: IMEI packet received {"connection_id":188424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":188424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:44:18] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:18] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:18] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:44:18] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:18] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:44:18] local.INFO: IMEI packet received {"connection_id":188424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":188424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:44:20] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:20] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:20] local.INFO: Packet analysis {"connection_id":188424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:44:20] local.INFO: Extracted packet for processing {"connection_id":188424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:44:20] 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-19 18:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:44: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-19 18:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":188424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:44:20] local.INFO: GPS data processed {"connection_id":188424,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:44:20] local.INFO: Acknowledgment sent {"connection_id":188424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:44:23] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:23] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:44:23] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:44:24] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9c971f0012d196740071fed20003800612b..."} 
[2026-09-19 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9c971f0012d196740071fed20003800612b..."} 
[2026-09-19 18:44:24] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9c971f0012d196740071fed20003800612b..."} 
[2026-09-19 18:44:24] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9c9"} 
[2026-09-19 18:44:24] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9c9"} 
[2026-09-19 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:44: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-19 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194780416001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823382000,"timestamp_ms":1789823382000,"timestamp_seconds":1789823382,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9c971f0"} 
[2026-09-19 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:44: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-19 18:44: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:44:24] 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-19 18:44: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-19 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194780416001,"66":12113,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194780416001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194780416001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:44:24] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:44:24] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:44:24] local.INFO: TCP Data received {"connection_id":188424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:24] local.INFO: Processing buffer {"connection_id":188424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:44:24] local.INFO: Packet analysis {"connection_id":188424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:44:24] local.INFO: Extracted packet for processing {"connection_id":188424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:44: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-19 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:44:24] 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-19 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:44:24] 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-19 18:44: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-19 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:44: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-19 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":188424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:44:24] local.INFO: GPS data processed {"connection_id":188424,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:44:24] local.INFO: Acknowledgment sent {"connection_id":188424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:44:54] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ccf848012d196740071fed200038006129..."} 
[2026-09-19 18:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ccf848012d196740071fed200038006129..."} 
[2026-09-19 18:44:54] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ccf848012d196740071fed200038006129..."} 
[2026-09-19 18:44:54] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cc"} 
[2026-09-19 18:44:54] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cc"} 
[2026-09-19 18:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194839552001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789823613000,"timestamp_ms":1789823613000,"timestamp_seconds":1789823613,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ccf848"} 
[2026-09-19 18:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:44:54] 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-19 18:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:44:54] 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-19 18:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194839552001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194839552001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194839552001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:44:54] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:44:54] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:45:09] local.INFO: TCP Data received {"connection_id":189726,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:09] local.INFO: Processing buffer {"connection_id":189726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:09] local.INFO: IMEI packet received {"connection_id":189726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":189726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:45:13] local.INFO: TCP Data received {"connection_id":189726,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:13] local.INFO: Processing buffer {"connection_id":189726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:45:13] local.INFO: IMEI packet received {"connection_id":189726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":189726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:45:14] local.INFO: TCP Data received {"connection_id":189726,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:14] local.INFO: Processing buffer {"connection_id":189726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:14] local.INFO: Packet analysis {"connection_id":189726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:14] local.INFO: Extracted packet for processing {"connection_id":189726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45: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-19 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45: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-19 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":189726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:45:15] local.INFO: GPS data processed {"connection_id":189726,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:45:15] local.INFO: Acknowledgment sent {"connection_id":189726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:45:20] local.INFO: TCP Data received {"connection_id":189726,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:20] local.INFO: Processing buffer {"connection_id":189726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:20] local.INFO: Packet analysis {"connection_id":189726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:20] local.INFO: Extracted packet for processing {"connection_id":189726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18: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-19 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:45:20] 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-19 18: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-19 18: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-19 18:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45: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-19 18:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":189726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:45:20] local.INFO: GPS data processed {"connection_id":189726,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:45:20] local.INFO: Acknowledgment sent {"connection_id":189726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:45:23] local.INFO: TCP Data received {"connection_id":189727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:23] local.INFO: Processing buffer {"connection_id":189727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:23] local.INFO: IMEI packet received {"connection_id":189727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":189727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:45:28] local.INFO: TCP Data received {"connection_id":189727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:28] local.INFO: Processing buffer {"connection_id":189727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:45:28] local.INFO: IMEI packet received {"connection_id":189727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":189727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:45:29] local.INFO: TCP Data received {"connection_id":189727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cd4a50012d196740071fed200038006128..."} 
[2026-09-19 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cd4a50012d196740071fed200038006128..."} 
[2026-09-19 18:45:29] local.INFO: Processing buffer {"connection_id":189727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cd4a50012d196740071fed200038006128..."} 
[2026-09-19 18:45:29] local.INFO: Packet analysis {"connection_id":189727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:45:29] local.INFO: Extracted packet for processing {"connection_id":189727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194844928001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789823634000,"timestamp_ms":1789823634000,"timestamp_seconds":1789823634,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cd4a50"} 
[2026-09-19 18:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 18:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:45:29] 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-19 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194844928001,"66":12287,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194844928001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:45:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194844928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":189727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:45:29] local.INFO: GPS data processed {"connection_id":189727,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:45:29] local.INFO: Acknowledgment sent {"connection_id":189727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:45:33] local.INFO: TCP Data received {"connection_id":189727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cd9c58012d196740071fed200038006129..."} 
[2026-09-19 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cd9c58012d196740071fed200038006129..."} 
[2026-09-19 18:45:33] local.INFO: Processing buffer {"connection_id":189727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cd9c58012d196740071fed200038006129..."} 
[2026-09-19 18:45:33] local.INFO: Packet analysis {"connection_id":189727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:45:33] local.INFO: Extracted packet for processing {"connection_id":189727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194850304001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789823655000,"timestamp_ms":1789823655000,"timestamp_seconds":1789823655,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cd9c58"} 
[2026-09-19 18:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:45: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-19 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 18:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":189727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":189727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":189727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:45: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-19 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194850304001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194850304001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:45:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194850304001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":189727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:45:33] local.INFO: GPS data processed {"connection_id":189727,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:45:33] local.INFO: Acknowledgment sent {"connection_id":189727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:45:51] local.INFO: TCP Data received {"connection_id":189726,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:51] local.INFO: Processing buffer {"connection_id":189726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:45:51] local.INFO: Packet analysis {"connection_id":189726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:51] local.INFO: Extracted packet for processing {"connection_id":189726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:45: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-19 18:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18: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-19 18:45:51] 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-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:45:51] 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-19 18: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-19 18: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-19 18:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":189726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:45:51] local.INFO: GPS data processed {"connection_id":189726,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:45:51] local.INFO: Acknowledgment sent {"connection_id":189726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:46:09] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:09] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:09] local.INFO: IMEI packet received {"connection_id":189728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":189728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:46:14] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:14] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:46:14] local.INFO: IMEI packet received {"connection_id":189728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":189728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:46:16] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:16] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:16] local.INFO: Packet analysis {"connection_id":189728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:46:16] local.INFO: Extracted packet for processing {"connection_id":189728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46: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-19 18:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:46:16] 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-19 18:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:46: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-19 18:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":189728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:46:16] local.INFO: GPS data processed {"connection_id":189728,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:46:16] local.INFO: Acknowledgment sent {"connection_id":189728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:46:17] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: IMEI packet received {"connection_id":189729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":189729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:46:17] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:17] local.INFO: IMEI packet received {"connection_id":189729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":189729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:46:23] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:23] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:46:23] local.INFO: IMEI packet received {"connection_id":189729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":189729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:46:24] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cdee60012d196740071fed200038006129..."} 
[2026-09-19 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cdee60012d196740071fed200038006129..."} 
[2026-09-19 18:46:24] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cdee60012d196740071fed200038006129..."} 
[2026-09-19 18:46:24] local.INFO: Packet analysis {"connection_id":189729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:46:24] local.INFO: Extracted packet for processing {"connection_id":189729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cd"} 
[2026-09-19 18:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194855680001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823676000,"timestamp_ms":1789823676000,"timestamp_seconds":1789823676,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cdee60"} 
[2026-09-19 18:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:46:24] 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-19 18:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194855680001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194855680001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194855680001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":189729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:46:24] local.INFO: GPS data processed {"connection_id":189729,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:46:24] local.INFO: Acknowledgment sent {"connection_id":189729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:46:47] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:47] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cad950012d34c14006aa41400008010e2f..."} 
[2026-09-19 18:46:47] local.INFO: Packet analysis {"connection_id":189728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:46:47] local.INFO: Extracted packet for processing {"connection_id":189728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ca"} 
[2026-09-19 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194732288001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46: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-19 18:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789823474000,"timestamp_ms":1789823474000,"timestamp_seconds":1789823474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cad950"} 
[2026-09-19 18: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-19 18:46:47] 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-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:46: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-19 18:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194732288001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194732288001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194732288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":189728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:46:47] local.INFO: GPS data processed {"connection_id":189728,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:46:47] local.INFO: Acknowledgment sent {"connection_id":189728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:46:55] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ce4068012d196740071fed20003800612a..."} 
[2026-09-19 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ce4068012d196740071fed20003800612a..."} 
[2026-09-19 18:46:55] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ce4068012d196740071fed20003800612a..."} 
[2026-09-19 18:46:55] local.INFO: Packet analysis {"connection_id":189729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:46:55] local.INFO: Extracted packet for processing {"connection_id":189729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194861056001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823697000,"timestamp_ms":1789823697000,"timestamp_seconds":1789823697,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ce4068"} 
[2026-09-19 18:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:46:55] 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-19 18:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:46:55] 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-19 18:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194861056001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194861056001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194861056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":189729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:46:55] local.INFO: GPS data processed {"connection_id":189729,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:46:55] local.INFO: Acknowledgment sent {"connection_id":189729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:47:08] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:08] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:08] local.INFO: IMEI packet received {"connection_id":189730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":189730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:47:15] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:15] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:47:15] local.INFO: IMEI packet received {"connection_id":189730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":189730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:47:16] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:16] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:16] local.INFO: Packet analysis {"connection_id":189730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:47:16] local.INFO: Extracted packet for processing {"connection_id":189730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47: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-19 18:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:47: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-19 18:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":189730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:47:16] local.INFO: GPS data processed {"connection_id":189730,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:47:16] local.INFO: Acknowledgment sent {"connection_id":189730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:47:18] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:18] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:18] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:47:20] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:20] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:47:20] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:47:21] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ce9270012d196740071fed200038006129..."} 
[2026-09-19 18:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ce9270012d196740071fed200038006129..."} 
[2026-09-19 18:47:21] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ce9270012d196740071fed200038006129..."} 
[2026-09-19 18:47:21] local.INFO: Packet analysis {"connection_id":187127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:47:21] local.INFO: Extracted packet for processing {"connection_id":187127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:47: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-19 18:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194866432001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789823718000,"timestamp_ms":1789823718000,"timestamp_seconds":1789823718,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ce9270"} 
[2026-09-19 18:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:47: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":97,"data_length":795,"current_offset":136} 
[2026-09-19 18:47:21] 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-19 18:47: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-19 18:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:47:21] 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-19 18:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194866432001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194866432001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194866432001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":187127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:47:21] local.INFO: GPS data processed {"connection_id":187127,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:47:21] local.INFO: Acknowledgment sent {"connection_id":187127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:47:47] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:47] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:47:47] local.INFO: Packet analysis {"connection_id":189730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:47:47] local.INFO: Extracted packet for processing {"connection_id":189730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47: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-19 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:47: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-19 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":189730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:47:47] local.INFO: GPS data processed {"connection_id":189730,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:47:47] local.INFO: Acknowledgment sent {"connection_id":189730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:47:52] local.INFO: TCP Data received {"connection_id":187127,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cee478012d196740071fed20003800612a..."} 
[2026-09-19 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cee478012d196740071fed20003800612a..."} 
[2026-09-19 18:47:52] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cee478012d196740071fed20003800612a..."} 
[2026-09-19 18:47:52] local.INFO: Packet analysis {"connection_id":187127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:47:52] local.INFO: Extracted packet for processing {"connection_id":187127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ce"} 
[2026-09-19 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194871808001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789823739000,"timestamp_ms":1789823739000,"timestamp_seconds":1789823739,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cee478"} 
[2026-09-19 18:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:47:52] 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-19 18:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:47:52] 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-19 18:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194871808001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194871808001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:47:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194871808001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":187127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:47:53] local.INFO: GPS data processed {"connection_id":187127,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:47:53] local.INFO: Acknowledgment sent {"connection_id":187127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:48:08] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:08] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:08] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:48:13] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:13] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:48:13] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:48:15] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:15] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:15] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:15] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48: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-19 18:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18: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-19 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:48: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-19 18:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:48:15] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:48:15] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:48:18] local.INFO: TCP Data received {"connection_id":189731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:18] local.INFO: Processing buffer {"connection_id":189731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:18] local.INFO: IMEI packet received {"connection_id":189731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":189731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:48:23] local.INFO: TCP Data received {"connection_id":189731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:23] local.INFO: Processing buffer {"connection_id":189731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:48:23] local.INFO: IMEI packet received {"connection_id":189731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":189731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:48:24] local.INFO: TCP Data received {"connection_id":189731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf3680012d196740071fed20003800612a..."} 
[2026-09-19 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf3680012d196740071fed20003800612a..."} 
[2026-09-19 18:48:24] local.INFO: Processing buffer {"connection_id":189731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf3680012d196740071fed20003800612a..."} 
[2026-09-19 18:48:24] local.INFO: Packet analysis {"connection_id":189731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:24] local.INFO: Extracted packet for processing {"connection_id":189731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:48: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-19 18:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194877184001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823760000,"timestamp_ms":1789823760000,"timestamp_seconds":1789823760,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf3680"} 
[2026-09-19 18:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:48: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:48:24] 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-19 18:48: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-19 18:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194877184001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194877184001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194877184001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":189731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:48:24] local.INFO: GPS data processed {"connection_id":189731,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:48:24] local.INFO: Acknowledgment sent {"connection_id":189731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:48:47] local.INFO: TCP Data received {"connection_id":187128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:47] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:48:47] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:47] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48: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-19 18:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:48:47] 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-19 18:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:48:47] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:48:47] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:48:55] local.INFO: TCP Data received {"connection_id":189731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf8888012d196740071fed20003800612b..."} 
[2026-09-19 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf8888012d196740071fed20003800612b..."} 
[2026-09-19 18:48:55] local.INFO: Processing buffer {"connection_id":189731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf8888012d196740071fed20003800612b..."} 
[2026-09-19 18:48:55] local.INFO: Packet analysis {"connection_id":189731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:55] local.INFO: Extracted packet for processing {"connection_id":189731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194882560001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823781000,"timestamp_ms":1789823781000,"timestamp_seconds":1789823781,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf8888"} 
[2026-09-19 18:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:48:55] 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-19 18:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:48:55] 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-19 18:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194882560001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194882560001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194882560001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":189731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:48:55] local.INFO: GPS data processed {"connection_id":189731,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:48:55] local.INFO: Acknowledgment sent {"connection_id":189731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:49:08] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:08] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:08] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:49:14] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:14] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:49:14] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:49:15] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:15] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:15] local.INFO: Packet analysis {"connection_id":188426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:15] local.INFO: Extracted packet for processing {"connection_id":188426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49: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-19 18:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18: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-19 18:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:49: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-19 18:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":188426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:49:15] local.INFO: GPS data processed {"connection_id":188426,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:49:15] local.INFO: Acknowledgment sent {"connection_id":188426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:49:18] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:18] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:18] local.INFO: IMEI packet received {"connection_id":189732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":189732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:49:23] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:23] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:49:23] local.INFO: IMEI packet received {"connection_id":189732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":189732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:49:24] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cfda90012d196740071fed200038006129..."} 
[2026-09-19 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cfda90012d196740071fed200038006129..."} 
[2026-09-19 18:49:24] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cfda90012d196740071fed200038006129..."} 
[2026-09-19 18:49:24] local.INFO: Packet analysis {"connection_id":189732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:24] local.INFO: Extracted packet for processing {"connection_id":189732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194887936001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823802000,"timestamp_ms":1789823802000,"timestamp_seconds":1789823802,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cfda90"} 
[2026-09-19 18: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-19 18:49: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-19 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:49:24] 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-19 18: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-19 18: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-19 18:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194887936001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194887936001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:49:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194887936001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":189732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:49:24] local.INFO: GPS data processed {"connection_id":189732,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:49:24] local.INFO: Acknowledgment sent {"connection_id":189732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:49:47] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:47] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:49:47] local.INFO: Packet analysis {"connection_id":188426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:47] local.INFO: Extracted packet for processing {"connection_id":188426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18: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-19 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:49: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-19 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":188426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:49:47] local.INFO: GPS data processed {"connection_id":188426,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:49:47] local.INFO: Acknowledgment sent {"connection_id":188426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:49:55] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d02c98012d196740071fed20003800612a..."} 
[2026-09-19 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d02c98012d196740071fed20003800612a..."} 
[2026-09-19 18:49:55] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d02c98012d196740071fed20003800612a..."} 
[2026-09-19 18:49:55] local.INFO: Packet analysis {"connection_id":189732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:49:55] local.INFO: Extracted packet for processing {"connection_id":189732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823823000,"timestamp_ms":1789823823000,"timestamp_seconds":1789823823,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d02c98"} 
[2026-09-19 18:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 18:49:55] 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-19 18:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:49:55] 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-19 18:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194893312001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:49:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194893312001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":189732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:49:55] local.INFO: GPS data processed {"connection_id":189732,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:49:55] local.INFO: Acknowledgment sent {"connection_id":189732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:50:13] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:13] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:13] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:50:17] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:17] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:17] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:50:19] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:19] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:50:19] local.INFO: IMEI packet received {"connection_id":186991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":186991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:50:20] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:20] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:20] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:50:20] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:50:20] 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-19 18:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:50:20] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:50:20] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:50:23] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:23] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:50:23] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:50:24] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d07ea0012d196740071fed200038006129..."} 
[2026-09-19 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d07ea0012d196740071fed200038006129..."} 
[2026-09-19 18:50:24] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d07ea0012d196740071fed200038006129..."} 
[2026-09-19 18:50:24] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:50:24] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194898688001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823844000,"timestamp_ms":1789823844000,"timestamp_seconds":1789823844,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d07ea0"} 
[2026-09-19 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:50: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-19 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:50:24] 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-19 18:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194898688001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194898688001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194898688001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:50:24] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:50:24] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:50:24] local.INFO: TCP Data received {"connection_id":186991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:24] local.INFO: Processing buffer {"connection_id":186991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:50:24] local.INFO: Packet analysis {"connection_id":186991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:50:24] local.INFO: Extracted packet for processing {"connection_id":186991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:50:24] 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-19 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":186991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:50:24] local.INFO: GPS data processed {"connection_id":186991,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:50:24] local.INFO: Acknowledgment sent {"connection_id":186991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:50:55] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d0d0a8012d196740071fed20003800612b..."} 
[2026-09-19 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d0d0a8012d196740071fed20003800612b..."} 
[2026-09-19 18:50:55] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d0d0a8012d196740071fed20003800612b..."} 
[2026-09-19 18:50:55] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:50:55] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d0"} 
[2026-09-19 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194904064001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789823865000,"timestamp_ms":1789823865000,"timestamp_seconds":1789823865,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d0d0a8"} 
[2026-09-19 18:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:50:55] 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-19 18:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:50:55] 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-19 18:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194904064001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194904064001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194904064001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:50:55] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:50:55] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:51:09] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:09] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:09] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:51:13] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:13] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:51:13] local.INFO: IMEI packet received {"connection_id":186992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":186992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:51:14] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:14] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:14] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:14] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18: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-19 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:14] 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-19 18:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:51:14] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:51:14] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:51:17] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:17] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:17] local.INFO: IMEI packet received {"connection_id":189733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":189733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:51:19] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:19] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:19] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:19] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:19] 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-19 18:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:51:19] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:51:19] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:51:23] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:23] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:51:23] local.INFO: IMEI packet received {"connection_id":189733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":189733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:51:24] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d122b0012d196740071fed20003800612b..."} 
[2026-09-19 18:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d122b0012d196740071fed20003800612b..."} 
[2026-09-19 18:51:24] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d122b0012d196740071fed20003800612b..."} 
[2026-09-19 18:51:24] local.INFO: Packet analysis {"connection_id":189733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:51:24] local.INFO: Extracted packet for processing {"connection_id":189733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194909440001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823886000,"timestamp_ms":1789823886000,"timestamp_seconds":1789823886,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d122b0"} 
[2026-09-19 18: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-19 18:51: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-19 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:51:24] 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-19 18: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-19 18: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-19 18:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194909440001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194909440001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:51:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194909440001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":189733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:51:24] local.INFO: GPS data processed {"connection_id":189733,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:51:24] local.INFO: Acknowledgment sent {"connection_id":189733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:51:50] local.INFO: TCP Data received {"connection_id":186992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:50] local.INFO: Processing buffer {"connection_id":186992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9cf7118012d34c14006aa41400008010e2d..."} 
[2026-09-19 18:51:50] local.INFO: Packet analysis {"connection_id":186992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:50] local.INFO: Extracted packet for processing {"connection_id":186992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9cf"} 
[2026-09-19 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194809344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51: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-19 18:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789823775000,"timestamp_ms":1789823775000,"timestamp_seconds":1789823775,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9cf7118"} 
[2026-09-19 18:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 18:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":186992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":186992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:51:50] 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-19 18:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194809344001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194809344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194809344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":186992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:51:50] local.INFO: GPS data processed {"connection_id":186992,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:51:50] local.INFO: Acknowledgment sent {"connection_id":186992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:51:54] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d174b8012d196740071fed20003800612b..."} 
[2026-09-19 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d174b8012d196740071fed20003800612b..."} 
[2026-09-19 18:51:54] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d174b8012d196740071fed20003800612b..."} 
[2026-09-19 18:51:54] local.INFO: Packet analysis {"connection_id":189733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:51:54] local.INFO: Extracted packet for processing {"connection_id":189733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194914816001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789823907000,"timestamp_ms":1789823907000,"timestamp_seconds":1789823907,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d174b8"} 
[2026-09-19 18:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:51:54] 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-19 18:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:51:54] 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-19 18:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194914816001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194914816001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:51:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194914816001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":189733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:51:55] local.INFO: GPS data processed {"connection_id":189733,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:51:55] local.INFO: Acknowledgment sent {"connection_id":189733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:52:08] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:08] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:08] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:52:13] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:13] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:52:13] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:52:14] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:14] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:14] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:52:14] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52: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-19 18:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:52: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-19 18:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:52:14] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:52:14] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:52:23] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:23] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:23] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:52:28] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:28] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:52:28] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:52:29] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d1c6c0012d196740071fed20003800612a..."} 
[2026-09-19 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d1c6c0012d196740071fed20003800612a..."} 
[2026-09-19 18:52:29] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d1c6c0012d196740071fed20003800612a..."} 
[2026-09-19 18:52:29] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:52:29] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d1"} 
[2026-09-19 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194920192001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789823928000,"timestamp_ms":1789823928000,"timestamp_seconds":1789823928,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d1c6c0"} 
[2026-09-19 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 18:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52:29] 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-19 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194920192001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194920192001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:52:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194920192001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:52:29] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:52:29] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:52:33] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d218c8012d196740071fed20003800612b..."} 
[2026-09-19 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d218c8012d196740071fed20003800612b..."} 
[2026-09-19 18:52:33] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d218c8012d196740071fed20003800612b..."} 
[2026-09-19 18:52:33] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:52:33] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 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-19 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194925568001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789823949000,"timestamp_ms":1789823949000,"timestamp_seconds":1789823949,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d218c8"} 
[2026-09-19 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-19 18:52: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-19 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-19 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-19 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-19 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-19 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52: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-19 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194925568001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194925568001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194925568001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:52:33] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:52:33] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:52:35] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d26ad0012d196740071fed20003800612c..."} 
[2026-09-19 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d26ad0012d196740071fed20003800612c..."} 
[2026-09-19 18:52:35] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d26ad0012d196740071fed20003800612c..."} 
[2026-09-19 18:52:35] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:52:35] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194930944001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52: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-19 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789823970000,"timestamp_ms":1789823970000,"timestamp_seconds":1789823970,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d26ad0"} 
[2026-09-19 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:52: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-19 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:52:35] 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-19 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194930944001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194930944001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194930944001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:52:35] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:52:35] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:52:46] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:46] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:52:46] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:52:46] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:52: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-19 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:52:46] 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-19 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:52: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-19 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:52: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-19 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:52:46] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:52:46] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:53:08] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:08] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:08] local.INFO: IMEI packet received {"connection_id":189734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":189734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:53:13] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:14] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:53:14] local.INFO: IMEI packet received {"connection_id":189734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":189734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:53:15] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:15] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:15] local.INFO: Packet analysis {"connection_id":189734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:15] local.INFO: Extracted packet for processing {"connection_id":189734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53: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-19 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:53:15] 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-19 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53:15] 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-19 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":189734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:53:15] local.INFO: GPS data processed {"connection_id":189734,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:53:15] local.INFO: Acknowledgment sent {"connection_id":189734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:53:17] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:53:17] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:17] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:53:23] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:23] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:53:23] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:53:24] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d2bcd8012d196740071fed20003800612a..."} 
[2026-09-19 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d2bcd8012d196740071fed20003800612a..."} 
[2026-09-19 18:53:24] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d2bcd8012d196740071fed20003800612a..."} 
[2026-09-19 18:53:24] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:53:24] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d2"} 
[2026-09-19 18:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:53: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-19 18:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194936320001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789823991000,"timestamp_ms":1789823991000,"timestamp_seconds":1789823991,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d2bcd8"} 
[2026-09-19 18:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:53: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-19 18:53: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:53:24] 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-19 18:53: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-19 18:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194936320001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194936320001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:53:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194936320001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:53:24] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:53:24] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:53:46] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:46] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:46] local.INFO: Packet analysis {"connection_id":189734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:46] local.INFO: Extracted packet for processing {"connection_id":189734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53: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-19 18:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:53:46] 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-19 18:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:53: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-19 18:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53: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-19 18:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":189734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:53:46] local.INFO: GPS data processed {"connection_id":189734,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:53:46] local.INFO: Acknowledgment sent {"connection_id":189734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:53:47] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:47] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:53:47] local.INFO: Packet analysis {"connection_id":189734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:47] local.INFO: Extracted packet for processing {"connection_id":189734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18: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-19 18:53:47] 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-19 18: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:53: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-19 18:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":189734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:53:47] local.INFO: GPS data processed {"connection_id":189734,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:53:47] local.INFO: Acknowledgment sent {"connection_id":189734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:53:55] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d30ee0012d196740071fed20003800612b..."} 
[2026-09-19 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d30ee0012d196740071fed20003800612b..."} 
[2026-09-19 18:53:55] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d30ee0012d196740071fed20003800612b..."} 
[2026-09-19 18:53:55] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:53:55] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:53: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-19 18:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194941696001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824012000,"timestamp_ms":1789824012000,"timestamp_seconds":1789824012,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d30ee0"} 
[2026-09-19 18:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:53:55] 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-19 18:53: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-19 18:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:53:55] 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-19 18:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194941696001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194941696001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:53:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194941696001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:53:55] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:53:55] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:54:08] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:08] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:08] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:54:13] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:13] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:54:13] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:54:15] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:15] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:15] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:15] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54: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-19 18:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18: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-19 18:54:15] 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-19 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:54: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-19 18:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:54:15] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:54:15] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:54:18] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:18] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:18] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:54:21] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:21] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:21] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:54:23] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:23] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:54:23] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:54:24] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d360e8012d196740071fed20003800612b..."} 
[2026-09-19 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d360e8012d196740071fed20003800612b..."} 
[2026-09-19 18:54:24] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d360e8012d196740071fed20003800612b..."} 
[2026-09-19 18:54:24] local.INFO: Packet analysis {"connection_id":188431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:54:24] local.INFO: Extracted packet for processing {"connection_id":188431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194947072001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824033000,"timestamp_ms":1789824033000,"timestamp_seconds":1789824033,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d360e8"} 
[2026-09-19 18:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:54: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-19 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:54:24] 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-19 18:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194947072001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194947072001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:54:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194947072001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":188431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:54:24] local.INFO: GPS data processed {"connection_id":188431,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:54:24] local.INFO: Acknowledgment sent {"connection_id":188431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:54:28] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d3b2f0012d196740071fed20003800612b..."} 
[2026-09-19 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d3b2f0012d196740071fed20003800612b..."} 
[2026-09-19 18:54:28] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d3b2f0012d196740071fed20003800612b..."} 
[2026-09-19 18:54:28] local.INFO: Packet analysis {"connection_id":188431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:54:28] local.INFO: Extracted packet for processing {"connection_id":188431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d3"} 
[2026-09-19 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194952448001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789824054000,"timestamp_ms":1789824054000,"timestamp_seconds":1789824054,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d3b2f0"} 
[2026-09-19 18:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194952448001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194952448001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194952448001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":188431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:54:28] local.INFO: GPS data processed {"connection_id":188431,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:54:28] local.INFO: Acknowledgment sent {"connection_id":188431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:54:47] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:47] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:54:47] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:47] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 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-19 18:54:47] 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-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:54: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-19 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:54:47] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:54:47] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:54:59] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d404f8012d196740071fed200038006129..."} 
[2026-09-19 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d404f8012d196740071fed200038006129..."} 
[2026-09-19 18:54:59] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d404f8012d196740071fed200038006129..."} 
[2026-09-19 18:54:59] local.INFO: Packet analysis {"connection_id":188431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:59] local.INFO: Extracted packet for processing {"connection_id":188431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194957824001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789824075000,"timestamp_ms":1789824075000,"timestamp_seconds":1789824075,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d404f8"} 
[2026-09-19 18:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 18:54:59] 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-19 18:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":188431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":188431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194957824001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194957824001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194957824001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":188431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:54:59] local.INFO: GPS data processed {"connection_id":188431,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:54:59] local.INFO: Acknowledgment sent {"connection_id":188431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:55:14] local.INFO: TCP Data received {"connection_id":186993,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:14] local.INFO: Processing buffer {"connection_id":186993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:14] local.INFO: IMEI packet received {"connection_id":186993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":186993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:55:18] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:18] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:18] local.INFO: IMEI packet received {"connection_id":189735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":189735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:55:18] local.INFO: TCP Data received {"connection_id":186993,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:18] local.INFO: Processing buffer {"connection_id":186993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:55:18] local.INFO: IMEI packet received {"connection_id":186993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":186993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:55:22] local.INFO: TCP Data received {"connection_id":186993,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:22] local.INFO: Processing buffer {"connection_id":186993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:22] local.INFO: Packet analysis {"connection_id":186993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:22] local.INFO: Extracted packet for processing {"connection_id":186993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:55: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-19 18:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:55: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:55:22] 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-19 18:55: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-19 18:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":186993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":186993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":186993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:55:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:55:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":186993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:55:22] local.INFO: GPS data processed {"connection_id":186993,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:55:22] local.INFO: Acknowledgment sent {"connection_id":186993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:55:23] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:23] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:55:23] local.INFO: IMEI packet received {"connection_id":189735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":189735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:55:24] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d45700012d196740071fed20003800612c..."} 
[2026-09-19 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d45700012d196740071fed20003800612c..."} 
[2026-09-19 18:55:24] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d45700012d196740071fed20003800612c..."} 
[2026-09-19 18:55:24] local.INFO: Packet analysis {"connection_id":189735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:24] local.INFO: Extracted packet for processing {"connection_id":189735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:55: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-19 18:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963200001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824096000,"timestamp_ms":1789824096000,"timestamp_seconds":1789824096,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d45700"} 
[2026-09-19 18:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:55: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:55:24] 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-19 18:55: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-19 18:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963200001,"66":12439,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963200001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963200001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":189735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:55:24] local.INFO: GPS data processed {"connection_id":189735,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:55:24] local.INFO: Acknowledgment sent {"connection_id":189735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:55:24] local.INFO: TCP Data received {"connection_id":186993,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:24] local.INFO: Processing buffer {"connection_id":186993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:55:24] local.INFO: Packet analysis {"connection_id":186993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:24] local.INFO: Extracted packet for processing {"connection_id":186993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:55: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-19 18:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:55:24] 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-19 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:55:24] 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-19 18:55: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-19 18:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":186993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":186993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":186993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:55: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-19 18:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":186993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:55:24] local.INFO: GPS data processed {"connection_id":186993,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:55:24] local.INFO: Acknowledgment sent {"connection_id":186993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:55:55] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d4a908012d196740071fed20003800612b..."} 
[2026-09-19 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d4a908012d196740071fed20003800612b..."} 
[2026-09-19 18:55:55] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d4a908012d196740071fed20003800612b..."} 
[2026-09-19 18:55:55] local.INFO: Packet analysis {"connection_id":189735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:55] local.INFO: Extracted packet for processing {"connection_id":189735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194968576001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824117000,"timestamp_ms":1789824117000,"timestamp_seconds":1789824117,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d4a908"} 
[2026-09-19 18:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 18:55:55] 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-19 18:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:55:55] 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-19 18:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194968576001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194968576001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:55:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194968576001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":189735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:55:55] local.INFO: GPS data processed {"connection_id":189735,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:55:55] local.INFO: Acknowledgment sent {"connection_id":189735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:56:08] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:08] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:08] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:56:13] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:56:13] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 18:56:13] local.INFO: IMEI packet received {"connection_id":188432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:56:13] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:13] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:56:13] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:56:15] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:15] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:15] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:15] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56: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-19 18:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:56:15] 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-19 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:56: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-19 18:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:56:15] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:56:15] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:56:17] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:17] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:17] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:56:23] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:23] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:56:23] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:56:24] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d4fb10012d196740071fed20003800612a..."} 
[2026-09-19 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d4fb10012d196740071fed20003800612a..."} 
[2026-09-19 18:56:24] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d4fb10012d196740071fed20003800612a..."} 
[2026-09-19 18:56:24] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:24] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:56: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-19 18:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194973952001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824138000,"timestamp_ms":1789824138000,"timestamp_seconds":1789824138,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d4fb10"} 
[2026-09-19 18:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:56: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-19 18:56: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 18:56:24] 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-19 18:56: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-19 18:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194973952001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194973952001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:56:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194973952001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:56:24] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:56:24] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:56:46] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:46] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d408e0012d34c14006aa41400008010e2e..."} 
[2026-09-19 18:56:46] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:46] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d4"} 
[2026-09-19 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194886400001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56: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-19 18:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824076000,"timestamp_ms":1789824076000,"timestamp_seconds":1789824076,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d408e0"} 
[2026-09-19 18:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:56:46] 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-19 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 18:56: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-19 18:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:56: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-19 18:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194886400001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194886400001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194886400001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:56:46] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:56:46] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:56:55] local.INFO: TCP Data received {"connection_id":187131,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d54d18012d196740071fed20003800612a..."} 
[2026-09-19 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d54d18012d196740071fed20003800612a..."} 
[2026-09-19 18:56:55] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d54d18012d196740071fed20003800612a..."} 
[2026-09-19 18:56:55] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:56:55] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:56: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-19 18:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194979328001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824159000,"timestamp_ms":1789824159000,"timestamp_seconds":1789824159,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d54d18"} 
[2026-09-19 18:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:56:55] 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-19 18:56: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-19 18:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:56:55] 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-19 18:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194979328001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194979328001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194979328001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:56:55] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:56:55] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:57:08] local.INFO: TCP Data received {"connection_id":189736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:08] local.INFO: Processing buffer {"connection_id":189736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:08] local.INFO: IMEI packet received {"connection_id":189736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":189736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:57:13] local.INFO: TCP Data received {"connection_id":189736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:13] local.INFO: Processing buffer {"connection_id":189736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:57:13] local.INFO: IMEI packet received {"connection_id":189736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":189736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:57:14] local.INFO: TCP Data received {"connection_id":189736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:14] local.INFO: Processing buffer {"connection_id":189736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:14] local.INFO: Packet analysis {"connection_id":189736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:57:14] local.INFO: Extracted packet for processing {"connection_id":189736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57: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-19 18:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18: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-19 18:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:57:14] 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-19 18:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":189736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:57:14] local.INFO: GPS data processed {"connection_id":189736,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:57:14] local.INFO: Acknowledgment sent {"connection_id":189736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:57:17] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:17] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:17] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:57:23] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:23] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:57:23] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:57:24] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d59f20012d196740071fed20003800612a..."} 
[2026-09-19 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d59f20012d196740071fed20003800612a..."} 
[2026-09-19 18:57:24] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d59f20012d196740071fed20003800612a..."} 
[2026-09-19 18:57:24] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:57:24] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194984704001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824180000,"timestamp_ms":1789824180000,"timestamp_seconds":1789824180,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d59f20"} 
[2026-09-19 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:57: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-19 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:57:24] 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-19 18:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194984704001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194984704001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:57:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194984704001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:57:24] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:57:24] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:57:46] local.INFO: TCP Data received {"connection_id":189736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:46] local.INFO: Processing buffer {"connection_id":189736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:57:46] local.INFO: Packet analysis {"connection_id":189736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:57:46] local.INFO: Extracted packet for processing {"connection_id":189736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18: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-19 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:57: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-19 18:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":189736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:57:46] local.INFO: GPS data processed {"connection_id":189736,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:57:46] local.INFO: Acknowledgment sent {"connection_id":189736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:57:55] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d5f128012d196740071fed200038006128..."} 
[2026-09-19 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d5f128012d196740071fed200038006128..."} 
[2026-09-19 18:57:55] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d5f128012d196740071fed200038006128..."} 
[2026-09-19 18:57:55] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:57:55] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d5"} 
[2026-09-19 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:57: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-19 18:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194990080001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824201000,"timestamp_ms":1789824201000,"timestamp_seconds":1789824201,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d5f128"} 
[2026-09-19 18:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 18:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:57:55] 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-19 18:57: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-19 18:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:57:55] 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-19 18:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194990080001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194990080001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:57:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194990080001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:57:55] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:57:55] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:58:08] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:08] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:08] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:58:14] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:14] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:58:14] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:58:15] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:15] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:15] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:58:15] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18: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-19 18:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:58: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-19 18:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:58:15] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:58:15] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:58:23] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:23] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:23] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:58:28] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:28] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:58:28] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:58:29] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d64330012d196740071fed200038006128..."} 
[2026-09-19 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d64330012d196740071fed200038006128..."} 
[2026-09-19 18:58:29] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d64330012d196740071fed200038006128..."} 
[2026-09-19 18:58:29] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d6"} 
[2026-09-19 18:58:29] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d6"} 
[2026-09-19 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194995456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789824222000,"timestamp_ms":1789824222000,"timestamp_seconds":1789824222,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d64330"} 
[2026-09-19 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 18:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:58:29] 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-19 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194995456001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194995456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:58:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194995456001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:58:29] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:58:29] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:58:32] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d69538012d196740071fed20003800612c..."} 
[2026-09-19 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d69538012d196740071fed20003800612c..."} 
[2026-09-19 18:58:32] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d69538012d196740071fed20003800612c..."} 
[2026-09-19 18:58:32] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d6"} 
[2026-09-19 18:58:32] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d6"} 
[2026-09-19 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195000832001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58: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-19 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789824243000,"timestamp_ms":1789824243000,"timestamp_seconds":1789824243,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d69538"} 
[2026-09-19 18:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 18:58:32] 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-19 18:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:58:32] 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-19 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195000832001,"66":12439,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195000832001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:58:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195000832001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:58:32] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:58:32] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:58:47] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:47] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:58:47] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:58:47] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:58: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-19 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18: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-19 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:58: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-19 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:58:47] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:58:47] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:59:08] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:08] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:08] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:59:13] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:13] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 18:59:13] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:59:14] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:14] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:14] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:59:14] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59: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-19 18:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:59:14] 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-19 18:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:59:15] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:59:15] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:59:18] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:18] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:18] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 18:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 18:59:23] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:23] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 18:59:23] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 18:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 18:59:24] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9da1b90012d196740071fed20003800612a..."} 
[2026-09-19 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9da1b90012d196740071fed20003800612a..."} 
[2026-09-19 18:59:24] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9da1b90012d196740071fed20003800612a..."} 
[2026-09-19 18:59:24] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 18:59:24] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 18:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 18:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195059968001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824474000,"timestamp_ms":1789824474000,"timestamp_seconds":1789824474,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9da1b90"} 
[2026-09-19 18:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:59: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-19 18:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-19 18:59: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-19 18:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 18:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 18:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195059968001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195059968001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195059968001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:59:24] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:59:24] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:59:46] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:46] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 18:59:46] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:59:46] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 18: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-19 18:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59: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-19 18:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 18: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-19 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 18:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 18:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 18: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-19 18: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-19 18:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 18:59: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-19 18:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 18:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 18:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 18:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 18:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 18:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 18:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 18:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 18:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 18:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:59:46] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:59:46] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 18:59:55] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9da6d98012d196740071fed20003800612b..."} 
[2026-09-19 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9da6d98012d196740071fed20003800612b..."} 
[2026-09-19 18:59:55] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9da6d98012d196740071fed20003800612b..."} 
[2026-09-19 18:59:55] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 18:59:55] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 18:59: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-19 18:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195065344001,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 18:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 18:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824495000,"timestamp_ms":1789824495000,"timestamp_seconds":1789824495,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9da6d98"} 
[2026-09-19 18:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 18:59:55] 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-19 18:59: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-19 18:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 18:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 18:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 18:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 18:59:55] 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-19 18:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 18:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 18:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195065344001,"66":12439,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 18:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 18:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 18:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195065344001,"description":"Unknown IO ID 0"} 
[2026-09-19 18:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 18:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 18:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 18:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 18:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195065344001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 18:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 18:59:55] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-19 18:59:55] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:00:13] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:13] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:13] local.INFO: IMEI packet received {"connection_id":189739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":189739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:00:17] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:17] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:17] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:00:18] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:18] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:18] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:00:18] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:18] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:00:18] local.INFO: IMEI packet received {"connection_id":189739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":189739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:00:19] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:19] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:19] local.INFO: Packet analysis {"connection_id":189739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:00:19] local.INFO: Extracted packet for processing {"connection_id":189739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 19:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:00:19] 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-19 19:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:00:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":189739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:00:19] local.INFO: GPS data processed {"connection_id":189739,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:00:19] local.INFO: Acknowledgment sent {"connection_id":189739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:00:23] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:23] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:00:23] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:00:24] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dabfa0012d196740071fed20003800612b..."} 
[2026-09-19 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dabfa0012d196740071fed20003800612b..."} 
[2026-09-19 19:00:24] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dabfa0012d196740071fed20003800612b..."} 
[2026-09-19 19:00:24] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 19:00:24] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9da"} 
[2026-09-19 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195070720001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824516000,"timestamp_ms":1789824516000,"timestamp_seconds":1789824516,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dabfa0"} 
[2026-09-19 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:00: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-19 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 19:00:24] 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-19 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195070720001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195070720001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195070720001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:00:24] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:24] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:00:24] local.INFO: Packet analysis {"connection_id":189739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:00:24] local.INFO: Extracted packet for processing {"connection_id":189739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:00:24] 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-19 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":189739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:00:24] local.INFO: GPS data processed {"connection_id":189739,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:00:24] local.INFO: Acknowledgment sent {"connection_id":189739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:00:24] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:00:24] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:00:55] local.INFO: TCP Data received {"connection_id":187135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9db11a8012d196740071fed20003800612c..."} 
[2026-09-19 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9db11a8012d196740071fed20003800612c..."} 
[2026-09-19 19:00:55] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9db11a8012d196740071fed20003800612c..."} 
[2026-09-19 19:00:55] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:00:55] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:00: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-19 19:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195076096001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824537000,"timestamp_ms":1789824537000,"timestamp_seconds":1789824537,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9db11a8"} 
[2026-09-19 19:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 19:00:55] 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-19 19:00: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-19 19:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:00:55] 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-19 19:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195076096001,"66":12439,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195076096001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195076096001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:00:55] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:00:55] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:01:08] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:08] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:08] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:01:13] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:13] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:01:13] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:01:15] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:15] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:15] local.INFO: Packet analysis {"connection_id":187136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:01:15] local.INFO: Extracted packet for processing {"connection_id":187136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01: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-19 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:01: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-19 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":187136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:01:15] local.INFO: GPS data processed {"connection_id":187136,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:01:15] local.INFO: Acknowledgment sent {"connection_id":187136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:01:18] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:18] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:18] local.INFO: IMEI packet received {"connection_id":189740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":189740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:01:20] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:20] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:20] local.INFO: IMEI packet received {"connection_id":189740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":189740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:01:23] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:23] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:01:23] local.INFO: IMEI packet received {"connection_id":189740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":189740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:01:24] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9db63b0012d196740071fed200038006129..."} 
[2026-09-19 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9db63b0012d196740071fed200038006129..."} 
[2026-09-19 19:01:24] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9db63b0012d196740071fed200038006129..."} 
[2026-09-19 19:01:24] local.INFO: Packet analysis {"connection_id":189740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:01:24] local.INFO: Extracted packet for processing {"connection_id":189740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195081472001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824558000,"timestamp_ms":1789824558000,"timestamp_seconds":1789824558,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9db63b0"} 
[2026-09-19 19:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 19:01:24] 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-19 19:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195081472001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195081472001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195081472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":189740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:01:24] local.INFO: GPS data processed {"connection_id":189740,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:01:24] local.INFO: Acknowledgment sent {"connection_id":189740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:01:29] local.INFO: TCP Data received {"connection_id":186995,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:01:29] local.INFO: Processing buffer {"connection_id":186995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:01:29] local.INFO: IMEI packet received {"connection_id":186995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":186995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:01:46] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:46] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9d8a0a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:01:46] local.INFO: Packet analysis {"connection_id":187136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:01:46] local.INFO: Extracted packet for processing {"connection_id":187136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9d8"} 
[2026-09-19 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458194963456001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01: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-19 19:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824377000,"timestamp_ms":1789824377000,"timestamp_seconds":1789824377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9d8a0a8"} 
[2026-09-19 19:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:01: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-19 19:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458194963456001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458194963456001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458194963456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":187136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:01:46] local.INFO: GPS data processed {"connection_id":187136,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:01:46] local.INFO: Acknowledgment sent {"connection_id":187136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:01:55] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dbb5b8012d196740071fed20003800612a..."} 
[2026-09-19 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dbb5b8012d196740071fed20003800612a..."} 
[2026-09-19 19:01:55] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dbb5b8012d196740071fed20003800612a..."} 
[2026-09-19 19:01:55] local.INFO: Packet analysis {"connection_id":189740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:01:55] local.INFO: Extracted packet for processing {"connection_id":189740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9db"} 
[2026-09-19 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195086848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824579000,"timestamp_ms":1789824579000,"timestamp_seconds":1789824579,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dbb5b8"} 
[2026-09-19 19:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 19:01:55] 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-19 19:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:01:55] 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-19 19:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195086848001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195086848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195086848001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":189740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:01:55] local.INFO: GPS data processed {"connection_id":189740,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:01:55] local.INFO: Acknowledgment sent {"connection_id":189740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:02:08] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:08] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:08] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:02:10] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:02:10] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:02:10] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:02:13] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:13] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:02:13] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:02:14] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:14] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:14] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:02:14] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02: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-19 19:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:02: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-19 19:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:02:14] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:02:14] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:02:17] local.INFO: TCP Data received {"connection_id":189741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:17] local.INFO: Processing buffer {"connection_id":189741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:17] local.INFO: IMEI packet received {"connection_id":189741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":189741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:02:23] local.INFO: TCP Data received {"connection_id":189741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:23] local.INFO: Processing buffer {"connection_id":189741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:02:23] local.INFO: IMEI packet received {"connection_id":189741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":189741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:02:23] local.INFO: TCP Data received {"connection_id":189741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dc07c0012d196740071fed20003800612b..."} 
[2026-09-19 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dc07c0012d196740071fed20003800612b..."} 
[2026-09-19 19:02:23] local.INFO: Processing buffer {"connection_id":189741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dc07c0012d196740071fed20003800612b..."} 
[2026-09-19 19:02:23] local.INFO: Packet analysis {"connection_id":189741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:02:23] local.INFO: Extracted packet for processing {"connection_id":189741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:02: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-19 19:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195092224001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789824600000,"timestamp_ms":1789824600000,"timestamp_seconds":1789824600,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dc07c0"} 
[2026-09-19 19:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:02:23] 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-19 19:02: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-19 19:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:02:23] 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-19 19:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195092224001,"66":12439,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195092224001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195092224001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":189741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:02:23] local.INFO: GPS data processed {"connection_id":189741,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:02:23] local.INFO: Acknowledgment sent {"connection_id":189741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:02:46] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:46] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:02:46] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:02:46] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02: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-19 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19: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-19 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:02: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-19 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:02:46] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:02:46] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:02:54] local.INFO: TCP Data received {"connection_id":189741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dc59c8012d196740071fed200038006127..."} 
[2026-09-19 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dc59c8012d196740071fed200038006127..."} 
[2026-09-19 19:02:54] local.INFO: Processing buffer {"connection_id":189741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dc59c8012d196740071fed200038006127..."} 
[2026-09-19 19:02:54] local.INFO: Packet analysis {"connection_id":189741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:02:54] local.INFO: Extracted packet for processing {"connection_id":189741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195097600001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789824621000,"timestamp_ms":1789824621000,"timestamp_seconds":1789824621,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dc59c8"} 
[2026-09-19 19:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 19:02:54] 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-19 19:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:02:54] 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-19 19:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195097600001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195097600001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:02:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195097600001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":189741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:02:55] local.INFO: GPS data processed {"connection_id":189741,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:02:55] local.INFO: Acknowledgment sent {"connection_id":189741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:03:08] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:08] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:08] local.INFO: IMEI packet received {"connection_id":188438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":188438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:03:13] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:13] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:03:13] local.INFO: IMEI packet received {"connection_id":188438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:03:14] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:14] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:14] local.INFO: Packet analysis {"connection_id":188438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:03:14] local.INFO: Extracted packet for processing {"connection_id":188438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03: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-19 19:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:03: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-19 19:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":188438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:03:14] local.INFO: GPS data processed {"connection_id":188438,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:03:14] local.INFO: Acknowledgment sent {"connection_id":188438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:03:17] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:17] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:17] local.INFO: IMEI packet received {"connection_id":189742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":189742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:03:23] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:23] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:03:23] local.INFO: IMEI packet received {"connection_id":189742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":189742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:03:24] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dcabd0012d196740071fed200038006125..."} 
[2026-09-19 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dcabd0012d196740071fed200038006125..."} 
[2026-09-19 19:03:24] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dcabd0012d196740071fed200038006125..."} 
[2026-09-19 19:03:24] local.INFO: Packet analysis {"connection_id":189742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:03:24] local.INFO: Extracted packet for processing {"connection_id":189742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195102976001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824642000,"timestamp_ms":1789824642000,"timestamp_seconds":1789824642,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dcabd0"} 
[2026-09-19 19: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-19 19:03: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-19 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:03:24] 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-19 19: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-19 19: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-19 19:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195102976001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195102976001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:03:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195102976001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":189742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:03:24] local.INFO: GPS data processed {"connection_id":189742,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:03:24] local.INFO: Acknowledgment sent {"connection_id":189742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:03:46] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:46] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:03:46] local.INFO: Packet analysis {"connection_id":188438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:03:46] local.INFO: Extracted packet for processing {"connection_id":188438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 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-19 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:03: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-19 19:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":188438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:03:46] local.INFO: GPS data processed {"connection_id":188438,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:03:46] local.INFO: Acknowledgment sent {"connection_id":188438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:03:55] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dcfdd8012d196740071fed200038006126..."} 
[2026-09-19 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dcfdd8012d196740071fed200038006126..."} 
[2026-09-19 19:03:55] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dcfdd8012d196740071fed200038006126..."} 
[2026-09-19 19:03:55] local.INFO: Packet analysis {"connection_id":189742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:03:55] local.INFO: Extracted packet for processing {"connection_id":189742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dc"} 
[2026-09-19 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:03: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-19 19:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195108352001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824663000,"timestamp_ms":1789824663000,"timestamp_seconds":1789824663,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dcfdd8"} 
[2026-09-19 19:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:03:55] 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-19 19:03: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-19 19:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:03:55] 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-19 19:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195108352001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195108352001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:03:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195108352001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":189742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:03:55] local.INFO: GPS data processed {"connection_id":189742,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:03:55] local.INFO: Acknowledgment sent {"connection_id":189742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:04:13] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:13] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:13] local.INFO: IMEI packet received {"connection_id":188439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:04:18] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:18] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:04:18] local.INFO: IMEI packet received {"connection_id":188439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:04:20] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:20] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:20] local.INFO: Packet analysis {"connection_id":188439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:20] local.INFO: Extracted packet for processing {"connection_id":188439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:04:20] 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-19 19:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":188439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:04:20] local.INFO: GPS data processed {"connection_id":188439,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:04:20] local.INFO: Acknowledgment sent {"connection_id":188439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:04:23] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:23] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:23] local.INFO: IMEI packet received {"connection_id":189743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":189743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:04:24] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:24] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:04:24] local.INFO: Packet analysis {"connection_id":188439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:24] local.INFO: Extracted packet for processing {"connection_id":188439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:04:24] 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-19 19:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":188439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:04:24] local.INFO: GPS data processed {"connection_id":188439,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:04:24] local.INFO: Acknowledgment sent {"connection_id":188439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:04:28] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:28] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:04:28] local.INFO: IMEI packet received {"connection_id":189743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":189743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:04:29] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd4fe0012d196740071fed200038006128..."} 
[2026-09-19 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd4fe0012d196740071fed200038006128..."} 
[2026-09-19 19:04:29] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd4fe0012d196740071fed200038006128..."} 
[2026-09-19 19:04:29] local.INFO: Packet analysis {"connection_id":189743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:29] local.INFO: Extracted packet for processing {"connection_id":189743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195113728001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789824684000,"timestamp_ms":1789824684000,"timestamp_seconds":1789824684,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd4fe0"} 
[2026-09-19 19:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:04:29] 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-19 19:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195113728001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195113728001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195113728001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":189743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:04:29] local.INFO: GPS data processed {"connection_id":189743,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:04:29] local.INFO: Acknowledgment sent {"connection_id":189743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:04:29] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dda1e8012d196740071fed200038006129..."} 
[2026-09-19 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dda1e8012d196740071fed200038006129..."} 
[2026-09-19 19:04:29] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dda1e8012d196740071fed200038006129..."} 
[2026-09-19 19:04:29] local.INFO: Packet analysis {"connection_id":189743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:29] local.INFO: Extracted packet for processing {"connection_id":189743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195119104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789824705000,"timestamp_ms":1789824705000,"timestamp_seconds":1789824705,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dda1e8"} 
[2026-09-19 19:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:04:29] 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-19 19:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195119104001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195119104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195119104001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":189743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:04:30] local.INFO: GPS data processed {"connection_id":189743,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:04:30] local.INFO: Acknowledgment sent {"connection_id":189743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:05:01] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ddf3f0012d196740071fed200038006128..."} 
[2026-09-19 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ddf3f0012d196740071fed200038006128..."} 
[2026-09-19 19:05:01] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ddf3f0012d196740071fed200038006128..."} 
[2026-09-19 19:05:01] local.INFO: Packet analysis {"connection_id":189743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:01] local.INFO: Extracted packet for processing {"connection_id":189743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789824726000,"timestamp_ms":1789824726000,"timestamp_seconds":1789824726,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ddf3f0"} 
[2026-09-19 19: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-19 19:05: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-19 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":189743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":189743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05: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-19 19:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195124480001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:05:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195124480001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":189743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:05:01] local.INFO: GPS data processed {"connection_id":189743,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:05:01] local.INFO: Acknowledgment sent {"connection_id":189743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:05:09] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:09] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:09] local.INFO: IMEI packet received {"connection_id":186996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":186996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:05:13] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:13] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:05:13] local.INFO: IMEI packet received {"connection_id":186996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":186996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:05:14] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:14] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:14] local.INFO: Packet analysis {"connection_id":186996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:14] local.INFO: Extracted packet for processing {"connection_id":186996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05: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-19 19:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:05:14] 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-19 19:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":186996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:05:14] local.INFO: GPS data processed {"connection_id":186996,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:05:14] local.INFO: Acknowledgment sent {"connection_id":186996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:05:18] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:18] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:18] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:05:23] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:23] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:05:23] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:05:23] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9de45f8012d196740071fed20003800612b..."} 
[2026-09-19 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9de45f8012d196740071fed20003800612b..."} 
[2026-09-19 19:05:23] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9de45f8012d196740071fed20003800612b..."} 
[2026-09-19 19:05:23] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:05:23] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195129856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789824747000,"timestamp_ms":1789824747000,"timestamp_seconds":1789824747,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9de45f8"} 
[2026-09-19 19:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05:23] 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-19 19:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195129856001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195129856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195129856001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:05:24] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:05:24] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:05:46] local.INFO: TCP Data received {"connection_id":186996,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:46] local.INFO: Processing buffer {"connection_id":186996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:05:46] local.INFO: Packet analysis {"connection_id":186996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:46] local.INFO: Extracted packet for processing {"connection_id":186996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05: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-19 19:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:05: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-19 19:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":186996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:05:46] local.INFO: GPS data processed {"connection_id":186996,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:05:46] local.INFO: Acknowledgment sent {"connection_id":186996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:05:54] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9de9800012d196740071fed200038006129..."} 
[2026-09-19 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9de9800012d196740071fed200038006129..."} 
[2026-09-19 19:05:54] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9de9800012d196740071fed200038006129..."} 
[2026-09-19 19:05:54] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:05:54] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195135232001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789824768000,"timestamp_ms":1789824768000,"timestamp_seconds":1789824768,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9de9800"} 
[2026-09-19 19:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:05:54] 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-19 19:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:05:54] 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-19 19:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195135232001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195135232001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:05:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195135232001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:05:54] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:05:54] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:06:08] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:08] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:08] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:06:13] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:13] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:06:13] local.INFO: IMEI packet received {"connection_id":186998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":186998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:06:14] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:14] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:14] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:06:14] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19: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-19 19:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:06: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-19 19:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:06:14] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:06:14] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:06:18] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:18] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:18] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:06:23] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:23] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:06:23] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:06:24] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9deea08012d196740071fed20003800612b..."} 
[2026-09-19 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9deea08012d196740071fed20003800612b..."} 
[2026-09-19 19:06:24] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9deea08012d196740071fed20003800612b..."} 
[2026-09-19 19:06:24] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:06:24] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9de"} 
[2026-09-19 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195140608001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824789000,"timestamp_ms":1789824789000,"timestamp_seconds":1789824789,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9deea08"} 
[2026-09-19 19: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-19 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:06:24] 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-19 19: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-19 19: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-19 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195140608001,"66":12461,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195140608001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195140608001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:06:24] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:06:24] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:06:46] local.INFO: TCP Data received {"connection_id":186998,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:46] local.INFO: Processing buffer {"connection_id":186998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dd3870012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:06:46] local.INFO: Packet analysis {"connection_id":186998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:06:46] local.INFO: Extracted packet for processing {"connection_id":186998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9dd"} 
[2026-09-19 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195040512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06: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-19 19:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824678000,"timestamp_ms":1789824678000,"timestamp_seconds":1789824678,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dd3870"} 
[2026-09-19 19:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":186998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":186998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":186998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:06: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-19 19:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195040512001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195040512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195040512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":186998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:06:46] local.INFO: GPS data processed {"connection_id":186998,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:06:46] local.INFO: Acknowledgment sent {"connection_id":186998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:06:55] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9df3c10012d196740071fed20003800612b..."} 
[2026-09-19 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9df3c10012d196740071fed20003800612b..."} 
[2026-09-19 19:06:55] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9df3c10012d196740071fed20003800612b..."} 
[2026-09-19 19:06:55] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:06:55] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:06: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-19 19:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195145984001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824810000,"timestamp_ms":1789824810000,"timestamp_seconds":1789824810,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9df3c10"} 
[2026-09-19 19:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 19:06:55] 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-19 19:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:06:55] 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-19 19:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195145984001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195145984001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195145984001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:06:55] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:06:55] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:07:08] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:08] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:08] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:07:13] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:13] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:07:13] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:07:15] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:15] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:15] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:07:15] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07: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-19 19:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:07:15] 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-19 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:07: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-19 19:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:07:15] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:07:15] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:07:17] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: IMEI packet received {"connection_id":189744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":189744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:07:17] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:17] local.INFO: IMEI packet received {"connection_id":189744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":189744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:07:23] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:23] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:07:23] local.INFO: IMEI packet received {"connection_id":189744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":189744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:07:23] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9df8e18012d196740071fed20003800612b..."} 
[2026-09-19 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9df8e18012d196740071fed20003800612b..."} 
[2026-09-19 19:07:23] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9df8e18012d196740071fed20003800612b..."} 
[2026-09-19 19:07:23] local.INFO: Packet analysis {"connection_id":189744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:07:23] local.INFO: Extracted packet for processing {"connection_id":189744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195151360001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789824831000,"timestamp_ms":1789824831000,"timestamp_seconds":1789824831,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9df8e18"} 
[2026-09-19 19:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:07:23] 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-19 19:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:07:23] 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-19 19:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195151360001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195151360001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195151360001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":189744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:07:24] local.INFO: GPS data processed {"connection_id":189744,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:07:24] local.INFO: Acknowledgment sent {"connection_id":189744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:07:33] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:07:33] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:07:33] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:07:47] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:47] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:07:47] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:07:47] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07: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-19 19:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:07:47] 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-19 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:07: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-19 19:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:07:47] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:07:47] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:07:55] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9dfe020012d196740071fed20003800612a..."} 
[2026-09-19 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9dfe020012d196740071fed20003800612a..."} 
[2026-09-19 19:07:55] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9dfe020012d196740071fed20003800612a..."} 
[2026-09-19 19:07:55] local.INFO: Packet analysis {"connection_id":189744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:07:55] local.INFO: Extracted packet for processing {"connection_id":189744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9df"} 
[2026-09-19 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195156736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824852000,"timestamp_ms":1789824852000,"timestamp_seconds":1789824852,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9dfe020"} 
[2026-09-19 19:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:07:55] 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-19 19:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:07:55] 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-19 19:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195156736001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195156736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195156736001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":189744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:07:55] local.INFO: GPS data processed {"connection_id":189744,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:07:55] local.INFO: Acknowledgment sent {"connection_id":189744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:08:09] local.INFO: TCP Data received {"connection_id":186999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":186999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:08:09] local.INFO: Processing buffer {"connection_id":186999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:08:09] local.INFO: IMEI packet received {"connection_id":186999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":186999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:08:13] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:13] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:13] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:08:18] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:18] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:18] local.INFO: IMEI packet received {"connection_id":188445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":188445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:08:19] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:19] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:08:19] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:08:20] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:20] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:20] local.INFO: IMEI packet received {"connection_id":188445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":188445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:08:20] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:20] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:20] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:08:20] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:08: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-19 19:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:08:20] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:08:20] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:08:23] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:23] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:08:23] local.INFO: IMEI packet received {"connection_id":188445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":188445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:08:23] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e03228012d196740071fed20003800612a..."} 
[2026-09-19 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e03228012d196740071fed20003800612a..."} 
[2026-09-19 19:08:23] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e03228012d196740071fed20003800612a..."} 
[2026-09-19 19:08:23] local.INFO: Packet analysis {"connection_id":188445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:08:23] local.INFO: Extracted packet for processing {"connection_id":188445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195162112001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789824873000,"timestamp_ms":1789824873000,"timestamp_seconds":1789824873,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e03228"} 
[2026-09-19 19:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:08:23] 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-19 19:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195162112001,"66":12374,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195162112001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195162112001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":188445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:08:24] local.INFO: GPS data processed {"connection_id":188445,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:08:24] local.INFO: Acknowledgment sent {"connection_id":188445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:08:24] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:24] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:08:24] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:08:24] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:08:24] 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-19 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:08:24] 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-19 19:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:08: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-19 19:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:08:24] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:08:24] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:08:55] local.INFO: TCP Data received {"connection_id":188445,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e08430012d196740071fed200038006129..."} 
[2026-09-19 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e08430012d196740071fed200038006129..."} 
[2026-09-19 19:08:55] local.INFO: Processing buffer {"connection_id":188445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e08430012d196740071fed200038006129..."} 
[2026-09-19 19:08:55] local.INFO: Packet analysis {"connection_id":188445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:08:55] local.INFO: Extracted packet for processing {"connection_id":188445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195167488001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824894000,"timestamp_ms":1789824894000,"timestamp_seconds":1789824894,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e08430"} 
[2026-09-19 19:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 19:08:55] 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-19 19:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:08:55] 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-19 19:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195167488001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195167488001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195167488001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":188445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:08:55] local.INFO: GPS data processed {"connection_id":188445,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:08:55] local.INFO: Acknowledgment sent {"connection_id":188445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:09:08] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:08] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:08] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:09:13] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:13] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:09:13] local.INFO: IMEI packet received {"connection_id":187000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":187000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:09:14] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:14] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:14] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:14] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09: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-19 19:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:09: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-19 19:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:09:14] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:09:14] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:09:17] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:17] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:17] local.INFO: IMEI packet received {"connection_id":189745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":189745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:09:23] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:23] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:09:23] local.INFO: IMEI packet received {"connection_id":189745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":189745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:09:24] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e0d638012d196740071fed200038006128..."} 
[2026-09-19 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e0d638012d196740071fed200038006128..."} 
[2026-09-19 19:09:24] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e0d638012d196740071fed200038006128..."} 
[2026-09-19 19:09:24] local.INFO: Packet analysis {"connection_id":189745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:09:24] local.INFO: Extracted packet for processing {"connection_id":189745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e0"} 
[2026-09-19 19:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195172864001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789824915000,"timestamp_ms":1789824915000,"timestamp_seconds":1789824915,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e0d638"} 
[2026-09-19 19:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:09: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-19 19:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:09:24] 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-19 19:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195172864001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195172864001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195172864001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":189745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:09:24] local.INFO: GPS data processed {"connection_id":189745,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:09:24] local.INFO: Acknowledgment sent {"connection_id":189745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:09:46] local.INFO: TCP Data received {"connection_id":187000,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:46] local.INFO: Processing buffer {"connection_id":187000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:09:46] local.INFO: Packet analysis {"connection_id":187000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:46] local.INFO: Extracted packet for processing {"connection_id":187000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09: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-19 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19: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-19 19:09:46] 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-19 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:09: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-19 19: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-19 19: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-19 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:09: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-19 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":187000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:09:46] local.INFO: GPS data processed {"connection_id":187000,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:09:46] local.INFO: Acknowledgment sent {"connection_id":187000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:09:55] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e12840012d196740071fed20003800612a..."} 
[2026-09-19 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e12840012d196740071fed20003800612a..."} 
[2026-09-19 19:09:55] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e12840012d196740071fed20003800612a..."} 
[2026-09-19 19:09:55] local.INFO: Packet analysis {"connection_id":189745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:55] local.INFO: Extracted packet for processing {"connection_id":189745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195178240001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789824936000,"timestamp_ms":1789824936000,"timestamp_seconds":1789824936,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e12840"} 
[2026-09-19 19:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:09:55] 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-19 19:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:09:55] 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-19 19:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195178240001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195178240001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:09:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195178240001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":189745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:09:55] local.INFO: GPS data processed {"connection_id":189745,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:09:55] local.INFO: Acknowledgment sent {"connection_id":189745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:10:08] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:08] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:08] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:10:13] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:13] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:10:13] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:10:14] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:14] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:14] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:14] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10: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-19 19:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:10: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-19 19:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:10:15] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:10:15] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:10:23] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:23] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:23] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:10:26] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:26] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:10:26] local.INFO: IMEI packet received {"connection_id":187001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":187001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:10:27] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e17a48012d196740071fed200038006129..."} 
[2026-09-19 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e17a48012d196740071fed200038006129..."} 
[2026-09-19 19:10:27] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e17a48012d196740071fed200038006129..."} 
[2026-09-19 19:10:27] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:27] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:10: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-19 19:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195183616001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789824957000,"timestamp_ms":1789824957000,"timestamp_seconds":1789824957,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e17a48"} 
[2026-09-19 19:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:10: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":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:10:27] 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-19 19:10: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-19 19:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:27] 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-19 19:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195183616001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195183616001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195183616001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:10:27] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:10:27] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:10:28] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1cc50012d196740071fed20003800612a..."} 
[2026-09-19 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1cc50012d196740071fed20003800612a..."} 
[2026-09-19 19:10:28] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1cc50012d196740071fed20003800612a..."} 
[2026-09-19 19:10:28] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:28] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195188992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789824978000,"timestamp_ms":1789824978000,"timestamp_seconds":1789824978,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1cc50"} 
[2026-09-19 19:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195188992001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195188992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195188992001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:10:28] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:10:28] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:10:47] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:47] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:10:47] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:47] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10: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-19 19:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19: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-19 19:10:47] 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-19 19:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:10: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-19 19:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:10:47] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:10:47] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:10:59] local.INFO: TCP Data received {"connection_id":187001,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e21e58012d196740071fed20003800612a..."} 
[2026-09-19 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e21e58012d196740071fed20003800612a..."} 
[2026-09-19 19:10:59] local.INFO: Processing buffer {"connection_id":187001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e21e58012d196740071fed20003800612a..."} 
[2026-09-19 19:10:59] local.INFO: Packet analysis {"connection_id":187001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:10:59] local.INFO: Extracted packet for processing {"connection_id":187001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194368001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789824999000,"timestamp_ms":1789824999000,"timestamp_seconds":1789824999,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e21e58"} 
[2026-09-19 19:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:10:59] 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-19 19:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194368001,"66":12374,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194368001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194368001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":187001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:10:59] local.INFO: GPS data processed {"connection_id":187001,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:10:59] local.INFO: Acknowledgment sent {"connection_id":187001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:11:08] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:08] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:08] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:11:13] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:13] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:11:13] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:11:15] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:15] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:15] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:11:15] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 19: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-19 19:11:15] 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-19 19: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:11: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-19 19:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:11:15] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:11:15] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:11:18] local.INFO: TCP Data received {"connection_id":189747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:18] local.INFO: Processing buffer {"connection_id":189747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:18] local.INFO: IMEI packet received {"connection_id":189747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":189747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:11:23] local.INFO: TCP Data received {"connection_id":189747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:23] local.INFO: Processing buffer {"connection_id":189747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:11:23] local.INFO: IMEI packet received {"connection_id":189747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":189747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:11:23] local.INFO: TCP Data received {"connection_id":189747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e27060012d196740071fed20003800612a..."} 
[2026-09-19 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e27060012d196740071fed20003800612a..."} 
[2026-09-19 19:11:23] local.INFO: Processing buffer {"connection_id":189747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e27060012d196740071fed20003800612a..."} 
[2026-09-19 19:11:23] local.INFO: Packet analysis {"connection_id":189747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:11:23] local.INFO: Extracted packet for processing {"connection_id":189747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195199744001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825020000,"timestamp_ms":1789825020000,"timestamp_seconds":1789825020,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e27060"} 
[2026-09-19 19:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 19:11:23] 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-19 19:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:11:23] 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-19 19:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195199744001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195199744001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195199744001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":189747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:11:24] local.INFO: GPS data processed {"connection_id":189747,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:11:24] local.INFO: Acknowledgment sent {"connection_id":189747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:11:46] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:46] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e1d038012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:11:46] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:11:46] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e1"} 
[2026-09-19 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195117568001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789824979000,"timestamp_ms":1789824979000,"timestamp_seconds":1789824979,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e1d038"} 
[2026-09-19 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-19 19:11:46] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:11: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-19 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-19 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-19 19:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:11: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-19 19:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195117568001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195117568001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195117568001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:11:46] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:11:46] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:11:55] local.INFO: TCP Data received {"connection_id":189747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e2c268012d196740071fed20003800612c..."} 
[2026-09-19 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e2c268012d196740071fed20003800612c..."} 
[2026-09-19 19:11:55] local.INFO: Processing buffer {"connection_id":189747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e2c268012d196740071fed20003800612c..."} 
[2026-09-19 19:11:55] local.INFO: Packet analysis {"connection_id":189747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:11:55] local.INFO: Extracted packet for processing {"connection_id":189747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e2"} 
[2026-09-19 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195205120001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825041000,"timestamp_ms":1789825041000,"timestamp_seconds":1789825041,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e2c268"} 
[2026-09-19 19:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:11:55] 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-19 19:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:11:55] 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-19 19:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195205120001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195205120001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195205120001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":189747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:11:55] local.INFO: GPS data processed {"connection_id":189747,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:11:55] local.INFO: Acknowledgment sent {"connection_id":189747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:12:08] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:08] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:08] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:12:14] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:14] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:12:14] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:12:15] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:15] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:15] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:15] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12: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-19 19:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19: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-19 19:12:15] 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-19 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:12: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-19 19:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:12:15] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:12:15] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:12:18] local.INFO: TCP Data received {"connection_id":187002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:18] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:18] local.INFO: IMEI packet received {"connection_id":187002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":187002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:12:23] local.INFO: TCP Data received {"connection_id":187002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:23] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:12:23] local.INFO: IMEI packet received {"connection_id":187002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":187002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:12:24] local.INFO: TCP Data received {"connection_id":187002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e31470012d196740071fed20003800612d..."} 
[2026-09-19 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e31470012d196740071fed20003800612d..."} 
[2026-09-19 19:12:24] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e31470012d196740071fed20003800612d..."} 
[2026-09-19 19:12:24] local.INFO: Packet analysis {"connection_id":187002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e3"} 
[2026-09-19 19:12:24] local.INFO: Extracted packet for processing {"connection_id":187002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e3"} 
[2026-09-19 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195210496001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789825062000,"timestamp_ms":1789825062000,"timestamp_seconds":1789825062,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e31470"} 
[2026-09-19 19:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:12: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-19 19:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:12:24] 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-19 19:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195210496001,"66":12113,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195210496001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195210496001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":187002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:12:24] local.INFO: GPS data processed {"connection_id":187002,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:12:24] local.INFO: Acknowledgment sent {"connection_id":187002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:12:46] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:46] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:12:46] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:46] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19: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-19 19:12:46] 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-19 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19: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-19 19:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:12:47] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:12:47] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:12:54] local.INFO: TCP Data received {"connection_id":187002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e69ac8012d196740071fed20003800612d..."} 
[2026-09-19 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e69ac8012d196740071fed20003800612d..."} 
[2026-09-19 19:12:54] local.INFO: Processing buffer {"connection_id":187002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e69ac8012d196740071fed20003800612d..."} 
[2026-09-19 19:12:54] local.INFO: Packet analysis {"connection_id":187002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:54] local.INFO: Extracted packet for processing {"connection_id":187002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195269632001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789825293000,"timestamp_ms":1789825293000,"timestamp_seconds":1789825293,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e69ac8"} 
[2026-09-19 19:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:12:54] 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-19 19:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:12:54] 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-19 19:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195269632001,"66":12156,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195269632001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:12:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195269632001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":187002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:12:55] local.INFO: GPS data processed {"connection_id":187002,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:12:55] local.INFO: Acknowledgment sent {"connection_id":187002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:13:13] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:13] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:13] local.INFO: IMEI packet received {"connection_id":189748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":189748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:13:18] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:18] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:18] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:13:18] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:18] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:13:18] local.INFO: IMEI packet received {"connection_id":189748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":189748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:13:20] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:20] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:20] local.INFO: Packet analysis {"connection_id":189748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:20] local.INFO: Extracted packet for processing {"connection_id":189748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:13: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-19 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:13: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-19 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:13: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-19 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":189748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:13:20] local.INFO: GPS data processed {"connection_id":189748,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:13:20] local.INFO: Acknowledgment sent {"connection_id":189748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:13:23] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:23] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:13:23] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:13:23] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e6ecd0012d196740071fed20003800612d..."} 
[2026-09-19 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e6ecd0012d196740071fed20003800612d..."} 
[2026-09-19 19:13:23] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e6ecd0012d196740071fed20003800612d..."} 
[2026-09-19 19:13:23] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:23] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195275008001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825314000,"timestamp_ms":1789825314000,"timestamp_seconds":1789825314,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e6ecd0"} 
[2026-09-19 19:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-19 19:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:13:23] 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-19 19:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195275008001,"66":12004,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195275008001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195275008001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:13:24] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:13:24] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:13:25] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:25] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:13:25] local.INFO: Packet analysis {"connection_id":189748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:25] local.INFO: Extracted packet for processing {"connection_id":189748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:13:25] 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-19 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:13: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-19 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":189748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:13:25] local.INFO: GPS data processed {"connection_id":189748,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:13:25] local.INFO: Acknowledgment sent {"connection_id":189748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:13:46] local.INFO: TCP Data received {"connection_id":187143,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:13:46] local.INFO: Processing buffer {"connection_id":187143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:13:46] local.INFO: IMEI packet received {"connection_id":187143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":187143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:13:55] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e73ed8012d196740071fed20003800612e..."} 
[2026-09-19 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e73ed8012d196740071fed20003800612e..."} 
[2026-09-19 19:13:55] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e73ed8012d196740071fed20003800612e..."} 
[2026-09-19 19:13:55] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:13:55] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195280384001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825335000,"timestamp_ms":1789825335000,"timestamp_seconds":1789825335,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e73ed8"} 
[2026-09-19 19: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-19 19:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-19 19:13:55] 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-19 19: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-19 19: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-19 19:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:13:55] 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-19 19:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195280384001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195280384001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:13:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195280384001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:13:55] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:13:55] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:14:09] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:09] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:09] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:14:13] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:13] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:14:13] local.INFO: IMEI packet received {"connection_id":187003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":187003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:14:14] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:14] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:14] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:14:14] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14: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-19 19:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:14: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-19 19:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:14:14] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:14:14] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:14:17] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:14:17] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:17] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:14:23] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:23] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:14:23] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:14:23] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e790e0012d196740071fed20003800612d..."} 
[2026-09-19 19:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e790e0012d196740071fed20003800612d..."} 
[2026-09-19 19:14:23] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e790e0012d196740071fed20003800612d..."} 
[2026-09-19 19:14:23] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:14:23] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195285760001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825356000,"timestamp_ms":1789825356000,"timestamp_seconds":1789825356,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e790e0"} 
[2026-09-19 19: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-19 19:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:14:23] 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-19 19:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195285760001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195285760001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195285760001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:14:24] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:14:24] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:14:33] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:14:33] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:14:33] local.INFO: IMEI packet received {"connection_id":189749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":189749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:14:46] local.INFO: TCP Data received {"connection_id":187003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:46] local.INFO: Processing buffer {"connection_id":187003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:14:46] local.INFO: Packet analysis {"connection_id":187003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:14:46] local.INFO: Extracted packet for processing {"connection_id":187003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19: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-19 19:14:46] 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-19 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:14: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-19 19:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":187003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:14:46] local.INFO: GPS data processed {"connection_id":187003,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:14:46] local.INFO: Acknowledgment sent {"connection_id":187003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:14:55] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e7e2e8012d196740071fed20003800612c..."} 
[2026-09-19 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e7e2e8012d196740071fed20003800612c..."} 
[2026-09-19 19:14:55] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e7e2e8012d196740071fed20003800612c..."} 
[2026-09-19 19:14:55] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:14:55] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e7"} 
[2026-09-19 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:14: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-19 19:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195291136001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825377000,"timestamp_ms":1789825377000,"timestamp_seconds":1789825377,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e7e2e8"} 
[2026-09-19 19:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:14:55] 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-19 19:14: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-19 19:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:14:55] 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-19 19:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195291136001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195291136001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:14:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195291136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:14:55] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:14:55] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:15:09] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:09] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:09] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:15:09] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 19:15:09] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 19:15:09] local.INFO: IMEI packet received {"connection_id":189749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":189749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:15:13] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:13] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:15:13] local.INFO: IMEI packet received {"connection_id":187004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":187004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:15:14] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:14] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:14] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:15:14] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15: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-19 19:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:15: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-19 19:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:15:14] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:15:14] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:15:17] local.INFO: TCP Data received {"connection_id":189751,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:17] local.INFO: Processing buffer {"connection_id":189751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:17] local.INFO: IMEI packet received {"connection_id":189751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":189751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:15:20] local.INFO: TCP Data received {"connection_id":189751,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:20] local.INFO: Processing buffer {"connection_id":189751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:20] local.INFO: IMEI packet received {"connection_id":189751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":189751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:15:23] local.INFO: TCP Data received {"connection_id":189751,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:23] local.INFO: Processing buffer {"connection_id":189751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:15:23] local.INFO: IMEI packet received {"connection_id":189751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":189751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:15:23] local.INFO: TCP Data received {"connection_id":189751,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e834f0012d196740071fed20003800612b..."} 
[2026-09-19 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e834f0012d196740071fed20003800612b..."} 
[2026-09-19 19:15:23] local.INFO: Processing buffer {"connection_id":189751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e834f0012d196740071fed20003800612b..."} 
[2026-09-19 19:15:23] local.INFO: Packet analysis {"connection_id":189751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:15:23] local.INFO: Extracted packet for processing {"connection_id":189751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:15: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-19 19:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195296512001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825398000,"timestamp_ms":1789825398000,"timestamp_seconds":1789825398,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e834f0"} 
[2026-09-19 19:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:15: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-19 19:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:15:23] 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-19 19:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195296512001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195296512001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195296512001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":189751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:15:24] local.INFO: GPS data processed {"connection_id":189751,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:15:24] local.INFO: Acknowledgment sent {"connection_id":189751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:15:46] local.INFO: TCP Data received {"connection_id":187004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:46] local.INFO: Processing buffer {"connection_id":187004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:15:46] local.INFO: Packet analysis {"connection_id":187004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:15:46] local.INFO: Extracted packet for processing {"connection_id":187004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15: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-19 19:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:15:46] 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-19 19:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:15: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-19 19:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":187004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:15:46] local.INFO: GPS data processed {"connection_id":187004,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:15:46] local.INFO: Acknowledgment sent {"connection_id":187004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:15:55] local.INFO: TCP Data received {"connection_id":189751,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e886f8012d196740071fed20003800612e..."} 
[2026-09-19 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e886f8012d196740071fed20003800612e..."} 
[2026-09-19 19:15:55] local.INFO: Processing buffer {"connection_id":189751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e886f8012d196740071fed20003800612e..."} 
[2026-09-19 19:15:55] local.INFO: Packet analysis {"connection_id":189751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:15:55] local.INFO: Extracted packet for processing {"connection_id":189751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:15: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-19 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195301888001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825419000,"timestamp_ms":1789825419000,"timestamp_seconds":1789825419,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e886f8"} 
[2026-09-19 19:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:15:55] 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-19 19:15: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-19 19:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:15:55] 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-19 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195301888001,"66":12341,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195301888001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195301888001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":189751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:15:55] local.INFO: GPS data processed {"connection_id":189751,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:15:55] local.INFO: Acknowledgment sent {"connection_id":189751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:16:08] local.INFO: TCP Data received {"connection_id":189752,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:08] local.INFO: Processing buffer {"connection_id":189752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:08] local.INFO: IMEI packet received {"connection_id":189752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":189752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:16:14] local.INFO: TCP Data received {"connection_id":189752,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:14] local.INFO: Processing buffer {"connection_id":189752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:16:14] local.INFO: IMEI packet received {"connection_id":189752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":189752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:16:15] local.INFO: TCP Data received {"connection_id":189752,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:15] local.INFO: Processing buffer {"connection_id":189752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:15] local.INFO: Packet analysis {"connection_id":189752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:16:15] local.INFO: Extracted packet for processing {"connection_id":189752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16: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-19 19:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:16:15] 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-19 19:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:16: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-19 19:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":189752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:16:15] local.INFO: GPS data processed {"connection_id":189752,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:16:15] local.INFO: Acknowledgment sent {"connection_id":189752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:16:17] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:17] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:17] local.INFO: IMEI packet received {"connection_id":189754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":189754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:16:23] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:23] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:16:23] local.INFO: IMEI packet received {"connection_id":189754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":189754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:16:23] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e8d900012d196740071fed20003800612d..."} 
[2026-09-19 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e8d900012d196740071fed20003800612d..."} 
[2026-09-19 19:16:23] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e8d900012d196740071fed20003800612d..."} 
[2026-09-19 19:16:23] local.INFO: Packet analysis {"connection_id":189754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:16:23] local.INFO: Extracted packet for processing {"connection_id":189754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e8"} 
[2026-09-19 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:16: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-19 19:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195307264001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825440000,"timestamp_ms":1789825440000,"timestamp_seconds":1789825440,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e8d900"} 
[2026-09-19 19:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-19 19:16:23] 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-19 19:16: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-19 19:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:16:23] 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-19 19:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195307264001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195307264001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195307264001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":189754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:16:24] local.INFO: GPS data processed {"connection_id":189754,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:16:24] local.INFO: Acknowledgment sent {"connection_id":189754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:16:47] local.INFO: TCP Data received {"connection_id":189752,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:47] local.INFO: Processing buffer {"connection_id":189752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e66800012d34c14006aa41400008010e2f..."} 
[2026-09-19 19:16:47] local.INFO: Packet analysis {"connection_id":189752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:16:47] local.INFO: Extracted packet for processing {"connection_id":189752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e6"} 
[2026-09-19 19:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195194624001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789825280000,"timestamp_ms":1789825280000,"timestamp_seconds":1789825280,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e66800"} 
[2026-09-19 19: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-19 19:16:47] 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-19 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:16: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-19 19:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195194624001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195194624001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195194624001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":189752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:16:47] local.INFO: GPS data processed {"connection_id":189752,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:16:47] local.INFO: Acknowledgment sent {"connection_id":189752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:16:55] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e92b08012d196740071fed20003800612c..."} 
[2026-09-19 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e92b08012d196740071fed20003800612c..."} 
[2026-09-19 19:16:55] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e92b08012d196740071fed20003800612c..."} 
[2026-09-19 19:16:55] local.INFO: Packet analysis {"connection_id":189754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:16:55] local.INFO: Extracted packet for processing {"connection_id":189754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:16: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-19 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195312640001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825461000,"timestamp_ms":1789825461000,"timestamp_seconds":1789825461,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e92b08"} 
[2026-09-19 19:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:16:55] 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-19 19:16: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-19 19:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:16:55] 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-19 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195312640001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195312640001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:16:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195312640001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":189754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:16:55] local.INFO: GPS data processed {"connection_id":189754,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:16:55] local.INFO: Acknowledgment sent {"connection_id":189754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:17:08] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:08] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:08] local.INFO: IMEI packet received {"connection_id":189755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":189755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:17:13] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:13] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:17:13] local.INFO: IMEI packet received {"connection_id":189755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":189755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:17:14] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:14] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:14] local.INFO: Packet analysis {"connection_id":189755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:14] local.INFO: Extracted packet for processing {"connection_id":189755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17: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-19 19:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:17:14] 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-19 19:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":189755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:17:14] local.INFO: GPS data processed {"connection_id":189755,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:17:14] local.INFO: Acknowledgment sent {"connection_id":189755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:17:23] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:23] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:23] local.INFO: IMEI packet received {"connection_id":187005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":187005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:17:26] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:26] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:17:26] local.INFO: IMEI packet received {"connection_id":187005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":187005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:17:27] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e97d10012d196740071fed20003800612d..."} 
[2026-09-19 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e97d10012d196740071fed20003800612d..."} 
[2026-09-19 19:17:27] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e97d10012d196740071fed20003800612d..."} 
[2026-09-19 19:17:27] local.INFO: Packet analysis {"connection_id":187005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:17:27] local.INFO: Extracted packet for processing {"connection_id":187005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:17: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-19 19:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195318016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789825482000,"timestamp_ms":1789825482000,"timestamp_seconds":1789825482,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e97d10"} 
[2026-09-19 19:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:17:27] 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-19 19:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":187005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:27] 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-19 19:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195318016001,"66":12374,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195318016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195318016001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":187005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:17:27] local.INFO: GPS data processed {"connection_id":187005,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:17:27] local.INFO: Acknowledgment sent {"connection_id":187005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:17:28] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9e9cf18012d196740071fed20003800612d..."} 
[2026-09-19 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9e9cf18012d196740071fed20003800612d..."} 
[2026-09-19 19:17:28] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9e9cf18012d196740071fed20003800612d..."} 
[2026-09-19 19:17:28] local.INFO: Packet analysis {"connection_id":187005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:17:28] local.INFO: Extracted packet for processing {"connection_id":187005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9e9"} 
[2026-09-19 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195323392001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789825503000,"timestamp_ms":1789825503000,"timestamp_seconds":1789825503,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9e9cf18"} 
[2026-09-19 19:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 19:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195323392001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195323392001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195323392001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":187005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:17:28] local.INFO: GPS data processed {"connection_id":187005,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:17:28] local.INFO: Acknowledgment sent {"connection_id":187005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:17:46] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:46] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:17:46] local.INFO: Packet analysis {"connection_id":189755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:46] local.INFO: Extracted packet for processing {"connection_id":189755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19: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-19 19:17:46] 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-19 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:17: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-19 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":189755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:17:46] local.INFO: GPS data processed {"connection_id":189755,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:17:46] local.INFO: Acknowledgment sent {"connection_id":189755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:17:59] local.INFO: TCP Data received {"connection_id":187005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ea2120012d196740071fed20003800612b..."} 
[2026-09-19 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ea2120012d196740071fed20003800612b..."} 
[2026-09-19 19:17:59] local.INFO: Processing buffer {"connection_id":187005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ea2120012d196740071fed20003800612b..."} 
[2026-09-19 19:17:59] local.INFO: Packet analysis {"connection_id":187005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:59] local.INFO: Extracted packet for processing {"connection_id":187005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195328768001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789825524000,"timestamp_ms":1789825524000,"timestamp_seconds":1789825524,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ea2120"} 
[2026-09-19 19:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:17:59] 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-19 19:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":187005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":187005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195328768001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195328768001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195328768001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":187005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:17:59] local.INFO: GPS data processed {"connection_id":187005,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:17:59] local.INFO: Acknowledgment sent {"connection_id":187005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:18:08] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:08] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:08] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:18:13] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:13] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:18:13] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:18:14] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:14] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:14] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:14] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18: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-19 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:18: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-19 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:18:15] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:18:15] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:18:18] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:18] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:18] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:18:23] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:23] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:18:23] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:18:24] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ea7328012d196740071fed20003800612c..."} 
[2026-09-19 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ea7328012d196740071fed20003800612c..."} 
[2026-09-19 19:18:24] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ea7328012d196740071fed20003800612c..."} 
[2026-09-19 19:18:24] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:24] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195334144001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789825545000,"timestamp_ms":1789825545000,"timestamp_seconds":1789825545,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ea7328"} 
[2026-09-19 19: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-19 19:18: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-19 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:18:24] 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-19 19: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-19 19: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-19 19:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195334144001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195334144001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195334144001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:18:24] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:18:24] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:18:46] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:46] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:18:46] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:46] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18: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-19 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:18:46] 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-19 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:18: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-19 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:18:46] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:18:46] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:18:55] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eac530012d196740071fed20003800612b..."} 
[2026-09-19 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eac530012d196740071fed20003800612b..."} 
[2026-09-19 19:18:55] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eac530012d196740071fed20003800612b..."} 
[2026-09-19 19:18:55] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:55] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:18: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-19 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195339520001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825566000,"timestamp_ms":1789825566000,"timestamp_seconds":1789825566,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eac530"} 
[2026-09-19 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:18:55] 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-19 19:18: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-19 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:18:55] 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-19 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195339520001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195339520001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195339520001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:18:55] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:18:55] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:19:09] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:09] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:09] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:19:14] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:14] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:19:14] local.INFO: IMEI packet received {"connection_id":187006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":187006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:19:15] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:15] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:15] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:19:15] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19: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-19 19:19:15] 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-19 19:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:19: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-19 19:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:19:15] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:19:15] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:19:18] local.INFO: TCP Data received {"connection_id":189756,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:18] local.INFO: Processing buffer {"connection_id":189756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:18] local.INFO: IMEI packet received {"connection_id":189756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":189756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:19:23] local.INFO: TCP Data received {"connection_id":189756,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:23] local.INFO: Processing buffer {"connection_id":189756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:19:23] local.INFO: IMEI packet received {"connection_id":189756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":189756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:19:24] local.INFO: TCP Data received {"connection_id":189756,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eb1738012d196740071fed20003800612c..."} 
[2026-09-19 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eb1738012d196740071fed20003800612c..."} 
[2026-09-19 19:19:24] local.INFO: Processing buffer {"connection_id":189756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eb1738012d196740071fed20003800612c..."} 
[2026-09-19 19:19:24] local.INFO: Packet analysis {"connection_id":189756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:19:24] local.INFO: Extracted packet for processing {"connection_id":189756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195344896001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789825587000,"timestamp_ms":1789825587000,"timestamp_seconds":1789825587,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eb1738"} 
[2026-09-19 19:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:19: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-19 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:19:24] 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-19 19:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195344896001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195344896001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195344896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":189756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:19:24] local.INFO: GPS data processed {"connection_id":189756,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:19:24] local.INFO: Acknowledgment sent {"connection_id":189756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:19:46] local.INFO: TCP Data received {"connection_id":187006,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:46] local.INFO: Processing buffer {"connection_id":187006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:19:46] local.INFO: Packet analysis {"connection_id":187006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:19:46] local.INFO: Extracted packet for processing {"connection_id":187006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:19:46] 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-19 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:19: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-19 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":187006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:19:46] local.INFO: GPS data processed {"connection_id":187006,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:19:46] local.INFO: Acknowledgment sent {"connection_id":187006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:19:54] local.INFO: TCP Data received {"connection_id":189756,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eb6940012d196740071fed20003800612c..."} 
[2026-09-19 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eb6940012d196740071fed20003800612c..."} 
[2026-09-19 19:19:54] local.INFO: Processing buffer {"connection_id":189756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eb6940012d196740071fed20003800612c..."} 
[2026-09-19 19:19:54] local.INFO: Packet analysis {"connection_id":189756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:19:54] local.INFO: Extracted packet for processing {"connection_id":189756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195350272001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789825608000,"timestamp_ms":1789825608000,"timestamp_seconds":1789825608,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eb6940"} 
[2026-09-19 19:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:19:54] 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-19 19:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:19:54] 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-19 19:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195350272001,"66":12374,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195350272001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:19:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195350272001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":189756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:19:54] local.INFO: GPS data processed {"connection_id":189756,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:19:54] local.INFO: Acknowledgment sent {"connection_id":189756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:20:08] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:08] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:08] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:20:13] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:13] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:20:13] local.INFO: IMEI packet received {"connection_id":187008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:20:15] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:15] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:15] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:20:15] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19: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-19 19:20:15] 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-19 19:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:20: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-19 19:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:20:15] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:20:15] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:20:18] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:18] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:18] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:20:23] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:23] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:20:23] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:20:23] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ebbb48012d196740071fed20003800612c..."} 
[2026-09-19 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ebbb48012d196740071fed20003800612c..."} 
[2026-09-19 19:20:23] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ebbb48012d196740071fed20003800612c..."} 
[2026-09-19 19:20:23] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:20:23] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9eb"} 
[2026-09-19 19:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825629000,"timestamp_ms":1789825629000,"timestamp_seconds":1789825629,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ebbb48"} 
[2026-09-19 19:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 19:20:23] 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-19 19:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:20:23] 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-19 19:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195355648001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195355648001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:20:24] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:20:24] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:20:46] local.INFO: TCP Data received {"connection_id":187008,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:46] local.INFO: Processing buffer {"connection_id":187008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:20:46] local.INFO: Packet analysis {"connection_id":187008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:20:46] local.INFO: Extracted packet for processing {"connection_id":187008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20: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-19 19:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19: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-19 19:20:46] 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-19 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:20: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-19 19:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":187008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:20:46] local.INFO: GPS data processed {"connection_id":187008,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:20:46] local.INFO: Acknowledgment sent {"connection_id":187008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:20:55] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ec0d50012d196740071fed20003800612c..."} 
[2026-09-19 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ec0d50012d196740071fed20003800612c..."} 
[2026-09-19 19:20:55] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ec0d50012d196740071fed20003800612c..."} 
[2026-09-19 19:20:55] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:20:55] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:20: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-19 19:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195361024001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825650000,"timestamp_ms":1789825650000,"timestamp_seconds":1789825650,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ec0d50"} 
[2026-09-19 19:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:20:55] 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-19 19:20: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-19 19:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:20:55] 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-19 19:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195361024001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195361024001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195361024001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:20:55] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:20:55] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:21:08] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:08] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:08] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:21:13] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:13] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:21:13] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:21:15] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:15] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:15] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:21:15] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21: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-19 19:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:21:15] 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-19 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:21: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-19 19:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:21:15] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:21:15] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:21:17] local.INFO: TCP Data received {"connection_id":189757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: Processing buffer {"connection_id":189757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: IMEI packet received {"connection_id":189757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":189757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:21:17] local.INFO: TCP Data received {"connection_id":189757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: Processing buffer {"connection_id":189757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:17] local.INFO: IMEI packet received {"connection_id":189757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":189757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:21:23] local.INFO: TCP Data received {"connection_id":189757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:23] local.INFO: Processing buffer {"connection_id":189757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:21:23] local.INFO: IMEI packet received {"connection_id":189757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":189757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:21:24] local.INFO: TCP Data received {"connection_id":189757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ec5f58012d196740071fed20003800612c..."} 
[2026-09-19 19:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ec5f58012d196740071fed20003800612c..."} 
[2026-09-19 19:21:24] local.INFO: Processing buffer {"connection_id":189757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ec5f58012d196740071fed20003800612c..."} 
[2026-09-19 19:21:24] local.INFO: Packet analysis {"connection_id":189757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:21:24] local.INFO: Extracted packet for processing {"connection_id":189757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195366400001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789825671000,"timestamp_ms":1789825671000,"timestamp_seconds":1789825671,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ec5f58"} 
[2026-09-19 19:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:21: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-19 19:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:21:24] 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-19 19:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195366400001,"66":12406,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195366400001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:21:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195366400001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":189757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:21:24] local.INFO: GPS data processed {"connection_id":189757,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:21:24] local.INFO: Acknowledgment sent {"connection_id":189757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:21:47] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:47] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eaffc8012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:21:47] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:21:47] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ea"} 
[2026-09-19 19:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195271680001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789825581000,"timestamp_ms":1789825581000,"timestamp_seconds":1789825581,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eaffc8"} 
[2026-09-19 19: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-19 19:21:47] 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-19 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 19:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:21: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-19 19:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195271680001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195271680001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195271680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:21:47] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:21:47] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:21:55] local.INFO: TCP Data received {"connection_id":189757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ecb160012d196740071fed20003800612e..."} 
[2026-09-19 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ecb160012d196740071fed20003800612e..."} 
[2026-09-19 19:21:55] local.INFO: Processing buffer {"connection_id":189757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ecb160012d196740071fed20003800612e..."} 
[2026-09-19 19:21:55] local.INFO: Packet analysis {"connection_id":189757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:21:55] local.INFO: Extracted packet for processing {"connection_id":189757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ec"} 
[2026-09-19 19:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195371776001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825692000,"timestamp_ms":1789825692000,"timestamp_seconds":1789825692,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ecb160"} 
[2026-09-19 19:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:21:55] 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-19 19:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:21:55] 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-19 19:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195371776001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195371776001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195371776001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":189757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:21:55] local.INFO: GPS data processed {"connection_id":189757,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:21:55] local.INFO: Acknowledgment sent {"connection_id":189757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:22:08] local.INFO: TCP Data received {"connection_id":187009,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:08] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:08] local.INFO: IMEI packet received {"connection_id":187009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":187009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:22:14] local.INFO: TCP Data received {"connection_id":187009,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:14] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:22:14] local.INFO: IMEI packet received {"connection_id":187009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":187009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:22:17] local.INFO: TCP Data received {"connection_id":187009,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:17] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:17] local.INFO: Packet analysis {"connection_id":187009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:22:17] local.INFO: Extracted packet for processing {"connection_id":187009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22: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-19 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:22:17] 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-19 19:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:22:17] 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-19 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":187009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:22:17] local.INFO: GPS data processed {"connection_id":187009,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:22:17] local.INFO: Acknowledgment sent {"connection_id":187009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:22:17] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:17] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:17] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:22:23] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:23] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:22:23] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:22:23] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ed0368012d196740071fed20003800612d..."} 
[2026-09-19 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ed0368012d196740071fed20003800612d..."} 
[2026-09-19 19:22:23] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ed0368012d196740071fed20003800612d..."} 
[2026-09-19 19:22:23] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:22:23] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195377152001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825713000,"timestamp_ms":1789825713000,"timestamp_seconds":1789825713,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ed0368"} 
[2026-09-19 19:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195377152001,"66":12374,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195377152001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195377152001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:22:24] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:22:24] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:22:50] local.INFO: TCP Data received {"connection_id":187009,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:50] local.INFO: Processing buffer {"connection_id":187009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:22:50] local.INFO: Packet analysis {"connection_id":187009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:22:50] local.INFO: Extracted packet for processing {"connection_id":187009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:22: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-19 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22: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-19 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:22: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:22:50] 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-19 19:22: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-19 19:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:22:50] 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-19 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":187009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:22:50] local.INFO: GPS data processed {"connection_id":187009,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:22:50] local.INFO: Acknowledgment sent {"connection_id":187009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:22:55] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ed5570012d196740071fed20003800612c..."} 
[2026-09-19 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ed5570012d196740071fed20003800612c..."} 
[2026-09-19 19:22:55] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ed5570012d196740071fed20003800612c..."} 
[2026-09-19 19:22:55] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:22:55] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195382528001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825734000,"timestamp_ms":1789825734000,"timestamp_seconds":1789825734,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ed5570"} 
[2026-09-19 19:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-19 19:22:55] 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-19 19:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:22:55] 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-19 19:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195382528001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195382528001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195382528001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:22:55] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:22:55] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:23:08] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:08] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:08] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:23:13] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:13] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:23:13] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:23:14] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:14] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:14] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:23:14] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23: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-19 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:23: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-19 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:23:14] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:23:14] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:23:17] local.INFO: TCP Data received {"connection_id":189758,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:17] local.INFO: Processing buffer {"connection_id":189758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:17] local.INFO: IMEI packet received {"connection_id":189758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":189758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:23:23] local.INFO: TCP Data received {"connection_id":189758,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:23] local.INFO: Processing buffer {"connection_id":189758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:23:23] local.INFO: IMEI packet received {"connection_id":189758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":189758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:23:23] local.INFO: TCP Data received {"connection_id":189758,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eda778012d196740071fed20003800612b..."} 
[2026-09-19 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eda778012d196740071fed20003800612b..."} 
[2026-09-19 19:23:23] local.INFO: Processing buffer {"connection_id":189758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eda778012d196740071fed20003800612b..."} 
[2026-09-19 19:23:23] local.INFO: Packet analysis {"connection_id":189758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:23:23] local.INFO: Extracted packet for processing {"connection_id":189758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195387904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825755000,"timestamp_ms":1789825755000,"timestamp_seconds":1789825755,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eda778"} 
[2026-09-19 19:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:23:23] 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-19 19:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195387904001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195387904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195387904001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":189758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:23:24] local.INFO: GPS data processed {"connection_id":189758,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:23:24] local.INFO: Acknowledgment sent {"connection_id":189758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:23:47] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:47] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:23:47] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:23:47] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23: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-19 19:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19: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-19 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:23:47] 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-19 19:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:23:47] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:23:47] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:23:55] local.INFO: TCP Data received {"connection_id":189758,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9edf980012d196740071fed20003800612b..."} 
[2026-09-19 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9edf980012d196740071fed20003800612b..."} 
[2026-09-19 19:23:55] local.INFO: Processing buffer {"connection_id":189758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9edf980012d196740071fed20003800612b..."} 
[2026-09-19 19:23:55] local.INFO: Packet analysis {"connection_id":189758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:23:55] local.INFO: Extracted packet for processing {"connection_id":189758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ed"} 
[2026-09-19 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195393280001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825776000,"timestamp_ms":1789825776000,"timestamp_seconds":1789825776,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9edf980"} 
[2026-09-19 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:23:55] 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-19 19:23: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-19 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:23:55] 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-19 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195393280001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195393280001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:23:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195393280001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":189758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:23:55] local.INFO: GPS data processed {"connection_id":189758,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:23:55] local.INFO: Acknowledgment sent {"connection_id":189758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:24:08] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:08] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:08] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:24:13] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:13] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:24:13] local.INFO: IMEI packet received {"connection_id":187010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":187010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:24:15] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:15] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:15] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:24:15] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24: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-19 19:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:24: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-19 19:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:24:15] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:24:15] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:24:23] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:23] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:23] local.INFO: IMEI packet received {"connection_id":187149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":187149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:24:28] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:28] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:24:28] local.INFO: IMEI packet received {"connection_id":187149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":187149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:24:29] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ee4b88012d196740071fed200038006129..."} 
[2026-09-19 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ee4b88012d196740071fed200038006129..."} 
[2026-09-19 19:24:29] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ee4b88012d196740071fed200038006129..."} 
[2026-09-19 19:24:29] local.INFO: Packet analysis {"connection_id":187149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:24:29] local.INFO: Extracted packet for processing {"connection_id":187149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:24: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-19 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195398656001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789825797000,"timestamp_ms":1789825797000,"timestamp_seconds":1789825797,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ee4b88"} 
[2026-09-19 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:24: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-19 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:24:29] 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-19 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195398656001,"66":12428,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195398656001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195398656001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":187149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:24:29] local.INFO: GPS data processed {"connection_id":187149,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:24:29] local.INFO: Acknowledgment sent {"connection_id":187149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:24:46] local.INFO: TCP Data received {"connection_id":187010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:46] local.INFO: Processing buffer {"connection_id":187010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:24:46] local.INFO: Packet analysis {"connection_id":187010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:24:46] local.INFO: Extracted packet for processing {"connection_id":187010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:24: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-19 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19: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-19 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:24: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-19 19: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-19 19: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-19 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:24: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-19 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":187010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:24:46] local.INFO: GPS data processed {"connection_id":187010,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:24:46] local.INFO: Acknowledgment sent {"connection_id":187010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:25:00] local.INFO: TCP Data received {"connection_id":187149,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ee9d90012d196740071fed20003800612a..."} 
[2026-09-19 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ee9d90012d196740071fed20003800612a..."} 
[2026-09-19 19:25:00] local.INFO: Processing buffer {"connection_id":187149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ee9d90012d196740071fed20003800612a..."} 
[2026-09-19 19:25:00] local.INFO: Packet analysis {"connection_id":187149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:25:00] local.INFO: Extracted packet for processing {"connection_id":187149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195404032001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789825818000,"timestamp_ms":1789825818000,"timestamp_seconds":1789825818,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ee9d90"} 
[2026-09-19 19:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-19 19:25:00] 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-19 19:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":187149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":187149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":187149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:00] 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-19 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195404032001,"66":12385,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195404032001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:25:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195404032001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":187149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:25:00] local.INFO: GPS data processed {"connection_id":187149,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:25:00] local.INFO: Acknowledgment sent {"connection_id":187149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:25:08] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:08] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:08] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:25:14] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:14] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:25:14] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:25:16] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:16] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:16] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:16] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19: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-19 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:25: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-19 19:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:25:17] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:25:17] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:25:18] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:18] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:18] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:25:23] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:23] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:25:23] local.INFO: IMEI packet received {"connection_id":187011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":187011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:25:23] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9eeef98012d196740071fed20003800612a..."} 
[2026-09-19 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9eeef98012d196740071fed20003800612a..."} 
[2026-09-19 19:25:23] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9eeef98012d196740071fed20003800612a..."} 
[2026-09-19 19:25:23] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:25:23] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ee"} 
[2026-09-19 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195409408001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825839000,"timestamp_ms":1789825839000,"timestamp_seconds":1789825839,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9eeef98"} 
[2026-09-19 19:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 19:25:23] 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-19 19:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:23] 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-19 19:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195409408001,"66":13722,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195409408001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195409408001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:25:24] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:25:24] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:25:48] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:48] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:25:48] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:48] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19: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-19 19:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:25:48] 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-19 19: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-19 19: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-19 19:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:25: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-19 19:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:25:48] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:25:48] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:25:55] local.INFO: TCP Data received {"connection_id":187011,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:25:55] local.INFO: Processing buffer {"connection_id":187011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:25:55] local.INFO: Packet analysis {"connection_id":187011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:55] local.INFO: Extracted packet for processing {"connection_id":187011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195414784001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825851000,"timestamp_ms":1789825851000,"timestamp_seconds":1789825851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef1e78"} 
[2026-09-19 19:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-19 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-19 19:25:55] 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-19 19:25: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-19 19:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:25:55] 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-19 19:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195414784001,"66":12678,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195414784001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195414784001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":187011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:25:55] local.INFO: GPS data processed {"connection_id":187011,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:25:55] local.INFO: Acknowledgment sent {"connection_id":187011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:26:08] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:08] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:08] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:26:14] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:14] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:26:14] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:26:16] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:16] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:16] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:16] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26: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-19 19:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19: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-19 19:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:26:16] 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-19 19:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:26:16] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:26:16] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:26:18] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:18] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:18] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:26:23] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:23] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:26:23] local.INFO: IMEI packet received {"connection_id":187012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":187012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:26:23] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:23] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:23] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:23] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:26:23] 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-19 19:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789825851000,"timestamp_ms":1789825851000,"timestamp_seconds":1789825851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef1e78"} 
[2026-09-19 19:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:26:23] 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-19 19:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:26:23] 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-19 19:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":12678,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:26:24] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:26:24] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:26:47] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:47] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef9790012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:26:47] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:47] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195348736001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26: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-19 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789825882000,"timestamp_ms":1789825882000,"timestamp_seconds":1789825882,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef9790"} 
[2026-09-19 19:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:26:47] 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-19 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195348736001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195348736001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195348736001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:26:47] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:26:47] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:26:55] local.INFO: TCP Data received {"connection_id":187012,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:55] local.INFO: Processing buffer {"connection_id":187012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9ef1e78012d196740071fed20003800612c..."} 
[2026-09-19 19:26:55] local.INFO: Packet analysis {"connection_id":187012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:55] local.INFO: Extracted packet for processing {"connection_id":187012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9ef"} 
[2026-09-19 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":56,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-19 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789825851000,"timestamp_ms":1789825851000,"timestamp_seconds":1789825851,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9ef1e78"} 
[2026-09-19 19:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:26:55] 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-19 19:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:26:55] 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-19 19:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":12678,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":187012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:26:55] local.INFO: GPS data processed {"connection_id":187012,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:26:55] local.INFO: Acknowledgment sent {"connection_id":187012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:27:13] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:13] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:13] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:27:17] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:17] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:17] local.INFO: IMEI packet received {"connection_id":187151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":187151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:27:18] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:18] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:27:18] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:27:19] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:19] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:19] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:27:19] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:27:19] 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-19 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:27:19] 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-19 19:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:27:19] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:27:19] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:27:23] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:23] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:27:23] local.INFO: IMEI packet received {"connection_id":187151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":187151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:27:23] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:23] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:23] local.INFO: Packet analysis {"connection_id":187151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:27:23] local.INFO: Extracted packet for processing {"connection_id":187151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:27: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-19 19:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:27:23] 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-19 19:27: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-19 19:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:27:23] 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-19 19:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":187151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:27:24] local.INFO: GPS data processed {"connection_id":187151,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:27:24] local.INFO: Acknowledgment sent {"connection_id":187151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:27:24] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:24] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:27:24] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:27:24] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:27:24] 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-19 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:27:24] 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-19 19:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:27:24] 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-19 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:27:24] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:27:24] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:27:55] local.INFO: TCP Data received {"connection_id":187151,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:55] local.INFO: Processing buffer {"connection_id":187151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:27:55] local.INFO: Packet analysis {"connection_id":187151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:27:55] local.INFO: Extracted packet for processing {"connection_id":187151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:27:55] 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-19 19:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:27:55] 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-19 19:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:27:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":187151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:27:55] local.INFO: GPS data processed {"connection_id":187151,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:27:55] local.INFO: Acknowledgment sent {"connection_id":187151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:28:09] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:09] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:09] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:28:13] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:13] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:28:13] local.INFO: IMEI packet received {"connection_id":187013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":187013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:28:14] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:14] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:14] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:28:14] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28: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-19 19:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:28:14] 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-19 19:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:28:14] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:28:14] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:28:23] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:23] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:23] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:28:28] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:28] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:28:28] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:28:29] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:29] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:29] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:28:29] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:28: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-19 19:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:28:29] 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-19 19:28: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-19 19:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:28:29] 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-19 19:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:28:29] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:28:29] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:28:33] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:33] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:28:33] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:28:33] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 19:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 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-19 19:28: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-19 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:28: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-19 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-19 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-19 19:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:28:33] 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-19 19:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:28:33] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:28:33] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:28:46] local.INFO: TCP Data received {"connection_id":187013,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:46] local.INFO: Processing buffer {"connection_id":187013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:28:46] local.INFO: Packet analysis {"connection_id":187013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:28:46] local.INFO: Extracted packet for processing {"connection_id":187013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:28: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-19 19:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:28:46] 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-19 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:28: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-19 19:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:28: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-19 19:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":187013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:28:46] local.INFO: GPS data processed {"connection_id":187013,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:28:46] local.INFO: Acknowledgment sent {"connection_id":187013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:29:08] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:08] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:08] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:29:13] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:13] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:29:13] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:29:17] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:17] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:17] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:29:17] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29: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-19 19:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:29:17] 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-19 19:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:29: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-19 19:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:29:17] 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-19 19:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:29:17] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:29:17] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:29:18] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:18] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:18] local.INFO: IMEI packet received {"connection_id":187152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":187152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:29:23] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:23] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:29:23] local.INFO: IMEI packet received {"connection_id":187152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":187152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:29:23] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:23] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:23] local.INFO: Packet analysis {"connection_id":187152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:29:23] local.INFO: Extracted packet for processing {"connection_id":187152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:29:23] 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-19 19:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:29:23] 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-19 19:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":187152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:29:24] local.INFO: GPS data processed {"connection_id":187152,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:29:24] local.INFO: Acknowledgment sent {"connection_id":187152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:29:48] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:48] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:29:48] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:29:48] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19: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-19 19:29:48] 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-19 19: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-19 19: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-19 19: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-19 19: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-19 19:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:29: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-19 19:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:29:48] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:29:48] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:29:55] local.INFO: TCP Data received {"connection_id":187152,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:55] local.INFO: Processing buffer {"connection_id":187152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:29:55] local.INFO: Packet analysis {"connection_id":187152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:29:55] local.INFO: Extracted packet for processing {"connection_id":187152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:29: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-19 19:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:29: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:29:55] 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-19 19:29: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-19 19:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:29:55] 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-19 19:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":187152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:29:55] local.INFO: GPS data processed {"connection_id":187152,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:29:55] local.INFO: Acknowledgment sent {"connection_id":187152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:30:08] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:08] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:08] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:30:13] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:13] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:30:13] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:30:15] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:15] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:15] local.INFO: Packet analysis {"connection_id":188458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:30:15] local.INFO: Extracted packet for processing {"connection_id":188458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30: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-19 19:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:30:15] 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-19 19:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:30: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-19 19:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":188458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:30:15] local.INFO: GPS data processed {"connection_id":188458,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:30:15] local.INFO: Acknowledgment sent {"connection_id":188458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:30:18] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:18] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:18] local.INFO: IMEI packet received {"connection_id":189759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":189759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:30:23] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:23] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:30:23] local.INFO: IMEI packet received {"connection_id":189759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":189759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:30:23] local.INFO: TCP Data received {"connection_id":187015,"ip":"117.224.177.63","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:23] local.INFO: Processing buffer {"connection_id":187015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:23] local.INFO: IMEI packet received {"connection_id":187015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 19:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":187015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:30:23] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:23] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:23] local.INFO: Packet analysis {"connection_id":189759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:30:23] local.INFO: Extracted packet for processing {"connection_id":189759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:30:23] 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-19 19:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:30:23] 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-19 19:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:30:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":189759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:30:24] local.INFO: GPS data processed {"connection_id":189759,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:30:24] local.INFO: Acknowledgment sent {"connection_id":189759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:30:25] local.INFO: TCP Data received {"connection_id":187015,"ip":"117.224.177.63","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:25] local.INFO: Processing buffer {"connection_id":187015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:25] local.INFO: IMEI packet received {"connection_id":187015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 19:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":187015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:30:28] local.INFO: TCP Data received {"connection_id":187015,"ip":"117.224.177.63","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:28] local.INFO: Processing buffer {"connection_id":187015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 19:30:28] local.INFO: IMEI packet received {"connection_id":187015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 19:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":187015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:30:29] local.INFO: TCP Data received {"connection_id":187015,"ip":"117.224.177.63","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f613b8012c533d8008c0a1c0004c008728..."} 
[2026-09-19 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f613b8012c533d8008c0a1c0004c008728..."} 
[2026-09-19 19:30:29] local.INFO: Processing buffer {"connection_id":187015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f613b8012c533d8008c0a1c0004c008728..."} 
[2026-09-19 19:30:29] local.INFO: Packet analysis {"connection_id":187015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f6"} 
[2026-09-19 19:30:29] local.INFO: Extracted packet for processing {"connection_id":187015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f6"} 
[2026-09-19 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":743652736,"raw_latitude":146842048,"longitude_deg":74.3652736,"latitude_deg":14.6842048,"altitude":76,"angle":135,"satellites":40,"speed":23,"hex_longitude":"2c533d80","hex_latitude":"08c0a1c0","is_valid_coordinates":true} 
[2026-09-19 19:30: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-19 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1260581491310592,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789826307000,"timestamp_ms":1789826307000,"timestamp_seconds":1789826307,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f613b8"} 
[2026-09-19 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-19 19:30:29] 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-19 19:30: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-19 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 19:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.63","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"5":206,"9":55808,"24":23,"16":1260581491310592},"client_ip":"117.224.177.63","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16]} 
[2026-09-19 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 19:30:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-19 19:30:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1260581491310592,"km_value":1260581491310.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_5":206,"unknown_9":55808,"ignition":23,"odometer":null}} 
[2026-09-19 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":187015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:30:29] local.INFO: GPS data processed {"connection_id":187015,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:30:29] local.INFO: Acknowledgment sent {"connection_id":187015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:30:47] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:47] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:30:47] local.INFO: Packet analysis {"connection_id":188458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:30:47] local.INFO: Extracted packet for processing {"connection_id":188458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30: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-19 19:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19: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-19 19:30:47] 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-19 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:30: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-19 19:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":188458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:30:47] local.INFO: GPS data processed {"connection_id":188458,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:30:47] local.INFO: Acknowledgment sent {"connection_id":188458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:30:55] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:55] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:30:55] local.INFO: Packet analysis {"connection_id":189759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:30:55] local.INFO: Extracted packet for processing {"connection_id":189759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:30: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-19 19:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:30: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:30:55] 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-19 19:30: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-19 19:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:30:55] 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-19 19:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":189759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:30:55] local.INFO: GPS data processed {"connection_id":189759,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:30:55] local.INFO: Acknowledgment sent {"connection_id":189759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:31:13] local.INFO: TCP Data received {"connection_id":187016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:13] local.INFO: Processing buffer {"connection_id":187016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:13] local.INFO: IMEI packet received {"connection_id":187016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:31:18] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:18] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:18] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:31:18] local.INFO: TCP Data received {"connection_id":187016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:18] local.INFO: Processing buffer {"connection_id":187016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:31:18] local.INFO: IMEI packet received {"connection_id":187016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":187016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:31:19] local.INFO: TCP Data received {"connection_id":187016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:19] local.INFO: Processing buffer {"connection_id":187016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:19] local.INFO: Packet analysis {"connection_id":187016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:31:19] local.INFO: Extracted packet for processing {"connection_id":187016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:31:19] 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-19 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:31:19] 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-19 19:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":187016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:31:19] local.INFO: GPS data processed {"connection_id":187016,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:31:19] local.INFO: Acknowledgment sent {"connection_id":187016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:31:23] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:23] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:31:23] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:31:24] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:31:24] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f3c5e0012d196540071fefa8003a006127..."} 
[2026-09-19 19:31:24] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:31:24] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f3"} 
[2026-09-19 19:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195417856001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893978624,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826156000,"timestamp_ms":1789826156000,"timestamp_seconds":1789826156,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f3c5e0"} 
[2026-09-19 19: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-19 19:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-19 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-19 19:31:24] 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-19 19: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-19 19: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-19 19:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:31:24] 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-19 19:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195417856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1830502172893978624},"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-19 19:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195417856001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893978624,"description":"Unknown IO ID 45"} 
[2026-09-19 19:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195417856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893978624}} 
[2026-09-19 19:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:31:24] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:31:24] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:31:24] local.INFO: TCP Data received {"connection_id":187016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:24] local.INFO: Processing buffer {"connection_id":187016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f42f58012d34c14006aa41400008010e2d..."} 
[2026-09-19 19:31:24] local.INFO: Packet analysis {"connection_id":187016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:31:24] local.INFO: Extracted packet for processing {"connection_id":187016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f4"} 
[2026-09-19 19:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195425792001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826183000,"timestamp_ms":1789826183000,"timestamp_seconds":1789826183,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f42f58"} 
[2026-09-19 19: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-19 19:31:24] 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-19 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:31:24] 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-19 19: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-19 19: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-19 19:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:31:24] 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-19 19:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195425792001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195425792001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195425792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":187016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:31:24] local.INFO: GPS data processed {"connection_id":187016,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:31:24] local.INFO: Acknowledgment sent {"connection_id":187016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:31:55] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:31:55] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:31:55] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:31:55] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:31: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-19 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:31: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-19 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:31:55] 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-19 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:31:55] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:31:55] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:32:08] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:08] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:08] local.INFO: IMEI packet received {"connection_id":187017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":187017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:32:14] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:14] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:32:14] local.INFO: IMEI packet received {"connection_id":187017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":187017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:32:15] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:15] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:15] local.INFO: Packet analysis {"connection_id":187017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:15] local.INFO: Extracted packet for processing {"connection_id":187017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32: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-19 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 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-19 19:32:15] 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-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:32: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-19 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":187017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:32:15] local.INFO: GPS data processed {"connection_id":187017,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:32:15] local.INFO: Acknowledgment sent {"connection_id":187017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:32:17] local.INFO: TCP Data received {"connection_id":189760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:17] local.INFO: Processing buffer {"connection_id":189760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:17] local.INFO: IMEI packet received {"connection_id":189760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":189760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:32:23] local.INFO: TCP Data received {"connection_id":189760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:23] local.INFO: Processing buffer {"connection_id":189760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:32:23] local.INFO: IMEI packet received {"connection_id":189760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":189760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:32:23] local.INFO: TCP Data received {"connection_id":189760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:23] local.INFO: Processing buffer {"connection_id":189760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:23] local.INFO: Packet analysis {"connection_id":189760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:23] local.INFO: Extracted packet for processing {"connection_id":189760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:32:23] 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-19 19:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":189760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:32:24] local.INFO: GPS data processed {"connection_id":189760,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:32:24] local.INFO: Acknowledgment sent {"connection_id":189760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:32:48] local.INFO: TCP Data received {"connection_id":187017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:48] local.INFO: Processing buffer {"connection_id":187017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:32:48] local.INFO: Packet analysis {"connection_id":187017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:48] local.INFO: Extracted packet for processing {"connection_id":187017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32: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-19 19:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 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-19 19:32:48] 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-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:32: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-19 19:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":187017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:32:48] local.INFO: GPS data processed {"connection_id":187017,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:32:48] local.INFO: Acknowledgment sent {"connection_id":187017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:32:55] local.INFO: TCP Data received {"connection_id":189760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:55] local.INFO: Processing buffer {"connection_id":189760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:32:55] local.INFO: Packet analysis {"connection_id":189760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:55] local.INFO: Extracted packet for processing {"connection_id":189760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:32: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-19 19:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:32: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-19 19:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:32:55] 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-19 19:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":189760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:32:55] local.INFO: GPS data processed {"connection_id":189760,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:32:55] local.INFO: Acknowledgment sent {"connection_id":189760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:33:08] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:08] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:08] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:33:13] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:13] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:33:13] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:33:14] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:14] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:14] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:14] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19: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-19 19:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:33:14] 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-19 19:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:33:14] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:33:14] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:33:23] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:23] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:23] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:33:28] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:28] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:33:28] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:33:28] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:28] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:28] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:28] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:33:28] 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-19 19:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:33:29] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:33:29] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:33:33] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:33] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:33:33] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:33] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19: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-19 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:33: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-19 19: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-19 19: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-19 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:33: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-19 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:33:33] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:33:33] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:33:46] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:46] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:33:46] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:46] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:33: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-19 19:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19: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-19 19:33:46] 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-19 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:33: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-19 19:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:33:46] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:33:46] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:34:08] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:08] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:08] local.INFO: IMEI packet received {"connection_id":189761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":189761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:34:13] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:13] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:34:13] local.INFO: IMEI packet received {"connection_id":189761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":189761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:34:14] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:14] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:14] local.INFO: Packet analysis {"connection_id":189761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:14] local.INFO: Extracted packet for processing {"connection_id":189761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34: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-19 19:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19: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-19 19:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:34: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-19 19:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":189761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:34:14] local.INFO: GPS data processed {"connection_id":189761,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:34:14] local.INFO: Acknowledgment sent {"connection_id":189761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:34:18] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:18] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:18] local.INFO: IMEI packet received {"connection_id":187018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":187018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:34:23] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:23] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:34:23] local.INFO: IMEI packet received {"connection_id":187018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":187018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:34:23] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:23] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:23] local.INFO: Packet analysis {"connection_id":187018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:23] local.INFO: Extracted packet for processing {"connection_id":187018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:34:23] 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-19 19:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":187018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:34:24] local.INFO: GPS data processed {"connection_id":187018,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:34:24] local.INFO: Acknowledgment sent {"connection_id":187018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:34:47] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:47] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:34:47] local.INFO: Packet analysis {"connection_id":189761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:47] local.INFO: Extracted packet for processing {"connection_id":189761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19: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-19 19:34:47] 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-19 19:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:34:47] 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-19 19:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":189761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:34:47] local.INFO: GPS data processed {"connection_id":189761,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:34:47] local.INFO: Acknowledgment sent {"connection_id":189761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:34:55] local.INFO: TCP Data received {"connection_id":187018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:55] local.INFO: Processing buffer {"connection_id":187018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:34:55] local.INFO: Packet analysis {"connection_id":187018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:55] local.INFO: Extracted packet for processing {"connection_id":187018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:34:55] 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-19 19:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:34:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:34:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":187018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:34:55] local.INFO: GPS data processed {"connection_id":187018,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:34:55] local.INFO: Acknowledgment sent {"connection_id":187018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:35:13] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:13] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:13] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:35:18] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:18] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:18] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:35:18] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:18] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:35:18] local.INFO: IMEI packet received {"connection_id":187019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":187019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:35:19] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:19] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:19] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:19] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:35:19] 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-19 19:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:35:19] 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-19 19:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:35:19] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:35:19] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:35:23] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:23] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:35:23] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:35:23] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:23] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:23] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:23] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:35:23] 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-19 19:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:35:24] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:35:24] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:35:24] local.INFO: TCP Data received {"connection_id":187019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:24] local.INFO: Processing buffer {"connection_id":187019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:35:24] local.INFO: Packet analysis {"connection_id":187019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:24] local.INFO: Extracted packet for processing {"connection_id":187019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:35: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-19 19:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:35:24] 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-19 19:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:35: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-19 19:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:35:24] 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-19 19:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":187019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:35:24] local.INFO: GPS data processed {"connection_id":187019,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:35:24] local.INFO: Acknowledgment sent {"connection_id":187019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:35:55] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:55] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:35:55] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:55] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:35: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-19 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:35: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-19 19:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:35:55] 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-19 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:35:55] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:35:55] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:36:08] local.INFO: TCP Data received {"connection_id":189762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:08] local.INFO: Processing buffer {"connection_id":189762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:08] local.INFO: IMEI packet received {"connection_id":189762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":189762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:36:13] local.INFO: TCP Data received {"connection_id":189762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:13] local.INFO: Processing buffer {"connection_id":189762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:36:13] local.INFO: IMEI packet received {"connection_id":189762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":189762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:36:15] local.INFO: TCP Data received {"connection_id":189762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:15] local.INFO: Processing buffer {"connection_id":189762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:15] local.INFO: Packet analysis {"connection_id":189762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:15] local.INFO: Extracted packet for processing {"connection_id":189762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:36:15] 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-19 19:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36: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-19 19:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":189762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:36:15] local.INFO: GPS data processed {"connection_id":189762,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:36:15] local.INFO: Acknowledgment sent {"connection_id":189762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:36:17] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:17] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:17] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:36:19] local.INFO: TCP Data received {"connection_id":189762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:19] local.INFO: Processing buffer {"connection_id":189762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:19] local.INFO: Packet analysis {"connection_id":189762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:19] local.INFO: Extracted packet for processing {"connection_id":189762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:36:19] 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-19 19:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36:19] 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-19 19:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":189762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:36:19] local.INFO: GPS data processed {"connection_id":189762,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:36:19] local.INFO: Acknowledgment sent {"connection_id":189762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:36:23] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:23] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:36:23] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:36:24] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:36:24] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f85da8012d196540071fefa8003a006129..."} 
[2026-09-19 19:36:24] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:24] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195495936001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826457000,"timestamp_ms":1789826457000,"timestamp_seconds":1789826457,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f85da8"} 
[2026-09-19 19:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:36:24] 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-19 19:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195495936001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195495936001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195495936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:36:24] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:36:24] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:36:50] local.INFO: TCP Data received {"connection_id":189762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:50] local.INFO: Processing buffer {"connection_id":189762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9f8c720012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:36:50] local.INFO: Packet analysis {"connection_id":189762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:50] local.INFO: Extracted packet for processing {"connection_id":189762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9f8"} 
[2026-09-19 19:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:36: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-19 19:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195502848001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36: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-19 19:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789826484000,"timestamp_ms":1789826484000,"timestamp_seconds":1789826484,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9f8c720"} 
[2026-09-19 19:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:36:50] 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-19 19:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 19:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:36: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-19 19:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:36:50] 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-19 19:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195502848001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195502848001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:36:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195502848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":189762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:36:50] local.INFO: GPS data processed {"connection_id":189762,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:36:50] local.INFO: Acknowledgment sent {"connection_id":189762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:36:55] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:36:55] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:36:55] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:36:55] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:36:55] 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-19 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:36:55] 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-19 19:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:36:55] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:36:55] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:37:08] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:08] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:08] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:37:13] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:13] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:37:13] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:37:15] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:15] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:15] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:37:15] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37: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-19 19:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 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-19 19:37:15] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:37: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-19 19:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:37:15] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:37:15] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:37:17] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:17] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:17] local.INFO: IMEI packet received {"connection_id":187020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":187020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:37:23] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:23] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:37:23] local.INFO: IMEI packet received {"connection_id":187020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":187020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:37:24] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:24] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:24] local.INFO: Packet analysis {"connection_id":187020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:37:24] local.INFO: Extracted packet for processing {"connection_id":187020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:37:24] 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-19 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:37:24] 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-19 19:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":187020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:37:24] local.INFO: GPS data processed {"connection_id":187020,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:37:24] local.INFO: Acknowledgment sent {"connection_id":187020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:37:46] local.INFO: TCP Data received {"connection_id":188463,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:46] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:37:46] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:37:46] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37: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-19 19:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 19: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-19 19:37:46] 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-19 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:37: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-19 19: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-19 19: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-19 19:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:37: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-19 19:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:37:46] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:37:46] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:37:55] local.INFO: TCP Data received {"connection_id":187020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:55] local.INFO: Processing buffer {"connection_id":187020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:37:55] local.INFO: Packet analysis {"connection_id":187020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:37:55] local.INFO: Extracted packet for processing {"connection_id":187020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:37:55] 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-19 19:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:37:55] 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-19 19:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":187020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:37:55] local.INFO: GPS data processed {"connection_id":187020,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:37:55] local.INFO: Acknowledgment sent {"connection_id":187020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:38:08] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:08] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:08] local.INFO: IMEI packet received {"connection_id":189763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":189763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:38:13] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:13] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:38:13] local.INFO: IMEI packet received {"connection_id":189763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":189763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:38:15] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:15] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:15] local.INFO: Packet analysis {"connection_id":189763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:38:15] local.INFO: Extracted packet for processing {"connection_id":189763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38: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-19 19:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 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-19 19:38:15] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:38:15] 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-19 19:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":189763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:38:15] local.INFO: GPS data processed {"connection_id":189763,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:38:15] local.INFO: Acknowledgment sent {"connection_id":189763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:38:23] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:23] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:23] local.INFO: IMEI packet received {"connection_id":187021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":187021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:38:28] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:28] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:38:28] local.INFO: IMEI packet received {"connection_id":187021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":187021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:38:28] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:28] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:28] local.INFO: Packet analysis {"connection_id":187021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:38:28] local.INFO: Extracted packet for processing {"connection_id":187021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:38:28] 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-19 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:38:28] 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-19 19:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":187021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:38:29] local.INFO: GPS data processed {"connection_id":187021,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:38:29] local.INFO: Acknowledgment sent {"connection_id":187021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:38:33] local.INFO: TCP Data received {"connection_id":187021,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:33] local.INFO: Processing buffer {"connection_id":187021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:38:33] local.INFO: Packet analysis {"connection_id":187021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:38:33] local.INFO: Extracted packet for processing {"connection_id":187021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 19:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 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-19 19:38: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-19 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":118,"data_length":795,"current_offset":136} 
[2026-09-19 19: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-19 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-19 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-19 19:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:38: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-19 19:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":187021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:38:33] local.INFO: GPS data processed {"connection_id":187021,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:38:33] local.INFO: Acknowledgment sent {"connection_id":187021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:38:47] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:47] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:38:47] local.INFO: Packet analysis {"connection_id":189763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:38:47] local.INFO: Extracted packet for processing {"connection_id":189763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 19: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-19 19:38:47] 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-19 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:38:47] 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-19 19:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":189763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:38:47] local.INFO: GPS data processed {"connection_id":189763,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:38:47] local.INFO: Acknowledgment sent {"connection_id":189763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:39:08] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:08] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:08] local.INFO: IMEI packet received {"connection_id":187154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":187154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:39:14] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:14] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:39:14] local.INFO: IMEI packet received {"connection_id":187154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":187154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:39:15] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:15] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:15] local.INFO: Packet analysis {"connection_id":187154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:39:15] local.INFO: Extracted packet for processing {"connection_id":187154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39: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-19 19:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 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-19 19:39:15] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:39: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-19 19:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":187154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:39:15] local.INFO: GPS data processed {"connection_id":187154,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:39:15] local.INFO: Acknowledgment sent {"connection_id":187154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:39:18] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:18] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:18] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:39:23] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:23] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:39:23] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:39:23] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:23] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:23] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:39:23] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:39:23] 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-19 19:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:39:23] 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-19 19:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:39:24] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:39:24] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:39:47] local.INFO: TCP Data received {"connection_id":187154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:47] local.INFO: Processing buffer {"connection_id":187154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:39:47] local.INFO: Packet analysis {"connection_id":187154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:39:47] local.INFO: Extracted packet for processing {"connection_id":187154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39: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-19 19:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 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-19 19:39:47] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:39: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-19 19:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":187154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:39:47] local.INFO: GPS data processed {"connection_id":187154,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:39:47] local.INFO: Acknowledgment sent {"connection_id":187154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:39:55] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:55] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:39:55] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:39:55] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19: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-19 19:39:55] 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-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:39:55] 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-19 19:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:39:55] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:39:55] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:40:13] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:13] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:13] local.INFO: IMEI packet received {"connection_id":189764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":189764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:40:18] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:18] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:18] local.INFO: IMEI packet received {"connection_id":189765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":189765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:40:18] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:18] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:40:18] local.INFO: IMEI packet received {"connection_id":189764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":189764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:40:19] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:19] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:19] local.INFO: Packet analysis {"connection_id":189764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:40:19] local.INFO: Extracted packet for processing {"connection_id":189764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 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-19 19:40:19] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 19:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:40:19] 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-19 19:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":189764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:40:19] local.INFO: GPS data processed {"connection_id":189764,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:40:19] local.INFO: Acknowledgment sent {"connection_id":189764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:40:23] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:23] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:40:23] local.INFO: IMEI packet received {"connection_id":189765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":189765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:40:23] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:23] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:23] local.INFO: Packet analysis {"connection_id":189765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:40:23] local.INFO: Extracted packet for processing {"connection_id":189765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:40:23] 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-19 19:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:40:23] 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-19 19:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":189765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:40:24] local.INFO: GPS data processed {"connection_id":189765,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:40:24] local.INFO: Acknowledgment sent {"connection_id":189765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:40:24] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:24] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:40:24] local.INFO: Packet analysis {"connection_id":189764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:40:24] local.INFO: Extracted packet for processing {"connection_id":189764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 19:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:40:24] 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-19 19:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:40:24] 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-19 19:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:40:24] 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-19 19:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":189764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:40:24] local.INFO: GPS data processed {"connection_id":189764,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:40:24] local.INFO: Acknowledgment sent {"connection_id":189764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:40:55] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:55] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:40:55] local.INFO: Packet analysis {"connection_id":189765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:40:55] local.INFO: Extracted packet for processing {"connection_id":189765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:40: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-19 19:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:40:55] 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-19 19:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:40: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-19 19:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:40:55] 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-19 19:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":189765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:40:55] local.INFO: GPS data processed {"connection_id":189765,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:40:55] local.INFO: Acknowledgment sent {"connection_id":189765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:41:08] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:08] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:08] local.INFO: IMEI packet received {"connection_id":187022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":187022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:41:13] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:13] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:41:13] local.INFO: IMEI packet received {"connection_id":187022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":187022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:41:14] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:14] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:14] local.INFO: Packet analysis {"connection_id":187022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:41:14] local.INFO: Extracted packet for processing {"connection_id":187022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41: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-19 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 19:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:41: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-19 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":187022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:41:14] local.INFO: GPS data processed {"connection_id":187022,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:41:14] local.INFO: Acknowledgment sent {"connection_id":187022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:41:18] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:18] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:18] local.INFO: IMEI packet received {"connection_id":187156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":187156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:41:23] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:23] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:41:23] local.INFO: IMEI packet received {"connection_id":187156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":187156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:41:23] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:41:23] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fcf570012d196540071fefa8003a00612b..."} 
[2026-09-19 19:41:23] local.INFO: Packet analysis {"connection_id":187156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:41:23] local.INFO: Extracted packet for processing {"connection_id":187156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fc"} 
[2026-09-19 19:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195572992001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789826758000,"timestamp_ms":1789826758000,"timestamp_seconds":1789826758,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fcf570"} 
[2026-09-19 19:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:41:23] 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-19 19:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:41:23] 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-19 19:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195572992001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195572992001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195572992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":187156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:41:24] local.INFO: GPS data processed {"connection_id":187156,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:41:24] local.INFO: Acknowledgment sent {"connection_id":187156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:41:46] local.INFO: TCP Data received {"connection_id":187022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:46] local.INFO: Processing buffer {"connection_id":187022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0b9fd5ee8012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:41:46] local.INFO: Packet analysis {"connection_id":187022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:41:46] local.INFO: Extracted packet for processing {"connection_id":187022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0b9fd"} 
[2026-09-19 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195579904001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789826785000,"timestamp_ms":1789826785000,"timestamp_seconds":1789826785,"priority":1,"record_length":96,"hex_timestamp":"000001a0b9fd5ee8"} 
[2026-09-19 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:41:46] 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-19 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:41: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-19 19:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:41: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-19 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195579904001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195579904001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195579904001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":187022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:41:46] local.INFO: GPS data processed {"connection_id":187022,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:41:46] local.INFO: Acknowledgment sent {"connection_id":187022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:41:54] local.INFO: TCP Data received {"connection_id":187156,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:41:54] local.INFO: Processing buffer {"connection_id":187156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:41:54] local.INFO: Packet analysis {"connection_id":187156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:41:54] local.INFO: Extracted packet for processing {"connection_id":187156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:41:54] 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-19 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:41:54] 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-19 19:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:41:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":187156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:41:54] local.INFO: GPS data processed {"connection_id":187156,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:41:54] local.INFO: Acknowledgment sent {"connection_id":187156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:42:08] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:08] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:08] local.INFO: IMEI packet received {"connection_id":187023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":187023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:42:13] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:13] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:42:13] local.INFO: IMEI packet received {"connection_id":187023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:42:16] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:16] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:16] local.INFO: Packet analysis {"connection_id":187023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:16] local.INFO: Extracted packet for processing {"connection_id":187023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42: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-19 19:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:42:16] 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-19 19:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":187023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:42:16] local.INFO: GPS data processed {"connection_id":187023,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:42:16] local.INFO: Acknowledgment sent {"connection_id":187023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:42:17] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:17] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:17] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:42:23] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:23] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:42:23] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:42:23] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:23] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:23] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:23] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:42: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-19 19:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:42:23] 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-19 19:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:42:23] 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-19 19:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:42:24] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:42:24] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:42:48] local.INFO: TCP Data received {"connection_id":187023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:48] local.INFO: Processing buffer {"connection_id":187023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:42:48] local.INFO: Packet analysis {"connection_id":187023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:48] local.INFO: Extracted packet for processing {"connection_id":187023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:42: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-19 19:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42: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-19 19:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:42:48] 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-19 19:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:42: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-19 19:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:42: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-19 19:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":187023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:42:48] local.INFO: GPS data processed {"connection_id":187023,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:42:48] local.INFO: Acknowledgment sent {"connection_id":187023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:42:55] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:55] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:42:55] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:55] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:42:55] 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-19 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:42:55] 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-19 19:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:42:55] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:42:55] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:43:08] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:08] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:08] local.INFO: IMEI packet received {"connection_id":187025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":187025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:43:13] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:13] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:43:13] local.INFO: IMEI packet received {"connection_id":187025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:43:14] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:14] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:14] local.INFO: Packet analysis {"connection_id":187025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:14] local.INFO: Extracted packet for processing {"connection_id":187025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43: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-19 19:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19: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-19 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:43:14] 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-19 19:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":187025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:43:14] local.INFO: GPS data processed {"connection_id":187025,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:43:14] local.INFO: Acknowledgment sent {"connection_id":187025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:43:23] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:23] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:23] local.INFO: IMEI packet received {"connection_id":187026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":187026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:43:28] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:28] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:43:28] local.INFO: IMEI packet received {"connection_id":187026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":187026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:43:28] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:28] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:28] local.INFO: Packet analysis {"connection_id":187026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:28] local.INFO: Extracted packet for processing {"connection_id":187026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19: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-19 19:43:28] 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-19 19:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:43:28] 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-19 19:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":187026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:43:29] local.INFO: GPS data processed {"connection_id":187026,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:43:29] local.INFO: Acknowledgment sent {"connection_id":187026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:43:33] local.INFO: TCP Data received {"connection_id":187026,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:33] local.INFO: Processing buffer {"connection_id":187026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:43:33] local.INFO: Packet analysis {"connection_id":187026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:33] local.INFO: Extracted packet for processing {"connection_id":187026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43: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-19 19:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19: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-19 19:43: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-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:43: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-19 19: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-19 19: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-19 19:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:43: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-19 19:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:43:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":187026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:43:33] local.INFO: GPS data processed {"connection_id":187026,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:43:33] local.INFO: Acknowledgment sent {"connection_id":187026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:43:46] local.INFO: TCP Data received {"connection_id":187025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:46] local.INFO: Processing buffer {"connection_id":187025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:43:46] local.INFO: Packet analysis {"connection_id":187025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:46] local.INFO: Extracted packet for processing {"connection_id":187025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:43: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-19 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:43:46] 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-19 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:43: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-19 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":187025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:43:46] local.INFO: GPS data processed {"connection_id":187025,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:43:46] local.INFO: Acknowledgment sent {"connection_id":187025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:44:13] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:13] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:13] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:44:18] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:18] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:18] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:44:18] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:18] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:44:18] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:44:20] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:20] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:20] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:20] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:44:20] 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-19 19:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:44:20] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:44:20] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:44:23] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:23] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:44:23] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:44:24] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:24] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:24] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:24] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:44: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-19 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:44:24] 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-19 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:44: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-19 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:44:24] 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-19 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:44:24] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:44:24] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:44:24] local.INFO: TCP Data received {"connection_id":188465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:24] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:44:24] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:24] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:44: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-19 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:44:24] 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-19 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:44: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-19 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:44:24] 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-19 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:44:24] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:44:24] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:44:55] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:55] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:44:55] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:55] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19: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-19 19:44:55] 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-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:44:55] 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-19 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:44:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:44:55] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:44:55] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:45:08] local.INFO: TCP Data received {"connection_id":189766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:08] local.INFO: Processing buffer {"connection_id":189766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:08] local.INFO: IMEI packet received {"connection_id":189766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":189766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:45:13] local.INFO: TCP Data received {"connection_id":189766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:13] local.INFO: Processing buffer {"connection_id":189766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:45:13] local.INFO: IMEI packet received {"connection_id":189766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":189766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:45:14] local.INFO: TCP Data received {"connection_id":189766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:14] local.INFO: Processing buffer {"connection_id":189766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:14] local.INFO: Packet analysis {"connection_id":189766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:14] local.INFO: Extracted packet for processing {"connection_id":189766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45: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-19 19:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:45: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-19 19:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":189766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:45:14] local.INFO: GPS data processed {"connection_id":189766,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:45:14] local.INFO: Acknowledgment sent {"connection_id":189766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:45:18] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:18] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:18] local.INFO: IMEI packet received {"connection_id":189767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":189767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:45:23] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:23] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:45:23] local.INFO: IMEI packet received {"connection_id":189767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":189767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:45:23] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:23] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:23] local.INFO: Packet analysis {"connection_id":189767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:23] local.INFO: Extracted packet for processing {"connection_id":189767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:45:23] 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-19 19:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:45:23] 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-19 19:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":189767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:45:24] local.INFO: GPS data processed {"connection_id":189767,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:45:24] local.INFO: Acknowledgment sent {"connection_id":189767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:45:46] local.INFO: TCP Data received {"connection_id":189766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:46] local.INFO: Processing buffer {"connection_id":189766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:45:46] local.INFO: Packet analysis {"connection_id":189766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:46] local.INFO: Extracted packet for processing {"connection_id":189766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19: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-19 19:45:46] 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-19 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:45: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-19 19:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":189766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:45:46] local.INFO: GPS data processed {"connection_id":189766,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:45:46] local.INFO: Acknowledgment sent {"connection_id":189766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:45:55] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:55] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:45:55] local.INFO: Packet analysis {"connection_id":189767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:55] local.INFO: Extracted packet for processing {"connection_id":189767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:45:55] 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-19 19:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:45:55] 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-19 19:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":189767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:45:55] local.INFO: GPS data processed {"connection_id":189767,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:45:55] local.INFO: Acknowledgment sent {"connection_id":189767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:46:08] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:08] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:08] local.INFO: IMEI packet received {"connection_id":187158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":187158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:46:13] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:13] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:46:13] local.INFO: IMEI packet received {"connection_id":187158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:46:15] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:15] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:15] local.INFO: Packet analysis {"connection_id":187158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:15] local.INFO: Extracted packet for processing {"connection_id":187158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46: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-19 19:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19: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-19 19:46:15] 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-19 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:46: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-19 19:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":187158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:46:15] local.INFO: GPS data processed {"connection_id":187158,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:46:15] local.INFO: Acknowledgment sent {"connection_id":187158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:46:18] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:18] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:18] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:46:23] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:23] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:46:23] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:46:24] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:46:24] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba018d38012d196540071fefa8003a00612d..."} 
[2026-09-19 19:46:24] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:24] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195650048001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827059000,"timestamp_ms":1789827059000,"timestamp_seconds":1789827059,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba018d38"} 
[2026-09-19 19:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:46:24] 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-19 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:46:24] 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-19 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195650048001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195650048001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195650048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:46:24] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:46:24] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:46:47] local.INFO: TCP Data received {"connection_id":187158,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:47] local.INFO: Processing buffer {"connection_id":187158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba01f6b0012d34c14006aa41400008010e2e..."} 
[2026-09-19 19:46:47] local.INFO: Packet analysis {"connection_id":187158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:47] local.INFO: Extracted packet for processing {"connection_id":187158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba01"} 
[2026-09-19 19:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195656960001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46: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-19 19:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789827086000,"timestamp_ms":1789827086000,"timestamp_seconds":1789827086,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba01f6b0"} 
[2026-09-19 19: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-19 19:46:47] 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-19 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 19:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:46: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-19 19:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195656960001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195656960001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195656960001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":187158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:46:47] local.INFO: GPS data processed {"connection_id":187158,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:46:47] local.INFO: Acknowledgment sent {"connection_id":187158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:46:55] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:46:55] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:46:55] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:46:55] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:46:55] 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-19 19:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:46:55] 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-19 19:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:46:55] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:46:55] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:47:08] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:08] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:08] local.INFO: IMEI packet received {"connection_id":187159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":187159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:47:13] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:13] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:47:13] local.INFO: IMEI packet received {"connection_id":187159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":187159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:47:15] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:15] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:15] local.INFO: Packet analysis {"connection_id":187159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:15] local.INFO: Extracted packet for processing {"connection_id":187159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47: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-19 19:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:47:15] 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-19 19:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":187159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:47:15] local.INFO: GPS data processed {"connection_id":187159,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:47:15] local.INFO: Acknowledgment sent {"connection_id":187159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:47:17] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:17] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:17] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:47:23] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:23] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:47:23] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:47:23] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:23] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:23] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:23] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:47:23] 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-19 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:47:24] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:47:24] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:47:46] local.INFO: TCP Data received {"connection_id":187159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:46] local.INFO: Processing buffer {"connection_id":187159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:47:46] local.INFO: Packet analysis {"connection_id":187159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:46] local.INFO: Extracted packet for processing {"connection_id":187159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47: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-19 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:47: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-19 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:47: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-19 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":187159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:47:46] local.INFO: GPS data processed {"connection_id":187159,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:47:46] local.INFO: Acknowledgment sent {"connection_id":187159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:47:55] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:55] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:47:55] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:55] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:47:55] 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-19 19:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:47:55] 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-19 19:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:47:55] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:47:55] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:48:14] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:14] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:14] local.INFO: IMEI packet received {"connection_id":187160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":187160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:48:18] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:18] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:48:18] local.INFO: IMEI packet received {"connection_id":187160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":187160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:48:20] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:20] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:20] local.INFO: Packet analysis {"connection_id":187160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:20] local.INFO: Extracted packet for processing {"connection_id":187160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:48:20] 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-19 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:48:20] 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-19 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":187160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:48:20] local.INFO: GPS data processed {"connection_id":187160,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:48:20] local.INFO: Acknowledgment sent {"connection_id":187160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:48:23] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:23] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:23] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:48:25] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:25] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:48:25] local.INFO: Packet analysis {"connection_id":187160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:25] local.INFO: Extracted packet for processing {"connection_id":187160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:48:25] 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-19 19:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:48:25] 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-19 19:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":187160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:48:25] local.INFO: GPS data processed {"connection_id":187160,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:48:25] local.INFO: Acknowledgment sent {"connection_id":187160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:48:28] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:28] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:48:28] local.INFO: IMEI packet received {"connection_id":187027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":187027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:48:28] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:28] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:28] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:28] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:48:28] 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-19 19:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:48:29] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:48:29] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:48:33] local.INFO: TCP Data received {"connection_id":187027,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:33] local.INFO: Processing buffer {"connection_id":187027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:48:33] local.INFO: Packet analysis {"connection_id":187027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:33] local.INFO: Extracted packet for processing {"connection_id":187027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 19:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 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-19 19:48: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-19 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-19 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-19 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-19 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-19 19:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:48: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-19 19:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":187027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:48:33] local.INFO: GPS data processed {"connection_id":187027,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:48:33] local.INFO: Acknowledgment sent {"connection_id":187027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:48:51] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:51] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:51] local.INFO: IMEI packet received {"connection_id":189768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":189768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:48:56] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:56] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:48:56] local.INFO: IMEI packet received {"connection_id":189768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":189768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:48:57] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0ba08ccb0012d7e03c005d507c8000d00000e..."} 
[2026-09-19 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ba08ccb0012d7e03c005d507c8000d00000e..."} 
[2026-09-19 19:48:57] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ba08ccb0012d7e03c005d507c8000d00000e..."} 
[2026-09-19 19:48:57] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ba08"} 
[2026-09-19 19:48:57] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ba08"} 
[2026-09-19 19:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97847240,"longitude_deg":76.3233216,"latitude_deg":9.784724,"altitude":13,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d507c8","is_valid_coordinates":true} 
[2026-09-19 19:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 19:48:57] 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-19 19:48:57] 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-19 19:48:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:48:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 19:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 19:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 19:48:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 19:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 19:48:57] local.ERROR: GPS data processing failed {"connection_id":189768,"error":"No valid data to process"} 
[2026-09-19 19:48:57] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 19:49:08] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:08] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:08] local.INFO: IMEI packet received {"connection_id":189769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":189769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:49:13] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:13] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:49:13] local.INFO: IMEI packet received {"connection_id":189769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":189769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:49:15] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:15] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:15] local.INFO: Packet analysis {"connection_id":189769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:15] local.INFO: Extracted packet for processing {"connection_id":189769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49: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-19 19:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:49: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-19 19:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":189769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:49:15] local.INFO: GPS data processed {"connection_id":189769,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:49:15] local.INFO: Acknowledgment sent {"connection_id":189769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:49:18] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:18] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:18] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:49:23] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:23] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:49:23] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:49:23] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:23] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:23] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:23] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:49:23] 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-19 19:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:49:24] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:49:24] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:49:27] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0ba08efd8012d7e040005d50810000e00110f..."} 
[2026-09-19 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ba08efd8012d7e040005d50810000e00110f..."} 
[2026-09-19 19:49:27] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ba08efd8012d7e040005d50810000e00110f..."} 
[2026-09-19 19:49:27] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ba08"} 
[2026-09-19 19:49:27] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ba08"} 
[2026-09-19 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763233280,"raw_latitude":97847312,"longitude_deg":76.323328,"latitude_deg":9.7847312,"altitude":14,"angle":17,"satellites":15,"speed":1,"hex_longitude":"2d7e0400","hex_latitude":"05d50810","is_valid_coordinates":true} 
[2026-09-19 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 19:49:27] 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-19 19:49:27] 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-19 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 19:49:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 19:49:27] local.ERROR: GPS data processing failed {"connection_id":189768,"error":"No valid data to process"} 
[2026-09-19 19:49:27] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 19:49:47] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:47] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:49:47] local.INFO: Packet analysis {"connection_id":189769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:47] local.INFO: Extracted packet for processing {"connection_id":189769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19: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-19 19:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:49:47] 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-19 19:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:49:47] local.INFO: GPS data processed {"connection_id":189769,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:49:47] local.INFO: Acknowledgment sent {"connection_id":189769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:49:55] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:55] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:49:55] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:55] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:49:55] 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-19 19:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:49:55] 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-19 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:49:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:49:55] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:49:55] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:49:59] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0ba090f18012d7e03c005d50978000b000511..."} 
[2026-09-19 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ba090f18012d7e03c005d50978000b000511..."} 
[2026-09-19 19:49:59] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ba090f18012d7e03c005d50978000b000511..."} 
[2026-09-19 19:49:59] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:49:59] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97847672,"longitude_deg":76.3233216,"latitude_deg":9.7847672,"altitude":11,"angle":5,"satellites":17,"speed":1,"hex_longitude":"2d7e03c0","hex_latitude":"05d50978","is_valid_coordinates":true} 
[2026-09-19 19:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-19 19:49:59] 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-19 19:49:59] 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-19 19:49:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:49:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 19:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 19:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 19:49:59] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 19:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 19:49:59] local.ERROR: GPS data processing failed {"connection_id":189768,"error":"No valid data to process"} 
[2026-09-19 19:49:59] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 19:50:08] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:08] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:08] local.INFO: IMEI packet received {"connection_id":187028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":187028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:50:13] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:13] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:50:13] local.INFO: IMEI packet received {"connection_id":187028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":187028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:50:15] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:15] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:15] local.INFO: Packet analysis {"connection_id":187028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:15] local.INFO: Extracted packet for processing {"connection_id":187028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50: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-19 19:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:50:15] 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-19 19:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":187028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:50:15] local.INFO: GPS data processed {"connection_id":187028,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:50:15] local.INFO: Acknowledgment sent {"connection_id":187028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:50:18] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:18] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:18] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:50:23] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:23] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:50:23] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:50:24] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:24] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:24] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:24] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:50:24] 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-19 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:50:24] 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-19 19:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:50:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:50:24] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:50:24] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:50:30] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0ba092688012d7e040005d50ae0000b001211..."} 
[2026-09-19 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ba092688012d7e040005d50ae0000b001211..."} 
[2026-09-19 19:50:30] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ba092688012d7e040005d50ae0000b001211..."} 
[2026-09-19 19:50:30] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:50:30] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763233280,"raw_latitude":97848032,"longitude_deg":76.323328,"latitude_deg":9.7848032,"altitude":11,"angle":18,"satellites":17,"speed":2,"hex_longitude":"2d7e0400","hex_latitude":"05d50ae0","is_valid_coordinates":true} 
[2026-09-19 19: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":93,"current_offset":40} 
[2026-09-19 19:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:50:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 19:50:30] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 19:50:30] local.ERROR: GPS data processing failed {"connection_id":189768,"error":"No valid data to process"} 
[2026-09-19 19:50:30] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 19:50:48] local.INFO: TCP Data received {"connection_id":187028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:48] local.INFO: Processing buffer {"connection_id":187028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:50:48] local.INFO: Packet analysis {"connection_id":187028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:48] local.INFO: Extracted packet for processing {"connection_id":187028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19: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-19 19:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:50: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-19 19: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-19 19: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-19 19:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":187028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":187028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":187028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:50: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-19 19:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":187028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:50:48] local.INFO: GPS data processed {"connection_id":187028,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:50:48] local.INFO: Acknowledgment sent {"connection_id":187028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:50:55] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:55] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:50:55] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:55] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:50:55] 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-19 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:50:55] 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-19 19:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:50:55] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:50:55] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:51:02] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0ba0941e0012d7e044005d50cc0000b000711..."} 
[2026-09-19 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":93,"packet_hex":"00000000000000518e01000001a0ba0941e0012d7e044005d50cc0000b000711..."} 
[2026-09-19 19:51:02] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0ba0941e0012d7e044005d50cc0000b000711..."} 
[2026-09-19 19:51:02] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:51:02] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0ba09"} 
[2026-09-19 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":97848512,"longitude_deg":76.3233344,"latitude_deg":9.7848512,"altitude":11,"angle":7,"satellites":17,"speed":1,"hex_longitude":"2d7e0440","hex_latitude":"05d50cc0","is_valid_coordinates":true} 
[2026-09-19 19: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":93,"current_offset":40} 
[2026-09-19 19:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 19:51:02] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 19:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 19:51:02] local.ERROR: GPS data processing failed {"connection_id":189768,"error":"No valid data to process"} 
[2026-09-19 19:51:02] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 19:51:08] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:08] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:08] local.INFO: IMEI packet received {"connection_id":187162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":187162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:51:13] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:13] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:51:13] local.INFO: IMEI packet received {"connection_id":187162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:51:15] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:15] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:15] local.INFO: Packet analysis {"connection_id":187162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:15] local.INFO: Extracted packet for processing {"connection_id":187162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51: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-19 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:51: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-19 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":187162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:51:15] local.INFO: GPS data processed {"connection_id":187162,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:51:15] local.INFO: Acknowledgment sent {"connection_id":187162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:51:18] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:18] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:18] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:51:23] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:23] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:51:23] local.INFO: IMEI packet received {"connection_id":187029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":187029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:51:23] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:23] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba062500012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:23] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:23] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195727104001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827360000,"timestamp_ms":1789827360000,"timestamp_seconds":1789827360,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba062500"} 
[2026-09-19 19:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:51:23] 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-19 19:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195727104001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195727104001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:51:24] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:51:24] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:51:33] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":171,"data_hex":"000000000000009f8e02000001a0ba095180012d7e040005d50d88000b016311..."} 
[2026-09-19 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":171,"packet_hex":"000000000000009f8e02000001a0ba095180012d7e040005d50d88000b016311..."} 
[2026-09-19 19:51:33] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a0ba095180012d7e040005d50d88000b016311..."} 
[2026-09-19 19:51:33] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a0ba09"} 
[2026-09-19 19:51:33] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a0ba09"} 
[2026-09-19 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763233280,"raw_latitude":97848712,"longitude_deg":76.323328,"latitude_deg":9.7848712,"altitude":11,"angle":355,"satellites":17,"speed":1,"hex_longitude":"2d7e0400","hex_latitude":"05d50d88","is_valid_coordinates":true} 
[2026-09-19 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":171,"current_offset":40} 
[2026-09-19 19:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195856384001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075046421954560,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080453142479159296,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:33] 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-19 19:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789827568000,"timestamp_ms":1789827568000,"timestamp_seconds":1789827568,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba095180"} 
[2026-09-19 19:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 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":49,"n8_eight_byte":145,"data_length":171,"current_offset":136} 
[2026-09-19 19:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:51:33] 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-19 19:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:51:33] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-19 19:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195856384001,"66":12613,"111":206,"85":15104,"24":1,"16":135075046421954560,"45":9080453142479159296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195856384001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:51:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075046421954560,"km_value":135075046421954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080453142479159296,"description":"Unknown IO ID 45"} 
[2026-09-19 19:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195856384001,"power":12613,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9080453142479159296}} 
[2026-09-19 19:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:51:33] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:51:33] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:51:47] local.INFO: TCP Data received {"connection_id":187162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:47] local.INFO: Processing buffer {"connection_id":187162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba068e78012d34c14006aa41400008010e2c..."} 
[2026-09-19 19:51:47] local.INFO: Packet analysis {"connection_id":187162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:47] local.INFO: Extracted packet for processing {"connection_id":187162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba06"} 
[2026-09-19 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195734016001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51: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-19 19:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789827387000,"timestamp_ms":1789827387000,"timestamp_seconds":1789827387,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba068e78"} 
[2026-09-19 19: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-19 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:51: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-19 19:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195734016001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195734016001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195734016001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":187162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:51:47] local.INFO: GPS data processed {"connection_id":187162,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:51:47] local.INFO: Acknowledgment sent {"connection_id":187162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:51:55] local.INFO: TCP Data received {"connection_id":187029,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:55] local.INFO: Processing buffer {"connection_id":187029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:51:55] local.INFO: Packet analysis {"connection_id":187029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:51:55] local.INFO: Extracted packet for processing {"connection_id":187029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:51: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-19 19:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:51:55] 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-19 19:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:51: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-19 19:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:51:55] 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-19 19:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:51:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":187029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:51:55] local.INFO: GPS data processed {"connection_id":187029,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:51:55] local.INFO: Acknowledgment sent {"connection_id":187029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:03] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":249,"data_hex":"00000000000000ed8e03000001a0ba099fa0012d7e048005d50e28000a001315..."} 
[2026-09-19 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a0ba099fa0012d7e048005d50e28000a001315..."} 
[2026-09-19 19:52:03] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a0ba099fa0012d7e048005d50e28000a001315..."} 
[2026-09-19 19:52:03] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a0ba09"} 
[2026-09-19 19:52:03] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a0ba09"} 
[2026-09-19 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763233408,"raw_latitude":97848872,"longitude_deg":76.3233408,"latitude_deg":9.7848872,"altitude":10,"angle":19,"satellites":21,"speed":1,"hex_longitude":"2d7e0480","hex_latitude":"05d50e28","is_valid_coordinates":true} 
[2026-09-19 19: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":249,"current_offset":40} 
[2026-09-19 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195857408001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075059306856448,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080382773735032832,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:03] 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-19 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789827588000,"timestamp_ms":1789827588000,"timestamp_seconds":1789827588,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba099fa0"} 
[2026-09-19 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19: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":49,"n8_eight_byte":69,"data_length":249,"current_offset":136} 
[2026-09-19 19:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-19 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195857408001,"66":12798,"111":206,"85":15104,"24":1,"16":135075059306856448,"45":9080382773735032832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195857408001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075059306856448,"km_value":135075059306856.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080382773735032832,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195857408001,"power":12798,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9080382773735032832}} 
[2026-09-19 19:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:04] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:04] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:08] local.INFO: TCP Data received {"connection_id":187030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:08] local.INFO: Processing buffer {"connection_id":187030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:08] local.INFO: IMEI packet received {"connection_id":187030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:52:13] local.INFO: TCP Data received {"connection_id":187030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:13] local.INFO: Processing buffer {"connection_id":187030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:52:13] local.INFO: IMEI packet received {"connection_id":187030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:52:14] local.INFO: TCP Data received {"connection_id":187030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:14] local.INFO: Processing buffer {"connection_id":187030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:14] local.INFO: Packet analysis {"connection_id":187030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:52:14] local.INFO: Extracted packet for processing {"connection_id":187030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52: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-19 19:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:52:14] 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-19 19:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":187030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:14] local.INFO: GPS data processed {"connection_id":187030,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:14] local.INFO: Acknowledgment sent {"connection_id":187030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:17] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:17] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:17] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:52:23] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:23] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:52:23] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:52:23] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:23] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:23] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:52:23] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:24] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:24] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:34] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":327,"data_hex":"000000000000013b8e04000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:52:34] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:52:34] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0ba09"} 
[2026-09-19 19:52:34] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0ba09"} 
[2026-09-19 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":97848968,"longitude_deg":76.3233472,"latitude_deg":9.7848968,"altitude":10,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d7e04c0","hex_latitude":"05d50e88","is_valid_coordinates":true} 
[2026-09-19 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-09-19 19:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195862528001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080523511223429120,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:34] 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-19 19:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789827598000,"timestamp_ms":1789827598000,"timestamp_seconds":1789827598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba09c6b0"} 
[2026-09-19 19:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":327,"current_offset":136} 
[2026-09-19 19:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:34] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-09-19 19:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195862528001,"66":13656,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080523511223429120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195862528001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080523511223429120,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195862528001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080523511223429120}} 
[2026-09-19 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:35] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:35] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:46] local.INFO: TCP Data received {"connection_id":187030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:46] local.INFO: Processing buffer {"connection_id":187030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:52:46] local.INFO: Packet analysis {"connection_id":187030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:52:46] local.INFO: Extracted packet for processing {"connection_id":187030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52: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-19 19:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:46] 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-19 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:52: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-19 19:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":187030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:46] local.INFO: GPS data processed {"connection_id":187030,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:46] local.INFO: Acknowledgment sent {"connection_id":187030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:52:55] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:55] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:52:55] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:52:55] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:52:55] 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-19 19:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:52:55] 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-19 19:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:52:55] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:52:55] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:05] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":405,"data_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":405,"packet_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:05] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:05] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:53:05] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":97848968,"longitude_deg":76.3233472,"latitude_deg":9.7848968,"altitude":10,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d7e04c0","hex_latitude":"05d50e88","is_valid_coordinates":true} 
[2026-09-19 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-09-19 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789827598000,"timestamp_ms":1789827598000,"timestamp_seconds":1789827598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba09c6b0"} 
[2026-09-19 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":405,"current_offset":136} 
[2026-09-19 19:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-19 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":13656,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:06] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:06] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:08] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:08] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:08] local.INFO: IMEI packet received {"connection_id":187031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":187031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:53:13] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:13] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:53:13] local.INFO: IMEI packet received {"connection_id":187031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:53:14] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:14] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:14] local.INFO: Packet analysis {"connection_id":187031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:53:14] local.INFO: Extracted packet for processing {"connection_id":187031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53: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-19 19:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:53:14] 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-19 19:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":187031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:15] local.INFO: GPS data processed {"connection_id":187031,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:15] local.INFO: Acknowledgment sent {"connection_id":187031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:23] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:23] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:23] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:53:28] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:28] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:53:28] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:53:29] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:29] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:29] local.INFO: Packet analysis {"connection_id":188469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:53:29] local.INFO: Extracted packet for processing {"connection_id":188469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:53:29] 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-19 19:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:53:29] 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-19 19:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":188469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:29] local.INFO: GPS data processed {"connection_id":188469,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:29] local.INFO: Acknowledgment sent {"connection_id":188469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:33] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:33] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:53:33] local.INFO: Packet analysis {"connection_id":188469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:53:33] local.INFO: Extracted packet for processing {"connection_id":188469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53: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-19 19:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19: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-19 19:53: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-19 19:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:53: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-19 19:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":188469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:33] local.INFO: GPS data processed {"connection_id":188469,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:33] local.INFO: Acknowledgment sent {"connection_id":188469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:37] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":405,"data_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":405,"packet_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:37] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:53:37] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:53:37] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":97848968,"longitude_deg":76.3233472,"latitude_deg":9.7848968,"altitude":10,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d7e04c0","hex_latitude":"05d50e88","is_valid_coordinates":true} 
[2026-09-19 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-09-19 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:37] 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-19 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789827598000,"timestamp_ms":1789827598000,"timestamp_seconds":1789827598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba09c6b0"} 
[2026-09-19 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":53,"n8_eight_byte":88,"data_length":405,"current_offset":136} 
[2026-09-19 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-19 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":13656,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:37] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:37] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:53:46] local.INFO: TCP Data received {"connection_id":187031,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:46] local.INFO: Processing buffer {"connection_id":187031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:53:46] local.INFO: Packet analysis {"connection_id":187031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:53:46] local.INFO: Extracted packet for processing {"connection_id":187031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:53: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-19 19:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:53:46] 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-19 19:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:53: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-19 19:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:53: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-19 19:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":187031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:53:46] local.INFO: GPS data processed {"connection_id":187031,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:53:46] local.INFO: Acknowledgment sent {"connection_id":187031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:08] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":405,"data_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":405,"packet_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:08] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:08] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:54:08] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":97848968,"longitude_deg":76.3233472,"latitude_deg":9.7848968,"altitude":10,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d7e04c0","hex_latitude":"05d50e88","is_valid_coordinates":true} 
[2026-09-19 19:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-09-19 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:08] 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-19 19:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789827598000,"timestamp_ms":1789827598000,"timestamp_seconds":1789827598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba09c6b0"} 
[2026-09-19 19:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":53,"n8_eight_byte":88,"data_length":405,"current_offset":136} 
[2026-09-19 19:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:54:08] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-19 19:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":13656,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:08] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:08] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:08] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:08] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:08] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:54:13] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:13] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:54:13] local.INFO: IMEI packet received {"connection_id":187032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":187032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:54:14] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:14] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:14] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:54:14] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54: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-19 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:54: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-19 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:14] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:14] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:18] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:18] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:18] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:54:23] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:23] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:54:23] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:54:23] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:23] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:23] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:54:23] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19: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-19 19:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:54:23] local.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-19 19:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:24] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:24] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:39] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.109.136.7","data_length":405,"data_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":405,"packet_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:39] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0ba09c6b0012d7e04c005d50e88000a001317..."} 
[2026-09-19 19:54:39] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:54:39] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0ba09"} 
[2026-09-19 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763233472,"raw_latitude":97848968,"longitude_deg":76.3233472,"latitude_deg":9.7848968,"altitude":10,"angle":19,"satellites":23,"speed":0,"hex_longitude":"2d7e04c0","hex_latitude":"05d50e88","is_valid_coordinates":true} 
[2026-09-19 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-09-19 19:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789827598000,"timestamp_ms":1789827598000,"timestamp_seconds":1789827598,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba09c6b0"} 
[2026-09-19 19:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":53,"n8_eight_byte":88,"data_length":405,"current_offset":136} 
[2026-09-19 19:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:54:39] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-19 19:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":13656,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:39] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:39] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:46] local.INFO: TCP Data received {"connection_id":187032,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:46] local.INFO: Processing buffer {"connection_id":187032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:54:46] local.INFO: Packet analysis {"connection_id":187032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:54:46] local.INFO: Extracted packet for processing {"connection_id":187032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19: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-19 19:54:46] 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-19 19: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:54: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-19 19: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-19 19: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-19 19:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:54: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-19 19:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":187032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:46] local.INFO: GPS data processed {"connection_id":187032,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:46] local.INFO: Acknowledgment sent {"connection_id":187032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:54:55] local.INFO: TCP Data received {"connection_id":188470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:55] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:54:55] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:54:55] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:54:55] 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-19 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:54:55] local.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-19 19:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:54:55] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:54:55] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:08] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:08] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:08] local.INFO: IMEI packet received {"connection_id":188471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":188471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:55:12] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:12] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:12] local.INFO: IMEI packet received {"connection_id":187033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":187033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:55:13] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:13] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:55:13] local.INFO: IMEI packet received {"connection_id":188471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:55:15] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:15] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:15] local.INFO: Packet analysis {"connection_id":188471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:55:15] local.INFO: Extracted packet for processing {"connection_id":188471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55: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-19 19:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19: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-19 19:55:15] 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-19 19:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:55: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-19 19:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":188471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:15] local.INFO: GPS data processed {"connection_id":188471,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:15] local.INFO: Acknowledgment sent {"connection_id":188471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:16] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:16] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:55:16] local.INFO: IMEI packet received {"connection_id":187033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":187033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:55:16] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:16] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:16] local.INFO: Packet analysis {"connection_id":187033,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:55:16] local.INFO: Extracted packet for processing {"connection_id":187033,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55: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-19 19:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:55:16] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187033,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":187033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:17] local.INFO: GPS data processed {"connection_id":187033,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:17] local.INFO: Acknowledgment sent {"connection_id":187033,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:18] local.INFO: TCP Data received {"connection_id":189770,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:18] local.INFO: Processing buffer {"connection_id":189770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:18] local.INFO: IMEI packet received {"connection_id":189770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":189770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:55:23] local.INFO: TCP Data received {"connection_id":189770,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:23] local.INFO: Processing buffer {"connection_id":189770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:55:23] local.INFO: IMEI packet received {"connection_id":189770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":189770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:55:23] local.INFO: TCP Data received {"connection_id":189770,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:23] local.INFO: Processing buffer {"connection_id":189770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:23] local.INFO: Packet analysis {"connection_id":189770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:55:23] local.INFO: Extracted packet for processing {"connection_id":189770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:55: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-19 19:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:55: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-19 19:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:55:23] 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-19 19:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":189770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:24] local.INFO: GPS data processed {"connection_id":189770,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:24] local.INFO: Acknowledgment sent {"connection_id":189770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:46] local.INFO: TCP Data received {"connection_id":188471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:46] local.INFO: Processing buffer {"connection_id":188471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:55:46] local.INFO: Packet analysis {"connection_id":188471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:55:46] local.INFO: Extracted packet for processing {"connection_id":188471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 19:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 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-19 19:55:46] 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-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:55: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-19 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-19 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-19 19:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 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-19 19:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":188471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:46] local.INFO: GPS data processed {"connection_id":188471,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:46] local.INFO: Acknowledgment sent {"connection_id":188471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:51] local.INFO: TCP Data received {"connection_id":187033,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187033,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:51] local.INFO: Processing buffer {"connection_id":187033,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:55:51] local.INFO: Packet analysis {"connection_id":187033,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:55:51] local.INFO: Extracted packet for processing {"connection_id":187033,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:55: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":483,"current_offset":40} 
[2026-09-19 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55: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-19 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:55: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":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187033,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":187033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:51] local.INFO: GPS data processed {"connection_id":187033,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:51] local.INFO: Acknowledgment sent {"connection_id":187033,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:55:55] local.INFO: TCP Data received {"connection_id":189770,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:55] local.INFO: Processing buffer {"connection_id":189770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:55:55] local.INFO: Packet analysis {"connection_id":189770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:55:55] local.INFO: Extracted packet for processing {"connection_id":189770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:55:55] 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-19 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:55:55] 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-19 19:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:55:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":189770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:55:55] local.INFO: GPS data processed {"connection_id":189770,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:55:55] local.INFO: Acknowledgment sent {"connection_id":189770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:08] local.INFO: TCP Data received {"connection_id":187034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:08] local.INFO: Processing buffer {"connection_id":187034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:08] local.INFO: IMEI packet received {"connection_id":187034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":187034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:56:14] local.INFO: TCP Data received {"connection_id":187034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:14] local.INFO: Processing buffer {"connection_id":187034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:56:14] local.INFO: IMEI packet received {"connection_id":187034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":187034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:56:15] local.INFO: TCP Data received {"connection_id":187034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:15] local.INFO: Processing buffer {"connection_id":187034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:15] local.INFO: Packet analysis {"connection_id":187034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:56:15] local.INFO: Extracted packet for processing {"connection_id":187034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56: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-19 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:15] 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-19 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:56: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-19 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":187034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:15] local.INFO: GPS data processed {"connection_id":187034,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:15] local.INFO: Acknowledgment sent {"connection_id":187034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:16] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:16] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:16] local.INFO: IMEI packet received {"connection_id":187164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":187164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:56:18] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:18] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:18] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:56:21] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:21] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:56:21] local.INFO: IMEI packet received {"connection_id":187164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":187164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:56:22] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:22] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:22] local.INFO: Packet analysis {"connection_id":187164,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:56:22] local.INFO: Extracted packet for processing {"connection_id":187164,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:22] 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-19 19:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:22] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":187164,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":187164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":187164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:56:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":187164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:22] local.INFO: GPS data processed {"connection_id":187164,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:22] local.INFO: Acknowledgment sent {"connection_id":187164,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:23] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:23] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:56:23] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:56:23] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:56:23] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0abcc8012d196540071fefa8003a00612c..."} 
[2026-09-19 19:56:23] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:56:23] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0a"} 
[2026-09-19 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:56: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-19 19:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195804160001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827661000,"timestamp_ms":1789827661000,"timestamp_seconds":1789827661,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0abcc8"} 
[2026-09-19 19:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 19:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:56: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-19 19:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:56:23] 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-19 19:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195804160001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195804160001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195804160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:24] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:24] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:26] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:26] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:56:26] local.INFO: Packet analysis {"connection_id":187164,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:56:26] local.INFO: Extracted packet for processing {"connection_id":187164,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:26] 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-19 19:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:26] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187164,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":187164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:26] local.INFO: GPS data processed {"connection_id":187164,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:26] local.INFO: Acknowledgment sent {"connection_id":187164,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:47] local.INFO: TCP Data received {"connection_id":187034,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:47] local.INFO: Processing buffer {"connection_id":187034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0b2640012d34c14006aa41400008010e2b..."} 
[2026-09-19 19:56:47] local.INFO: Packet analysis {"connection_id":187034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:56:47] local.INFO: Extracted packet for processing {"connection_id":187034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0b"} 
[2026-09-19 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195811072001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56: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-19 19:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789827688000,"timestamp_ms":1789827688000,"timestamp_seconds":1789827688,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0b2640"} 
[2026-09-19 19:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:47] 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-19 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 19:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:56: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-19 19:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195811072001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195811072001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195811072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":187034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:47] local.INFO: GPS data processed {"connection_id":187034,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:47] local.INFO: Acknowledgment sent {"connection_id":187034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:56:55] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:56:55] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:56:55] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:56:55] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:56: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-19 19:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:56:55] 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-19 19:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 19:56: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-19 19:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:56:55] 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-19 19:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:56:55] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:56:55] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:11] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:11] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:11] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:57:14] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:14] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:14] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:57:16] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:16] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:57:16] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:57:17] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:17] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:17] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:57:17] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19: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":483,"current_offset":40} 
[2026-09-19 19:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19: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":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:17] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:17] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:17] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:17] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:17] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:17] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:57:18] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:18] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:57:18] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:57:20] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:20] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:20] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:20] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:57:20] 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-19 19:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:57:20] 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-19 19:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:20] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:20] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:23] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:23] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:57:23] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:57:23] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:23] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:23] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:23] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:23] 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-19 19:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 19:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:57:23] 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-19 19:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:24] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:24] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:26] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:26] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:57:26] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:26] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:26] 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-19 19:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:57:26] 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-19 19:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:57:26] 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-19 19:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:57:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:26] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:26] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:51] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:51] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:57:51] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:57:51] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57: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-19 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:51] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:51] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:57:54] local.INFO: TCP Data received {"connection_id":188474,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:54] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:57:54] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:54] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:57:54] 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-19 19:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:57:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:57:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:57:55] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:57:55] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:08] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:08] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:08] local.INFO: IMEI packet received {"connection_id":187166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":187166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:58:11] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:11] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:11] local.INFO: IMEI packet received {"connection_id":187167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":187167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:58:13] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:13] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:58:13] local.INFO: IMEI packet received {"connection_id":187166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":187166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:58:15] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:15] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:15] local.INFO: Packet analysis {"connection_id":187166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:15] local.INFO: Extracted packet for processing {"connection_id":187166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19: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-19 19:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:58:15] 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-19 19:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:58:15] 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-19 19:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":187166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:15] local.INFO: GPS data processed {"connection_id":187166,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:15] local.INFO: Acknowledgment sent {"connection_id":187166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:16] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:16] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:58:16] local.INFO: IMEI packet received {"connection_id":187167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":187167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:58:16] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:16] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:16] local.INFO: Packet analysis {"connection_id":187167,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:58:16] local.INFO: Extracted packet for processing {"connection_id":187167,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58: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-19 19:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:58:16] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":187167,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":187167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":187167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":187167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:16] local.INFO: GPS data processed {"connection_id":187167,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:16] local.INFO: Acknowledgment sent {"connection_id":187167,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:23] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:23] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:23] local.INFO: IMEI packet received {"connection_id":187168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":187168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:58:28] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:28] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:58:28] local.INFO: IMEI packet received {"connection_id":187168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":187168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:58:28] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:28] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:28] local.INFO: Packet analysis {"connection_id":187168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:28] local.INFO: Extracted packet for processing {"connection_id":187168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:58:28] 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-19 19:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":187168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:29] local.INFO: GPS data processed {"connection_id":187168,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:29] local.INFO: Acknowledgment sent {"connection_id":187168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:33] local.INFO: TCP Data received {"connection_id":187168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:33] local.INFO: Processing buffer {"connection_id":187168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:58:33] local.INFO: Packet analysis {"connection_id":187168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:33] local.INFO: Extracted packet for processing {"connection_id":187168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 19:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 19:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 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-19 19:58: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-19 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":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:58: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-19 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-19 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-19 19:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:58: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-19 19:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":187168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:33] local.INFO: GPS data processed {"connection_id":187168,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:33] local.INFO: Acknowledgment sent {"connection_id":187168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:47] local.INFO: TCP Data received {"connection_id":187166,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:47] local.INFO: Processing buffer {"connection_id":187166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:58:47] local.INFO: Packet analysis {"connection_id":187166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:47] local.INFO: Extracted packet for processing {"connection_id":187166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19: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-19 19:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58: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-19 19:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19: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-19 19:58:47] 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-19 19: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19: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-19 19: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-19 19:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:58: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-19 19:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":187166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:47] local.INFO: GPS data processed {"connection_id":187166,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:47] local.INFO: Acknowledgment sent {"connection_id":187166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:58:51] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:51] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:58:51] local.INFO: Packet analysis {"connection_id":187167,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:58:51] local.INFO: Extracted packet for processing {"connection_id":187167,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:58: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-19 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187167,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:58:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":187167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:58:51] local.INFO: GPS data processed {"connection_id":187167,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:58:51] local.INFO: Acknowledgment sent {"connection_id":187167,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:08] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:08] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:08] local.INFO: IMEI packet received {"connection_id":189771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 19:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":189771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:59:11] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:11] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:11] local.INFO: IMEI packet received {"connection_id":189772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 19:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":189772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:59:13] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:13] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 19:59:13] local.INFO: IMEI packet received {"connection_id":189771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 19:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":189771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:59:15] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:15] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:15] local.INFO: Packet analysis {"connection_id":189771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:15] local.INFO: Extracted packet for processing {"connection_id":189771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59: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-19 19:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:15] 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-19 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:59:15] 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-19 19:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":189771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:15] local.INFO: GPS data processed {"connection_id":189771,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:15] local.INFO: Acknowledgment sent {"connection_id":189771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:16] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:16] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 19:59:16] local.INFO: IMEI packet received {"connection_id":189772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 19:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":189772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:59:16] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:16] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:16] local.INFO: Packet analysis {"connection_id":189772,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:59:16] local.INFO: Extracted packet for processing {"connection_id":189772,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59: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-19 19:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:16] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189772,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":189772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:16] local.INFO: GPS data processed {"connection_id":189772,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:16] local.INFO: Acknowledgment sent {"connection_id":189772,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:18] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:18] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:18] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 19:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 19:59:23] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:23] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 19:59:23] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 19:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 19:59:24] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:24] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:24] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:24] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:24] 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-19 19:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:59:24] 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-19 19:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:24] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:24] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:46] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:46] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 19:59:46] local.INFO: Packet analysis {"connection_id":189771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:46] local.INFO: Extracted packet for processing {"connection_id":189771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 19:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59: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-19 19:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 19:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:46] 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-19 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 19:59: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-19 19:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 19:59: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-19 19:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 19:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 19:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 19:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 19:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 19:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 19:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 19:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 19:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":189771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:46] local.INFO: GPS data processed {"connection_id":189771,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:46] local.INFO: Acknowledgment sent {"connection_id":189771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:51] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.109.136.7","data_length":483,"data_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:51] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0ba0e5e78012d7e02c005d50ee80004001325..."} 
[2026-09-19 19:59:51] local.INFO: Packet analysis {"connection_id":189772,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:59:51] local.INFO: Extracted packet for processing {"connection_id":189772,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0ba0e"} 
[2026-09-19 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849064,"longitude_deg":76.323296,"latitude_deg":9.7849064,"altitude":4,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d50ee8","is_valid_coordinates":true} 
[2026-09-19 19:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-19 19:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195865088001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135075067896791040,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593879967631360,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59: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-19 19:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789827899000,"timestamp_ms":1789827899000,"timestamp_seconds":1789827899,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0e5e78"} 
[2026-09-19 19:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 19:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":483,"current_offset":136} 
[2026-09-19 19:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 19:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 19:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:51] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189772,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-19 19:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-19 19:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 19:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-19 19:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-19 19:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195865088001,"66":12809,"111":206,"85":15104,"24":0,"16":135075067896791040,"45":9080593879967631360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-19 19:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-19 19:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-19 19:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195865088001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-19 19:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-19 19:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135075067896791040,"km_value":135075067896791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593879967631360,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195865088001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080593879967631360}} 
[2026-09-19 19:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":189772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:51] local.INFO: GPS data processed {"connection_id":189772,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:51] local.INFO: Acknowledgment sent {"connection_id":189772,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 19:59:55] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:55] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 19:59:55] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:55] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 19:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 19:59: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-19 19:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 19:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 19:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 19:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 19:59:55] 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-19 19:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 19:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 19:59: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-19 19:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 19:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 19:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 19:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 19:59:55] 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-19 19:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 19:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 19:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 19:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 19:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 19:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 19:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 19:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 19:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 19:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 19:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 19:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 19:59:55] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-19 19:59:55] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:00:14] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:14] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:14] local.INFO: IMEI packet received {"connection_id":187035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":187035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:00:18] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:18] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:18] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:00:18] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:18] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:00:18] local.INFO: IMEI packet received {"connection_id":187035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":187035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:00:20] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:20] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:20] local.INFO: Packet analysis {"connection_id":187035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:20] local.INFO: Extracted packet for processing {"connection_id":187035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 20:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:00:20] 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-19 20:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:00:20] 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-19 20:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":187035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:00:20] local.INFO: GPS data processed {"connection_id":187035,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:00:20] local.INFO: Acknowledgment sent {"connection_id":187035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:00:23] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:23] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:00:23] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:00:23] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:23] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:23] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:23] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 20:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:00:23] 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-19 20:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:00:23] 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-19 20:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:00:23] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:00:23] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:00:24] local.INFO: TCP Data received {"connection_id":187035,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:24] local.INFO: Processing buffer {"connection_id":187035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:00:24] local.INFO: Packet analysis {"connection_id":187035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:24] local.INFO: Extracted packet for processing {"connection_id":187035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 20:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:00:24] 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-19 20:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:00:24] 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-19 20:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:00:24] 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-19 20:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":187035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:00:24] local.INFO: GPS data processed {"connection_id":187035,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:00:24] local.INFO: Acknowledgment sent {"connection_id":187035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:00:55] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:55] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:00:55] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:55] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:00: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-19 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 20:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:00:55] 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-19 20:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:00: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-19 20:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:00:55] 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-19 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:00:55] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:00:55] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:01:09] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:09] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:09] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:01:13] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:13] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:01:13] local.INFO: IMEI packet received {"connection_id":187036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":187036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:01:14] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:14] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:14] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:14] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01: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-19 20:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 20: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-19 20:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:01: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-19 20:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:01:14] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:01:14] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:01:18] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:18] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:18] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:01:23] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:23] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:01:23] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:01:23] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:01:23] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0f5490012d196540071fefa8003a00612f..."} 
[2026-09-19 20:01:23] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:23] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":47,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195881216001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789827962000,"timestamp_ms":1789827962000,"timestamp_seconds":1789827962,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0f5490"} 
[2026-09-19 20:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:01:23] 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-19 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:01:23] 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-19 20:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195881216001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195881216001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195881216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:01:24] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:01:24] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:01:46] local.INFO: TCP Data received {"connection_id":187036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:46] local.INFO: Processing buffer {"connection_id":187036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba0fbe08012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:01:46] local.INFO: Packet analysis {"connection_id":187036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:46] local.INFO: Extracted packet for processing {"connection_id":187036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba0f"} 
[2026-09-19 20:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195888128001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01: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-19 20:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789827989000,"timestamp_ms":1789827989000,"timestamp_seconds":1789827989,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba0fbe08"} 
[2026-09-19 20:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:01:46] 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-19 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:01: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-19 20:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:01: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-19 20:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195888128001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195888128001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195888128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":187036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:01:46] local.INFO: GPS data processed {"connection_id":187036,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:01:46] local.INFO: Acknowledgment sent {"connection_id":187036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:01:55] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:01:55] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:01:55] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:01:55] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:01:55] 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-19 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:01:55] 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-19 20:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:01:55] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:01:55] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:02:08] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:08] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:08] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:02:09] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:09] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:09] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:02:13] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:13] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:02:13] local.INFO: IMEI packet received {"connection_id":187037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":187037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:02:15] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:15] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:15] local.INFO: Packet analysis {"connection_id":187037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:02:15] local.INFO: Extracted packet for processing {"connection_id":187037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02: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-19 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20: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-19 20:02:15] 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-19 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:02:15] 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-19 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":187037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:02:15] local.INFO: GPS data processed {"connection_id":187037,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:02:15] local.INFO: Acknowledgment sent {"connection_id":187037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:02:17] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:17] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:17] local.INFO: IMEI packet received {"connection_id":188477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:02:23] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:23] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:02:23] local.INFO: IMEI packet received {"connection_id":188477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":188477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:02:23] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:23] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:23] local.INFO: Packet analysis {"connection_id":188477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:02:23] local.INFO: Extracted packet for processing {"connection_id":188477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:02: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-19 20:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:02:23] 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-19 20:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:02: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-19 20:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":188477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:02:23] local.INFO: GPS data processed {"connection_id":188477,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:02:23] local.INFO: Acknowledgment sent {"connection_id":188477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:02:46] local.INFO: TCP Data received {"connection_id":187037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:46] local.INFO: Processing buffer {"connection_id":187037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:02:46] local.INFO: Packet analysis {"connection_id":187037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:02:46] local.INFO: Extracted packet for processing {"connection_id":187037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02: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-19 20:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20: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-19 20:02:46] 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-19 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:02: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-19 20: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-19 20: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-19 20:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:02: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-19 20:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":187037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:02:46] local.INFO: GPS data processed {"connection_id":187037,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:02:46] local.INFO: Acknowledgment sent {"connection_id":187037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:02:55] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:55] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:02:55] local.INFO: Packet analysis {"connection_id":188477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:02:55] local.INFO: Extracted packet for processing {"connection_id":188477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:02: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-19 20:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:02:55] 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-19 20:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:02: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-19 20:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:02:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":188477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:02:55] local.INFO: GPS data processed {"connection_id":188477,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:02:55] local.INFO: Acknowledgment sent {"connection_id":188477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:03:08] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:08] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:08] local.INFO: IMEI packet received {"connection_id":187170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":187170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:03:14] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:14] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:03:14] local.INFO: IMEI packet received {"connection_id":187170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":187170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:03:15] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:15] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:15] local.INFO: Packet analysis {"connection_id":187170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:03:15] local.INFO: Extracted packet for processing {"connection_id":187170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03: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-19 20:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:03:15] 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-19 20:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:03: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-19 20:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":187170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:03:15] local.INFO: GPS data processed {"connection_id":187170,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:03:15] local.INFO: Acknowledgment sent {"connection_id":187170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:03:17] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:17] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:17] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:03:23] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:23] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:03:23] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:03:23] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:23] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:23] local.INFO: Packet analysis {"connection_id":187171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:03:23] local.INFO: Extracted packet for processing {"connection_id":187171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:03: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-19 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:03:23] 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-19 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:03: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-19 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:03:23] 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-19 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":187171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:03:24] local.INFO: GPS data processed {"connection_id":187171,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:03:24] local.INFO: Acknowledgment sent {"connection_id":187171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:03:47] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:47] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:03:47] local.INFO: Packet analysis {"connection_id":187170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:03:47] local.INFO: Extracted packet for processing {"connection_id":187170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03: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-19 20:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20: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-19 20:03:47] 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-19 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:03: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-19 20:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":187170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:03:47] local.INFO: GPS data processed {"connection_id":187170,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:03:47] local.INFO: Acknowledgment sent {"connection_id":187170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:03:55] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:55] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:03:55] local.INFO: Packet analysis {"connection_id":187171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:03:55] local.INFO: Extracted packet for processing {"connection_id":187171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:03: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-19 20:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:03:55] 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-19 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:03: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-19 20:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:03:55] 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-19 20:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:03:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":187171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:03:55] local.INFO: GPS data processed {"connection_id":187171,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:03:55] local.INFO: Acknowledgment sent {"connection_id":187171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:04:08] local.INFO: TCP Data received {"connection_id":189773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:08] local.INFO: Processing buffer {"connection_id":189773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:08] local.INFO: IMEI packet received {"connection_id":189773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":189773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:04:13] local.INFO: TCP Data received {"connection_id":189773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:13] local.INFO: Processing buffer {"connection_id":189773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:04:13] local.INFO: IMEI packet received {"connection_id":189773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":189773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:04:14] local.INFO: TCP Data received {"connection_id":189773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:14] local.INFO: Processing buffer {"connection_id":189773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:14] local.INFO: Packet analysis {"connection_id":189773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:04:14] local.INFO: Extracted packet for processing {"connection_id":189773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04: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-19 20:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:04:14] 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-19 20:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":189773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:04:14] local.INFO: GPS data processed {"connection_id":189773,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:04:14] local.INFO: Acknowledgment sent {"connection_id":189773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:04:22] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:22] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:22] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:04:28] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:28] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:04:28] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:04:28] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:04:28] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:04:28] local.INFO: Packet analysis {"connection_id":188478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:04:28] local.INFO: Extracted packet for processing {"connection_id":188478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":188478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:04:29] local.INFO: GPS data processed {"connection_id":188478,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:04:29] local.INFO: Acknowledgment sent {"connection_id":188478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:04:46] local.INFO: TCP Data received {"connection_id":189773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:46] local.INFO: Processing buffer {"connection_id":189773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:04:46] local.INFO: Packet analysis {"connection_id":189773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:04:46] local.INFO: Extracted packet for processing {"connection_id":189773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:04: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-19 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20: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-19 20:04:46] 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-19 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:04: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-19 20: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-19 20: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-19 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:04: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-19 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":189773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:04:46] local.INFO: GPS data processed {"connection_id":189773,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:04:46] local.INFO: Acknowledgment sent {"connection_id":189773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:05:00] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:00] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:00] local.INFO: Packet analysis {"connection_id":188478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:00] local.INFO: Extracted packet for processing {"connection_id":188478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:05:00] 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-19 20:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:00] 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-19 20:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:05:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":188478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:05:00] local.INFO: GPS data processed {"connection_id":188478,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:05:00] local.INFO: Acknowledgment sent {"connection_id":188478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:05:13] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:13] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:13] local.INFO: IMEI packet received {"connection_id":189774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":189774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:05:17] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:17] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:17] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:05:18] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:18] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:05:18] local.INFO: IMEI packet received {"connection_id":189774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":189774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:05:20] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:20] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:20] local.INFO: Packet analysis {"connection_id":189774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:05:20] local.INFO: Extracted packet for processing {"connection_id":189774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20: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-19 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:05:20] 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-19 20:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":189774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:05:20] local.INFO: GPS data processed {"connection_id":189774,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:05:20] local.INFO: Acknowledgment sent {"connection_id":189774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:05:23] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:23] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:05:23] local.INFO: IMEI packet received {"connection_id":187038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":187038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:05:23] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:23] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:23] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:23] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:05:23] 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-19 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:23] 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-19 20:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:05:23] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:05:23] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:05:25] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:25] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:05:25] local.INFO: Packet analysis {"connection_id":189774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:05:25] local.INFO: Extracted packet for processing {"connection_id":189774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:05: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-19 20:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:05:25] 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-19 20:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:05:25] 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-19 20:05: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-19 20:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:05:25] 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-19 20:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":189774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:05:25] local.INFO: GPS data processed {"connection_id":189774,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:05:25] local.INFO: Acknowledgment sent {"connection_id":189774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:05:54] local.INFO: TCP Data received {"connection_id":187038,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:54] local.INFO: Processing buffer {"connection_id":187038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:05:54] local.INFO: Packet analysis {"connection_id":187038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:54] local.INFO: Extracted packet for processing {"connection_id":187038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:05:54] 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-19 20:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:05:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":187038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:05:55] local.INFO: GPS data processed {"connection_id":187038,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:05:55] local.INFO: Acknowledgment sent {"connection_id":187038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:06:08] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:08] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:08] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:06:14] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:14] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:06:14] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:06:21] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:21] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:21] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:06:21] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:06:21] 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-19 20:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:06:21] 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-19 20:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:06:21] 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-19 20:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:06:21] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:06:21] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:06:23] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:23] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:23] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:06:28] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:28] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:06:28] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:06:28] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:28] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:28] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:06:28] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 20:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:06:28] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:06:28] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:06:33] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:33] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba13ec58012d196540071fefa8003a00612d..."} 
[2026-09-19 20:06:33] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:06:33] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba13"} 
[2026-09-19 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195958272001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789828263000,"timestamp_ms":1789828263000,"timestamp_seconds":1789828263,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba13ec58"} 
[2026-09-19 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-19 20:06: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-19 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-19 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-19 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-19 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-19 20:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:06: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-19 20:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195958272001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195958272001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:06:33] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:06:33] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:06:53] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:53] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1455d0012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:06:53] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:06:53] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba14"} 
[2026-09-19 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458195965184001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:06: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-19 20:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789828290000,"timestamp_ms":1789828290000,"timestamp_seconds":1789828290,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1455d0"} 
[2026-09-19 20:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:06:53] 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-19 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:06:53] 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-19 20:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:06:53] 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-19 20:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458195965184001,"66":25615,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458195965184001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458195965184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:06:53] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:06:53] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:07:08] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:08] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:08] local.INFO: IMEI packet received {"connection_id":189775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":189775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:07:09] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:09] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:09] local.INFO: IMEI packet received {"connection_id":189775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":189775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:07:13] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:13] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:07:13] local.INFO: IMEI packet received {"connection_id":189775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":189775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:07:15] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:15] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:15] local.INFO: Packet analysis {"connection_id":189775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:15] local.INFO: Extracted packet for processing {"connection_id":189775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07: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-19 20:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:07: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-19 20:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":189775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:07:15] local.INFO: GPS data processed {"connection_id":189775,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:07:15] local.INFO: Acknowledgment sent {"connection_id":189775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:07:18] local.INFO: TCP Data received {"connection_id":189776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:18] local.INFO: Processing buffer {"connection_id":189776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:18] local.INFO: IMEI packet received {"connection_id":189776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":189776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:07:23] local.INFO: TCP Data received {"connection_id":189776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:23] local.INFO: Processing buffer {"connection_id":189776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:07:23] local.INFO: IMEI packet received {"connection_id":189776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":189776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:07:23] local.INFO: TCP Data received {"connection_id":189776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:23] local.INFO: Processing buffer {"connection_id":189776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:23] local.INFO: Packet analysis {"connection_id":189776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:23] local.INFO: Extracted packet for processing {"connection_id":189776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:07:23] 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-19 20:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":189776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:07:24] local.INFO: GPS data processed {"connection_id":189776,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:07:24] local.INFO: Acknowledgment sent {"connection_id":189776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:07:46] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:46] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:07:46] local.INFO: Packet analysis {"connection_id":189775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:46] local.INFO: Extracted packet for processing {"connection_id":189775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07: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-19 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20: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-19 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:07: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-19 20: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-19 20: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-19 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:07: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-19 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":189775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:07:46] local.INFO: GPS data processed {"connection_id":189775,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:07:46] local.INFO: Acknowledgment sent {"connection_id":189775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:07:55] local.INFO: TCP Data received {"connection_id":189776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:55] local.INFO: Processing buffer {"connection_id":189776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:07:55] local.INFO: Packet analysis {"connection_id":189776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:55] local.INFO: Extracted packet for processing {"connection_id":189776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:07:55] 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-19 20:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:07:55] 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-19 20:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":189776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:07:55] local.INFO: GPS data processed {"connection_id":189776,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:07:55] local.INFO: Acknowledgment sent {"connection_id":189776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:08:08] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:08] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:08] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:08:13] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:13] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:08:13] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:08:14] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:14] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:14] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:14] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08: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-19 20:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:08:14] 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-19 20:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:08:14] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:08:14] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:08:18] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:18] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:18] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:08:23] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:23] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:08:23] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:08:24] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:24] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:24] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:24] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:08:24] 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-19 20:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:08:24] 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-19 20:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:08:24] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:08:24] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:08:46] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:46] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:08:46] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:46] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 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-19 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:08: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-19 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-19 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-19 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:08: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-19 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:08:46] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:08:46] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:08:55] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:55] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:08:55] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:55] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:08:55] 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-19 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:08:55] 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-19 20:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:08:55] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:08:55] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:09:08] local.INFO: TCP Data received {"connection_id":189777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:08] local.INFO: Processing buffer {"connection_id":189777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:08] local.INFO: IMEI packet received {"connection_id":189777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":189777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:09:13] local.INFO: TCP Data received {"connection_id":189777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:13] local.INFO: Processing buffer {"connection_id":189777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:09:13] local.INFO: IMEI packet received {"connection_id":189777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":189777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:09:14] local.INFO: TCP Data received {"connection_id":189777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:14] local.INFO: Processing buffer {"connection_id":189777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:14] local.INFO: Packet analysis {"connection_id":189777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:14] local.INFO: Extracted packet for processing {"connection_id":189777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09: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-19 20:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:09:14] 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-19 20:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":189777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:09:14] local.INFO: GPS data processed {"connection_id":189777,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:09:14] local.INFO: Acknowledgment sent {"connection_id":189777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:09:17] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:17] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:17] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:09:23] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:23] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:09:23] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:09:23] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:23] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:23] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:23] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:09:23] 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-19 20:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:09:24] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:09:24] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:09:47] local.INFO: TCP Data received {"connection_id":189777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:47] local.INFO: Processing buffer {"connection_id":189777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:09:47] local.INFO: Packet analysis {"connection_id":189777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:47] local.INFO: Extracted packet for processing {"connection_id":189777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09: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-19 20:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:09:47] 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-19 20:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":189777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:09:47] local.INFO: GPS data processed {"connection_id":189777,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:09:47] local.INFO: Acknowledgment sent {"connection_id":189777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:09:55] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:55] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:09:55] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:55] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:09:55] 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-19 20:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:09:55] 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-19 20:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:09:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:09:55] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:09:55] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:10:13] local.INFO: TCP Data received {"connection_id":189778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:13] local.INFO: Processing buffer {"connection_id":189778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:13] local.INFO: IMEI packet received {"connection_id":189778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":189778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:10:17] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:17] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:17] local.INFO: IMEI packet received {"connection_id":188482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:10:19] local.INFO: TCP Data received {"connection_id":189778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:19] local.INFO: Processing buffer {"connection_id":189778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:10:19] local.INFO: IMEI packet received {"connection_id":189778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":189778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:10:21] local.INFO: TCP Data received {"connection_id":189778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:21] local.INFO: Processing buffer {"connection_id":189778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:21] local.INFO: Packet analysis {"connection_id":189778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:21] local.INFO: Extracted packet for processing {"connection_id":189778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:10:21] 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-19 20:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:10:21] 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-19 20:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":189778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:10:21] local.INFO: GPS data processed {"connection_id":189778,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:10:21] local.INFO: Acknowledgment sent {"connection_id":189778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:10:23] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:23] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:10:23] local.INFO: IMEI packet received {"connection_id":188482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":188482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:10:23] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:23] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:23] local.INFO: Packet analysis {"connection_id":188482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:23] local.INFO: Extracted packet for processing {"connection_id":188482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":188482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:10:23] local.INFO: GPS data processed {"connection_id":188482,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:10:23] local.INFO: Acknowledgment sent {"connection_id":188482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:10:24] local.INFO: TCP Data received {"connection_id":189778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:24] local.INFO: Processing buffer {"connection_id":189778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:10:24] local.INFO: Packet analysis {"connection_id":189778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:24] local.INFO: Extracted packet for processing {"connection_id":189778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20: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-19 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:10:24] 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-19 20: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-19 20: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-19 20:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:10:24] 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-19 20:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":189778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:10:24] local.INFO: GPS data processed {"connection_id":189778,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:10:24] local.INFO: Acknowledgment sent {"connection_id":189778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:10:55] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:55] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:10:55] local.INFO: Packet analysis {"connection_id":188482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:55] local.INFO: Extracted packet for processing {"connection_id":188482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20: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-19 20:10:55] 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-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20: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-19 20: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-19 20:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:10:55] 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-19 20:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":188482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:10:55] local.INFO: GPS data processed {"connection_id":188482,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:10:55] local.INFO: Acknowledgment sent {"connection_id":188482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:06] local.INFO: TCP Data received {"connection_id":187039,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:06] local.INFO: Processing buffer {"connection_id":187039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:06] local.INFO: IMEI packet received {"connection_id":187039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":187039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:11:08] local.INFO: TCP Data received {"connection_id":187039,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:08] local.INFO: Processing buffer {"connection_id":187039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:08] local.INFO: IMEI packet received {"connection_id":187039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":187039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:11:08] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:08] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:08] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:11:09] local.INFO: TCP Data received {"connection_id":187039,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:09] local.INFO: Processing buffer {"connection_id":187039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:11:09] local.INFO: IMEI packet received {"connection_id":187039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":187039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:11:12] local.INFO: TCP Data received {"connection_id":187039,"ip":"117.224.137.72","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1c4128012c6a6d4008c768c0003a001c28..."} 
[2026-09-19 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1c4128012c6a6d4008c768c0003a001c28..."} 
[2026-09-19 20:11:12] local.INFO: Processing buffer {"connection_id":187039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1c4128012c6a6d4008c768c0003a001c28..."} 
[2026-09-19 20:11:12] local.INFO: Packet analysis {"connection_id":187039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1c"} 
[2026-09-19 20:11:12] local.INFO: Extracted packet for processing {"connection_id":187039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1c"} 
[2026-09-19 20:11:12] local.INFO: GPS Element Parsed {"raw_longitude":745172288,"raw_latitude":147286208,"longitude_deg":74.5172288,"latitude_deg":14.7286208,"altitude":58,"angle":28,"satellites":40,"speed":32,"hex_longitude":"2c6a6d40","hex_latitude":"08c768c0","is_valid_coordinates":true} 
[2026-09-19 20:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196171776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1279715570614272,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7663719228604235776,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789828809000,"timestamp_ms":1789828809000,"timestamp_seconds":1789828809,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1c4128"} 
[2026-09-19 20:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:11: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-19 20:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 20:11:12] 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-19 20:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.137.72","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196171776001,"66":28104,"104":206,"9":55808,"24":32,"16":1279715570614272,"44":7663719228604235776},"client_ip":"117.224.137.72","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,44]} 
[2026-09-19 20:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196171776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-19 20:11:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1279715570614272,"km_value":1279715570614.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":7663719228604235776,"description":"Unknown IO ID 44"} 
[2026-09-19 20:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196171776001,"power":28104,"unknown_104":206,"unknown_9":55808,"ignition":32,"odometer":null,"unknown_44":7663719228604235776}} 
[2026-09-19 20:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":187039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:12] local.INFO: GPS data processed {"connection_id":187039,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:12] local.INFO: Acknowledgment sent {"connection_id":187039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:13] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:13] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:11:13] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:11:14] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:14] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:14] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:14] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20: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-19 20:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:11:14] 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-19 20:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:14] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:14] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:23] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:23] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:23] local.INFO: IMEI packet received {"connection_id":187174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":187174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:11:28] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:28] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:11:28] local.INFO: IMEI packet received {"connection_id":187174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":187174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:11:28] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:28] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:28] local.INFO: Packet analysis {"connection_id":187174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:28] local.INFO: Extracted packet for processing {"connection_id":187174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 20:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":187174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:28] local.INFO: GPS data processed {"connection_id":187174,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:28] local.INFO: Acknowledgment sent {"connection_id":187174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:33] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:33] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba188420012d196540071fefa8003a00612c..."} 
[2026-09-19 20:11:33] local.INFO: Packet analysis {"connection_id":187174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:33] local.INFO: Extracted packet for processing {"connection_id":187174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196035328001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789828564000,"timestamp_ms":1789828564000,"timestamp_seconds":1789828564,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba188420"} 
[2026-09-19 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-19 20:11: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-19 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":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:11: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-19 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-19 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-19 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:11: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-19 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196035328001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196035328001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":187174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:33] local.INFO: GPS data processed {"connection_id":187174,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:33] local.INFO: Acknowledgment sent {"connection_id":187174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:45] local.INFO: TCP Data received {"connection_id":187039,"ip":"117.224.137.72","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1c6838012c6a7ec008c78840003b001928..."} 
[2026-09-19 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1c6838012c6a7ec008c78840003b001928..."} 
[2026-09-19 20:11:45] local.INFO: Processing buffer {"connection_id":187039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1c6838012c6a7ec008c78840003b001928..."} 
[2026-09-19 20:11:45] local.INFO: Packet analysis {"connection_id":187039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1c"} 
[2026-09-19 20:11:45] local.INFO: Extracted packet for processing {"connection_id":187039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1c"} 
[2026-09-19 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":745176768,"raw_latitude":147294272,"longitude_deg":74.5176768,"latitude_deg":14.7294272,"altitude":59,"angle":25,"satellites":40,"speed":36,"hex_longitude":"2c6a7ec0","hex_latitude":"08c78840","is_valid_coordinates":true} 
[2026-09-19 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196175104001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1280157952245760,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7668856146931269632,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789828819000,"timestamp_ms":1789828819000,"timestamp_seconds":1789828819,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1c6838"} 
[2026-09-19 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-19 20:11: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-19 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.137.72","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196175104001,"66":27876,"104":206,"9":55808,"24":36,"16":1280157952245760,"44":7668856146931269632},"client_ip":"117.224.137.72","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,44]} 
[2026-09-19 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196175104001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-19 20:11:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1280157952245760,"km_value":1280157952245.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":7668856146931269632,"description":"Unknown IO ID 44"} 
[2026-09-19 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196175104001,"power":27876,"unknown_104":206,"unknown_9":55808,"ignition":36,"odometer":null,"unknown_44":7668856146931269632}} 
[2026-09-19 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":187039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:46] local.INFO: GPS data processed {"connection_id":187039,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:46] local.INFO: Acknowledgment sent {"connection_id":187039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:11:46] local.INFO: TCP Data received {"connection_id":188483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:46] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba18ed98012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:11:46] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:46] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba18"} 
[2026-09-19 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196042240001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828591000,"timestamp_ms":1789828591000,"timestamp_seconds":1789828591,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba18ed98"} 
[2026-09-19 20: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-19 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-19 20:11: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-19 20: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-19 20: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-19 20:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:11: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-19 20:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196042240001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196042240001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196042240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:11:46] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:11:46] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:09] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:09] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:09] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:12:10] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:10] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:10] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:12:13] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:13] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:12:13] local.INFO: IMEI packet received {"connection_id":187040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":187040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:12:15] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:15] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:15] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:15] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12: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-19 20:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12: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-19 20:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:15] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:15] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:15] local.INFO: TCP Data received {"connection_id":187175,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:15] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:15] local.INFO: IMEI packet received {"connection_id":187175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":187175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:12:18] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:18] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:18] local.INFO: IMEI packet received {"connection_id":189779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":189779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:12:18] local.INFO: TCP Data received {"connection_id":187175,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:18] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:18] local.INFO: IMEI packet received {"connection_id":187175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":187175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:12:19] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:19] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:19] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:19] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12:19] 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-19 20:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:19] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:19] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:22] local.INFO: TCP Data received {"connection_id":187175,"ip":"117.224.137.72","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:22] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:12:22] local.INFO: IMEI packet received {"connection_id":187175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":187175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:12:23] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:23] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:12:23] local.INFO: IMEI packet received {"connection_id":189779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":189779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:12:23] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:23] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:23] local.INFO: Packet analysis {"connection_id":189779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:23] local.INFO: Extracted packet for processing {"connection_id":189779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:23] 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-19 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:12:23] local.INFO: TCP Data received {"connection_id":187175,"ip":"117.224.137.72","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d6df0012c6aa1c008c87ca0002d001d25..."} 
[2026-09-19 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d6df0012c6aa1c008c87ca0002d001d25..."} 
[2026-09-19 20:12:23] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d6df0012c6aa1c008c87ca0002d001d25..."} 
[2026-09-19 20:12:23] local.INFO: Packet analysis {"connection_id":187175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:23] local.INFO: Extracted packet for processing {"connection_id":187175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":745185728,"raw_latitude":147356832,"longitude_deg":74.5185728,"latitude_deg":14.7356832,"altitude":45,"angle":29,"satellites":37,"speed":34,"hex_longitude":"2c6aa1c0","hex_latitude":"08c87ca0","is_valid_coordinates":true} 
[2026-09-19 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196192768001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1283349112946688,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7680678095969435648,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828886000,"timestamp_ms":1789828886000,"timestamp_seconds":1789828886,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d6df0"} 
[2026-09-19 20:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:23] 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-19 20:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.137.72","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196192768001,"66":27865,"105":206,"9":55808,"24":34,"16":1283349112946688,"44":7680678095969435648},"client_ip":"117.224.137.72","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,44]} 
[2026-09-19 20:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196192768001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1283349112946688,"km_value":1283349112946.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":7680678095969435648,"description":"Unknown IO ID 44"} 
[2026-09-19 20:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196192768001,"power":27865,"unknown_105":206,"unknown_9":55808,"ignition":34,"odometer":null,"unknown_44":7680678095969435648}} 
[2026-09-19 20:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":189779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:24] local.INFO: GPS data processed {"connection_id":189779,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:24] local.INFO: Acknowledgment sent {"connection_id":189779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":187175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:24] local.INFO: GPS data processed {"connection_id":187175,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:24] local.INFO: Acknowledgment sent {"connection_id":187175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:25] local.INFO: TCP Data received {"connection_id":187175,"ip":"117.224.137.72","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d9500012c6ab64008c89a60002e001f27..."} 
[2026-09-19 20:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d9500012c6ab64008c89a60002e001f27..."} 
[2026-09-19 20:12:25] local.INFO: Processing buffer {"connection_id":187175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d9500012c6ab64008c89a60002e001f27..."} 
[2026-09-19 20:12:25] local.INFO: Packet analysis {"connection_id":187175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:25] local.INFO: Extracted packet for processing {"connection_id":187175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:25] local.INFO: GPS Element Parsed {"raw_longitude":745190976,"raw_latitude":147364448,"longitude_deg":74.5190976,"latitude_deg":14.7364448,"altitude":46,"angle":31,"satellites":39,"speed":37,"hex_longitude":"2c6ab640","hex_latitude":"08c89a60","is_valid_coordinates":true} 
[2026-09-19 20:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196194816001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1283791494578176,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7683633583226658816,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789828896000,"timestamp_ms":1789828896000,"timestamp_seconds":1789828896,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d9500"} 
[2026-09-19 20:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 20:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":187175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":187175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":187175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.137.72","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196194816001,"66":27593,"105":206,"9":55808,"24":37,"16":1283791494578176,"44":7683633583226658816},"client_ip":"117.224.137.72","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,44]} 
[2026-09-19 20:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196194816001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-19 20:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1283791494578176,"km_value":1283791494578.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":7683633583226658816,"description":"Unknown IO ID 44"} 
[2026-09-19 20:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196194816001,"power":27593,"unknown_105":206,"unknown_9":55808,"ignition":37,"odometer":null,"unknown_44":7683633583226658816}} 
[2026-09-19 20:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":187175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:25] local.INFO: GPS data processed {"connection_id":187175,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:25] local.INFO: Acknowledgment sent {"connection_id":187175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:50] local.INFO: TCP Data received {"connection_id":187040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:50] local.INFO: Processing buffer {"connection_id":187040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:12:50] local.INFO: Packet analysis {"connection_id":187040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:50] local.INFO: Extracted packet for processing {"connection_id":187040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12: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-19 20:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:12: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-19 20:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":187040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:50] local.INFO: GPS data processed {"connection_id":187040,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:50] local.INFO: Acknowledgment sent {"connection_id":187040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:12:55] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:55] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:12:55] local.INFO: Packet analysis {"connection_id":189779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:55] local.INFO: Extracted packet for processing {"connection_id":189779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:12: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-19 20:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:12:55] 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-19 20:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:12: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-19 20:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":189779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:12:55] local.INFO: GPS data processed {"connection_id":189779,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:12:55] local.INFO: Acknowledgment sent {"connection_id":189779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:13:13] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:13] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:13] local.INFO: IMEI packet received {"connection_id":187176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:13:18] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:18] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:18] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:13:18] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:18] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:13:18] local.INFO: IMEI packet received {"connection_id":187176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":187176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:13:19] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:19] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:19] local.INFO: Packet analysis {"connection_id":187176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:19] local.INFO: Extracted packet for processing {"connection_id":187176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:13: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-19 20:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":187176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:13:19] local.INFO: GPS data processed {"connection_id":187176,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:13:19] local.INFO: Acknowledgment sent {"connection_id":187176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:13:23] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:23] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:13:23] local.INFO: IMEI packet received {"connection_id":187041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":187041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:13:23] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:23] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:23] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:23] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:13:23] 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-19 20:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:13:23] 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-19 20:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:13:23] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:13:23] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:13:24] local.INFO: TCP Data received {"connection_id":187176,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:24] local.INFO: Processing buffer {"connection_id":187176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:13:24] local.INFO: Packet analysis {"connection_id":187176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:24] local.INFO: Extracted packet for processing {"connection_id":187176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:13: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-19 20:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":187176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:13:24] local.INFO: GPS data processed {"connection_id":187176,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:13:24] local.INFO: Acknowledgment sent {"connection_id":187176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:13:54] local.INFO: TCP Data received {"connection_id":187041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:54] local.INFO: Processing buffer {"connection_id":187041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:13:54] local.INFO: Packet analysis {"connection_id":187041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:54] local.INFO: Extracted packet for processing {"connection_id":187041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:13:54] 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-19 20:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:13:54] 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-19 20:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:13:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":187041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:13:55] local.INFO: GPS data processed {"connection_id":187041,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:13:55] local.INFO: Acknowledgment sent {"connection_id":187041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:14:08] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:08] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:08] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:14:13] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:13] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:14:13] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:14:14] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:14] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:14] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:14] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14: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-19 20:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14: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-19 20:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:14:14] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:14:14] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:14:17] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:17] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:17] local.INFO: IMEI packet received {"connection_id":187177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":187177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:14:19] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:19] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:19] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:19] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14:19] 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-19 20:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:14:19] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:14:19] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:14:23] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:23] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:14:23] local.INFO: IMEI packet received {"connection_id":187177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":187177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:14:23] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:23] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:23] local.INFO: Packet analysis {"connection_id":187177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:23] local.INFO: Extracted packet for processing {"connection_id":187177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20: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-19 20:14:23] 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-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20: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-19 20: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-19 20:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:14:23] 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-19 20:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":187177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:14:23] local.INFO: GPS data processed {"connection_id":187177,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:14:23] local.INFO: Acknowledgment sent {"connection_id":187177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:14:51] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:51] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:14:51] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:51] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14: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-19 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:14:51] 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-19 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:14:51] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:14:51] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:14:55] local.INFO: TCP Data received {"connection_id":187177,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:55] local.INFO: Processing buffer {"connection_id":187177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:14:55] local.INFO: Packet analysis {"connection_id":187177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:55] local.INFO: Extracted packet for processing {"connection_id":187177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:14: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-19 20:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:14:55] 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-19 20:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:14: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-19 20:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:14:55] 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-19 20:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:14:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":187177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:14:55] local.INFO: GPS data processed {"connection_id":187177,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:14:55] local.INFO: Acknowledgment sent {"connection_id":187177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:15:08] local.INFO: TCP Data received {"connection_id":189780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:08] local.INFO: Processing buffer {"connection_id":189780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:08] local.INFO: IMEI packet received {"connection_id":189780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":189780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:15:14] local.INFO: TCP Data received {"connection_id":189780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:14] local.INFO: Processing buffer {"connection_id":189780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:15:14] local.INFO: IMEI packet received {"connection_id":189780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":189780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:15:15] local.INFO: TCP Data received {"connection_id":189780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:15] local.INFO: Processing buffer {"connection_id":189780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:15] local.INFO: Packet analysis {"connection_id":189780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:15] local.INFO: Extracted packet for processing {"connection_id":189780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15: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-19 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:15: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-19 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":189780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:15:15] local.INFO: GPS data processed {"connection_id":189780,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:15:15] local.INFO: Acknowledgment sent {"connection_id":189780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:15:17] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:17] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:17] local.INFO: IMEI packet received {"connection_id":189781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":189781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:15:23] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:23] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:15:23] local.INFO: IMEI packet received {"connection_id":189781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":189781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:15:23] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:23] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:23] local.INFO: Packet analysis {"connection_id":189781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:23] local.INFO: Extracted packet for processing {"connection_id":189781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:15: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-19 20:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:15:23] 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-19 20:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:15: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-19 20:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:15:23] 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-19 20:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":189781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:15:24] local.INFO: GPS data processed {"connection_id":189781,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:15:24] local.INFO: Acknowledgment sent {"connection_id":189781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:15:46] local.INFO: TCP Data received {"connection_id":189780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:46] local.INFO: Processing buffer {"connection_id":189780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:15:46] local.INFO: Packet analysis {"connection_id":189780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:46] local.INFO: Extracted packet for processing {"connection_id":189780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15: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-19 20:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:15: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-19 20:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":189780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:15:46] local.INFO: GPS data processed {"connection_id":189780,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:15:46] local.INFO: Acknowledgment sent {"connection_id":189780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:15:55] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:55] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:15:55] local.INFO: Packet analysis {"connection_id":189781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:55] local.INFO: Extracted packet for processing {"connection_id":189781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:15: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-19 20:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:15:55] 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-19 20:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:15: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-19 20:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:15:55] 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-19 20:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":189781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:15:55] local.INFO: GPS data processed {"connection_id":189781,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:15:55] local.INFO: Acknowledgment sent {"connection_id":189781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:16:09] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:09] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:09] local.INFO: IMEI packet received {"connection_id":187042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":187042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:16:13] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:13] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:16:13] local.INFO: IMEI packet received {"connection_id":187042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":187042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:16:14] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:14] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:14] local.INFO: Packet analysis {"connection_id":187042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:14] local.INFO: Extracted packet for processing {"connection_id":187042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20: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-19 20:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:16:14] 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-19 20:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":187042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:16:14] local.INFO: GPS data processed {"connection_id":187042,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:16:14] local.INFO: Acknowledgment sent {"connection_id":187042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:16:23] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:23] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:23] local.INFO: IMEI packet received {"connection_id":187178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":187178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:16:28] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:28] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:16:28] local.INFO: IMEI packet received {"connection_id":187178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":187178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:16:28] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:28] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:28] local.INFO: Packet analysis {"connection_id":187178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:28] local.INFO: Extracted packet for processing {"connection_id":187178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 20:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:16:28] 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-19 20:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":187178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:16:28] local.INFO: GPS data processed {"connection_id":187178,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:16:28] local.INFO: Acknowledgment sent {"connection_id":187178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:16:33] local.INFO: TCP Data received {"connection_id":187178,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:33] local.INFO: Processing buffer {"connection_id":187178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d1be8012d196540071fefa8003a00612b..."} 
[2026-09-19 20:16:33] local.INFO: Packet analysis {"connection_id":187178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:33] local.INFO: Extracted packet for processing {"connection_id":187178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196112384001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789828865000,"timestamp_ms":1789828865000,"timestamp_seconds":1789828865,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d1be8"} 
[2026-09-19 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-19 20:16: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-19 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":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:16: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-19 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-19 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-19 20:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:16: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-19 20:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196112384001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196112384001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196112384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":187178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:16:33] local.INFO: GPS data processed {"connection_id":187178,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:16:33] local.INFO: Acknowledgment sent {"connection_id":187178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:16:45] local.INFO: TCP Data received {"connection_id":187042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:45] local.INFO: Processing buffer {"connection_id":187042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba1d8560012d34c14006aa41400008010e2e..."} 
[2026-09-19 20:16:45] local.INFO: Packet analysis {"connection_id":187042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:45] local.INFO: Extracted packet for processing {"connection_id":187042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba1d"} 
[2026-09-19 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196119296001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:16: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-19 20:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789828892000,"timestamp_ms":1789828892000,"timestamp_seconds":1789828892,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba1d8560"} 
[2026-09-19 20:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:16: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-19 20:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196119296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196119296001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196119296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":187042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:16:45] local.INFO: GPS data processed {"connection_id":187042,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:16:45] local.INFO: Acknowledgment sent {"connection_id":187042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:17:08] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:08] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:08] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:17:11] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:11] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:11] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:17:13] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:13] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:17:13] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:17:14] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:14] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:14] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:14] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17: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-19 20:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17: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-19 20:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:17:14] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:17:14] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:17:18] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:18] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:18] local.INFO: IMEI packet received {"connection_id":187179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":187179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:17:19] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:19] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:19] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:19] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20: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-19 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17:19] 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-19 20:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:17:19] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:17:19] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:17:23] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:23] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:17:23] local.INFO: IMEI packet received {"connection_id":187179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":187179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:17:23] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:23] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:23] local.INFO: Packet analysis {"connection_id":187179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:17:23] local.INFO: Extracted packet for processing {"connection_id":187179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:17:23] 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-19 20:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:17:23] local.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-19 20:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":187179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:17:23] local.INFO: GPS data processed {"connection_id":187179,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:17:23] local.INFO: Acknowledgment sent {"connection_id":187179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:17:51] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:51] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:17:51] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:51] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17: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-19 20:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:17:51] 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-19 20:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:17:51] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:17:51] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:17:54] local.INFO: TCP Data received {"connection_id":187179,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:54] local.INFO: Processing buffer {"connection_id":187179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:17:54] local.INFO: Packet analysis {"connection_id":187179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:17:54] local.INFO: Extracted packet for processing {"connection_id":187179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:17:54] 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-19 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:17:54] local.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-19 20:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":187179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:17:55] local.INFO: GPS data processed {"connection_id":187179,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:17:55] local.INFO: Acknowledgment sent {"connection_id":187179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:18:13] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:13] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:13] local.INFO: IMEI packet received {"connection_id":187180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":187180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:18:18] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:18] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:18] local.INFO: IMEI packet received {"connection_id":187043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":187043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:18:18] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:18] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:18:18] local.INFO: IMEI packet received {"connection_id":187180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":187180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:18:19] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:19] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:19] local.INFO: Packet analysis {"connection_id":187180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:18:19] local.INFO: Extracted packet for processing {"connection_id":187180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:18:19] 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-19 20:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":187180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:18:19] local.INFO: GPS data processed {"connection_id":187180,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:18:19] local.INFO: Acknowledgment sent {"connection_id":187180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:18:23] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:23] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:18:23] local.INFO: IMEI packet received {"connection_id":187043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":187043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:18:24] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:24] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:24] local.INFO: Packet analysis {"connection_id":187043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:18:24] local.INFO: Extracted packet for processing {"connection_id":187043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20: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-19 20:18:24] 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-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:18:24] 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-19 20:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":187043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:18:24] local.INFO: GPS data processed {"connection_id":187043,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:18:24] local.INFO: Acknowledgment sent {"connection_id":187043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:18:26] local.INFO: TCP Data received {"connection_id":187180,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:26] local.INFO: Processing buffer {"connection_id":187180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:18:26] local.INFO: Packet analysis {"connection_id":187180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:18:26] local.INFO: Extracted packet for processing {"connection_id":187180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:18: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-19 20:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:18: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-19 20:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":187180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":187180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:18:26] 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-19 20:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:18:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:18:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":187180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:18:26] local.INFO: GPS data processed {"connection_id":187180,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:18:26] local.INFO: Acknowledgment sent {"connection_id":187180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:18:55] local.INFO: TCP Data received {"connection_id":187043,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:55] local.INFO: Processing buffer {"connection_id":187043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:18:55] local.INFO: Packet analysis {"connection_id":187043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:18:55] local.INFO: Extracted packet for processing {"connection_id":187043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:18: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-19 20:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:18:55] 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-19 20:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:18: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-19 20:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:18:55] 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-19 20:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":187043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:18:55] local.INFO: GPS data processed {"connection_id":187043,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:18:55] local.INFO: Acknowledgment sent {"connection_id":187043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:19:08] local.INFO: TCP Data received {"connection_id":187181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:08] local.INFO: Processing buffer {"connection_id":187181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:08] local.INFO: IMEI packet received {"connection_id":187181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:19:13] local.INFO: TCP Data received {"connection_id":187181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:13] local.INFO: Processing buffer {"connection_id":187181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:19:13] local.INFO: IMEI packet received {"connection_id":187181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":187181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:19:14] local.INFO: TCP Data received {"connection_id":187181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:14] local.INFO: Processing buffer {"connection_id":187181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:14] local.INFO: Packet analysis {"connection_id":187181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:19:14] local.INFO: Extracted packet for processing {"connection_id":187181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20: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-19 20:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:19: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-19 20:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":187181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:19:14] local.INFO: GPS data processed {"connection_id":187181,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:19:14] local.INFO: Acknowledgment sent {"connection_id":187181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:19:17] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:17] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:17] local.INFO: IMEI packet received {"connection_id":187182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":187182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:19:23] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:23] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:19:23] local.INFO: IMEI packet received {"connection_id":187182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":187182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:19:23] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:23] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:23] local.INFO: Packet analysis {"connection_id":187182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:19:23] local.INFO: Extracted packet for processing {"connection_id":187182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:19: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-19 20:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:19:23] 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-19 20:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:19: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-19 20:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:19:23] 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-19 20:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":187182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:19:24] local.INFO: GPS data processed {"connection_id":187182,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:19:24] local.INFO: Acknowledgment sent {"connection_id":187182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:19:46] local.INFO: TCP Data received {"connection_id":187181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:46] local.INFO: Processing buffer {"connection_id":187181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:19:46] local.INFO: Packet analysis {"connection_id":187181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:19:46] local.INFO: Extracted packet for processing {"connection_id":187181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20: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-19 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:19: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-19 20:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":187181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:19:46] local.INFO: GPS data processed {"connection_id":187181,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:19:46] local.INFO: Acknowledgment sent {"connection_id":187181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:19:55] local.INFO: TCP Data received {"connection_id":187182,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:55] local.INFO: Processing buffer {"connection_id":187182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:19:55] local.INFO: Packet analysis {"connection_id":187182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:19:55] local.INFO: Extracted packet for processing {"connection_id":187182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:19: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-19 20:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:19:55] 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-19 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:19: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-19 20:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:19:55] 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-19 20:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:19:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":187182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:19:55] local.INFO: GPS data processed {"connection_id":187182,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:19:55] local.INFO: Acknowledgment sent {"connection_id":187182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:20:08] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:08] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:08] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:20:13] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:13] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:20:13] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:20:15] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:15] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:15] local.INFO: Packet analysis {"connection_id":188486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:20:15] local.INFO: Extracted packet for processing {"connection_id":188486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20: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-19 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:20:15] 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-19 20:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":188486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:20:15] local.INFO: GPS data processed {"connection_id":188486,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:20:15] local.INFO: Acknowledgment sent {"connection_id":188486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:20:23] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:23] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:23] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:20:28] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:28] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:20:28] local.INFO: IMEI packet received {"connection_id":187044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":187044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:20:28] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:28] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:28] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:20:28] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:20:28] 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-19 20:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:20:28] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:20:28] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:20:33] local.INFO: TCP Data received {"connection_id":187044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:33] local.INFO: Processing buffer {"connection_id":187044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:20:33] local.INFO: Packet analysis {"connection_id":187044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:20:33] local.INFO: Extracted packet for processing {"connection_id":187044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 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-19 20:20: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-19 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":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:20: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-19 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-19 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-19 20:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:20: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-19 20:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:20:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":187044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:20:33] local.INFO: GPS data processed {"connection_id":187044,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:20:33] local.INFO: Acknowledgment sent {"connection_id":187044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:20:47] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:47] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:20:47] local.INFO: Packet analysis {"connection_id":188486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:20:47] local.INFO: Extracted packet for processing {"connection_id":188486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:20: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-19 20:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:20: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-19 20:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":188486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:20:47] local.INFO: GPS data processed {"connection_id":188486,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:20:47] local.INFO: Acknowledgment sent {"connection_id":188486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:21:08] local.INFO: TCP Data received {"connection_id":189782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:08] local.INFO: Processing buffer {"connection_id":189782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:08] local.INFO: IMEI packet received {"connection_id":189782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":189782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:21:15] local.INFO: TCP Data received {"connection_id":189782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:15] local.INFO: Processing buffer {"connection_id":189782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:21:15] local.INFO: IMEI packet received {"connection_id":189782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":189782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:21:17] local.INFO: TCP Data received {"connection_id":189782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:17] local.INFO: Processing buffer {"connection_id":189782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:17] local.INFO: Packet analysis {"connection_id":189782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:21:17] local.INFO: Extracted packet for processing {"connection_id":189782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21: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-19 20:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:21:17] 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-19 20:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":189782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:21:17] local.INFO: GPS data processed {"connection_id":189782,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:21:17] local.INFO: Acknowledgment sent {"connection_id":189782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:21:18] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:18] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:18] local.INFO: IMEI packet received {"connection_id":187183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":187183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:21:23] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:23] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:21:23] local.INFO: IMEI packet received {"connection_id":187183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":187183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:21:23] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:21:23] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba21b3b0012d196540071fefa8003a00612e..."} 
[2026-09-19 20:21:23] local.INFO: Packet analysis {"connection_id":187183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:21:23] local.INFO: Extracted packet for processing {"connection_id":187183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba21"} 
[2026-09-19 20:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196189440001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829166000,"timestamp_ms":1789829166000,"timestamp_seconds":1789829166,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba21b3b0"} 
[2026-09-19 20:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:21:23] 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-19 20:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:21:23] 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-19 20:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196189440001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196189440001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196189440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":187183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:21:23] local.INFO: GPS data processed {"connection_id":187183,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:21:23] local.INFO: Acknowledgment sent {"connection_id":187183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:21:49] local.INFO: TCP Data received {"connection_id":189782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:49] local.INFO: Processing buffer {"connection_id":189782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba221d28012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:21:49] local.INFO: Packet analysis {"connection_id":189782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:21:49] local.INFO: Extracted packet for processing {"connection_id":189782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba22"} 
[2026-09-19 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196196352001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21: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-19 20:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789829193000,"timestamp_ms":1789829193000,"timestamp_seconds":1789829193,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba221d28"} 
[2026-09-19 20:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:21: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-19 20:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196196352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 20:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196196352001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-19 20:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196196352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":189782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:21:49] local.INFO: GPS data processed {"connection_id":189782,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:21:49] local.INFO: Acknowledgment sent {"connection_id":189782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:21:54] local.INFO: TCP Data received {"connection_id":187183,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:21:54] local.INFO: Processing buffer {"connection_id":187183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:21:54] local.INFO: Packet analysis {"connection_id":187183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:21:54] local.INFO: Extracted packet for processing {"connection_id":187183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:21:54] 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-19 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:21:54] 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-19 20:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:21:54] 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-19 20:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:21:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":187183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:21:54] local.INFO: GPS data processed {"connection_id":187183,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:21:54] local.INFO: Acknowledgment sent {"connection_id":187183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:22:08] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:08] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:08] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:22:12] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:12] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:22:12] local.INFO: IMEI packet received {"connection_id":187045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":187045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:22:14] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:14] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:14] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:14] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:14] 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-19 20:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:22: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-19 20:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:22:14] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:22:14] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:22:18] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:18] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:18] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:22:23] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:23] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:22:23] local.INFO: IMEI packet received {"connection_id":187046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":187046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:22:23] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:23] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:23] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:23] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:22:23] 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-19 20:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:22:23] 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-19 20:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:22:23] 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-19 20:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:22:23] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:22:23] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:22:47] local.INFO: TCP Data received {"connection_id":187045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:47] local.INFO: Processing buffer {"connection_id":187045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:22:47] local.INFO: Packet analysis {"connection_id":187045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:47] local.INFO: Extracted packet for processing {"connection_id":187045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22: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-19 20:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:22: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-19 20:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":187045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:22:47] local.INFO: GPS data processed {"connection_id":187045,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:22:47] local.INFO: Acknowledgment sent {"connection_id":187045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:22:55] local.INFO: TCP Data received {"connection_id":187046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:55] local.INFO: Processing buffer {"connection_id":187046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:22:55] local.INFO: Packet analysis {"connection_id":187046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:55] local.INFO: Extracted packet for processing {"connection_id":187046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:22:55] 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-19 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:22:55] 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-19 20:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:22:55] 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-19 20:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":187046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:22:55] local.INFO: GPS data processed {"connection_id":187046,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:22:55] local.INFO: Acknowledgment sent {"connection_id":187046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:23:13] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:13] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:13] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:23:17] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:17] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:17] local.INFO: IMEI packet received {"connection_id":189783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":189783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:23:18] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:18] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:23:18] local.INFO: IMEI packet received {"connection_id":187047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":187047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:23:20] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:20] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:20] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:20] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:23: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-19 20:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:20] 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-19 20:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:23: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-19 20:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:23:20] 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-19 20:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:23:20] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:23:20] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:23:23] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:23] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:23:23] local.INFO: IMEI packet received {"connection_id":189783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":189783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:23:23] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:23] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:23] local.INFO: Packet analysis {"connection_id":189783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:23] local.INFO: Extracted packet for processing {"connection_id":189783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:23:23] 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-19 20:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:23:23] 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-19 20:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:23:23] 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-19 20:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":189783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:23:23] local.INFO: GPS data processed {"connection_id":189783,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:23:23] local.INFO: Acknowledgment sent {"connection_id":189783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:23:24] local.INFO: TCP Data received {"connection_id":187047,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:24] local.INFO: Processing buffer {"connection_id":187047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:23:24] local.INFO: Packet analysis {"connection_id":187047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:24] local.INFO: Extracted packet for processing {"connection_id":187047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:23: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-19 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:24] 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-19 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:23: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-19 20:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:23:24] 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-19 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":187047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:23:24] local.INFO: GPS data processed {"connection_id":187047,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:23:24] local.INFO: Acknowledgment sent {"connection_id":187047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:23:54] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:54] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:23:54] local.INFO: Packet analysis {"connection_id":189783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:54] local.INFO: Extracted packet for processing {"connection_id":189783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:23:54] 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-19 20:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:23:54] 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-19 20:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:23:54] 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-19 20:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:23:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":189783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:23:55] local.INFO: GPS data processed {"connection_id":189783,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:23:55] local.INFO: Acknowledgment sent {"connection_id":189783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:24:08] local.INFO: TCP Data received {"connection_id":189784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:08] local.INFO: Processing buffer {"connection_id":189784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:08] local.INFO: IMEI packet received {"connection_id":189784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":189784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:24:13] local.INFO: TCP Data received {"connection_id":189784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:13] local.INFO: Processing buffer {"connection_id":189784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:24:13] local.INFO: IMEI packet received {"connection_id":189784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":189784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:24:15] local.INFO: TCP Data received {"connection_id":189784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:15] local.INFO: Processing buffer {"connection_id":189784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:15] local.INFO: Packet analysis {"connection_id":189784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:15] local.INFO: Extracted packet for processing {"connection_id":189784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24: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-19 20:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:24: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-19 20:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":189784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:24:15] local.INFO: GPS data processed {"connection_id":189784,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:24:15] local.INFO: Acknowledgment sent {"connection_id":189784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:24:17] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:17] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:17] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:24:23] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:23] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:24:23] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:24:23] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:23] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:23] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:23] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:24:23] 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-19 20:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:24:23] 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-19 20:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:24:23] 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-19 20:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:24:23] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:24:23] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:24:46] local.INFO: TCP Data received {"connection_id":189784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:46] local.INFO: Processing buffer {"connection_id":189784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:24:46] local.INFO: Packet analysis {"connection_id":189784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:46] local.INFO: Extracted packet for processing {"connection_id":189784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:46] 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-19 20:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20: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-19 20:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:24: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-19 20:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":189784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:24:46] local.INFO: GPS data processed {"connection_id":189784,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:24:46] local.INFO: Acknowledgment sent {"connection_id":189784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:24:54] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:54] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:24:54] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:54] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:24:54] 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-19 20:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:24:54] 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-19 20:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:24:54] 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-19 20:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:24:55] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:24:55] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:25:08] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:08] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:08] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:25:13] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:13] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:25:13] local.INFO: IMEI packet received {"connection_id":187048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":187048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:25:14] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:14] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:14] local.INFO: Packet analysis {"connection_id":187048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:14] local.INFO: Extracted packet for processing {"connection_id":187048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:14] 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-19 20:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:25: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-19 20:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":187048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:25:14] local.INFO: GPS data processed {"connection_id":187048,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:25:14] local.INFO: Acknowledgment sent {"connection_id":187048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:25:23] local.INFO: TCP Data received {"connection_id":187184,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:23] local.INFO: Processing buffer {"connection_id":187184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:23] local.INFO: IMEI packet received {"connection_id":187184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":187184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:25:28] local.INFO: TCP Data received {"connection_id":187184,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:28] local.INFO: Processing buffer {"connection_id":187184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:25:28] local.INFO: IMEI packet received {"connection_id":187184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":187184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:25:28] local.INFO: TCP Data received {"connection_id":187184,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:28] local.INFO: Processing buffer {"connection_id":187184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:28] local.INFO: Packet analysis {"connection_id":187184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:28] local.INFO: Extracted packet for processing {"connection_id":187184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20: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-19 20:25:28] 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-19 20:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:25:28] 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-19 20:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":187184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:25:28] local.INFO: GPS data processed {"connection_id":187184,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:25:28] local.INFO: Acknowledgment sent {"connection_id":187184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:25:33] local.INFO: TCP Data received {"connection_id":187184,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:33] local.INFO: Processing buffer {"connection_id":187184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:25:33] local.INFO: Packet analysis {"connection_id":187184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:33] local.INFO: Extracted packet for processing {"connection_id":187184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:25: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-19 20:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:25: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-19 20:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:25: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-19 20:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:25:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":187184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:25:33] local.INFO: GPS data processed {"connection_id":187184,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:25:33] local.INFO: Acknowledgment sent {"connection_id":187184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:25:45] local.INFO: TCP Data received {"connection_id":187048,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:45] local.INFO: Processing buffer {"connection_id":187048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:25:45] local.INFO: Packet analysis {"connection_id":187048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:45] local.INFO: Extracted packet for processing {"connection_id":187048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:25:45] 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-19 20:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":187048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:25:45] local.INFO: GPS data processed {"connection_id":187048,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:25:45] local.INFO: Acknowledgment sent {"connection_id":187048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:26:08] local.INFO: TCP Data received {"connection_id":189785,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:08] local.INFO: Processing buffer {"connection_id":189785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:08] local.INFO: IMEI packet received {"connection_id":189785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":189785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:26:13] local.INFO: TCP Data received {"connection_id":189785,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:13] local.INFO: Processing buffer {"connection_id":189785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:26:13] local.INFO: IMEI packet received {"connection_id":189785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":189785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:26:14] local.INFO: TCP Data received {"connection_id":189785,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:14] local.INFO: Processing buffer {"connection_id":189785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:14] local.INFO: Packet analysis {"connection_id":189785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:14] local.INFO: Extracted packet for processing {"connection_id":189785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:14] 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-19 20:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:26: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-19 20:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":189785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:26:14] local.INFO: GPS data processed {"connection_id":189785,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:26:14] local.INFO: Acknowledgment sent {"connection_id":189785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:26:18] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:18] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:18] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:26:23] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:23] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:26:23] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:26:23] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:26:23] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba264b78012d196540071fefa8003a006126..."} 
[2026-09-19 20:26:23] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:23] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196266496001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829467000,"timestamp_ms":1789829467000,"timestamp_seconds":1789829467,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba264b78"} 
[2026-09-19 20:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:26:23] 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-19 20:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:26:23] 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-19 20:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:26:23] 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-19 20:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196266496001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196266496001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196266496001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:26:23] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:26:23] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:26:46] local.INFO: TCP Data received {"connection_id":189785,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:46] local.INFO: Processing buffer {"connection_id":189785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba26b4f0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:26:46] local.INFO: Packet analysis {"connection_id":189785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:46] local.INFO: Extracted packet for processing {"connection_id":189785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba26"} 
[2026-09-19 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196273408001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:46] 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-19 20:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789829494000,"timestamp_ms":1789829494000,"timestamp_seconds":1789829494,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba26b4f0"} 
[2026-09-19 20: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-19 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:26: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-19 20:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196273408001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196273408001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196273408001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":189785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:26:46] local.INFO: GPS data processed {"connection_id":189785,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:26:46] local.INFO: Acknowledgment sent {"connection_id":189785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:26:53] local.INFO: TCP Data received {"connection_id":187049,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:26:53] local.INFO: Processing buffer {"connection_id":187049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:26:53] local.INFO: IMEI packet received {"connection_id":187049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":187049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:26:55] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:26:55] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:26:55] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:26:55] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:26:55] 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-19 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:26:55] 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-19 20:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:26:55] 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-19 20:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:26:55] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:26:55] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:27:08] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:08] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:08] local.INFO: IMEI packet received {"connection_id":187185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":187185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:27:13] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:13] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:27:13] local.INFO: IMEI packet received {"connection_id":187185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":187185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:27:14] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:14] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:14] local.INFO: Packet analysis {"connection_id":187185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:27:14] local.INFO: Extracted packet for processing {"connection_id":187185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:14] 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-19 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:27: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-19 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":187185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:27:14] local.INFO: GPS data processed {"connection_id":187185,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:27:14] local.INFO: Acknowledgment sent {"connection_id":187185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:27:18] local.INFO: TCP Data received {"connection_id":187050,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:18] local.INFO: Processing buffer {"connection_id":187050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:18] local.INFO: IMEI packet received {"connection_id":187050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":187050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:27:23] local.INFO: TCP Data received {"connection_id":187050,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:23] local.INFO: Processing buffer {"connection_id":187050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:27:23] local.INFO: IMEI packet received {"connection_id":187050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":187050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:27:23] local.INFO: TCP Data received {"connection_id":189786,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:23] local.INFO: Processing buffer {"connection_id":189786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:23] local.INFO: IMEI packet received {"connection_id":189786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":189786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:27:23] local.INFO: TCP Data received {"connection_id":187050,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:23] local.INFO: Processing buffer {"connection_id":187050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:23] local.INFO: Packet analysis {"connection_id":187050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:23] local.INFO: Extracted packet for processing {"connection_id":187050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:27: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-19 20:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:27:23] 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-19 20:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:27:23] 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-19 20:27: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-19 20:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:27:23] 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-19 20:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":187050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:27:23] local.INFO: GPS data processed {"connection_id":187050,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:27:23] local.INFO: Acknowledgment sent {"connection_id":187050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:27:31] local.INFO: TCP Data received {"connection_id":189786,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:31] local.INFO: Processing buffer {"connection_id":189786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:27:31] local.INFO: IMEI packet received {"connection_id":189786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":189786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:27:32] local.INFO: TCP Data received {"connection_id":189786,"ip":"117.225.208.154","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2a4700012c74724008d192500031003e2a..."} 
[2026-09-19 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2a4700012c74724008d192500031003e2a..."} 
[2026-09-19 20:27:32] local.INFO: Processing buffer {"connection_id":189786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2a4700012c74724008d192500031003e2a..."} 
[2026-09-19 20:27:32] local.INFO: Packet analysis {"connection_id":189786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:32] local.INFO: Extracted packet for processing {"connection_id":189786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":745828928,"raw_latitude":147952208,"longitude_deg":74.5828928,"latitude_deg":14.7952208,"altitude":49,"angle":62,"satellites":42,"speed":50,"hex_longitude":"2c747240","hex_latitude":"08d19250","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196408320001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1327080469954560,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8381269313155194880,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789829728000,"timestamp_ms":1789829728000,"timestamp_seconds":1789829728,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2a4700"} 
[2026-09-19 20: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-19 20:27: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-19 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 20:27:32] 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-19 20: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-19 20: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-19 20:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196408320001,"66":27789,"27":206,"9":55808,"24":50,"16":1327080469954560,"44":8381269313155194880},"client_ip":"117.225.208.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-19 20:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196408320001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-19 20:27:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1327080469954560,"km_value":1327080469954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":8381269313155194880,"description":"Unknown IO ID 44"} 
[2026-09-19 20:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196408320001,"power":27789,"unknown_27":206,"unknown_9":55808,"ignition":50,"odometer":null,"unknown_44":8381269313155194880}} 
[2026-09-19 20:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":189786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:27:32] local.INFO: GPS data processed {"connection_id":189786,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:27:32] local.INFO: Acknowledgment sent {"connection_id":189786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:27:45] local.INFO: TCP Data received {"connection_id":187185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:45] local.INFO: Processing buffer {"connection_id":187185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:27:45] local.INFO: Packet analysis {"connection_id":187185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:27:45] local.INFO: Extracted packet for processing {"connection_id":187185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:45] 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-19 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:27:45] 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-19 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:27:45] 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-19 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":187185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:27:45] local.INFO: GPS data processed {"connection_id":187185,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:27:45] local.INFO: Acknowledgment sent {"connection_id":187185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:27:54] local.INFO: TCP Data received {"connection_id":187050,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:54] local.INFO: Processing buffer {"connection_id":187050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:27:54] local.INFO: Packet analysis {"connection_id":187050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:54] local.INFO: Extracted packet for processing {"connection_id":187050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:27:54] 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-19 20:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:27:54] 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-19 20:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:27:54] 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-19 20:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":187050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:27:55] local.INFO: GPS data processed {"connection_id":187050,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:27:55] local.INFO: Acknowledgment sent {"connection_id":187050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:08] local.INFO: TCP Data received {"connection_id":189787,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:08] local.INFO: Processing buffer {"connection_id":189787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:08] local.INFO: IMEI packet received {"connection_id":189787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":189787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:28:13] local.INFO: TCP Data received {"connection_id":189787,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:13] local.INFO: Processing buffer {"connection_id":189787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:28:13] local.INFO: IMEI packet received {"connection_id":189787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":189787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:28:13] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:13] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:13] local.INFO: IMEI packet received {"connection_id":188489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:28:14] local.INFO: TCP Data received {"connection_id":189787,"ip":"117.225.208.154","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2c2f480100000000000000000000000000..."} 
[2026-09-19 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2c2f480100000000000000000000000000..."} 
[2026-09-19 20:28:14] local.INFO: Processing buffer {"connection_id":189787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2c2f480100000000000000000000000000..."} 
[2026-09-19 20:28:14] local.INFO: Packet analysis {"connection_id":189787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2c"} 
[2026-09-19 20:28:14] local.INFO: Extracted packet for processing {"connection_id":189787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2c"} 
[2026-09-19 20:28: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-19 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427264001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1330456314249216,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8450934369902469120,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829853000,"timestamp_ms":1789829853000,"timestamp_seconds":1789829853,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2c2f48"} 
[2026-09-19 20:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:14] 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-19 20:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":189787,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 20:28:14] local.INFO: GPS data processed {"connection_id":189787,"processed":0,"errors":0,"total":1} 
[2026-09-19 20:28:14] local.INFO: Acknowledgment sent {"connection_id":189787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:17] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:17] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:17] local.INFO: IMEI packet received {"connection_id":187051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":187051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:28:18] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:18] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:28:18] local.INFO: IMEI packet received {"connection_id":188489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":188489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:28:19] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:19] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:19] local.INFO: Packet analysis {"connection_id":188489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:19] local.INFO: Extracted packet for processing {"connection_id":188489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:19] 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-19 20:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20: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-19 20:28:19] 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-19 20:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:28:19] 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-19 20:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":188489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:28:19] local.INFO: GPS data processed {"connection_id":188489,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:28:19] local.INFO: Acknowledgment sent {"connection_id":188489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:23] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:23] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:28:23] local.INFO: IMEI packet received {"connection_id":187051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":187051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:28:23] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:23] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:23] local.INFO: Packet analysis {"connection_id":187051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:28:23] local.INFO: Extracted packet for processing {"connection_id":187051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:28:23] 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-19 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:23] 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-19 20:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:28:23] 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-19 20:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":187051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:28:23] local.INFO: GPS data processed {"connection_id":187051,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:28:23] local.INFO: Acknowledgment sent {"connection_id":187051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:24] local.INFO: TCP Data received {"connection_id":188489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:24] local.INFO: Processing buffer {"connection_id":188489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:28:24] local.INFO: Packet analysis {"connection_id":188489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:24] local.INFO: Extracted packet for processing {"connection_id":188489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:24] 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-19 20:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:28:24] 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-19 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:28:24] 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-19 20:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":188489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:28:24] local.INFO: GPS data processed {"connection_id":188489,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:28:24] local.INFO: Acknowledgment sent {"connection_id":188489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:45] local.INFO: TCP Data received {"connection_id":189787,"ip":"117.225.208.154","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ba690012c758b8008d222900035006228..."} 
[2026-09-19 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ba690012c758b8008d222900035006228..."} 
[2026-09-19 20:28:45] local.INFO: Processing buffer {"connection_id":189787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ba690012c758b8008d222900035006228..."} 
[2026-09-19 20:28:45] local.INFO: Packet analysis {"connection_id":189787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:45] local.INFO: Extracted packet for processing {"connection_id":189787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":745900928,"raw_latitude":147989136,"longitude_deg":74.5900928,"latitude_deg":14.7989136,"altitude":53,"angle":98,"satellites":40,"speed":27,"hex_longitude":"2c758b80","hex_latitude":"08d22290","is_valid_coordinates":true} 
[2026-09-19 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1330456314249216,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-19 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789829818000,"timestamp_ms":1789829818000,"timestamp_seconds":1789829818,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ba690"} 
[2026-09-19 20:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:45] 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-19 20:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 20:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"27":206,"9":55808,"24":27,"16":1330456314249216},"client_ip":"117.225.208.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16]} 
[2026-09-19 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-19 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1330456314249216,"km_value":1330456314249.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_27":206,"unknown_9":55808,"ignition":27,"odometer":null}} 
[2026-09-19 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":189787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:28:45] local.INFO: GPS data processed {"connection_id":189787,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:28:45] local.INFO: Acknowledgment sent {"connection_id":189787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:28:55] local.INFO: TCP Data received {"connection_id":187051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:55] local.INFO: Processing buffer {"connection_id":187051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:28:55] local.INFO: Packet analysis {"connection_id":187051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:28:55] local.INFO: Extracted packet for processing {"connection_id":187051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:28: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-19 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:28:55] 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-19 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:28:55] 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-19 20:28: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-19 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:28:55] 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-19 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":187051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:28:55] local.INFO: GPS data processed {"connection_id":187051,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:28:55] local.INFO: Acknowledgment sent {"connection_id":187051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:29:08] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:08] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:08] local.INFO: IMEI packet received {"connection_id":187186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":187186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:29:13] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:13] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:29:13] local.INFO: IMEI packet received {"connection_id":187186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":187186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:29:14] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:14] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:14] local.INFO: Packet analysis {"connection_id":187186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:29:14] local.INFO: Extracted packet for processing {"connection_id":187186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:14] 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-19 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:29: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-19 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":187186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:29:14] local.INFO: GPS data processed {"connection_id":187186,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:29:14] local.INFO: Acknowledgment sent {"connection_id":187186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:29:17] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:17] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:17] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:29:23] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:23] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:29:23] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:29:23] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:23] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:23] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:29:23] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:29:23] 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-19 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:29:23] 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-19 20:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:29:23] 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-19 20:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:29:24] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:29:24] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:29:46] local.INFO: TCP Data received {"connection_id":187186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:46] local.INFO: Processing buffer {"connection_id":187186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:29:46] local.INFO: Packet analysis {"connection_id":187186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:29:46] local.INFO: Extracted packet for processing {"connection_id":187186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:46] 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-19 20:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20: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-19 20:29:46] 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-19 20:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:29: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-19 20:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":187186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:29:46] local.INFO: GPS data processed {"connection_id":187186,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:29:46] local.INFO: Acknowledgment sent {"connection_id":187186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:29:54] local.INFO: TCP Data received {"connection_id":189788,"ip":"117.225.208.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:29:54] local.INFO: Processing buffer {"connection_id":189788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 20:29:54] local.INFO: IMEI packet received {"connection_id":189788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 20:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":189788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:29:54] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:54] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:29:54] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:29:54] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:29:54] 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-19 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:29:54] 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-19 20:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:29:54] 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-19 20:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:29:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:29:55] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:29:55] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:30:08] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:08] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:08] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:30:13] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:13] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:30:13] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:30:14] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:14] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:14] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:30:14] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:14] 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-19 20:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:30:14] 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-19 20:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:30:14] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:30:14] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:30:23] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:23] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:23] local.INFO: IMEI packet received {"connection_id":189789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":189789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:30:28] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:28] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:30:28] local.INFO: IMEI packet received {"connection_id":189789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":189789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:30:29] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:29] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:29] local.INFO: Packet analysis {"connection_id":189789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:30:29] local.INFO: Extracted packet for processing {"connection_id":189789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:30: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-19 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:30:29] 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-19 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:30: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-19 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":189789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":189789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":189789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:30:29] 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-19 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:30:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":189789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:30:29] local.INFO: GPS data processed {"connection_id":189789,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:30:29] local.INFO: Acknowledgment sent {"connection_id":189789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:30:33] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:33] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:30:33] local.INFO: Packet analysis {"connection_id":189789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:30:33] local.INFO: Extracted packet for processing {"connection_id":189789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 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-19 20:30: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-19 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":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:30: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-19 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-19 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-19 20:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":189789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":189789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":189789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:30: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-19 20:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":189789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:30:33] local.INFO: GPS data processed {"connection_id":189789,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:30:33] local.INFO: Acknowledgment sent {"connection_id":189789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:30:45] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:45] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:30:45] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:30:45] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:30:45] 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-19 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:30:45] 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-19 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:30: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-19 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:30:45] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:30:45] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:31:08] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:08] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:08] local.INFO: IMEI packet received {"connection_id":187187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":187187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:31:13] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:13] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:31:13] local.INFO: IMEI packet received {"connection_id":187187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:31:14] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:14] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:14] local.INFO: Packet analysis {"connection_id":187187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:31:14] local.INFO: Extracted packet for processing {"connection_id":187187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:14] 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-19 20:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:31: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-19 20:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":187187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:31:14] local.INFO: GPS data processed {"connection_id":187187,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:31:14] local.INFO: Acknowledgment sent {"connection_id":187187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:31:18] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:18] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:18] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:31:23] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:23] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:31:23] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:31:23] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:31:23] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2ae340012d196540071fefa8003a00612e..."} 
[2026-09-19 20:31:23] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:31:23] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2a"} 
[2026-09-19 20:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:31: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-19 20:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196343552001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789829768000,"timestamp_ms":1789829768000,"timestamp_seconds":1789829768,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2ae340"} 
[2026-09-19 20:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:31:23] 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-19 20:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:31:23] 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-19 20:31: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-19 20:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:31:23] 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-19 20:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196343552001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196343552001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196343552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:31:24] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:31:24] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:31:45] local.INFO: TCP Data received {"connection_id":187187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:45] local.INFO: Processing buffer {"connection_id":187187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:31:45] local.INFO: Packet analysis {"connection_id":187187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:31:45] local.INFO: Extracted packet for processing {"connection_id":187187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:45] 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-19 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:31:45] 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-19 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:31:45] 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-19 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":187187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:31:45] local.INFO: GPS data processed {"connection_id":187187,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:31:45] local.INFO: Acknowledgment sent {"connection_id":187187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:31:55] local.INFO: TCP Data received {"connection_id":188492,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:31:55] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:31:55] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:31:55] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:31: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-19 20:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:31:55] 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-19 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:31: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-19 20:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:31:55] 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-19 20:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:31:55] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:31:55] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:32:08] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:08] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:08] local.INFO: IMEI packet received {"connection_id":187188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":187188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:32:13] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:13] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:32:13] local.INFO: IMEI packet received {"connection_id":187188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:32:15] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:32:15] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2b4cb8012d34c14006aa41400008010e2c..."} 
[2026-09-19 20:32:15] local.INFO: Packet analysis {"connection_id":187188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:32:15] local.INFO: Extracted packet for processing {"connection_id":187188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2b"} 
[2026-09-19 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196350464001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32: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-19 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789829795000,"timestamp_ms":1789829795000,"timestamp_seconds":1789829795,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2b4cb8"} 
[2026-09-19 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:32:15] 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-19 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:32: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-19 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196350464001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196350464001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196350464001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":187188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:32:15] local.INFO: GPS data processed {"connection_id":187188,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:32:15] local.INFO: Acknowledgment sent {"connection_id":187188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:32:17] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:17] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:17] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:32:23] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:23] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:32:23] local.INFO: IMEI packet received {"connection_id":187052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":187052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:32:23] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:23] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:23] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:23] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:32:23] 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-19 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:32:23] 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-19 20:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:32:23] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:32:23] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:32:35] local.INFO: TCP Data received {"connection_id":189788,"ip":"117.225.208.154","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189788,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 20:32:35] local.INFO: Processing buffer {"connection_id":189788,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-19 20:32:35] local.INFO: IMEI packet received {"connection_id":189788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 20:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":189788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:32:46] local.INFO: TCP Data received {"connection_id":187188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:32:46] local.INFO: Processing buffer {"connection_id":187188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:32:46] local.INFO: Packet analysis {"connection_id":187188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:46] local.INFO: Extracted packet for processing {"connection_id":187188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:46] 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-19 20:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:32: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-19 20:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:32: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-19 20:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":187188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:32:46] local.INFO: GPS data processed {"connection_id":187188,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:32:46] local.INFO: Acknowledgment sent {"connection_id":187188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:32:54] local.INFO: TCP Data received {"connection_id":187052,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:54] local.INFO: Processing buffer {"connection_id":187052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:32:54] local.INFO: Packet analysis {"connection_id":187052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:54] local.INFO: Extracted packet for processing {"connection_id":187052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:32:54] 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-19 20:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:32:54] 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-19 20:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:32:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":187052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:32:55] local.INFO: GPS data processed {"connection_id":187052,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:32:55] local.INFO: Acknowledgment sent {"connection_id":187052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:33:13] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:13] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:13] local.INFO: IMEI packet received {"connection_id":189791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":189791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:33:17] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:17] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:17] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:33:18] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:18] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:33:18] local.INFO: IMEI packet received {"connection_id":189791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":189791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:33:21] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:21] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:21] local.INFO: Packet analysis {"connection_id":189791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:21] local.INFO: Extracted packet for processing {"connection_id":189791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:21] 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-19 20:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:33:21] 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-19 20:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":189791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:33:21] local.INFO: GPS data processed {"connection_id":189791,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:33:21] local.INFO: Acknowledgment sent {"connection_id":189791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:33:23] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:23] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:33:23] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:33:23] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:23] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:23] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:23] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:33:23] 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-19 20:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:33:23] 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-19 20:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:33:23] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:33:23] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:33:24] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:24] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:33:24] local.INFO: Packet analysis {"connection_id":189791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:24] local.INFO: Extracted packet for processing {"connection_id":189791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:24] 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-19 20:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:33:24] 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-19 20:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:33: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-19 20:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":189791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:33:24] local.INFO: GPS data processed {"connection_id":189791,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:33:24] local.INFO: Acknowledgment sent {"connection_id":189791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:33:54] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:54] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:33:54] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:54] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:33:54] 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-19 20:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:33:54] 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-19 20:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:33:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:33:54] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:33:54] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:34:08] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:08] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:08] local.INFO: IMEI packet received {"connection_id":189792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":189792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:34:13] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:13] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:34:13] local.INFO: IMEI packet received {"connection_id":189792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":189792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:34:14] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:14] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:14] local.INFO: Packet analysis {"connection_id":189792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:14] local.INFO: Extracted packet for processing {"connection_id":189792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:14] 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-19 20:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:34: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-19 20:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":189792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:34:14] local.INFO: GPS data processed {"connection_id":189792,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:34:14] local.INFO: Acknowledgment sent {"connection_id":189792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:34:23] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:23] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:23] local.INFO: IMEI packet received {"connection_id":187190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":187190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:34:28] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:28] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:34:28] local.INFO: IMEI packet received {"connection_id":187190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":187190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:34:28] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:28] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:28] local.INFO: Packet analysis {"connection_id":187190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:28] local.INFO: Extracted packet for processing {"connection_id":187190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:34:28] 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-19 20:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":187190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:34:28] local.INFO: GPS data processed {"connection_id":187190,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:34:28] local.INFO: Acknowledgment sent {"connection_id":187190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:34:33] local.INFO: TCP Data received {"connection_id":187190,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:33] local.INFO: Processing buffer {"connection_id":187190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:34:33] local.INFO: Packet analysis {"connection_id":187190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:33] local.INFO: Extracted packet for processing {"connection_id":187190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 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-19 20:34: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-19 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":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:34: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-19 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-19 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-19 20:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:34: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-19 20:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":187190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:34:33] local.INFO: GPS data processed {"connection_id":187190,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:34:33] local.INFO: Acknowledgment sent {"connection_id":187190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:34:46] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:46] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:34:46] local.INFO: Packet analysis {"connection_id":189792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:46] local.INFO: Extracted packet for processing {"connection_id":189792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:34:46] 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-19 20:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20: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-19 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:34: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-19 20: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-19 20: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-19 20:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:34: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-19 20:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":189792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:34:46] local.INFO: GPS data processed {"connection_id":189792,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:34:46] local.INFO: Acknowledgment sent {"connection_id":189792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:35:08] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:08] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:08] local.INFO: IMEI packet received {"connection_id":187191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":187191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:35:13] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:13] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:35:13] local.INFO: IMEI packet received {"connection_id":187191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:35:14] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:14] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:14] local.INFO: Packet analysis {"connection_id":187191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:14] local.INFO: Extracted packet for processing {"connection_id":187191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:14] 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-19 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:35: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-19 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":187191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:35:14] local.INFO: GPS data processed {"connection_id":187191,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:35:14] local.INFO: Acknowledgment sent {"connection_id":187191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:35:18] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:18] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:18] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:35:23] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:23] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:35:23] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:35:23] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:23] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:23] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:23] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:35:23] 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-19 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:35:23] 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-19 20:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:35:23] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:35:23] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:35:46] local.INFO: TCP Data received {"connection_id":187191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:46] local.INFO: Processing buffer {"connection_id":187191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:35:46] local.INFO: Packet analysis {"connection_id":187191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:46] local.INFO: Extracted packet for processing {"connection_id":187191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:46] 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-19 20:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:35: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-19 20:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:35: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-19 20:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":187191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:35:46] local.INFO: GPS data processed {"connection_id":187191,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:35:46] local.INFO: Acknowledgment sent {"connection_id":187191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:35:54] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:54] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:35:54] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:54] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:35:54] 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-19 20:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:35:54] 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-19 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:35:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:35:54] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:35:54] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:36:09] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:09] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:09] local.INFO: IMEI packet received {"connection_id":187192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":187192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:36:13] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:13] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:36:13] local.INFO: IMEI packet received {"connection_id":187192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":187192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:36:14] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:14] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:14] local.INFO: Packet analysis {"connection_id":187192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:14] local.INFO: Extracted packet for processing {"connection_id":187192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:14] 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-19 20:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:36:14] 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-19 20:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":187192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:36:14] local.INFO: GPS data processed {"connection_id":187192,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:36:14] local.INFO: Acknowledgment sent {"connection_id":187192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:36:18] local.INFO: TCP Data received {"connection_id":189794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:18] local.INFO: Processing buffer {"connection_id":189794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:18] local.INFO: IMEI packet received {"connection_id":189794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":189794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:36:23] local.INFO: TCP Data received {"connection_id":189794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:23] local.INFO: Processing buffer {"connection_id":189794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:36:23] local.INFO: IMEI packet received {"connection_id":189794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":189794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:36:23] local.INFO: TCP Data received {"connection_id":189794,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:36:23] local.INFO: Processing buffer {"connection_id":189794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2f7b08012d196540071fefa8003a00612b..."} 
[2026-09-19 20:36:23] local.INFO: Packet analysis {"connection_id":189794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:23] local.INFO: Extracted packet for processing {"connection_id":189794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":58,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:36: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-19 20:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196420608001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830069000,"timestamp_ms":1789830069000,"timestamp_seconds":1789830069,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2f7b08"} 
[2026-09-19 20:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:36:23] 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-19 20:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:36: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-19 20:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:36:23] 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-19 20:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196420608001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196420608001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":189794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:36:23] local.INFO: GPS data processed {"connection_id":189794,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:36:23] local.INFO: Acknowledgment sent {"connection_id":189794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:36:45] local.INFO: TCP Data received {"connection_id":187192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:46] local.INFO: Processing buffer {"connection_id":187192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:36:46] local.INFO: Packet analysis {"connection_id":187192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:46] local.INFO: Extracted packet for processing {"connection_id":187192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:46] 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-19 20:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:36: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-19 20:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:36: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-19 20:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":187192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:36:46] local.INFO: GPS data processed {"connection_id":187192,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:36:46] local.INFO: Acknowledgment sent {"connection_id":187192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:36:55] local.INFO: TCP Data received {"connection_id":189794,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:36:55] local.INFO: Processing buffer {"connection_id":189794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:36:55] local.INFO: Packet analysis {"connection_id":189794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:36:55] local.INFO: Extracted packet for processing {"connection_id":189794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:36:55] 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-19 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:36:55] 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-19 20:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":189794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:36:55] local.INFO: GPS data processed {"connection_id":189794,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:36:55] local.INFO: Acknowledgment sent {"connection_id":189794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:37:08] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:08] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:08] local.INFO: IMEI packet received {"connection_id":189795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":189795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:37:13] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:13] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:37:13] local.INFO: IMEI packet received {"connection_id":189795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":189795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:37:14] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:14] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba2fe480012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:14] local.INFO: Packet analysis {"connection_id":189795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:37:14] local.INFO: Extracted packet for processing {"connection_id":189795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba2f"} 
[2026-09-19 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196427520001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:14] 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-19 20:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830096000,"timestamp_ms":1789830096000,"timestamp_seconds":1789830096,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba2fe480"} 
[2026-09-19 20:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 20:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:37: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-19 20:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196427520001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196427520001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196427520001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":189795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:37:14] local.INFO: GPS data processed {"connection_id":189795,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:37:14] local.INFO: Acknowledgment sent {"connection_id":189795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:37:17] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:17] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:17] local.INFO: IMEI packet received {"connection_id":189796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":189796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:37:23] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:23] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:37:23] local.INFO: IMEI packet received {"connection_id":189796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":189796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:37:23] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:23] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:23] local.INFO: Packet analysis {"connection_id":189796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:23] local.INFO: Extracted packet for processing {"connection_id":189796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:37:23] 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-19 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:37:23] 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-19 20:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":189796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:37:23] local.INFO: GPS data processed {"connection_id":189796,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:37:23] local.INFO: Acknowledgment sent {"connection_id":189796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:37:46] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:46] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:37:46] local.INFO: Packet analysis {"connection_id":189795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:46] local.INFO: Extracted packet for processing {"connection_id":189795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:46] 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-19 20:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20: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-19 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:37: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-19 20:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":189795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:37:46] local.INFO: GPS data processed {"connection_id":189795,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:37:46] local.INFO: Acknowledgment sent {"connection_id":189795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:37:54] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:54] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:37:54] local.INFO: Packet analysis {"connection_id":189796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:54] local.INFO: Extracted packet for processing {"connection_id":189796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:37:54] 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-19 20:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:37:54] 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-19 20:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:37:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":189796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:37:55] local.INFO: GPS data processed {"connection_id":189796,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:37:55] local.INFO: Acknowledgment sent {"connection_id":189796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:38:13] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:13] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:13] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:38:18] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:18] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:38:18] local.INFO: IMEI packet received {"connection_id":187055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":187055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:38:19] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:19] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:19] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:19] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:19] 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-19 20:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:38:19] 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-19 20:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:38:19] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:38:19] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:38:23] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:23] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:23] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:38:24] local.INFO: TCP Data received {"connection_id":187055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:24] local.INFO: Processing buffer {"connection_id":187055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:38:24] local.INFO: Packet analysis {"connection_id":187055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:24] local.INFO: Extracted packet for processing {"connection_id":187055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:24] 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-19 20:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:38:24] 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-19 20:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":187055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:38:24] local.INFO: GPS data processed {"connection_id":187055,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:38:24] local.INFO: Acknowledgment sent {"connection_id":187055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:38:28] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:28] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:38:28] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:38:28] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:28] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:28] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:28] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:38:28] 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-19 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:38:28] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:38:28] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:38:33] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:33] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:38:33] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:33] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 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-19 20:38: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-19 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-19 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-19 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-19 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-19 20:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:38: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-19 20:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:38:33] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:38:33] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:39:08] local.INFO: TCP Data received {"connection_id":187193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:08] local.INFO: Processing buffer {"connection_id":187193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:08] local.INFO: IMEI packet received {"connection_id":187193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":187193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:39:13] local.INFO: TCP Data received {"connection_id":187193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:13] local.INFO: Processing buffer {"connection_id":187193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:39:13] local.INFO: IMEI packet received {"connection_id":187193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":187193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:39:15] local.INFO: TCP Data received {"connection_id":187193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:15] local.INFO: Processing buffer {"connection_id":187193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:15] local.INFO: Packet analysis {"connection_id":187193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:15] local.INFO: Extracted packet for processing {"connection_id":187193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39: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-19 20:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20: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-19 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:39: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-19 20:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":187193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:39:15] local.INFO: GPS data processed {"connection_id":187193,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:39:15] local.INFO: Acknowledgment sent {"connection_id":187193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:39:18] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:18] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:18] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:39:23] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:23] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:39:23] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:39:23] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:23] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:23] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:23] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:39:23] 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-19 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:39:23] local.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-19 20:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:39:23] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:39:23] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:39:46] local.INFO: TCP Data received {"connection_id":187193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:46] local.INFO: Processing buffer {"connection_id":187193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:39:46] local.INFO: Packet analysis {"connection_id":187193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:46] local.INFO: Extracted packet for processing {"connection_id":187193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:46] 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-19 20:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:39: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-19 20:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":187193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:39:46] local.INFO: GPS data processed {"connection_id":187193,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:39:46] local.INFO: Acknowledgment sent {"connection_id":187193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:39:54] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:54] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:39:54] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:54] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:39:54] 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-19 20:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:39:54] local.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-19 20:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:39:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:39:54] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:39:54] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:40:08] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:08] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:08] local.INFO: IMEI packet received {"connection_id":187194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":187194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:40:14] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:14] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:40:14] local.INFO: IMEI packet received {"connection_id":187194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":187194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:40:15] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:15] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:15] local.INFO: Packet analysis {"connection_id":187194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:15] local.INFO: Extracted packet for processing {"connection_id":187194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40: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-19 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:40: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-19 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":187194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:40:15] local.INFO: GPS data processed {"connection_id":187194,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:40:15] local.INFO: Acknowledgment sent {"connection_id":187194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:40:18] local.INFO: TCP Data received {"connection_id":187195,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:18] local.INFO: Processing buffer {"connection_id":187195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:18] local.INFO: IMEI packet received {"connection_id":187195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":187195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:40:23] local.INFO: TCP Data received {"connection_id":187195,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:23] local.INFO: Processing buffer {"connection_id":187195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:40:23] local.INFO: IMEI packet received {"connection_id":187195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":187195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:40:23] local.INFO: TCP Data received {"connection_id":187195,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:23] local.INFO: Processing buffer {"connection_id":187195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:23] local.INFO: Packet analysis {"connection_id":187195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:23] local.INFO: Extracted packet for processing {"connection_id":187195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:40:23] 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-19 20:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:40:23] 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-19 20:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":187195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:40:24] local.INFO: GPS data processed {"connection_id":187195,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:40:24] local.INFO: Acknowledgment sent {"connection_id":187195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:40:47] local.INFO: TCP Data received {"connection_id":187194,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:47] local.INFO: Processing buffer {"connection_id":187194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:40:47] local.INFO: Packet analysis {"connection_id":187194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:47] local.INFO: Extracted packet for processing {"connection_id":187194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40: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-19 20:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:40: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-19 20:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":187194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:40:47] local.INFO: GPS data processed {"connection_id":187194,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:40:47] local.INFO: Acknowledgment sent {"connection_id":187194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:40:55] local.INFO: TCP Data received {"connection_id":187195,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:55] local.INFO: Processing buffer {"connection_id":187195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:40:55] local.INFO: Packet analysis {"connection_id":187195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:55] local.INFO: Extracted packet for processing {"connection_id":187195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:40: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-19 20:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:40:55] 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-19 20:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:40: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-19 20:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:40:55] 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-19 20:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":187195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:40:55] local.INFO: GPS data processed {"connection_id":187195,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:40:55] local.INFO: Acknowledgment sent {"connection_id":187195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:41:08] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:08] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:08] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:41:13] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:13] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:41:13] local.INFO: IMEI packet received {"connection_id":187056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":187056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:41:14] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:14] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:14] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:14] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:14] 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-19 20:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:41: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-19 20:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:41:14] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:41:14] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:41:18] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:18] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:18] local.INFO: IMEI packet received {"connection_id":187057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":187057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:41:23] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:23] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:41:23] local.INFO: IMEI packet received {"connection_id":187057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":187057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:41:23] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:41:23] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3412d0012d196540071fefa8003500612c..."} 
[2026-09-19 20:41:23] local.INFO: Packet analysis {"connection_id":187057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:23] local.INFO: Extracted packet for processing {"connection_id":187057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196497664001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830370000,"timestamp_ms":1789830370000,"timestamp_seconds":1789830370,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3412d0"} 
[2026-09-19 20:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:41:23] 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-19 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196497664001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196497664001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":187057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:41:23] local.INFO: GPS data processed {"connection_id":187057,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:41:23] local.INFO: Acknowledgment sent {"connection_id":187057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:41:46] local.INFO: TCP Data received {"connection_id":187056,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:46] local.INFO: Processing buffer {"connection_id":187056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:41:46] local.INFO: Packet analysis {"connection_id":187056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:46] local.INFO: Extracted packet for processing {"connection_id":187056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:46] 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-19 20:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20: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-19 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20: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-19 20:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":187056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:41:46] local.INFO: GPS data processed {"connection_id":187056,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:41:46] local.INFO: Acknowledgment sent {"connection_id":187056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:41:54] local.INFO: TCP Data received {"connection_id":187057,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:41:54] local.INFO: Processing buffer {"connection_id":187057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:41:54] local.INFO: Packet analysis {"connection_id":187057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:41:54] local.INFO: Extracted packet for processing {"connection_id":187057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:41:54] 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-19 20:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:41:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":187057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:41:54] local.INFO: GPS data processed {"connection_id":187057,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:41:54] local.INFO: Acknowledgment sent {"connection_id":187057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:42:08] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:08] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:08] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:42:13] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:13] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:42:13] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:42:14] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:42:14] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba347c48012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:42:14] local.INFO: Packet analysis {"connection_id":188497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:42:14] local.INFO: Extracted packet for processing {"connection_id":188497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba34"} 
[2026-09-19 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196504576001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:14] 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-19 20:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830397000,"timestamp_ms":1789830397000,"timestamp_seconds":1789830397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba347c48"} 
[2026-09-19 20:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:42:14] 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-19 20:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196504576001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196504576001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196504576001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":188497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:42:14] local.INFO: GPS data processed {"connection_id":188497,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:42:14] local.INFO: Acknowledgment sent {"connection_id":188497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:42:17] local.INFO: TCP Data received {"connection_id":189797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:17] local.INFO: Processing buffer {"connection_id":189797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:17] local.INFO: IMEI packet received {"connection_id":189797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":189797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:42:23] local.INFO: TCP Data received {"connection_id":189797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:23] local.INFO: Processing buffer {"connection_id":189797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:42:23] local.INFO: IMEI packet received {"connection_id":189797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":189797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:42:23] local.INFO: TCP Data received {"connection_id":189797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:23] local.INFO: Processing buffer {"connection_id":189797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:23] local.INFO: Packet analysis {"connection_id":189797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:42:23] local.INFO: Extracted packet for processing {"connection_id":189797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:42: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-19 20:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:42:23] 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-19 20:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:42:23] 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-19 20:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":189797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:42:23] local.INFO: GPS data processed {"connection_id":189797,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:42:23] local.INFO: Acknowledgment sent {"connection_id":189797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:42:45] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:42:45] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:42:45] local.INFO: Packet analysis {"connection_id":188497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:42:45] local.INFO: Extracted packet for processing {"connection_id":188497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:45] 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-19 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:42: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-19 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":188497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:42:45] local.INFO: GPS data processed {"connection_id":188497,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:42:45] local.INFO: Acknowledgment sent {"connection_id":188497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:42:54] local.INFO: TCP Data received {"connection_id":189797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:54] local.INFO: Processing buffer {"connection_id":189797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:42:54] local.INFO: Packet analysis {"connection_id":189797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:42:54] local.INFO: Extracted packet for processing {"connection_id":189797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:42:54] 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-19 20:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:42:54] 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-19 20:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":189797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:42:55] local.INFO: GPS data processed {"connection_id":189797,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:42:55] local.INFO: Acknowledgment sent {"connection_id":189797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:43:13] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:13] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:13] local.INFO: IMEI packet received {"connection_id":189798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":189798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:43:18] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:18] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:43:18] local.INFO: IMEI packet received {"connection_id":189798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":189798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:43:19] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:19] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:19] local.INFO: Packet analysis {"connection_id":189798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:43:19] local.INFO: Extracted packet for processing {"connection_id":189798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:19] 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-19 20:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:43:19] 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-19 20:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":189798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:43:19] local.INFO: GPS data processed {"connection_id":189798,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:43:19] local.INFO: Acknowledgment sent {"connection_id":189798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:43:23] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:23] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:23] local.INFO: IMEI packet received {"connection_id":187058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":187058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:43:24] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:24] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:43:24] local.INFO: Packet analysis {"connection_id":189798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:43:24] local.INFO: Extracted packet for processing {"connection_id":189798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:24] 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-19 20:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:43:24] 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-19 20:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":189798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:43:24] local.INFO: GPS data processed {"connection_id":189798,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:43:24] local.INFO: Acknowledgment sent {"connection_id":189798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:43:28] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:28] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:43:28] local.INFO: IMEI packet received {"connection_id":187058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":187058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:43:28] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:28] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:28] local.INFO: Packet analysis {"connection_id":187058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:43:28] local.INFO: Extracted packet for processing {"connection_id":187058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 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-19 20:43:28] 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-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 20:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:43:28] 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-19 20:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":187058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:43:28] local.INFO: GPS data processed {"connection_id":187058,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:43:28] local.INFO: Acknowledgment sent {"connection_id":187058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:43:32] local.INFO: TCP Data received {"connection_id":187058,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:32] local.INFO: Processing buffer {"connection_id":187058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:43:32] local.INFO: Packet analysis {"connection_id":187058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:43:32] local.INFO: Extracted packet for processing {"connection_id":187058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20: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-19 20:43: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-19 20: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-19 20: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-19 20: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-19 20: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-19 20:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:43: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-19 20:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":187058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:43:33] local.INFO: GPS data processed {"connection_id":187058,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:43:33] local.INFO: Acknowledgment sent {"connection_id":187058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:44:08] local.INFO: TCP Data received {"connection_id":188498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:08] local.INFO: Processing buffer {"connection_id":188498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:08] local.INFO: IMEI packet received {"connection_id":188498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:44:13] local.INFO: TCP Data received {"connection_id":188498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:13] local.INFO: Processing buffer {"connection_id":188498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:44:13] local.INFO: IMEI packet received {"connection_id":188498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:44:14] local.INFO: TCP Data received {"connection_id":188498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:14] local.INFO: Processing buffer {"connection_id":188498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:14] local.INFO: Packet analysis {"connection_id":188498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:44:14] local.INFO: Extracted packet for processing {"connection_id":188498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:14] 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-19 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:44: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-19 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":188498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:44:14] local.INFO: GPS data processed {"connection_id":188498,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:44:14] local.INFO: Acknowledgment sent {"connection_id":188498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:44:18] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:18] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:18] local.INFO: IMEI packet received {"connection_id":189799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":189799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:44:23] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:23] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:44:23] local.INFO: IMEI packet received {"connection_id":189799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":189799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:44:23] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:23] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:23] local.INFO: Packet analysis {"connection_id":189799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:44:23] local.INFO: Extracted packet for processing {"connection_id":189799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:44:23] 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-19 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":189799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:44:23] local.INFO: GPS data processed {"connection_id":189799,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:44:23] local.INFO: Acknowledgment sent {"connection_id":189799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:44:46] local.INFO: TCP Data received {"connection_id":188498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:46] local.INFO: Processing buffer {"connection_id":188498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:44:46] local.INFO: Packet analysis {"connection_id":188498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:44:46] local.INFO: Extracted packet for processing {"connection_id":188498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:46] 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-19 20:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20: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-19 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:44: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-19 20:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":188498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:44:46] local.INFO: GPS data processed {"connection_id":188498,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:44:46] local.INFO: Acknowledgment sent {"connection_id":188498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:44:54] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:54] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:44:54] local.INFO: Packet analysis {"connection_id":189799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:44:54] local.INFO: Extracted packet for processing {"connection_id":189799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:44:54] 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-19 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":189799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:44:54] local.INFO: GPS data processed {"connection_id":189799,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:44:54] local.INFO: Acknowledgment sent {"connection_id":189799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:45:08] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:08] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:08] local.INFO: IMEI packet received {"connection_id":187196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":187196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:45:13] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:13] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:45:13] local.INFO: IMEI packet received {"connection_id":187196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":187196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:45:14] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:14] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:14] local.INFO: Packet analysis {"connection_id":187196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:45:14] local.INFO: Extracted packet for processing {"connection_id":187196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:14] 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-19 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:45: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-19 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":187196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:45:14] local.INFO: GPS data processed {"connection_id":187196,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:45:14] local.INFO: Acknowledgment sent {"connection_id":187196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:45:18] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:18] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:18] local.INFO: IMEI packet received {"connection_id":187059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":187059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:45:23] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:23] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:45:23] local.INFO: IMEI packet received {"connection_id":187059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":187059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:45:23] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:23] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:23] local.INFO: Packet analysis {"connection_id":187059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:45:23] local.INFO: Extracted packet for processing {"connection_id":187059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:45:23] 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-19 20:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:45:23] 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-19 20:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":187059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:45:23] local.INFO: GPS data processed {"connection_id":187059,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:45:23] local.INFO: Acknowledgment sent {"connection_id":187059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:45:46] local.INFO: TCP Data received {"connection_id":187196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:46] local.INFO: Processing buffer {"connection_id":187196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:45:46] local.INFO: Packet analysis {"connection_id":187196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:45:46] local.INFO: Extracted packet for processing {"connection_id":187196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:46] 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-19 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:45: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-19 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":187196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:45:46] local.INFO: GPS data processed {"connection_id":187196,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:45:46] local.INFO: Acknowledgment sent {"connection_id":187196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:45:54] local.INFO: TCP Data received {"connection_id":187059,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:54] local.INFO: Processing buffer {"connection_id":187059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:45:54] local.INFO: Packet analysis {"connection_id":187059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:45:54] local.INFO: Extracted packet for processing {"connection_id":187059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:45:54] 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-19 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:45:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":187059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:45:54] local.INFO: GPS data processed {"connection_id":187059,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:45:54] local.INFO: Acknowledgment sent {"connection_id":187059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:46:08] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:08] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:08] local.INFO: IMEI packet received {"connection_id":189800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":189800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:46:13] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:13] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:46:13] local.INFO: IMEI packet received {"connection_id":189800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":189800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:46:14] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:14] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:14] local.INFO: Packet analysis {"connection_id":189800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:46:14] local.INFO: Extracted packet for processing {"connection_id":189800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:14] 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-19 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:46: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-19 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":189800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:46:14] local.INFO: GPS data processed {"connection_id":189800,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:46:14] local.INFO: Acknowledgment sent {"connection_id":189800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:46:18] local.INFO: TCP Data received {"connection_id":188499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:18] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:18] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:46:23] local.INFO: TCP Data received {"connection_id":188499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:23] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:46:23] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:46:23] local.INFO: TCP Data received {"connection_id":188499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:46:23] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba38aa98012d196540071fefa8003500612a..."} 
[2026-09-19 20:46:23] local.INFO: Packet analysis {"connection_id":188499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:46:23] local.INFO: Extracted packet for processing {"connection_id":188499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba38"} 
[2026-09-19 20:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:46: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-19 20:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196574720001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830671000,"timestamp_ms":1789830671000,"timestamp_seconds":1789830671,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba38aa98"} 
[2026-09-19 20:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:46:23] 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-19 20:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 20:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 20:46: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-19 20:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196574720001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196574720001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196574720001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":188499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:46:23] local.INFO: GPS data processed {"connection_id":188499,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:46:23] local.INFO: Acknowledgment sent {"connection_id":188499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:46:46] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:46] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:46:46] local.INFO: Packet analysis {"connection_id":189800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:46:46] local.INFO: Extracted packet for processing {"connection_id":189800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:46] 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-19 20:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:46: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-19 20:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":189800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:46:46] local.INFO: GPS data processed {"connection_id":189800,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:46:46] local.INFO: Acknowledgment sent {"connection_id":189800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:46:54] local.INFO: TCP Data received {"connection_id":188499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:46:54] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:46:54] local.INFO: Packet analysis {"connection_id":188499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:46:54] local.INFO: Extracted packet for processing {"connection_id":188499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:46:54] 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-19 20:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:46:54] 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-19 20:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 20:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:46:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":188499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:46:55] local.INFO: GPS data processed {"connection_id":188499,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:46:55] local.INFO: Acknowledgment sent {"connection_id":188499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:47:08] local.INFO: TCP Data received {"connection_id":189801,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:08] local.INFO: Processing buffer {"connection_id":189801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:08] local.INFO: IMEI packet received {"connection_id":189801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":189801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:47:13] local.INFO: TCP Data received {"connection_id":189801,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:13] local.INFO: Processing buffer {"connection_id":189801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:47:13] local.INFO: IMEI packet received {"connection_id":189801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":189801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:47:14] local.INFO: TCP Data received {"connection_id":189801,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:47:14] local.INFO: Processing buffer {"connection_id":189801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba391410012d34c14006aa41400008010e2b..."} 
[2026-09-19 20:47:14] local.INFO: Packet analysis {"connection_id":189801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:47:14] local.INFO: Extracted packet for processing {"connection_id":189801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba39"} 
[2026-09-19 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196581632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:14] 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-19 20:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830698000,"timestamp_ms":1789830698000,"timestamp_seconds":1789830698,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba391410"} 
[2026-09-19 20: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-19 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:47: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-19 20:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196581632001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196581632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196581632001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":189801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:47:14] local.INFO: GPS data processed {"connection_id":189801,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:47:14] local.INFO: Acknowledgment sent {"connection_id":189801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:47:23] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:23] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:23] local.INFO: IMEI packet received {"connection_id":187060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":187060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:47:28] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:28] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:47:28] local.INFO: IMEI packet received {"connection_id":187060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":187060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:47:28] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:28] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:28] local.INFO: Packet analysis {"connection_id":187060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:28] local.INFO: Extracted packet for processing {"connection_id":187060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":187060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:47:28] local.INFO: GPS data processed {"connection_id":187060,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:47:28] local.INFO: Acknowledgment sent {"connection_id":187060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:47:32] local.INFO: TCP Data received {"connection_id":187060,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:32] local.INFO: Processing buffer {"connection_id":187060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:47:32] local.INFO: Packet analysis {"connection_id":187060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:32] local.INFO: Extracted packet for processing {"connection_id":187060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 20:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 20:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 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-19 20:47: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-19 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":96,"data_length":795,"current_offset":136} 
[2026-09-19 20: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-19 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-19 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-19 20:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:47: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-19 20:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":187060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:47:33] local.INFO: GPS data processed {"connection_id":187060,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:47:33] local.INFO: Acknowledgment sent {"connection_id":187060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:47:45] local.INFO: TCP Data received {"connection_id":189801,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:47:45] local.INFO: Processing buffer {"connection_id":189801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:47:45] local.INFO: Packet analysis {"connection_id":189801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:45] local.INFO: Extracted packet for processing {"connection_id":189801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:47:45] 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-19 20:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":189801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:47:45] local.INFO: GPS data processed {"connection_id":189801,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:47:45] local.INFO: Acknowledgment sent {"connection_id":189801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:48:08] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:08] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:08] local.INFO: IMEI packet received {"connection_id":187197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":187197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:48:13] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:13] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:48:13] local.INFO: IMEI packet received {"connection_id":187197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:48:14] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:14] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:14] local.INFO: Packet analysis {"connection_id":187197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:14] local.INFO: Extracted packet for processing {"connection_id":187197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:14] 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-19 20:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:48: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-19 20:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":187197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:48:14] local.INFO: GPS data processed {"connection_id":187197,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:48:14] local.INFO: Acknowledgment sent {"connection_id":187197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:48:18] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:18] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:18] local.INFO: IMEI packet received {"connection_id":187198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":187198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:48:23] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:23] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:48:23] local.INFO: IMEI packet received {"connection_id":187198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":187198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:48:24] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:24] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:24] local.INFO: Packet analysis {"connection_id":187198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:24] local.INFO: Extracted packet for processing {"connection_id":187198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:48: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-19 20:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:48:24] 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-19 20:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:48: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-19 20:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:48:24] 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-19 20:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":187198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:48:24] local.INFO: GPS data processed {"connection_id":187198,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:48:24] local.INFO: Acknowledgment sent {"connection_id":187198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:48:46] local.INFO: TCP Data received {"connection_id":187197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:46] local.INFO: Processing buffer {"connection_id":187197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:48:46] local.INFO: Packet analysis {"connection_id":187197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:46] local.INFO: Extracted packet for processing {"connection_id":187197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:46] 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-19 20:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20: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-19 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:48: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-19 20:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":187197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:48:46] local.INFO: GPS data processed {"connection_id":187197,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:48:46] local.INFO: Acknowledgment sent {"connection_id":187197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:48:55] local.INFO: TCP Data received {"connection_id":187198,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:55] local.INFO: Processing buffer {"connection_id":187198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:48:55] local.INFO: Packet analysis {"connection_id":187198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:55] local.INFO: Extracted packet for processing {"connection_id":187198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:48:55] 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-19 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:48:55] 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-19 20:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:48:55] 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-19 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":187198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:48:55] local.INFO: GPS data processed {"connection_id":187198,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:48:55] local.INFO: Acknowledgment sent {"connection_id":187198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:49:08] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:08] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:08] local.INFO: IMEI packet received {"connection_id":187199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":187199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:49:13] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:13] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:49:13] local.INFO: IMEI packet received {"connection_id":187199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":187199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:49:14] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:14] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:14] local.INFO: Packet analysis {"connection_id":187199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:14] local.INFO: Extracted packet for processing {"connection_id":187199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:14] 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-19 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:49: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-19 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":187199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:49:14] local.INFO: GPS data processed {"connection_id":187199,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:49:14] local.INFO: Acknowledgment sent {"connection_id":187199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:49:18] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:18] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:18] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:49:23] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:23] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:49:23] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:49:23] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:23] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:23] local.INFO: Packet analysis {"connection_id":188500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:23] local.INFO: Extracted packet for processing {"connection_id":188500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:49:23] 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-19 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:49:23] 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-19 20:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:49:23] 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-19 20:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:49:23] local.INFO: GPS data processed {"connection_id":188500,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:49:23] local.INFO: Acknowledgment sent {"connection_id":188500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:49:45] local.INFO: TCP Data received {"connection_id":187199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:45] local.INFO: Processing buffer {"connection_id":187199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:49:45] local.INFO: Packet analysis {"connection_id":187199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:45] local.INFO: Extracted packet for processing {"connection_id":187199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:45] 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-19 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:49:45] 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-19 20:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":187199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:49:45] local.INFO: GPS data processed {"connection_id":187199,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:49:45] local.INFO: Acknowledgment sent {"connection_id":187199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:49:54] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:54] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:49:54] local.INFO: Packet analysis {"connection_id":188500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:54] local.INFO: Extracted packet for processing {"connection_id":188500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:49:54] 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-19 20:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:49:54] 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-19 20:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:49:54] 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-19 20:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:49:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":188500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:49:55] local.INFO: GPS data processed {"connection_id":188500,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:49:55] local.INFO: Acknowledgment sent {"connection_id":188500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:50:11] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:11] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:11] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:50:13] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:13] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:50:13] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:50:14] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:14] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:14] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:14] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:14] 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-19 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50: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-19 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:50:14] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:50:14] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:50:18] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:18] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:18] local.INFO: IMEI packet received {"connection_id":187061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":187061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:50:19] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:19] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:19] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:19] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:19] 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-19 20:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50:19] 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-19 20:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:50:19] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:50:19] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:50:23] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:23] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:50:23] local.INFO: IMEI packet received {"connection_id":187061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":187061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:50:23] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:23] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:23] local.INFO: Packet analysis {"connection_id":187061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:23] local.INFO: Extracted packet for processing {"connection_id":187061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:50: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-19 20:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:50:23] 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-19 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:50:23] 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-19 20:50: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-19 20:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:50:23] 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-19 20:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":187061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:50:23] local.INFO: GPS data processed {"connection_id":187061,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:50:23] local.INFO: Acknowledgment sent {"connection_id":187061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:50:51] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:51] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:50:51] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:51] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:51] 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-19 20:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:50:51] 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-19 20:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:50:51] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:50:51] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:50:54] local.INFO: TCP Data received {"connection_id":187061,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:54] local.INFO: Processing buffer {"connection_id":187061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:50:54] local.INFO: Packet analysis {"connection_id":187061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:54] local.INFO: Extracted packet for processing {"connection_id":187061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:50:54] 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-19 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:50:54] 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-19 20:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:50:54] 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-19 20:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:50:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":187061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:50:55] local.INFO: GPS data processed {"connection_id":187061,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:50:55] local.INFO: Acknowledgment sent {"connection_id":187061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:51:08] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:08] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:08] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:51:13] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:13] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:51:13] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:51:14] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:14] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:14] local.INFO: Packet analysis {"connection_id":188502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:14] local.INFO: Extracted packet for processing {"connection_id":188502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:14] 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-19 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:51:14] 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-19 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":188502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:51:14] local.INFO: GPS data processed {"connection_id":188502,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:51:14] local.INFO: Acknowledgment sent {"connection_id":188502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:51:17] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:17] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:17] local.INFO: IMEI packet received {"connection_id":187200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":187200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:51:23] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:23] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:51:23] local.INFO: IMEI packet received {"connection_id":187200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":187200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:51:23] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:51:23] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3d4260012d196540071fefa8003500612d..."} 
[2026-09-19 20:51:23] local.INFO: Packet analysis {"connection_id":187200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:23] local.INFO: Extracted packet for processing {"connection_id":187200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196651776001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789830972000,"timestamp_ms":1789830972000,"timestamp_seconds":1789830972,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3d4260"} 
[2026-09-19 20:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:51:23] 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-19 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 20:51:23] 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-19 20:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:51:23] 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-19 20:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196651776001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196651776001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":187200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:51:23] local.INFO: GPS data processed {"connection_id":187200,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:51:23] local.INFO: Acknowledgment sent {"connection_id":187200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:51:46] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:46] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:51:46] local.INFO: Packet analysis {"connection_id":188502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:46] local.INFO: Extracted packet for processing {"connection_id":188502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:46] 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-19 20:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:51: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-19 20:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":188502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:51:46] local.INFO: GPS data processed {"connection_id":188502,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:51:46] local.INFO: Acknowledgment sent {"connection_id":188502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:51:54] local.INFO: TCP Data received {"connection_id":187200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:51:54] local.INFO: Processing buffer {"connection_id":187200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:51:54] local.INFO: Packet analysis {"connection_id":187200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:51:54] local.INFO: Extracted packet for processing {"connection_id":187200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:51:54] 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-19 20:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:51:54] 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-19 20:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:51:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":187200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:51:54] local.INFO: GPS data processed {"connection_id":187200,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:51:54] local.INFO: Acknowledgment sent {"connection_id":187200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:52:08] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:08] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:08] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:52:13] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:13] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:52:13] local.INFO: IMEI packet received {"connection_id":187062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:52:14] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:52:14] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba3dabd8012d34c14006aa41400008010e2a..."} 
[2026-09-19 20:52:14] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:52:14] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba3d"} 
[2026-09-19 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196658688001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:14] 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-19 20:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789830999000,"timestamp_ms":1789830999000,"timestamp_seconds":1789830999,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba3dabd8"} 
[2026-09-19 20:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 20:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:52: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-19 20:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196658688001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196658688001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196658688001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:52:14] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:52:14] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:52:23] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:23] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:23] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:52:28] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:28] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:52:28] local.INFO: IMEI packet received {"connection_id":187063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":187063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:52:28] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:28] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:28] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:52:28] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:52:28] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:52:28] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:52:33] local.INFO: TCP Data received {"connection_id":187063,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:33] local.INFO: Processing buffer {"connection_id":187063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:52:33] local.INFO: Packet analysis {"connection_id":187063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:52:33] local.INFO: Extracted packet for processing {"connection_id":187063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20: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-19 20:52: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-19 20: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-19 20: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-19 20: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-19 20: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-19 20:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:52: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-19 20:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":187063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:52:33] local.INFO: GPS data processed {"connection_id":187063,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:52:33] local.INFO: Acknowledgment sent {"connection_id":187063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:52:45] local.INFO: TCP Data received {"connection_id":187062,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:52:45] local.INFO: Processing buffer {"connection_id":187062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:52:45] local.INFO: Packet analysis {"connection_id":187062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:52:45] local.INFO: Extracted packet for processing {"connection_id":187062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:52:45] 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-19 20:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20: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-19 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:52:45] 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-19 20:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":187062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:52:45] local.INFO: GPS data processed {"connection_id":187062,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:52:45] local.INFO: Acknowledgment sent {"connection_id":187062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:53:13] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:13] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:13] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:53:18] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:18] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:18] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:53:18] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:18] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:53:18] local.INFO: IMEI packet received {"connection_id":187064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":187064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:53:19] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:19] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:19] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:53:19] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:19] 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-19 20:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:53:19] 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-19 20:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:53:19] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:53:19] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:53:23] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:23] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:53:23] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:53:23] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:23] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:23] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:53:23] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:53: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-19 20:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:53:23] 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-19 20:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:53: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-19 20:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:53:23] 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-19 20:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:53:23] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:53:23] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:53:24] local.INFO: TCP Data received {"connection_id":187064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:24] local.INFO: Processing buffer {"connection_id":187064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:53:24] local.INFO: Packet analysis {"connection_id":187064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:53:24] local.INFO: Extracted packet for processing {"connection_id":187064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:53: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-19 20:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:24] 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-19 20:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:53: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-19 20:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:53:24] 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-19 20:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":187064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:53:24] local.INFO: GPS data processed {"connection_id":187064,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:53:24] local.INFO: Acknowledgment sent {"connection_id":187064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:53:54] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:54] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:53:54] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:53:54] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:53:54] 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-19 20:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:53:54] 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-19 20:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:53:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:53:54] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:53:54] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:54:08] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:08] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:08] local.INFO: IMEI packet received {"connection_id":187201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":187201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:54:13] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:13] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:54:13] local.INFO: IMEI packet received {"connection_id":187201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":187201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:54:14] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:14] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:14] local.INFO: Packet analysis {"connection_id":187201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:54:14] local.INFO: Extracted packet for processing {"connection_id":187201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:14] 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-19 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:54: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-19 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":187201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:54:14] local.INFO: GPS data processed {"connection_id":187201,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:54:14] local.INFO: Acknowledgment sent {"connection_id":187201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:54:17] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:17] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:17] local.INFO: IMEI packet received {"connection_id":187065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":187065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:54:23] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:23] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:54:23] local.INFO: IMEI packet received {"connection_id":187065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":187065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:54:23] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:23] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:23] local.INFO: Packet analysis {"connection_id":187065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:54:23] local.INFO: Extracted packet for processing {"connection_id":187065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20: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-19 20:54:23] 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-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:54:23] 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-19 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":187065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:54:23] local.INFO: GPS data processed {"connection_id":187065,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:54:23] local.INFO: Acknowledgment sent {"connection_id":187065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:54:46] local.INFO: TCP Data received {"connection_id":187201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:46] local.INFO: Processing buffer {"connection_id":187201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:54:46] local.INFO: Packet analysis {"connection_id":187201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:54:46] local.INFO: Extracted packet for processing {"connection_id":187201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:46] 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-19 20:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:54: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-19 20:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":187201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:54:46] local.INFO: GPS data processed {"connection_id":187201,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:54:46] local.INFO: Acknowledgment sent {"connection_id":187201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:54:54] local.INFO: TCP Data received {"connection_id":187065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:54] local.INFO: Processing buffer {"connection_id":187065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:54:54] local.INFO: Packet analysis {"connection_id":187065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:54:54] local.INFO: Extracted packet for processing {"connection_id":187065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:54:54] 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-19 20:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:54:54] 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-19 20:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":187065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:54:54] local.INFO: GPS data processed {"connection_id":187065,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:54:54] local.INFO: Acknowledgment sent {"connection_id":187065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:55:08] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:08] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:08] local.INFO: IMEI packet received {"connection_id":187202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":187202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:55:13] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:13] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:55:13] local.INFO: IMEI packet received {"connection_id":187202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":187202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:55:14] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:14] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:14] local.INFO: Packet analysis {"connection_id":187202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:55:14] local.INFO: Extracted packet for processing {"connection_id":187202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:14] 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-19 20:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:55: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-19 20:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":187202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:55:14] local.INFO: GPS data processed {"connection_id":187202,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:55:14] local.INFO: Acknowledgment sent {"connection_id":187202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:55:18] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:18] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:18] local.INFO: IMEI packet received {"connection_id":187066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":187066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:55:23] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:23] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:55:23] local.INFO: IMEI packet received {"connection_id":187066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":187066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:55:23] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:23] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:23] local.INFO: Packet analysis {"connection_id":187066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:55:23] local.INFO: Extracted packet for processing {"connection_id":187066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:55: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-19 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:55:23] 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-19 20:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:55: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-19 20:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:55:23] 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-19 20:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":187066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:55:23] local.INFO: GPS data processed {"connection_id":187066,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:55:23] local.INFO: Acknowledgment sent {"connection_id":187066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:55:46] local.INFO: TCP Data received {"connection_id":187202,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:46] local.INFO: Processing buffer {"connection_id":187202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:55:46] local.INFO: Packet analysis {"connection_id":187202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:55:46] local.INFO: Extracted packet for processing {"connection_id":187202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:46] 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-19 20:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20: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-19 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:55: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-19 20:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":187202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:55:46] local.INFO: GPS data processed {"connection_id":187202,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:55:46] local.INFO: Acknowledgment sent {"connection_id":187202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:55:54] local.INFO: TCP Data received {"connection_id":187066,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:54] local.INFO: Processing buffer {"connection_id":187066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:55:54] local.INFO: Packet analysis {"connection_id":187066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:55:54] local.INFO: Extracted packet for processing {"connection_id":187066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:55:54] 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-19 20:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:55:54] 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-19 20:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:55:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":187066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:55:54] local.INFO: GPS data processed {"connection_id":187066,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:55:54] local.INFO: Acknowledgment sent {"connection_id":187066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:56:08] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:08] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:08] local.INFO: IMEI packet received {"connection_id":187203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":187203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:56:13] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:13] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:56:13] local.INFO: IMEI packet received {"connection_id":187203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":187203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:56:14] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:14] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:14] local.INFO: Packet analysis {"connection_id":187203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:56:14] local.INFO: Extracted packet for processing {"connection_id":187203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:14] 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-19 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:56: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-19 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":187203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:56:14] local.INFO: GPS data processed {"connection_id":187203,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:56:14] local.INFO: Acknowledgment sent {"connection_id":187203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:56:18] local.INFO: TCP Data received {"connection_id":189802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:18] local.INFO: Processing buffer {"connection_id":189802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:18] local.INFO: IMEI packet received {"connection_id":189802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":189802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:56:23] local.INFO: TCP Data received {"connection_id":189802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:23] local.INFO: Processing buffer {"connection_id":189802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:56:23] local.INFO: IMEI packet received {"connection_id":189802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":189802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:56:23] local.INFO: TCP Data received {"connection_id":189802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:56:23] local.INFO: Processing buffer {"connection_id":189802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba41d640012d196540071fefa8003500612b..."} 
[2026-09-19 20:56:23] local.INFO: Packet analysis {"connection_id":189802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:56:23] local.INFO: Extracted packet for processing {"connection_id":189802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba41"} 
[2026-09-19 20:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:56: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-19 20:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196728832001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831272000,"timestamp_ms":1789831272000,"timestamp_seconds":1789831272,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba41d640"} 
[2026-09-19 20:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:56:23] 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-19 20:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:56: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-19 20:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:56:23] 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-19 20:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196728832001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196728832001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":189802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:56:24] local.INFO: GPS data processed {"connection_id":189802,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:56:24] local.INFO: Acknowledgment sent {"connection_id":189802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:56:46] local.INFO: TCP Data received {"connection_id":187203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:46] local.INFO: Processing buffer {"connection_id":187203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:56:46] local.INFO: Packet analysis {"connection_id":187203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:56:46] local.INFO: Extracted packet for processing {"connection_id":187203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:46] 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-19 20:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:56: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-19 20:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":187203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:56:46] local.INFO: GPS data processed {"connection_id":187203,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:56:46] local.INFO: Acknowledgment sent {"connection_id":187203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:56:55] local.INFO: TCP Data received {"connection_id":189802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:56:55] local.INFO: Processing buffer {"connection_id":189802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:56:55] local.INFO: Packet analysis {"connection_id":189802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:56:55] local.INFO: Extracted packet for processing {"connection_id":189802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:56: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-19 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:56:55] 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-19 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:56: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-19 20:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:56:55] 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-19 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":189802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:56:55] local.INFO: GPS data processed {"connection_id":189802,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:56:55] local.INFO: Acknowledgment sent {"connection_id":189802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:57:08] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:08] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:08] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:57:13] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:13] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:57:13] local.INFO: IMEI packet received {"connection_id":187067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":187067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:57:14] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:14] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4243a0012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:14] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:57:14] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba42"} 
[2026-09-19 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196735744001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:14] 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-19 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831300000,"timestamp_ms":1789831300000,"timestamp_seconds":1789831300,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4243a0"} 
[2026-09-19 20:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 20:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:57: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-19 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196735744001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196735744001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196735744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:57:14] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:57:14] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:57:32] local.INFO: TCP Data received {"connection_id":189803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:32] local.INFO: Processing buffer {"connection_id":189803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:32] local.INFO: IMEI packet received {"connection_id":189803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":189803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:57:38] local.INFO: TCP Data received {"connection_id":189803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:38] local.INFO: Processing buffer {"connection_id":189803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:57:38] local.INFO: IMEI packet received {"connection_id":189803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":189803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:57:38] local.INFO: TCP Data received {"connection_id":189803,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:57:38] local.INFO: Processing buffer {"connection_id":189803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:57:38] local.INFO: Packet analysis {"connection_id":189803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:57:38] local.INFO: Extracted packet for processing {"connection_id":189803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20: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-19 20:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20: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-19 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20: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-19 20: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-19 20: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-19 20:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 20:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":189803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:57:38] local.INFO: GPS data processed {"connection_id":189803,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:57:38] local.INFO: Acknowledgment sent {"connection_id":189803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:57:46] local.INFO: TCP Data received {"connection_id":187067,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:46] local.INFO: Processing buffer {"connection_id":187067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:57:46] local.INFO: Packet analysis {"connection_id":187067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:57:46] local.INFO: Extracted packet for processing {"connection_id":187067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:57:46] 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-19 20:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:57: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-19 20:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":187067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:57:46] local.INFO: GPS data processed {"connection_id":187067,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:57:46] local.INFO: Acknowledgment sent {"connection_id":187067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:58:11] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:11] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:11] local.INFO: IMEI packet received {"connection_id":187204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":187204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:58:13] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:13] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:58:13] local.INFO: IMEI packet received {"connection_id":187204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":187204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:58:14] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:14] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:14] local.INFO: Packet analysis {"connection_id":187204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:14] local.INFO: Extracted packet for processing {"connection_id":187204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:14] 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-19 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58: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-19 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":187204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:58:14] local.INFO: GPS data processed {"connection_id":187204,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:58:14] local.INFO: Acknowledgment sent {"connection_id":187204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:58:18] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:18] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:18] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:58:19] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:19] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:19] local.INFO: Packet analysis {"connection_id":187204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:19] local.INFO: Extracted packet for processing {"connection_id":187204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:19] 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-19 20:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58:19] 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-19 20:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":187204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:58:19] local.INFO: GPS data processed {"connection_id":187204,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:58:19] local.INFO: Acknowledgment sent {"connection_id":187204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:58:23] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:23] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:58:23] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:58:24] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:24] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:24] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:24] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:58: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-19 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:58:24] 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-19 20:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:58:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:58:24] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:58:24] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:58:51] local.INFO: TCP Data received {"connection_id":187204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:51] local.INFO: Processing buffer {"connection_id":187204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:58:51] local.INFO: Packet analysis {"connection_id":187204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:51] local.INFO: Extracted packet for processing {"connection_id":187204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:51] 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-19 20:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:58:51] 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-19 20:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":187204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:58:51] local.INFO: GPS data processed {"connection_id":187204,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:58:51] local.INFO: Acknowledgment sent {"connection_id":187204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:58:55] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:55] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:58:55] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:55] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:58: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-19 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:58:55] 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-19 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:58: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-19 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:58:55] 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-19 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:58:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:58:55] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:58:55] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:59:08] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:08] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:08] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 20:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:59:13] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:13] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 20:59:13] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 20:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:59:17] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:17] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:17] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:17] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:17] 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-19 20:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:59:17] 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-19 20:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:59:17] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:59:17] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:59:18] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:18] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:18] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 20:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 20:59:23] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:23] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 20:59:23] local.INFO: IMEI packet received {"connection_id":187068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 20:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":187068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 20:59:23] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:23] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:23] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:23] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:59:23] 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-19 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:59:23] 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-19 20:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:59:23] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:59:23] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:59:48] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:48] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 20:59:48] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:48] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 20: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-19 20:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 20:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59: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-19 20:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 20: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-19 20:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 20:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20: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-19 20: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-19 20:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 20:59:48] 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-19 20:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 20:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 20:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 20:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 20:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 20:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 20:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 20:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 20:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:59:48] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:59:48] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 20:59:54] local.INFO: TCP Data received {"connection_id":187068,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:54] local.INFO: Processing buffer {"connection_id":187068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 20:59:54] local.INFO: Packet analysis {"connection_id":187068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:54] local.INFO: Extracted packet for processing {"connection_id":187068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 20:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 20:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 20:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 20:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 20:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 20:59:54] 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-19 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 20:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 20:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 20:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 20:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 20:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 20:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 20:59:54] 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-19 20:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 20:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 20:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 20:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 20:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 20:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 20:59:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 20:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 20:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 20:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 20:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 20:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":187068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 20:59:54] local.INFO: GPS data processed {"connection_id":187068,"processed":1,"errors":0,"total":1} 
[2026-09-19 20:59:54] local.INFO: Acknowledgment sent {"connection_id":187068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:00:08] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:08] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:08] local.INFO: IMEI packet received {"connection_id":187205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":187205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:00:13] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:13] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:00:13] local.INFO: IMEI packet received {"connection_id":187205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":187205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:00:14] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:14] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:14] local.INFO: Packet analysis {"connection_id":187205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:14] local.INFO: Extracted packet for processing {"connection_id":187205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:14] 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-19 21:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 21: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-19 21:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:00: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-19 21:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":187205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:00:14] local.INFO: GPS data processed {"connection_id":187205,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:00:14] local.INFO: Acknowledgment sent {"connection_id":187205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:00:18] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:18] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:18] local.INFO: IMEI packet received {"connection_id":188506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":188506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:00:23] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:23] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:00:23] local.INFO: IMEI packet received {"connection_id":188506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":188506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:00:23] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:23] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:23] local.INFO: Packet analysis {"connection_id":188506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:23] local.INFO: Extracted packet for processing {"connection_id":188506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 21:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:00:23] 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-19 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:00:23] 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-19 21:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":188506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:00:23] local.INFO: GPS data processed {"connection_id":188506,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:00:23] local.INFO: Acknowledgment sent {"connection_id":188506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:00:46] local.INFO: TCP Data received {"connection_id":187205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:46] local.INFO: Processing buffer {"connection_id":187205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:00:46] local.INFO: Packet analysis {"connection_id":187205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:46] local.INFO: Extracted packet for processing {"connection_id":187205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:46] 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-19 21:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 21:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:00: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-19 21:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":187205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:00:46] local.INFO: GPS data processed {"connection_id":187205,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:00:46] local.INFO: Acknowledgment sent {"connection_id":187205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:00:54] local.INFO: TCP Data received {"connection_id":188506,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:54] local.INFO: Processing buffer {"connection_id":188506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:00:54] local.INFO: Packet analysis {"connection_id":188506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:54] local.INFO: Extracted packet for processing {"connection_id":188506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 21:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:00:54] 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-19 21:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:00:54] 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-19 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:00:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":188506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:00:55] local.INFO: GPS data processed {"connection_id":188506,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:00:55] local.INFO: Acknowledgment sent {"connection_id":188506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:01:08] local.INFO: TCP Data received {"connection_id":189804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:08] local.INFO: Processing buffer {"connection_id":189804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:08] local.INFO: IMEI packet received {"connection_id":189804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":189804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:01:13] local.INFO: TCP Data received {"connection_id":189804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:13] local.INFO: Processing buffer {"connection_id":189804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:01:13] local.INFO: IMEI packet received {"connection_id":189804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":189804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:01:14] local.INFO: TCP Data received {"connection_id":189804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:14] local.INFO: Processing buffer {"connection_id":189804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:14] local.INFO: Packet analysis {"connection_id":189804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:14] local.INFO: Extracted packet for processing {"connection_id":189804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:14] 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-19 21:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 21:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:01:14] 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-19 21:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":189804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:01:14] local.INFO: GPS data processed {"connection_id":189804,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:01:14] local.INFO: Acknowledgment sent {"connection_id":189804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:01:17] local.INFO: TCP Data received {"connection_id":189805,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:17] local.INFO: Processing buffer {"connection_id":189805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:17] local.INFO: IMEI packet received {"connection_id":189805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":189805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:01:23] local.INFO: TCP Data received {"connection_id":189805,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:23] local.INFO: Processing buffer {"connection_id":189805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:01:23] local.INFO: IMEI packet received {"connection_id":189805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":189805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:01:23] local.INFO: TCP Data received {"connection_id":189805,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:01:23] local.INFO: Processing buffer {"connection_id":189805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba466e08012d196540071fefa80035006127..."} 
[2026-09-19 21:01:23] local.INFO: Packet analysis {"connection_id":189805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:23] local.INFO: Extracted packet for processing {"connection_id":189805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196805632001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831573000,"timestamp_ms":1789831573000,"timestamp_seconds":1789831573,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba466e08"} 
[2026-09-19 21:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:01:23] 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-19 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196805632001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 21:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196805632001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196805632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":189805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:01:23] local.INFO: GPS data processed {"connection_id":189805,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:01:23] local.INFO: Acknowledgment sent {"connection_id":189805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:01:46] local.INFO: TCP Data received {"connection_id":189804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:46] local.INFO: Processing buffer {"connection_id":189804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:01:46] local.INFO: Packet analysis {"connection_id":189804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:46] local.INFO: Extracted packet for processing {"connection_id":189804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:46] 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-19 21:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 21:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:01: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-19 21:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":189804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:01:46] local.INFO: GPS data processed {"connection_id":189804,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:01:46] local.INFO: Acknowledgment sent {"connection_id":189804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:01:54] local.INFO: TCP Data received {"connection_id":189805,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:01:54] local.INFO: Processing buffer {"connection_id":189805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:01:54] local.INFO: Packet analysis {"connection_id":189805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:01:54] local.INFO: Extracted packet for processing {"connection_id":189805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:01:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:01:54] 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-19 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:01:54] 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-19 21:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 21:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:01:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":189805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:01:54] local.INFO: GPS data processed {"connection_id":189805,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:01:54] local.INFO: Acknowledgment sent {"connection_id":189805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:02:08] local.INFO: TCP Data received {"connection_id":187206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:08] local.INFO: Processing buffer {"connection_id":187206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:08] local.INFO: IMEI packet received {"connection_id":187206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":187206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:02:13] local.INFO: TCP Data received {"connection_id":187206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:13] local.INFO: Processing buffer {"connection_id":187206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:02:13] local.INFO: IMEI packet received {"connection_id":187206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":187206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:02:14] local.INFO: TCP Data received {"connection_id":187206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:02:14] local.INFO: Processing buffer {"connection_id":187206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba46db68012d34c14006aa41400008010e2d..."} 
[2026-09-19 21:02:14] local.INFO: Packet analysis {"connection_id":187206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:02:14] local.INFO: Extracted packet for processing {"connection_id":187206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba46"} 
[2026-09-19 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196812800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:14] 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-19 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831601000,"timestamp_ms":1789831601000,"timestamp_seconds":1789831601,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba46db68"} 
[2026-09-19 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:02:14] 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-19 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196812800001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196812800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196812800001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":187206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:02:14] local.INFO: GPS data processed {"connection_id":187206,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:02:14] local.INFO: Acknowledgment sent {"connection_id":187206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:02:23] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:23] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:23] local.INFO: IMEI packet received {"connection_id":189806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":189806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:02:28] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:28] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:02:28] local.INFO: IMEI packet received {"connection_id":189806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":189806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:02:28] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:28] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:28] local.INFO: Packet analysis {"connection_id":189806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:28] local.INFO: Extracted packet for processing {"connection_id":189806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:02:28] 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-19 21:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":189806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:02:29] local.INFO: GPS data processed {"connection_id":189806,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:02:29] local.INFO: Acknowledgment sent {"connection_id":189806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:02:33] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:33] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:02:33] local.INFO: Packet analysis {"connection_id":189806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:33] local.INFO: Extracted packet for processing {"connection_id":189806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 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-19 21:02: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-19 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":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:02: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-19 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-19 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-19 21:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":189806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":189806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":189806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":189806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:02:33] local.INFO: GPS data processed {"connection_id":189806,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:02:33] local.INFO: Acknowledgment sent {"connection_id":189806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:02:46] local.INFO: TCP Data received {"connection_id":187206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:02:46] local.INFO: Processing buffer {"connection_id":187206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:02:46] local.INFO: Packet analysis {"connection_id":187206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:46] local.INFO: Extracted packet for processing {"connection_id":187206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:02:46] 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-19 21:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21: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-19 21:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:02: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-19 21:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":187206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:02:46] local.INFO: GPS data processed {"connection_id":187206,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:02:46] local.INFO: Acknowledgment sent {"connection_id":187206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:03:08] local.INFO: TCP Data received {"connection_id":189808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:08] local.INFO: Processing buffer {"connection_id":189808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:08] local.INFO: IMEI packet received {"connection_id":189808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":189808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:03:13] local.INFO: TCP Data received {"connection_id":189808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:13] local.INFO: Processing buffer {"connection_id":189808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:03:13] local.INFO: IMEI packet received {"connection_id":189808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":189808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:03:15] local.INFO: TCP Data received {"connection_id":189808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:15] local.INFO: Processing buffer {"connection_id":189808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:15] local.INFO: Packet analysis {"connection_id":189808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:15] local.INFO: Extracted packet for processing {"connection_id":189808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03: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-19 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:03: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-19 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:03:15] local.INFO: GPS data processed {"connection_id":189808,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:03:15] local.INFO: Acknowledgment sent {"connection_id":189808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:03:18] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:18] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:18] local.INFO: IMEI packet received {"connection_id":187069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":187069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:03:23] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:23] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:03:23] local.INFO: IMEI packet received {"connection_id":187069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":187069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:03:23] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:23] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:23] local.INFO: Packet analysis {"connection_id":187069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:23] local.INFO: Extracted packet for processing {"connection_id":187069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:03: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-19 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:03:23] 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-19 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:03:23] 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-19 21:03: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-19 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:03:23] 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-19 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":187069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:03:23] local.INFO: GPS data processed {"connection_id":187069,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:03:23] local.INFO: Acknowledgment sent {"connection_id":187069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:03:47] local.INFO: TCP Data received {"connection_id":189808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:47] local.INFO: Processing buffer {"connection_id":189808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:03:47] local.INFO: Packet analysis {"connection_id":189808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:47] local.INFO: Extracted packet for processing {"connection_id":189808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03: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-19 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:03: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-19 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:03:47] local.INFO: GPS data processed {"connection_id":189808,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:03:47] local.INFO: Acknowledgment sent {"connection_id":189808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:03:54] local.INFO: TCP Data received {"connection_id":187069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:54] local.INFO: Processing buffer {"connection_id":187069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:03:54] local.INFO: Packet analysis {"connection_id":187069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:54] local.INFO: Extracted packet for processing {"connection_id":187069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:03:54] 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-19 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:03:54] 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-19 21:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:03:54] 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-19 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:03:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":187069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:03:54] local.INFO: GPS data processed {"connection_id":187069,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:03:54] local.INFO: Acknowledgment sent {"connection_id":187069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:04:08] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:08] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:08] local.INFO: IMEI packet received {"connection_id":189809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":189809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:04:13] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:13] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:04:13] local.INFO: IMEI packet received {"connection_id":189809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":189809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:04:14] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:14] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:14] local.INFO: Packet analysis {"connection_id":189809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:14] local.INFO: Extracted packet for processing {"connection_id":189809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:14] 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-19 21:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:04: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-19 21:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":189809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:04:14] local.INFO: GPS data processed {"connection_id":189809,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:04:14] local.INFO: Acknowledgment sent {"connection_id":189809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:04:18] local.INFO: TCP Data received {"connection_id":187208,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:18] local.INFO: Processing buffer {"connection_id":187208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:18] local.INFO: IMEI packet received {"connection_id":187208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":187208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:04:23] local.INFO: TCP Data received {"connection_id":187208,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:23] local.INFO: Processing buffer {"connection_id":187208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:04:23] local.INFO: IMEI packet received {"connection_id":187208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":187208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:04:23] local.INFO: TCP Data received {"connection_id":187208,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:23] local.INFO: Processing buffer {"connection_id":187208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:23] local.INFO: Packet analysis {"connection_id":187208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:23] local.INFO: Extracted packet for processing {"connection_id":187208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:04:23] 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-19 21:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:04:23] 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-19 21:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:04:23] 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-19 21:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:04:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":187208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:04:23] local.INFO: GPS data processed {"connection_id":187208,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:04:23] local.INFO: Acknowledgment sent {"connection_id":187208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:04:45] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:45] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:04:45] local.INFO: Packet analysis {"connection_id":189809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:45] local.INFO: Extracted packet for processing {"connection_id":189809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:45] 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-19 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21: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-19 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:04:45] 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-19 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":189809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:04:45] local.INFO: GPS data processed {"connection_id":189809,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:04:45] local.INFO: Acknowledgment sent {"connection_id":189809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:04:55] local.INFO: TCP Data received {"connection_id":187208,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:55] local.INFO: Processing buffer {"connection_id":187208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:04:55] local.INFO: Packet analysis {"connection_id":187208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:55] local.INFO: Extracted packet for processing {"connection_id":187208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:04:55] 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-19 21:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:04:55] 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-19 21:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:04:55] 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-19 21:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:04:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":187208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:04:55] local.INFO: GPS data processed {"connection_id":187208,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:04:55] local.INFO: Acknowledgment sent {"connection_id":187208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:05:08] local.INFO: TCP Data received {"connection_id":189810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:08] local.INFO: Processing buffer {"connection_id":189810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:08] local.INFO: IMEI packet received {"connection_id":189810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":189810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:05:14] local.INFO: TCP Data received {"connection_id":189810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:14] local.INFO: Processing buffer {"connection_id":189810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:05:14] local.INFO: IMEI packet received {"connection_id":189810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":189810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:05:15] local.INFO: TCP Data received {"connection_id":189810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:15] local.INFO: Processing buffer {"connection_id":189810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:15] local.INFO: Packet analysis {"connection_id":189810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:15] local.INFO: Extracted packet for processing {"connection_id":189810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05: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-19 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:05: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-19 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":189810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:05:15] local.INFO: GPS data processed {"connection_id":189810,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:05:15] local.INFO: Acknowledgment sent {"connection_id":189810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:05:18] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:18] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:18] local.INFO: IMEI packet received {"connection_id":187070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":187070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:05:23] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:23] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:05:23] local.INFO: IMEI packet received {"connection_id":187070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":187070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:05:23] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:23] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:23] local.INFO: Packet analysis {"connection_id":187070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:23] local.INFO: Extracted packet for processing {"connection_id":187070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:05:23] 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-19 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:05:23] 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-19 21:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:05:23] 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-19 21:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":187070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:05:23] local.INFO: GPS data processed {"connection_id":187070,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:05:23] local.INFO: Acknowledgment sent {"connection_id":187070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:05:46] local.INFO: TCP Data received {"connection_id":189810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:46] local.INFO: Processing buffer {"connection_id":189810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:05:46] local.INFO: Packet analysis {"connection_id":189810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:46] local.INFO: Extracted packet for processing {"connection_id":189810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:46] 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-19 21:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:05: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-19 21:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":189810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:05:46] local.INFO: GPS data processed {"connection_id":189810,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:05:46] local.INFO: Acknowledgment sent {"connection_id":189810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:05:55] local.INFO: TCP Data received {"connection_id":187070,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:55] local.INFO: Processing buffer {"connection_id":187070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:05:55] local.INFO: Packet analysis {"connection_id":187070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:55] local.INFO: Extracted packet for processing {"connection_id":187070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:05: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-19 21:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:05:55] 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-19 21:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:05:55] 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-19 21:05: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-19 21:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:05:55] 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-19 21:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:05:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":187070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:05:55] local.INFO: GPS data processed {"connection_id":187070,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:05:55] local.INFO: Acknowledgment sent {"connection_id":187070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:06:08] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:08] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:08] local.INFO: IMEI packet received {"connection_id":187209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":187209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:06:13] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:13] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:06:13] local.INFO: IMEI packet received {"connection_id":187209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":187209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:06:14] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:14] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:14] local.INFO: Packet analysis {"connection_id":187209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:14] local.INFO: Extracted packet for processing {"connection_id":187209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:14] 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-19 21:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:06: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-19 21:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":187209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:06:14] local.INFO: GPS data processed {"connection_id":187209,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:06:14] local.INFO: Acknowledgment sent {"connection_id":187209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:06:17] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:17] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:17] local.INFO: IMEI packet received {"connection_id":187210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":187210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:06:23] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:23] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:06:23] local.INFO: IMEI packet received {"connection_id":187210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":187210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:06:24] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:06:24] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b05d0012d196540071fefa80035006126..."} 
[2026-09-19 21:06:24] local.INFO: Packet analysis {"connection_id":187210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:24] local.INFO: Extracted packet for processing {"connection_id":187210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196882688001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789831874000,"timestamp_ms":1789831874000,"timestamp_seconds":1789831874,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b05d0"} 
[2026-09-19 21: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-19 21:06: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-19 21:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:06:24] 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-19 21:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196882688001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196882688001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196882688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":187210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:06:24] local.INFO: GPS data processed {"connection_id":187210,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:06:24] local.INFO: Acknowledgment sent {"connection_id":187210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:06:46] local.INFO: TCP Data received {"connection_id":187209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:46] local.INFO: Processing buffer {"connection_id":187209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:06:46] local.INFO: Packet analysis {"connection_id":187209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:46] local.INFO: Extracted packet for processing {"connection_id":187209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:46] 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-19 21:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:06: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-19 21:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":187209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:06:46] local.INFO: GPS data processed {"connection_id":187209,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:06:46] local.INFO: Acknowledgment sent {"connection_id":187209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:06:55] local.INFO: TCP Data received {"connection_id":187210,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:06:55] local.INFO: Processing buffer {"connection_id":187210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:06:55] local.INFO: Packet analysis {"connection_id":187210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:06:55] local.INFO: Extracted packet for processing {"connection_id":187210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:06: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-19 21:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:06:55] 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-19 21:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:06:55] 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-19 21:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":187210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:06:55] local.INFO: GPS data processed {"connection_id":187210,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:06:55] local.INFO: Acknowledgment sent {"connection_id":187210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:07:13] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:13] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:13] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:07:18] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:18] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:07:18] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:07:19] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:07:19] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4b7330012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:07:19] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:07:19] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4b"} 
[2026-09-19 21:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196889856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:19] 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-19 21:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789831902000,"timestamp_ms":1789831902000,"timestamp_seconds":1789831902,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4b7330"} 
[2026-09-19 21: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-19 21:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:19] 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-19 21:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196889856001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196889856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196889856001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:07:19] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:07:19] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:07:21] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:21] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:21] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:07:21] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:21] 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-19 21:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21: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-19 21:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:07:21] 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-19 21: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-19 21: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-19 21:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:21] 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-19 21:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:07:21] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:07:21] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:07:23] local.INFO: TCP Data received {"connection_id":188508,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:23] local.INFO: Processing buffer {"connection_id":188508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:23] local.INFO: IMEI packet received {"connection_id":188508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":188508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:07:28] local.INFO: TCP Data received {"connection_id":188508,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:28] local.INFO: Processing buffer {"connection_id":188508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:07:28] local.INFO: IMEI packet received {"connection_id":188508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":188508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:07:28] local.INFO: TCP Data received {"connection_id":188508,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:28] local.INFO: Processing buffer {"connection_id":188508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:28] local.INFO: Packet analysis {"connection_id":188508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:07:28] local.INFO: Extracted packet for processing {"connection_id":188508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":188508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:07:28] local.INFO: GPS data processed {"connection_id":188508,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:07:28] local.INFO: Acknowledgment sent {"connection_id":188508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:07:53] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:53] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:07:53] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:07:53] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:53] 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-19 21:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:07:53] 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-19 21:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:07:53] 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-19 21:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:07:53] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:07:53] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:07:59] local.INFO: TCP Data received {"connection_id":188508,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:59] local.INFO: Processing buffer {"connection_id":188508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:07:59] local.INFO: Packet analysis {"connection_id":188508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:07:59] local.INFO: Extracted packet for processing {"connection_id":188508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:07:59] 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-19 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":188508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":188508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":188508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":188508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:08:00] local.INFO: GPS data processed {"connection_id":188508,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:08:00] local.INFO: Acknowledgment sent {"connection_id":188508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:08:09] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:09] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:09] local.INFO: IMEI packet received {"connection_id":187211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":187211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:08:13] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:13] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:08:13] local.INFO: IMEI packet received {"connection_id":187211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:08:14] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:14] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:14] local.INFO: Packet analysis {"connection_id":187211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:08:14] local.INFO: Extracted packet for processing {"connection_id":187211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:14] 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-19 21:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:08:14] 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-19 21:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:08: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-19 21:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":187211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:08:14] local.INFO: GPS data processed {"connection_id":187211,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:08:14] local.INFO: Acknowledgment sent {"connection_id":187211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:08:18] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:18] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:18] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:08:23] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:23] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:08:23] local.INFO: IMEI packet received {"connection_id":187073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":187073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:08:23] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:23] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:23] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:08:23] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:08:23] 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-19 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:08:23] 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-19 21:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:08:24] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:08:24] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:08:46] local.INFO: TCP Data received {"connection_id":187211,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:46] local.INFO: Processing buffer {"connection_id":187211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:08:46] local.INFO: Packet analysis {"connection_id":187211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:08:46] local.INFO: Extracted packet for processing {"connection_id":187211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:46] 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-19 21:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21: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-19 21:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:08:46] 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-19 21: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-19 21: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-19 21:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:08: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-19 21:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":187211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:08:46] local.INFO: GPS data processed {"connection_id":187211,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:08:46] local.INFO: Acknowledgment sent {"connection_id":187211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:08:55] local.INFO: TCP Data received {"connection_id":187073,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:55] local.INFO: Processing buffer {"connection_id":187073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:08:55] local.INFO: Packet analysis {"connection_id":187073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:08:55] local.INFO: Extracted packet for processing {"connection_id":187073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:08:55] 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-19 21:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:08:55] 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-19 21:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":187073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:08:55] local.INFO: GPS data processed {"connection_id":187073,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:08:55] local.INFO: Acknowledgment sent {"connection_id":187073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:09:08] local.INFO: TCP Data received {"connection_id":189811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:08] local.INFO: Processing buffer {"connection_id":189811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:08] local.INFO: IMEI packet received {"connection_id":189811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":189811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:09:13] local.INFO: TCP Data received {"connection_id":189811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:13] local.INFO: Processing buffer {"connection_id":189811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:09:13] local.INFO: IMEI packet received {"connection_id":189811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":189811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:09:14] local.INFO: TCP Data received {"connection_id":189811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:14] local.INFO: Processing buffer {"connection_id":189811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:14] local.INFO: Packet analysis {"connection_id":189811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:09:14] local.INFO: Extracted packet for processing {"connection_id":189811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:14] 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-19 21:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:09:14] 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-19 21:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:09: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-19 21:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":189811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:09:14] local.INFO: GPS data processed {"connection_id":189811,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:09:14] local.INFO: Acknowledgment sent {"connection_id":189811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:09:18] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:18] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:18] local.INFO: IMEI packet received {"connection_id":187212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":187212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:09:22] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:22] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:09:22] local.INFO: IMEI packet received {"connection_id":187212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":187212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:09:23] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:23] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:23] local.INFO: Packet analysis {"connection_id":187212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:09:23] local.INFO: Extracted packet for processing {"connection_id":187212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:09:23] 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-19 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:09:23] 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-19 21:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":187212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:09:23] local.INFO: GPS data processed {"connection_id":187212,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:09:23] local.INFO: Acknowledgment sent {"connection_id":187212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:09:45] local.INFO: TCP Data received {"connection_id":189811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:45] local.INFO: Processing buffer {"connection_id":189811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:09:45] local.INFO: Packet analysis {"connection_id":189811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:09:45] local.INFO: Extracted packet for processing {"connection_id":189811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:45] 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-19 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:09:45] 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-19 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":189811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:09:45] local.INFO: GPS data processed {"connection_id":189811,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:09:45] local.INFO: Acknowledgment sent {"connection_id":189811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:09:54] local.INFO: TCP Data received {"connection_id":187212,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:54] local.INFO: Processing buffer {"connection_id":187212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:09:54] local.INFO: Packet analysis {"connection_id":187212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:09:54] local.INFO: Extracted packet for processing {"connection_id":187212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:09:54] 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-19 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:09:54] 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-19 21:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:09:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":187212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:09:54] local.INFO: GPS data processed {"connection_id":187212,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:09:54] local.INFO: Acknowledgment sent {"connection_id":187212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:10:08] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:08] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:08] local.INFO: IMEI packet received {"connection_id":188509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":188509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:10:13] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:13] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:10:13] local.INFO: IMEI packet received {"connection_id":188509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:10:14] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:14] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:14] local.INFO: Packet analysis {"connection_id":188509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:10:14] local.INFO: Extracted packet for processing {"connection_id":188509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:14] 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-19 21:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:10:14] 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-19 21:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:10: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-19 21:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":188509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:10:14] local.INFO: GPS data processed {"connection_id":188509,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:10:14] local.INFO: Acknowledgment sent {"connection_id":188509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:10:18] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:18] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:18] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:10:22] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:22] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:10:22] local.INFO: IMEI packet received {"connection_id":187074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":187074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:10:23] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:23] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:23] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:10:23] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:10:23] 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-19 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:10:23] 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-19 21:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:10:23] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:10:23] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:10:45] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:45] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:10:45] local.INFO: Packet analysis {"connection_id":188509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:10:45] local.INFO: Extracted packet for processing {"connection_id":188509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:45] 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-19 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:10: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-19 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":188509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:10:45] local.INFO: GPS data processed {"connection_id":188509,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:10:45] local.INFO: Acknowledgment sent {"connection_id":188509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:10:55] local.INFO: TCP Data received {"connection_id":187074,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:55] local.INFO: Processing buffer {"connection_id":187074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:10:55] local.INFO: Packet analysis {"connection_id":187074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:10:55] local.INFO: Extracted packet for processing {"connection_id":187074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21: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-19 21:10:55] 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-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21: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-19 21: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-19 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:10:55] 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-19 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":187074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:10:55] local.INFO: GPS data processed {"connection_id":187074,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:10:55] local.INFO: Acknowledgment sent {"connection_id":187074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:11:08] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:08] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:08] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:11:13] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:13] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:11:13] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:11:14] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:14] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:14] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:11:14] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:14] 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-19 21:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:11:14] 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-19 21:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:11:14] 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-19 21:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:11:14] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:11:14] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:11:17] local.INFO: TCP Data received {"connection_id":189812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:17] local.INFO: Processing buffer {"connection_id":189812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:17] local.INFO: IMEI packet received {"connection_id":189812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":189812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:11:22] local.INFO: TCP Data received {"connection_id":189812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:22] local.INFO: Processing buffer {"connection_id":189812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:11:22] local.INFO: IMEI packet received {"connection_id":189812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":189812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:11:23] local.INFO: TCP Data received {"connection_id":189812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:23] local.INFO: Processing buffer {"connection_id":189812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:23] local.INFO: Packet analysis {"connection_id":189812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:11:23] local.INFO: Extracted packet for processing {"connection_id":189812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:11:23] 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-19 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 21:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:11:23] 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-19 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":189812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:11:23] local.INFO: GPS data processed {"connection_id":189812,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:11:23] local.INFO: Acknowledgment sent {"connection_id":189812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:11:46] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:46] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:11:46] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:11:46] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 21:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:46] 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-19 21:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 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-19 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:11:46] 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-19 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-19 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-19 21:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:11: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-19 21:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:11:46] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:11:46] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:11:54] local.INFO: TCP Data received {"connection_id":189812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:54] local.INFO: Processing buffer {"connection_id":189812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba4f9d98012d196540071fefa80035006127..."} 
[2026-09-19 21:11:54] local.INFO: Packet analysis {"connection_id":189812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:11:54] local.INFO: Extracted packet for processing {"connection_id":189812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba4f"} 
[2026-09-19 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196959744001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832175000,"timestamp_ms":1789832175000,"timestamp_seconds":1789832175,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba4f9d98"} 
[2026-09-19 21:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:11:54] 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-19 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 21:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:11:54] 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-19 21:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196959744001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196959744001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:11:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196959744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":189812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:11:54] local.INFO: GPS data processed {"connection_id":189812,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:11:54] local.INFO: Acknowledgment sent {"connection_id":189812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:12:13] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:13] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:13] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:12:18] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:18] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:12:18] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:12:19] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:12:19] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba500af8012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:12:19] local.INFO: Packet analysis {"connection_id":188511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:12:19] local.INFO: Extracted packet for processing {"connection_id":188511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba50"} 
[2026-09-19 21:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458196966912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:19] 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-19 21:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789832203000,"timestamp_ms":1789832203000,"timestamp_seconds":1789832203,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba500af8"} 
[2026-09-19 21:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 21:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:12:19] 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-19 21:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458196966912001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458196966912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458196966912001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":188511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:12:19] local.INFO: GPS data processed {"connection_id":188511,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:12:19] local.INFO: Acknowledgment sent {"connection_id":188511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:12:22] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:22] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:22] local.INFO: IMEI packet received {"connection_id":187213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":187213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:12:23] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:12:23] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:12:23] local.INFO: Packet analysis {"connection_id":188511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:23] local.INFO: Extracted packet for processing {"connection_id":188511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:23] 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-19 21:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:12:23] 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-19 21:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":188511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:12:23] local.INFO: GPS data processed {"connection_id":188511,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:12:23] local.INFO: Acknowledgment sent {"connection_id":188511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:12:27] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:27] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:12:27] local.INFO: IMEI packet received {"connection_id":187213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":187213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:12:28] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:28] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:28] local.INFO: Packet analysis {"connection_id":187213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:28] local.INFO: Extracted packet for processing {"connection_id":187213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":187213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:12:28] local.INFO: GPS data processed {"connection_id":187213,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:12:28] local.INFO: Acknowledgment sent {"connection_id":187213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:12:33] local.INFO: TCP Data received {"connection_id":187213,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:33] local.INFO: Processing buffer {"connection_id":187213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:12:33] local.INFO: Packet analysis {"connection_id":187213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:33] local.INFO: Extracted packet for processing {"connection_id":187213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 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-19 21:12: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-19 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-19 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-19 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-19 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-19 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:12: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-19 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":187213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:12:33] local.INFO: GPS data processed {"connection_id":187213,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:12:33] local.INFO: Acknowledgment sent {"connection_id":187213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:12:42] local.INFO: TCP Data received {"connection_id":188512,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:42] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:42] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:12:43] local.INFO: TCP Data received {"connection_id":188512,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:43] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:43] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:12:48] local.INFO: TCP Data received {"connection_id":188512,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:48] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:12:48] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:12:50] local.INFO: TCP Data received {"connection_id":188512,"ip":"117.225.202.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba53df70012c7efd8008e395c001c5003022..."} 
[2026-09-19 21:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba53df70012c7efd8008e395c001c5003022..."} 
[2026-09-19 21:12:50] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba53df70012c7efd8008e395c001c5003022..."} 
[2026-09-19 21:12:50] local.INFO: Packet analysis {"connection_id":188512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba53"} 
[2026-09-19 21:12:50] local.INFO: Extracted packet for processing {"connection_id":188512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba53"} 
[2026-09-19 21:12:50] local.INFO: GPS Element Parsed {"raw_longitude":746519936,"raw_latitude":149132736,"longitude_deg":74.6519936,"latitude_deg":14.9132736,"altitude":453,"angle":48,"satellites":34,"speed":40,"hex_longitude":"2c7efd80","hex_latitude":"08e395c0","is_valid_coordinates":true} 
[2026-09-19 21:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197105664001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1400051964313600,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9142659125459279873,"note":"Value kept but may cause issues"} 
[2026-09-19 21:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789832454000,"timestamp_ms":1789832454000,"timestamp_seconds":1789832454,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba53df70"} 
[2026-09-19 21:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:12: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-19 21:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-19 21:12:50] 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-19 21:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 21:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 21:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197105664001,"66":27745,"241":206,"104":45568,"24":40,"16":1400051964313600,"44":9142659125459279873},"client_ip":"117.225.202.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,104,24,16,44]} 
[2026-09-19 21:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 21:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 21:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197105664001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:12:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-19 21:12:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-19 21:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1400051964313600,"km_value":1400051964313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":9142659125459279873,"description":"Unknown IO ID 44"} 
[2026-09-19 21:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197105664001,"power":27745,"unknown_241":206,"unknown_104":45568,"ignition":40,"odometer":null,"unknown_44":9142659125459279873}} 
[2026-09-19 21:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":188512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:12:51] local.INFO: GPS data processed {"connection_id":188512,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:12:51] local.INFO: Acknowledgment sent {"connection_id":188512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:08] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:08] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:08] local.INFO: IMEI packet received {"connection_id":187214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":187214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:13:13] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:13] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:13:13] local.INFO: IMEI packet received {"connection_id":187214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:13:13] local.INFO: TCP Data received {"connection_id":187215,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:13] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:13] local.INFO: IMEI packet received {"connection_id":187215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:13:14] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:14] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:14] local.INFO: Packet analysis {"connection_id":187214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:14] local.INFO: Extracted packet for processing {"connection_id":187214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:14] 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-19 21:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21: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-19 21:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":187214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:14] local.INFO: GPS data processed {"connection_id":187214,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:14] local.INFO: Acknowledgment sent {"connection_id":187214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:14] local.INFO: TCP Data received {"connection_id":187215,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:14] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:14] local.INFO: IMEI packet received {"connection_id":187215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":187215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:13:17] local.INFO: TCP Data received {"connection_id":189813,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:17] local.INFO: Processing buffer {"connection_id":189813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:17] local.INFO: IMEI packet received {"connection_id":189813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":189813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:13:19] local.INFO: TCP Data received {"connection_id":187215,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:19] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:13:19] local.INFO: IMEI packet received {"connection_id":187215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":187215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:13:21] local.INFO: TCP Data received {"connection_id":187215,"ip":"117.225.202.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54f0e0012c7fc60008e45f2001c6002924..."} 
[2026-09-19 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54f0e0012c7fc60008e45f2001c6002924..."} 
[2026-09-19 21:13:21] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54f0e0012c7fc60008e45f2001c6002924..."} 
[2026-09-19 21:13:21] local.INFO: Packet analysis {"connection_id":187215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:21] local.INFO: Extracted packet for processing {"connection_id":187215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":746571264,"raw_latitude":149184288,"longitude_deg":74.6571264,"latitude_deg":14.9184288,"altitude":454,"angle":41,"satellites":36,"speed":47,"hex_longitude":"2c7fc600","hex_latitude":"08e45f20","is_valid_coordinates":true} 
[2026-09-19 21:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197123840001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1403711276449792,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9200009651976994817,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789832524000,"timestamp_ms":1789832524000,"timestamp_seconds":1789832524,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54f0e0"} 
[2026-09-19 21:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 21:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:21] 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-19 21:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 21:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 21:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197123840001,"66":27876,"67":206,"9":56576,"24":47,"16":1403711276449792,"44":9200009651976994817},"client_ip":"117.225.202.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,9,24,16,44]} 
[2026-09-19 21:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 21:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 21:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197123840001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:21] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-19 21:13:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-19 21:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1403711276449792,"km_value":1403711276449.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":9200009651976994817,"description":"Unknown IO ID 44"} 
[2026-09-19 21:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197123840001,"power":27876,"unknown_67":206,"unknown_9":56576,"ignition":47,"odometer":null,"unknown_44":9200009651976994817}} 
[2026-09-19 21:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":187215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:21] local.INFO: GPS data processed {"connection_id":187215,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:21] local.INFO: Acknowledgment sent {"connection_id":187215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:22] local.INFO: TCP Data received {"connection_id":189813,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:22] local.INFO: Processing buffer {"connection_id":189813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:13:22] local.INFO: IMEI packet received {"connection_id":189813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":189813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:13:23] local.INFO: TCP Data received {"connection_id":189813,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:23] local.INFO: Processing buffer {"connection_id":189813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:23] local.INFO: Packet analysis {"connection_id":189813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:23] local.INFO: Extracted packet for processing {"connection_id":189813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13:23] 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-19 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:13:23] 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-19 21:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":189813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:23] local.INFO: GPS data processed {"connection_id":189813,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:23] local.INFO: Acknowledgment sent {"connection_id":189813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:46] local.INFO: TCP Data received {"connection_id":187214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:46] local.INFO: Processing buffer {"connection_id":187214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:13:46] local.INFO: Packet analysis {"connection_id":187214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:46] local.INFO: Extracted packet for processing {"connection_id":187214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:46] 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-19 21:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:13: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-19 21:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":187214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:46] local.INFO: GPS data processed {"connection_id":187214,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:46] local.INFO: Acknowledgment sent {"connection_id":187214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:52] local.INFO: TCP Data received {"connection_id":187215,"ip":"117.225.202.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba551020012c7fde0008e4795001c4002627..."} 
[2026-09-19 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba551020012c7fde0008e4795001c4002627..."} 
[2026-09-19 21:13:52] local.INFO: Processing buffer {"connection_id":187215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba551020012c7fde0008e4795001c4002627..."} 
[2026-09-19 21:13:52] local.INFO: Packet analysis {"connection_id":187215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba55"} 
[2026-09-19 21:13:52] local.INFO: Extracted packet for processing {"connection_id":187215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba55"} 
[2026-09-19 21:13:52] local.INFO: GPS Element Parsed {"raw_longitude":746577408,"raw_latitude":149190992,"longitude_deg":74.6577408,"latitude_deg":14.9190992,"altitude":452,"angle":38,"satellites":39,"speed":39,"hex_longitude":"2c7fde00","hex_latitude":"08e47950","is_valid_coordinates":true} 
[2026-09-19 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197126144001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1404145068146688,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9207046526396735489,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789832532000,"timestamp_ms":1789832532000,"timestamp_seconds":1789832532,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba551020"} 
[2026-09-19 21:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13: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-19 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 21:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 21:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197126144001,"66":27843,"65":206,"9":56576,"24":39,"16":1404145068146688,"44":9207046526396735489},"client_ip":"117.225.202.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,9,24,16,44]} 
[2026-09-19 21:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 21:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 21:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197126144001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-19 21:13:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-19 21:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1404145068146688,"km_value":1404145068146.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":9207046526396735489,"description":"Unknown IO ID 44"} 
[2026-09-19 21:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197126144001,"power":27843,"unknown_65":206,"unknown_9":56576,"ignition":39,"odometer":null,"unknown_44":9207046526396735489}} 
[2026-09-19 21:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":187215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:52] local.INFO: GPS data processed {"connection_id":187215,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:52] local.INFO: Acknowledgment sent {"connection_id":187215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:13:54] local.INFO: TCP Data received {"connection_id":189813,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:54] local.INFO: Processing buffer {"connection_id":189813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:13:54] local.INFO: Packet analysis {"connection_id":189813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:54] local.INFO: Extracted packet for processing {"connection_id":189813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:13:54] 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-19 21:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:13:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":189813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:13:54] local.INFO: GPS data processed {"connection_id":189813,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:13:54] local.INFO: Acknowledgment sent {"connection_id":189813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:08] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:08] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:08] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:14:08] local.INFO: TCP Data received {"connection_id":189814,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:08] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:08] local.INFO: IMEI packet received {"connection_id":189814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":189814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:14:11] local.INFO: TCP Data received {"connection_id":189814,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:11] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:11] local.INFO: IMEI packet received {"connection_id":189814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":189814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:14:13] local.INFO: TCP Data received {"connection_id":189814,"ip":"117.225.202.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:13] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:14:13] local.INFO: IMEI packet received {"connection_id":189814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":189814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:14:13] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:13] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:14:13] local.INFO: IMEI packet received {"connection_id":187075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":187075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:14:14] local.INFO: TCP Data received {"connection_id":189814,"ip":"117.225.202.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba551bd8012c7fe50008e483b001c4001a28..."} 
[2026-09-19 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba551bd8012c7fe50008e483b001c4001a28..."} 
[2026-09-19 21:14:14] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba551bd8012c7fe50008e483b001c4001a28..."} 
[2026-09-19 21:14:14] local.INFO: Packet analysis {"connection_id":189814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba55"} 
[2026-09-19 21:14:14] local.INFO: Extracted packet for processing {"connection_id":189814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba55"} 
[2026-09-19 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":746579200,"raw_latitude":149193648,"longitude_deg":74.65792,"latitude_deg":14.9193648,"altitude":452,"angle":26,"satellites":40,"speed":44,"hex_longitude":"2c7fe500","hex_latitude":"08e483b0","is_valid_coordinates":true} 
[2026-09-19 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197128192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1404299686969344,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9213801925839507457,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832535000,"timestamp_ms":1789832535000,"timestamp_seconds":1789832535,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba551bd8"} 
[2026-09-19 21:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 21:14: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-19 21:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 21:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 21:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197128192001,"66":27713,"65":206,"9":56576,"24":44,"16":1404299686969344,"44":9213801925839507457},"client_ip":"117.225.202.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,9,24,16,44]} 
[2026-09-19 21:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 21:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197128192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-19 21:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1404299686969344,"km_value":1404299686969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":9213801925839507457,"description":"Unknown IO ID 44"} 
[2026-09-19 21:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197128192001,"power":27713,"unknown_65":206,"unknown_9":56576,"ignition":44,"odometer":null,"unknown_44":9213801925839507457}} 
[2026-09-19 21:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":189814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:14] local.INFO: GPS data processed {"connection_id":189814,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:14] local.INFO: Acknowledgment sent {"connection_id":189814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:15] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:15] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:15] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:15] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14: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-19 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:14:15] 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-19 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:15] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:15] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:17] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:17] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:17] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:14:22] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:22] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:14:22] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:14:23] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:23] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:23] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:23] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21: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-19 21:14:23] 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-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:14:23] 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-19 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:23] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:23] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:46] local.INFO: TCP Data received {"connection_id":189814,"ip":"117.225.202.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba56aa48012c80e18008e56af001ce015526..."} 
[2026-09-19 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba56aa48012c80e18008e56af001ce015526..."} 
[2026-09-19 21:14:46] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba56aa48012c80e18008e56af001ce015526..."} 
[2026-09-19 21:14:46] local.INFO: Packet analysis {"connection_id":189814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba56"} 
[2026-09-19 21:14:46] local.INFO: Extracted packet for processing {"connection_id":189814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba56"} 
[2026-09-19 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":746643840,"raw_latitude":149252848,"longitude_deg":74.664384,"latitude_deg":14.9252848,"altitude":462,"angle":341,"satellites":38,"speed":10,"hex_longitude":"2c80e180","hex_latitude":"08e56af0","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197154560001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1408586064330752,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9160110497630523391,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832637000,"timestamp_ms":1789832637000,"timestamp_seconds":1789832637,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba56aa48"} 
[2026-09-19 21: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-19 21:14: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-19 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 21:14: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-19 21: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-19 21: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-19 21:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 21:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197154560001,"66":27484,"65":206,"9":56576,"24":10,"16":1408586064330752,"44":-9160110497630523391},"client_ip":"117.225.202.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,9,24,16,44]} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 21:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197154560001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-19 21:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1408586064330752,"km_value":1408586064330.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9160110497630523391,"description":"Unknown IO ID 44"} 
[2026-09-19 21:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197154560001,"power":27484,"unknown_65":206,"unknown_9":56576,"ignition":10,"odometer":null,"unknown_44":-9160110497630523391}} 
[2026-09-19 21:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":189814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:46] local.INFO: GPS data processed {"connection_id":189814,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:46] local.INFO: Acknowledgment sent {"connection_id":189814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:46] local.INFO: TCP Data received {"connection_id":187075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:46] local.INFO: Processing buffer {"connection_id":187075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:14:46] local.INFO: Packet analysis {"connection_id":187075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:46] local.INFO: Extracted packet for processing {"connection_id":187075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:46] 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-19 21:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21: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-19 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21: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-19 21:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":187075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:46] local.INFO: GPS data processed {"connection_id":187075,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:46] local.INFO: Acknowledgment sent {"connection_id":187075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:14:54] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:54] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:14:54] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:54] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:14:54] 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-19 21:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:14:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:14:54] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:14:54] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:15:08] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:08] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:08] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:15:13] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:13] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:15:13] local.INFO: IMEI packet received {"connection_id":187076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":187076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:15:14] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:14] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:14] local.INFO: Packet analysis {"connection_id":187076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:14] local.INFO: Extracted packet for processing {"connection_id":187076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:14] 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-19 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:15: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-19 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":187076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:15:14] local.INFO: GPS data processed {"connection_id":187076,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:15:14] local.INFO: Acknowledgment sent {"connection_id":187076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:15:18] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:18] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:18] local.INFO: IMEI packet received {"connection_id":187216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":187216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:15:23] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:23] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:15:23] local.INFO: IMEI packet received {"connection_id":187216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":187216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:15:23] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:23] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:23] local.INFO: Packet analysis {"connection_id":187216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:23] local.INFO: Extracted packet for processing {"connection_id":187216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:15: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-19 21:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:15:23] 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-19 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:15: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-19 21:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:15:23] 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-19 21:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":187216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:15:23] local.INFO: GPS data processed {"connection_id":187216,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:15:23] local.INFO: Acknowledgment sent {"connection_id":187216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:15:45] local.INFO: TCP Data received {"connection_id":187076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:45] local.INFO: Processing buffer {"connection_id":187076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:15:45] local.INFO: Packet analysis {"connection_id":187076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:45] local.INFO: Extracted packet for processing {"connection_id":187076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:45] 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-19 21:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:15:45] 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-19 21:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":187076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:15:45] local.INFO: GPS data processed {"connection_id":187076,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:15:45] local.INFO: Acknowledgment sent {"connection_id":187076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:15:54] local.INFO: TCP Data received {"connection_id":187216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:54] local.INFO: Processing buffer {"connection_id":187216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:15:54] local.INFO: Packet analysis {"connection_id":187216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:54] local.INFO: Extracted packet for processing {"connection_id":187216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:15:54] 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-19 21:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:15:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:15:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":187216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:15:54] local.INFO: GPS data processed {"connection_id":187216,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:15:54] local.INFO: Acknowledgment sent {"connection_id":187216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:16:13] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:13] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:13] local.INFO: IMEI packet received {"connection_id":187077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":187077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:16:17] local.INFO: TCP Data received {"connection_id":189815,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:17] local.INFO: Processing buffer {"connection_id":189815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:17] local.INFO: IMEI packet received {"connection_id":189815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":189815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:16:18] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:18] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:16:18] local.INFO: IMEI packet received {"connection_id":187077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":187077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:16:19] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:19] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:19] local.INFO: Packet analysis {"connection_id":187077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:19] local.INFO: Extracted packet for processing {"connection_id":187077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:16: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-19 21:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:19] 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-19 21:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21: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-19 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:16:19] 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-19 21:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":187077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:16:19] local.INFO: GPS data processed {"connection_id":187077,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:16:19] local.INFO: Acknowledgment sent {"connection_id":187077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:16:23] local.INFO: TCP Data received {"connection_id":189815,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:23] local.INFO: Processing buffer {"connection_id":189815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:16:23] local.INFO: IMEI packet received {"connection_id":189815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":189815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:16:23] local.INFO: TCP Data received {"connection_id":189815,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:23] local.INFO: Processing buffer {"connection_id":189815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:23] local.INFO: Packet analysis {"connection_id":189815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:23] local.INFO: Extracted packet for processing {"connection_id":189815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:16: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-19 21:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:16:23] 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-19 21:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:16: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-19 21:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:16:23] 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-19 21:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":189815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:16:23] local.INFO: GPS data processed {"connection_id":189815,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:16:23] local.INFO: Acknowledgment sent {"connection_id":189815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:16:24] local.INFO: TCP Data received {"connection_id":187077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:24] local.INFO: Processing buffer {"connection_id":187077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:16:24] local.INFO: Packet analysis {"connection_id":187077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:24] local.INFO: Extracted packet for processing {"connection_id":187077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:24] 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-19 21:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:16:24] 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-19 21:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":187077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:16:24] local.INFO: GPS data processed {"connection_id":187077,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:16:24] local.INFO: Acknowledgment sent {"connection_id":187077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:16:54] local.INFO: TCP Data received {"connection_id":189815,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:54] local.INFO: Processing buffer {"connection_id":189815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba543560012d196540071fefa8003500612a..."} 
[2026-09-19 21:16:54] local.INFO: Packet analysis {"connection_id":189815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:54] local.INFO: Extracted packet for processing {"connection_id":189815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":53,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197036800001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832476000,"timestamp_ms":1789832476000,"timestamp_seconds":1789832476,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba543560"} 
[2026-09-19 21:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:16:54] 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-19 21:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197036800001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197036800001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:16:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197036800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":189815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:16:55] local.INFO: GPS data processed {"connection_id":189815,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:16:55] local.INFO: Acknowledgment sent {"connection_id":189815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:17:08] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:08] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:08] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:17:13] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:13] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:17:13] local.INFO: IMEI packet received {"connection_id":187078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":187078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:17:14] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:14] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:14] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:17:14] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:14] 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-19 21:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17: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-19 21:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:17:14] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:17:14] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:17:18] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:18] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:18] local.INFO: IMEI packet received {"connection_id":187217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":187217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:17:18] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:18] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba54a2c0012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:18] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:17:18] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba54"} 
[2026-09-19 21:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197043968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:18] 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-19 21:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789832504000,"timestamp_ms":1789832504000,"timestamp_seconds":1789832504,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba54a2c0"} 
[2026-09-19 21:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 21:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17:18] 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-19 21:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197043968001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197043968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197043968001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:17:18] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:17:18] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:17:22] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:22] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:17:22] local.INFO: IMEI packet received {"connection_id":187217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":187217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:17:23] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:23] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:23] local.INFO: Packet analysis {"connection_id":187217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:17:23] local.INFO: Extracted packet for processing {"connection_id":187217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:17:23] 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-19 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:17:23] 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-19 21:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":187217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:17:23] local.INFO: GPS data processed {"connection_id":187217,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:17:23] local.INFO: Acknowledgment sent {"connection_id":187217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:17:50] local.INFO: TCP Data received {"connection_id":187078,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:50] local.INFO: Processing buffer {"connection_id":187078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:17:50] local.INFO: Packet analysis {"connection_id":187078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:17:50] local.INFO: Extracted packet for processing {"connection_id":187078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:17: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-19 21:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:50] 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-19 21:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21: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-19 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:17:50] 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-19 21:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":187078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:17:50] local.INFO: GPS data processed {"connection_id":187078,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:17:50] local.INFO: Acknowledgment sent {"connection_id":187078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:17:54] local.INFO: TCP Data received {"connection_id":187217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:54] local.INFO: Processing buffer {"connection_id":187217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:17:54] local.INFO: Packet analysis {"connection_id":187217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:17:54] local.INFO: Extracted packet for processing {"connection_id":187217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:17:54] 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-19 21:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:17:54] 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-19 21:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":187217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:17:54] local.INFO: GPS data processed {"connection_id":187217,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:17:54] local.INFO: Acknowledgment sent {"connection_id":187217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:18:08] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:08] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:08] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:18:13] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:13] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:18:13] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:18:14] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:14] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:14] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:18:14] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:14] 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-19 21:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:18: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-19 21:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:18:14] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:18:14] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:18:18] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:18] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:18] local.INFO: IMEI packet received {"connection_id":187218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":187218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:18:22] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:22] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:18:22] local.INFO: IMEI packet received {"connection_id":187218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":187218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:18:23] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:23] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:23] local.INFO: Packet analysis {"connection_id":187218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:18:23] local.INFO: Extracted packet for processing {"connection_id":187218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:18:23] 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-19 21:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:18:23] 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-19 21:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":187218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:18:23] local.INFO: GPS data processed {"connection_id":187218,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:18:23] local.INFO: Acknowledgment sent {"connection_id":187218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:18:46] local.INFO: TCP Data received {"connection_id":188514,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:46] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:18:46] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:18:46] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:46] 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-19 21:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:18: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-19 21:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:18:46] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:18:46] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:18:55] local.INFO: TCP Data received {"connection_id":187218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:55] local.INFO: Processing buffer {"connection_id":187218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:18:55] local.INFO: Packet analysis {"connection_id":187218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:18:55] local.INFO: Extracted packet for processing {"connection_id":187218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:18: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-19 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:18:55] 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-19 21:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:18: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-19 21:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:18:55] 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-19 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":187218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:18:55] local.INFO: GPS data processed {"connection_id":187218,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:18:55] local.INFO: Acknowledgment sent {"connection_id":187218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:19:08] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:08] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:08] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:19:13] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:13] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:19:13] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:19:14] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:14] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:14] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:19:14] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:14] 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-19 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:19:14] 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-19 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:19:14] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:19:14] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:19:18] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:18] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:18] local.INFO: IMEI packet received {"connection_id":189816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":189816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:19:22] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:22] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:19:22] local.INFO: IMEI packet received {"connection_id":189816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":189816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:19:23] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:23] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:23] local.INFO: Packet analysis {"connection_id":189816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:19:23] local.INFO: Extracted packet for processing {"connection_id":189816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:19: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-19 21:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:19:23] 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-19 21:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:19: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-19 21:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:19:23] 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-19 21:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":189816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:19:23] local.INFO: GPS data processed {"connection_id":189816,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:19:23] local.INFO: Acknowledgment sent {"connection_id":189816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:19:46] local.INFO: TCP Data received {"connection_id":188515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:46] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:19:46] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:19:46] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 21:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:46] 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-19 21:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 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-19 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 21:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:19: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-19 21:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:19:46] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:19:46] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:19:54] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:54] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:19:54] local.INFO: Packet analysis {"connection_id":189816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:19:54] local.INFO: Extracted packet for processing {"connection_id":189816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:19:54] 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-19 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:19:54] 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-19 21:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:19:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":189816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:19:54] local.INFO: GPS data processed {"connection_id":189816,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:19:54] local.INFO: Acknowledgment sent {"connection_id":189816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:20:08] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:08] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:08] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:20:13] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:13] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:20:13] local.INFO: IMEI packet received {"connection_id":187079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:20:15] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:15] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:15] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:20:15] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20: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-19 21:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21: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-19 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:20: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-19 21:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:20:15] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:20:15] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:20:17] local.INFO: TCP Data received {"connection_id":187219,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:17] local.INFO: Processing buffer {"connection_id":187219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:17] local.INFO: IMEI packet received {"connection_id":187219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":187219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:20:22] local.INFO: TCP Data received {"connection_id":187219,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:22] local.INFO: Processing buffer {"connection_id":187219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:20:22] local.INFO: IMEI packet received {"connection_id":187219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":187219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:20:23] local.INFO: TCP Data received {"connection_id":187219,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:23] local.INFO: Processing buffer {"connection_id":187219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:23] local.INFO: Packet analysis {"connection_id":187219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:20:23] local.INFO: Extracted packet for processing {"connection_id":187219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:20:23] 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-19 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:20:23] 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-19 21:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":187219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:20:23] local.INFO: GPS data processed {"connection_id":187219,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:20:23] local.INFO: Acknowledgment sent {"connection_id":187219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:20:46] local.INFO: TCP Data received {"connection_id":187079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:46] local.INFO: Processing buffer {"connection_id":187079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:20:46] local.INFO: Packet analysis {"connection_id":187079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:20:46] local.INFO: Extracted packet for processing {"connection_id":187079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:46] 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-19 21:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21: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-19 21:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:20: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-19 21:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":187079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:20:46] local.INFO: GPS data processed {"connection_id":187079,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:20:46] local.INFO: Acknowledgment sent {"connection_id":187079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:20:54] local.INFO: TCP Data received {"connection_id":187219,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:54] local.INFO: Processing buffer {"connection_id":187219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:20:54] local.INFO: Packet analysis {"connection_id":187219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:20:54] local.INFO: Extracted packet for processing {"connection_id":187219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:20:54] 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-19 21:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:20:54] 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-19 21:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:20:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":187219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:20:55] local.INFO: GPS data processed {"connection_id":187219,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:20:55] local.INFO: Acknowledgment sent {"connection_id":187219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:21:13] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:13] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:13] local.INFO: IMEI packet received {"connection_id":189817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":189817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:21:17] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:17] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:17] local.INFO: IMEI packet received {"connection_id":187080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":187080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:21:18] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:18] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:21:18] local.INFO: IMEI packet received {"connection_id":189817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":189817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:21:19] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:19] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:19] local.INFO: Packet analysis {"connection_id":189817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:21:19] local.INFO: Extracted packet for processing {"connection_id":189817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:19] 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-19 21:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:21:19] 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-19 21:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":189817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:21:19] local.INFO: GPS data processed {"connection_id":189817,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:21:19] local.INFO: Acknowledgment sent {"connection_id":189817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:21:22] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:22] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:21:22] local.INFO: IMEI packet received {"connection_id":187080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":187080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:21:23] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:23] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:23] local.INFO: Packet analysis {"connection_id":187080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:21:23] local.INFO: Extracted packet for processing {"connection_id":187080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:21:23] 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-19 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:21:23] 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-19 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":187080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:21:23] local.INFO: GPS data processed {"connection_id":187080,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:21:23] local.INFO: Acknowledgment sent {"connection_id":187080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:21:23] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:23] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:21:23] local.INFO: Packet analysis {"connection_id":189817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:21:23] local.INFO: Extracted packet for processing {"connection_id":189817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:23] 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-19 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:21:23] 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-19 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":189817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:21:23] local.INFO: GPS data processed {"connection_id":189817,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:21:23] local.INFO: Acknowledgment sent {"connection_id":189817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:21:54] local.INFO: TCP Data received {"connection_id":187080,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:54] local.INFO: Processing buffer {"connection_id":187080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba58cd28012d196540071fefa80040006127..."} 
[2026-09-19 21:21:54] local.INFO: Packet analysis {"connection_id":187080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:21:54] local.INFO: Extracted packet for processing {"connection_id":187080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba58"} 
[2026-09-19 21:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":64,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197113856001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789832777000,"timestamp_ms":1789832777000,"timestamp_seconds":1789832777,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba58cd28"} 
[2026-09-19 21:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:21:54] 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-19 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:21:54] 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-19 21:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197113856001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197113856001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:21:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197113856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":187080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:21:54] local.INFO: GPS data processed {"connection_id":187080,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:21:54] local.INFO: Acknowledgment sent {"connection_id":187080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:22:08] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:08] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:08] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:22:13] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:13] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:22:13] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:22:14] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:14] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:14] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:22:14] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:14] 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-19 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:14] 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-19 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:22:14] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:22:14] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:22:19] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:19] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba593a88012d34c14006aa41400008010e29..."} 
[2026-09-19 21:22:19] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:22:19] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba59"} 
[2026-09-19 21:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197121024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:19] 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-19 21:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789832805000,"timestamp_ms":1789832805000,"timestamp_seconds":1789832805,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba593a88"} 
[2026-09-19 21:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 21:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:19] 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-19 21:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197121024001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197121024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197121024001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:22:19] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:22:19] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:22:22] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:22] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:22] local.INFO: IMEI packet received {"connection_id":189818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":189818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:22:27] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:27] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:22:27] local.INFO: IMEI packet received {"connection_id":189818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":189818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:22:28] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:28] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:28] local.INFO: Packet analysis {"connection_id":189818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:28] local.INFO: Extracted packet for processing {"connection_id":189818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:22:28] 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-19 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":189818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:22:28] local.INFO: GPS data processed {"connection_id":189818,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:22:28] local.INFO: Acknowledgment sent {"connection_id":189818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:22:50] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:22:50] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:22:50] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:50] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:22: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-19 21:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:50] 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-19 21:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:22: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-19 21:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:22:50] 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-19 21:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:22:50] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:22:50] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:22:59] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:59] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:22:59] local.INFO: Packet analysis {"connection_id":189818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:59] local.INFO: Extracted packet for processing {"connection_id":189818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:22:59] 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-19 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":189818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":189818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":189818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:22:59] 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-19 21:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":189818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:22:59] local.INFO: GPS data processed {"connection_id":189818,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:22:59] local.INFO: Acknowledgment sent {"connection_id":189818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:23:08] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:08] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:08] local.INFO: IMEI packet received {"connection_id":187220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":187220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:23:13] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:13] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:23:13] local.INFO: IMEI packet received {"connection_id":187220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:23:14] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:14] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:14] local.INFO: Packet analysis {"connection_id":187220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:14] local.INFO: Extracted packet for processing {"connection_id":187220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:14] 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-19 21:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:23: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-19 21:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":187220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:23:14] local.INFO: GPS data processed {"connection_id":187220,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:23:14] local.INFO: Acknowledgment sent {"connection_id":187220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:23:18] local.INFO: TCP Data received {"connection_id":189819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:18] local.INFO: Processing buffer {"connection_id":189819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:18] local.INFO: IMEI packet received {"connection_id":189819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":189819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:23:22] local.INFO: TCP Data received {"connection_id":189819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:22] local.INFO: Processing buffer {"connection_id":189819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:23:22] local.INFO: IMEI packet received {"connection_id":189819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":189819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:23:23] local.INFO: TCP Data received {"connection_id":189819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:23] local.INFO: Processing buffer {"connection_id":189819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:23] local.INFO: Packet analysis {"connection_id":189819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:23] local.INFO: Extracted packet for processing {"connection_id":189819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:23:23] 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-19 21:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":189819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:23:23] local.INFO: GPS data processed {"connection_id":189819,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:23:23] local.INFO: Acknowledgment sent {"connection_id":189819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:23:46] local.INFO: TCP Data received {"connection_id":187220,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:46] local.INFO: Processing buffer {"connection_id":187220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:23:46] local.INFO: Packet analysis {"connection_id":187220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:46] local.INFO: Extracted packet for processing {"connection_id":187220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:46] 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-19 21:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21: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-19 21:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:23: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-19 21:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":187220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:23:46] local.INFO: GPS data processed {"connection_id":187220,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:23:46] local.INFO: Acknowledgment sent {"connection_id":187220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:23:57] local.INFO: TCP Data received {"connection_id":189819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:57] local.INFO: Processing buffer {"connection_id":189819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:23:57] local.INFO: Packet analysis {"connection_id":189819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:57] local.INFO: Extracted packet for processing {"connection_id":189819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:23:57] 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-19 21:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":189819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:23:57] local.INFO: GPS data processed {"connection_id":189819,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:23:57] local.INFO: Acknowledgment sent {"connection_id":189819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:24:08] local.INFO: TCP Data received {"connection_id":189820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:08] local.INFO: Processing buffer {"connection_id":189820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:08] local.INFO: IMEI packet received {"connection_id":189820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":189820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:24:13] local.INFO: TCP Data received {"connection_id":189820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:13] local.INFO: Processing buffer {"connection_id":189820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:24:13] local.INFO: IMEI packet received {"connection_id":189820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":189820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:24:14] local.INFO: TCP Data received {"connection_id":189820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:14] local.INFO: Processing buffer {"connection_id":189820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:14] local.INFO: Packet analysis {"connection_id":189820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:14] local.INFO: Extracted packet for processing {"connection_id":189820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:14] 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-19 21:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21: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-19 21:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:24: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-19 21:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":189820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:24:14] local.INFO: GPS data processed {"connection_id":189820,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:24:14] local.INFO: Acknowledgment sent {"connection_id":189820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:24:17] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:17] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:17] local.INFO: IMEI packet received {"connection_id":187221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":187221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:24:22] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:22] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:24:22] local.INFO: IMEI packet received {"connection_id":187221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":187221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:24:23] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:23] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:23] local.INFO: Packet analysis {"connection_id":187221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:23] local.INFO: Extracted packet for processing {"connection_id":187221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:24:23] 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-19 21:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":187221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:24:23] local.INFO: GPS data processed {"connection_id":187221,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:24:23] local.INFO: Acknowledgment sent {"connection_id":187221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:24:46] local.INFO: TCP Data received {"connection_id":189820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:46] local.INFO: Processing buffer {"connection_id":189820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:24:46] local.INFO: Packet analysis {"connection_id":189820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:46] local.INFO: Extracted packet for processing {"connection_id":189820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:46] 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-19 21:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21: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-19 21:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:24: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-19 21:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":189820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:24:46] local.INFO: GPS data processed {"connection_id":189820,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:24:46] local.INFO: Acknowledgment sent {"connection_id":189820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:24:54] local.INFO: TCP Data received {"connection_id":187221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:54] local.INFO: Processing buffer {"connection_id":187221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:24:54] local.INFO: Packet analysis {"connection_id":187221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:54] local.INFO: Extracted packet for processing {"connection_id":187221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:24:54] 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-19 21:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":187221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:24:55] local.INFO: GPS data processed {"connection_id":187221,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:24:55] local.INFO: Acknowledgment sent {"connection_id":187221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:25:08] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:08] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:08] local.INFO: IMEI packet received {"connection_id":187222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":187222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:25:13] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:13] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:25:13] local.INFO: IMEI packet received {"connection_id":187222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":187222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:25:14] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:14] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:14] local.INFO: Packet analysis {"connection_id":187222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:14] local.INFO: Extracted packet for processing {"connection_id":187222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:14] 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-19 21:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:25: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-19 21:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":187222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:25:14] local.INFO: GPS data processed {"connection_id":187222,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:25:14] local.INFO: Acknowledgment sent {"connection_id":187222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:25:17] local.INFO: TCP Data received {"connection_id":187081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:17] local.INFO: Processing buffer {"connection_id":187081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:17] local.INFO: IMEI packet received {"connection_id":187081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":187081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:25:22] local.INFO: TCP Data received {"connection_id":187081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:22] local.INFO: Processing buffer {"connection_id":187081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:25:22] local.INFO: IMEI packet received {"connection_id":187081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":187081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:25:23] local.INFO: TCP Data received {"connection_id":187081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:23] local.INFO: Processing buffer {"connection_id":187081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:23] local.INFO: Packet analysis {"connection_id":187081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:23] local.INFO: Extracted packet for processing {"connection_id":187081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 21:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":187081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:25:23] local.INFO: GPS data processed {"connection_id":187081,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:25:23] local.INFO: Acknowledgment sent {"connection_id":187081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:25:25] local.INFO: TCP Data received {"connection_id":187223,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:25:25] local.INFO: Processing buffer {"connection_id":187223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:25:25] local.INFO: IMEI packet received {"connection_id":187223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":187223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:25:45] local.INFO: TCP Data received {"connection_id":187222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:45] local.INFO: Processing buffer {"connection_id":187222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:25:45] local.INFO: Packet analysis {"connection_id":187222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:45] local.INFO: Extracted packet for processing {"connection_id":187222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:45] 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-19 21:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:25:45] 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-19 21:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":187222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:25:46] local.INFO: GPS data processed {"connection_id":187222,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:25:46] local.INFO: Acknowledgment sent {"connection_id":187222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:25:54] local.INFO: TCP Data received {"connection_id":187081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:54] local.INFO: Processing buffer {"connection_id":187081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:25:54] local.INFO: Packet analysis {"connection_id":187081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:54] local.INFO: Extracted packet for processing {"connection_id":187081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 21:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":187081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:25:54] local.INFO: GPS data processed {"connection_id":187081,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:25:54] local.INFO: Acknowledgment sent {"connection_id":187081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:26:13] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:13] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:13] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:26:18] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:18] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:26:18] local.INFO: IMEI packet received {"connection_id":187083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":187083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:26:19] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:19] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:19] local.INFO: Packet analysis {"connection_id":187083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:19] local.INFO: Extracted packet for processing {"connection_id":187083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:19] 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-19 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:26:19] 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-19 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":187083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:26:20] local.INFO: GPS data processed {"connection_id":187083,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:26:20] local.INFO: Acknowledgment sent {"connection_id":187083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:26:22] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:22] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:22] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:26:24] local.INFO: TCP Data received {"connection_id":187083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:24] local.INFO: Processing buffer {"connection_id":187083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:26:24] local.INFO: Packet analysis {"connection_id":187083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:24] local.INFO: Extracted packet for processing {"connection_id":187083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:24] 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-19 21:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21: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-19 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:26:24] 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-19 21:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":187083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:26:24] local.INFO: GPS data processed {"connection_id":187083,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:26:24] local.INFO: Acknowledgment sent {"connection_id":187083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:26:27] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:27] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:26:27] local.INFO: IMEI packet received {"connection_id":187084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":187084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:26:28] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:28] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:28] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:28] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 21:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:26:28] 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-19 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:26:28] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:26:28] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:26:33] local.INFO: TCP Data received {"connection_id":187084,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:33] local.INFO: Processing buffer {"connection_id":187084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5d64f0012d196540071fefa8003e006128..."} 
[2026-09-19 21:26:33] local.INFO: Packet analysis {"connection_id":187084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:33] local.INFO: Extracted packet for processing {"connection_id":187084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197190912001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789833078000,"timestamp_ms":1789833078000,"timestamp_seconds":1789833078,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5d64f0"} 
[2026-09-19 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-19 21:26: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-19 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":118,"data_length":795,"current_offset":136} 
[2026-09-19 21: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-19 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-19 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-19 21:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 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-19 21:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197190912001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197190912001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197190912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":187084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:26:33] local.INFO: GPS data processed {"connection_id":187084,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:26:33] local.INFO: Acknowledgment sent {"connection_id":187084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:27:08] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:08] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:08] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:27:13] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:13] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:27:13] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:27:14] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:14] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba5dd250012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:14] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:27:14] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba5d"} 
[2026-09-19 21:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197198080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:14] 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-19 21:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833106000,"timestamp_ms":1789833106000,"timestamp_seconds":1789833106,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba5dd250"} 
[2026-09-19 21:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:27: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-19 21:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197198080001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197198080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197198080001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:27:14] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:27:14] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:27:18] local.INFO: TCP Data received {"connection_id":189821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:18] local.INFO: Processing buffer {"connection_id":189821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:18] local.INFO: IMEI packet received {"connection_id":189821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":189821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:27:22] local.INFO: TCP Data received {"connection_id":189821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:22] local.INFO: Processing buffer {"connection_id":189821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:27:22] local.INFO: IMEI packet received {"connection_id":189821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":189821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:27:23] local.INFO: TCP Data received {"connection_id":189821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:23] local.INFO: Processing buffer {"connection_id":189821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:23] local.INFO: Packet analysis {"connection_id":189821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:27:23] local.INFO: Extracted packet for processing {"connection_id":189821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:27: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-19 21:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:27:23] 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-19 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:27:23] 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-19 21:27: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-19 21:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:27:23] 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-19 21:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":189821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:27:23] local.INFO: GPS data processed {"connection_id":189821,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:27:23] local.INFO: Acknowledgment sent {"connection_id":189821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:27:45] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:45] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:27:45] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:27:45] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:45] 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-19 21:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:27:45] 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-19 21:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:27:45] 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-19 21:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:27:45] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:27:45] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:27:54] local.INFO: TCP Data received {"connection_id":189821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:54] local.INFO: Processing buffer {"connection_id":189821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:27:54] local.INFO: Packet analysis {"connection_id":189821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:27:54] local.INFO: Extracted packet for processing {"connection_id":189821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:27:54] 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-19 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:27:54] 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-19 21:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:27:54] 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-19 21:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":189821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:27:55] local.INFO: GPS data processed {"connection_id":189821,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:27:55] local.INFO: Acknowledgment sent {"connection_id":189821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:28:08] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:08] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:08] local.INFO: IMEI packet received {"connection_id":187224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":187224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:28:13] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:13] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:28:13] local.INFO: IMEI packet received {"connection_id":187224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":187224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:28:14] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:14] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:14] local.INFO: Packet analysis {"connection_id":187224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:28:14] local.INFO: Extracted packet for processing {"connection_id":187224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:14] 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-19 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:28: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-19 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":187224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:28:14] local.INFO: GPS data processed {"connection_id":187224,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:28:14] local.INFO: Acknowledgment sent {"connection_id":187224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:28:18] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:18] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:18] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:28:22] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:22] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:28:22] local.INFO: IMEI packet received {"connection_id":187085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":187085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:28:23] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:23] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:23] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:28:23] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:28:23] 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-19 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:28:23] 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-19 21:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:28:23] 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-19 21:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:28:23] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:28:23] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:28:46] local.INFO: TCP Data received {"connection_id":187224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:46] local.INFO: Processing buffer {"connection_id":187224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:28:46] local.INFO: Packet analysis {"connection_id":187224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:28:46] local.INFO: Extracted packet for processing {"connection_id":187224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:46] 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-19 21:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:28: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-19 21:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:28: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-19 21:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":187224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:28:46] local.INFO: GPS data processed {"connection_id":187224,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:28:46] local.INFO: Acknowledgment sent {"connection_id":187224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:28:54] local.INFO: TCP Data received {"connection_id":187085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:54] local.INFO: Processing buffer {"connection_id":187085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:28:54] local.INFO: Packet analysis {"connection_id":187085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:28:54] local.INFO: Extracted packet for processing {"connection_id":187085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:28:54] 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-19 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:28:54] 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-19 21:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:28:54] 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-19 21:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:28:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":187085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:28:54] local.INFO: GPS data processed {"connection_id":187085,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:28:54] local.INFO: Acknowledgment sent {"connection_id":187085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:29:08] local.INFO: TCP Data received {"connection_id":189823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:08] local.INFO: Processing buffer {"connection_id":189823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:08] local.INFO: IMEI packet received {"connection_id":189823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":189823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:29:13] local.INFO: TCP Data received {"connection_id":189823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:13] local.INFO: Processing buffer {"connection_id":189823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:29:13] local.INFO: IMEI packet received {"connection_id":189823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":189823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:29:14] local.INFO: TCP Data received {"connection_id":189823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:14] local.INFO: Processing buffer {"connection_id":189823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:14] local.INFO: Packet analysis {"connection_id":189823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:29:14] local.INFO: Extracted packet for processing {"connection_id":189823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:14] 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-19 21:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:29: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-19 21:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":189823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:29:14] local.INFO: GPS data processed {"connection_id":189823,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:29:14] local.INFO: Acknowledgment sent {"connection_id":189823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:29:17] local.INFO: TCP Data received {"connection_id":187225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:17] local.INFO: Processing buffer {"connection_id":187225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:17] local.INFO: IMEI packet received {"connection_id":187225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":187225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:29:22] local.INFO: TCP Data received {"connection_id":187225,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:22] local.INFO: Processing buffer {"connection_id":187225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:29:22] local.INFO: IMEI packet received {"connection_id":187225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":187225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:29:23] local.INFO: TCP Data received {"connection_id":187225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:23] local.INFO: Processing buffer {"connection_id":187225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:23] local.INFO: Packet analysis {"connection_id":187225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:29:23] local.INFO: Extracted packet for processing {"connection_id":187225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:29:23] 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-19 21:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:29:23] 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-19 21:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":187225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:29:23] local.INFO: GPS data processed {"connection_id":187225,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:29:23] local.INFO: Acknowledgment sent {"connection_id":187225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:29:46] local.INFO: TCP Data received {"connection_id":189823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:46] local.INFO: Processing buffer {"connection_id":189823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:29:46] local.INFO: Packet analysis {"connection_id":189823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:29:46] local.INFO: Extracted packet for processing {"connection_id":189823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:46] 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-19 21:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21: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-19 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:29: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-19 21: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-19 21: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-19 21:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:29: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-19 21:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":189823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:29:46] local.INFO: GPS data processed {"connection_id":189823,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:29:46] local.INFO: Acknowledgment sent {"connection_id":189823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:29:54] local.INFO: TCP Data received {"connection_id":187225,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:54] local.INFO: Processing buffer {"connection_id":187225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:29:54] local.INFO: Packet analysis {"connection_id":187225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:29:54] local.INFO: Extracted packet for processing {"connection_id":187225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:29:54] 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-19 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:29:54] 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-19 21:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:29:54] 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-19 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:29:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":187225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:29:54] local.INFO: GPS data processed {"connection_id":187225,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:29:54] local.INFO: Acknowledgment sent {"connection_id":187225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:30:13] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:13] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:13] local.INFO: IMEI packet received {"connection_id":187086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":187086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:30:19] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:19] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:30:19] local.INFO: IMEI packet received {"connection_id":187086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":187086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:30:20] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:20] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:20] local.INFO: Packet analysis {"connection_id":187086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:30:20] local.INFO: Extracted packet for processing {"connection_id":187086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:20] 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-19 21:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21: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-19 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:30:20] 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-19 21:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":187086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:30:20] local.INFO: GPS data processed {"connection_id":187086,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:30:20] local.INFO: Acknowledgment sent {"connection_id":187086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:30:22] local.INFO: TCP Data received {"connection_id":188521,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:22] local.INFO: Processing buffer {"connection_id":188521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:22] local.INFO: IMEI packet received {"connection_id":188521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":188521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:30:24] local.INFO: TCP Data received {"connection_id":187086,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:24] local.INFO: Processing buffer {"connection_id":187086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:30:24] local.INFO: Packet analysis {"connection_id":187086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:30:24] local.INFO: Extracted packet for processing {"connection_id":187086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:30: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-19 21:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:24] 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-19 21:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:30:24] 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-19 21:30: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-19 21:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:30:24] 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-19 21:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":187086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:30:24] local.INFO: GPS data processed {"connection_id":187086,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:30:24] local.INFO: Acknowledgment sent {"connection_id":187086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:30:27] local.INFO: TCP Data received {"connection_id":188521,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:27] local.INFO: Processing buffer {"connection_id":188521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:30:27] local.INFO: IMEI packet received {"connection_id":188521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":188521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:30:28] local.INFO: TCP Data received {"connection_id":188521,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:28] local.INFO: Processing buffer {"connection_id":188521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:28] local.INFO: Packet analysis {"connection_id":188521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:30:28] local.INFO: Extracted packet for processing {"connection_id":188521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:30:28] 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-19 21:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:30:28] 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-19 21:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":188521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:30:28] local.INFO: GPS data processed {"connection_id":188521,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:30:28] local.INFO: Acknowledgment sent {"connection_id":188521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:30:33] local.INFO: TCP Data received {"connection_id":188521,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:33] local.INFO: Processing buffer {"connection_id":188521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:30:33] local.INFO: Packet analysis {"connection_id":188521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:30:33] local.INFO: Extracted packet for processing {"connection_id":188521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21: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-19 21:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21: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-19 21:30: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-19 21: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":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:30: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-19 21: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-19 21: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-19 21:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:30: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-19 21:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":188521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:30:33] local.INFO: GPS data processed {"connection_id":188521,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:30:33] local.INFO: Acknowledgment sent {"connection_id":188521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:30:43] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:30:43] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:30:43] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:31:08] local.INFO: TCP Data received {"connection_id":187087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:08] local.INFO: Processing buffer {"connection_id":187087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:08] local.INFO: IMEI packet received {"connection_id":187087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":187087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:31:13] local.INFO: TCP Data received {"connection_id":187088,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:31:13] local.INFO: Processing buffer {"connection_id":187088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:31:13] local.INFO: IMEI packet received {"connection_id":187088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:31:13] local.INFO: TCP Data received {"connection_id":187087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:13] local.INFO: Processing buffer {"connection_id":187087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:31:13] local.INFO: IMEI packet received {"connection_id":187087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:31:14] local.INFO: TCP Data received {"connection_id":187087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:14] local.INFO: Processing buffer {"connection_id":187087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:14] local.INFO: Packet analysis {"connection_id":187087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:31:14] local.INFO: Extracted packet for processing {"connection_id":187087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:14] 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-19 21:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:31:14] 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-19 21:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":187087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:31:14] local.INFO: GPS data processed {"connection_id":187087,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:31:14] local.INFO: Acknowledgment sent {"connection_id":187087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:31:17] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:17] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:17] local.INFO: IMEI packet received {"connection_id":187226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":187226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:31:22] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:22] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:31:22] local.INFO: IMEI packet received {"connection_id":187226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":187226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:31:23] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:23] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:23] local.INFO: Packet analysis {"connection_id":187226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:31:23] local.INFO: Extracted packet for processing {"connection_id":187226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:31: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-19 21:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:31:23] 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-19 21:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:31:23] 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-19 21:31: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-19 21:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":187226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:31:23] local.INFO: GPS data processed {"connection_id":187226,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:31:23] local.INFO: Acknowledgment sent {"connection_id":187226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:31:46] local.INFO: TCP Data received {"connection_id":187087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:46] local.INFO: Processing buffer {"connection_id":187087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:31:46] local.INFO: Packet analysis {"connection_id":187087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:31:46] local.INFO: Extracted packet for processing {"connection_id":187087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:46] 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-19 21:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:31: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-19 21:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:31: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-19 21:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":187087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:31:46] local.INFO: GPS data processed {"connection_id":187087,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:31:46] local.INFO: Acknowledgment sent {"connection_id":187087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:31:54] local.INFO: TCP Data received {"connection_id":187226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:54] local.INFO: Processing buffer {"connection_id":187226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba61fcb8012d196540071fefa8003e006129..."} 
[2026-09-19 21:31:54] local.INFO: Packet analysis {"connection_id":187226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:31:54] local.INFO: Extracted packet for processing {"connection_id":187226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba61"} 
[2026-09-19 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197267968001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833379000,"timestamp_ms":1789833379000,"timestamp_seconds":1789833379,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba61fcb8"} 
[2026-09-19 21:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:31:54] 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-19 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:31:54] 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-19 21:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:31:54] 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-19 21:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197267968001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197267968001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:31:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:31:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197267968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":187226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:31:54] local.INFO: GPS data processed {"connection_id":187226,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:31:54] local.INFO: Acknowledgment sent {"connection_id":187226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:32:09] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:09] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:09] local.INFO: IMEI packet received {"connection_id":189824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":189824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:32:13] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:13] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:32:13] local.INFO: IMEI packet received {"connection_id":189824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":189824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:32:14] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:32:14] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba626a18012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:32:14] local.INFO: Packet analysis {"connection_id":189824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:32:14] local.INFO: Extracted packet for processing {"connection_id":189824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba62"} 
[2026-09-19 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197275136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:14] 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-19 21:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833407000,"timestamp_ms":1789833407000,"timestamp_seconds":1789833407,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba626a18"} 
[2026-09-19 21:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21: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-19 21:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197275136001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197275136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197275136001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":189824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:32:14] local.INFO: GPS data processed {"connection_id":189824,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:32:14] local.INFO: Acknowledgment sent {"connection_id":189824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:32:17] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:17] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:17] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:32:22] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:22] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:32:22] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:32:23] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:23] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:23] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:32:23] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:32:23] 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-19 21:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:32:23] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:32:23] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:32:45] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:32:45] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:32:45] local.INFO: Packet analysis {"connection_id":189824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:32:45] local.INFO: Extracted packet for processing {"connection_id":189824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:45] 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-19 21:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":189824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:32:45] local.INFO: GPS data processed {"connection_id":189824,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:32:45] local.INFO: Acknowledgment sent {"connection_id":189824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:32:54] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:54] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:32:54] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:32:54] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:32:54] 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-19 21:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:32:54] 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-19 21:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:32:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:32:54] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:32:54] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:33:08] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:08] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:08] local.INFO: IMEI packet received {"connection_id":187227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":187227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:33:13] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:13] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:33:13] local.INFO: IMEI packet received {"connection_id":187227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":187227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:33:14] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:14] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:14] local.INFO: Packet analysis {"connection_id":187227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:33:14] local.INFO: Extracted packet for processing {"connection_id":187227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:14] 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-19 21:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:33:14] 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-19 21:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":187227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:33:14] local.INFO: GPS data processed {"connection_id":187227,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:33:14] local.INFO: Acknowledgment sent {"connection_id":187227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:33:17] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:17] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:17] local.INFO: IMEI packet received {"connection_id":187089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":187089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:33:22] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:22] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:33:22] local.INFO: IMEI packet received {"connection_id":187089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":187089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:33:23] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:23] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:23] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:33:23] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:33:23] 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-19 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:33:23] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:33:23] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:33:46] local.INFO: TCP Data received {"connection_id":187227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:46] local.INFO: Processing buffer {"connection_id":187227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:33:46] local.INFO: Packet analysis {"connection_id":187227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:33:46] local.INFO: Extracted packet for processing {"connection_id":187227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:46] 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-19 21:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21: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-19 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:33: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-19 21:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":187227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:33:46] local.INFO: GPS data processed {"connection_id":187227,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:33:46] local.INFO: Acknowledgment sent {"connection_id":187227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:33:54] local.INFO: TCP Data received {"connection_id":187089,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:54] local.INFO: Processing buffer {"connection_id":187089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:33:54] local.INFO: Packet analysis {"connection_id":187089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:33:54] local.INFO: Extracted packet for processing {"connection_id":187089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:33:54] 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-19 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:33:54] 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-19 21:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:33:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":187089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:33:54] local.INFO: GPS data processed {"connection_id":187089,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:33:54] local.INFO: Acknowledgment sent {"connection_id":187089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:34:08] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:08] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:08] local.INFO: IMEI packet received {"connection_id":187228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":187228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:34:13] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:13] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:34:13] local.INFO: IMEI packet received {"connection_id":187228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":187228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:34:14] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:14] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:14] local.INFO: Packet analysis {"connection_id":187228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:34:14] local.INFO: Extracted packet for processing {"connection_id":187228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:14] 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-19 21:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21: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-19 21:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:34: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-19 21:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":187228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:34:14] local.INFO: GPS data processed {"connection_id":187228,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:34:14] local.INFO: Acknowledgment sent {"connection_id":187228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:34:17] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:17] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:17] local.INFO: IMEI packet received {"connection_id":189826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":189826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:34:22] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:22] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:34:22] local.INFO: IMEI packet received {"connection_id":189826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":189826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:34:23] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:23] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:23] local.INFO: Packet analysis {"connection_id":189826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:34:23] local.INFO: Extracted packet for processing {"connection_id":189826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:34:23] 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-19 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":189826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:34:23] local.INFO: GPS data processed {"connection_id":189826,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:34:23] local.INFO: Acknowledgment sent {"connection_id":189826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:34:46] local.INFO: TCP Data received {"connection_id":187228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:46] local.INFO: Processing buffer {"connection_id":187228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:34:46] local.INFO: Packet analysis {"connection_id":187228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:34:46] local.INFO: Extracted packet for processing {"connection_id":187228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:46] 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-19 21:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21: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-19 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:34: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-19 21:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":187228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:34:46] local.INFO: GPS data processed {"connection_id":187228,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:34:46] local.INFO: Acknowledgment sent {"connection_id":187228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:34:54] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:54] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:34:54] local.INFO: Packet analysis {"connection_id":189826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:34:54] local.INFO: Extracted packet for processing {"connection_id":189826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:34:54] 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-19 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:34:54] 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-19 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:34:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":189826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:34:54] local.INFO: GPS data processed {"connection_id":189826,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:34:54] local.INFO: Acknowledgment sent {"connection_id":189826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:35:13] local.INFO: TCP Data received {"connection_id":187229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:13] local.INFO: Processing buffer {"connection_id":187229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:13] local.INFO: IMEI packet received {"connection_id":187229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:35:17] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:17] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:17] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:35:18] local.INFO: TCP Data received {"connection_id":187229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:18] local.INFO: Processing buffer {"connection_id":187229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:35:18] local.INFO: IMEI packet received {"connection_id":187229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":187229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:35:19] local.INFO: TCP Data received {"connection_id":187229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:19] local.INFO: Processing buffer {"connection_id":187229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:19] local.INFO: Packet analysis {"connection_id":187229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:35:19] local.INFO: Extracted packet for processing {"connection_id":187229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:19] 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-19 21:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:35:19] 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-19 21:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":187229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:35:19] local.INFO: GPS data processed {"connection_id":187229,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:35:19] local.INFO: Acknowledgment sent {"connection_id":187229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:35:22] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:22] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:35:22] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:35:23] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:23] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:23] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:35:23] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:35:23] 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-19 21:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:35:23] 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-19 21:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:35:23] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:35:23] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:35:24] local.INFO: TCP Data received {"connection_id":187229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:24] local.INFO: Processing buffer {"connection_id":187229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:35:24] local.INFO: Packet analysis {"connection_id":187229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:35:24] local.INFO: Extracted packet for processing {"connection_id":187229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:35: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-19 21:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:24] 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-19 21:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:35: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-19 21:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:35:24] 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-19 21:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":187229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:35:24] local.INFO: GPS data processed {"connection_id":187229,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:35:24] local.INFO: Acknowledgment sent {"connection_id":187229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:35:54] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:54] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:35:54] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:35:54] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:35:54] 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-19 21:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:35:54] 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-19 21:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:35:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:35:54] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:35:54] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:36:08] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:08] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:08] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:36:13] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:13] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:36:13] local.INFO: IMEI packet received {"connection_id":187090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":187090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:36:14] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:14] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:14] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:36:14] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:14] 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-19 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:36: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-19 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:36:14] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:36:14] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:36:22] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:22] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:22] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:36:27] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:27] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:36:27] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:36:28] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:28] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:28] local.INFO: Packet analysis {"connection_id":188525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:36:28] local.INFO: Extracted packet for processing {"connection_id":188525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:36:28] 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-19 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:36:28] 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-19 21:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":188525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:36:28] local.INFO: GPS data processed {"connection_id":188525,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:36:28] local.INFO: Acknowledgment sent {"connection_id":188525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:36:46] local.INFO: TCP Data received {"connection_id":187090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:46] local.INFO: Processing buffer {"connection_id":187090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:36:46] local.INFO: Packet analysis {"connection_id":187090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:36:46] local.INFO: Extracted packet for processing {"connection_id":187090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:46] 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-19 21:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:36: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-19 21:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":187090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:36:46] local.INFO: GPS data processed {"connection_id":187090,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:36:46] local.INFO: Acknowledgment sent {"connection_id":187090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:36:59] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:59] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba669480012d196540071fefa8003e006124..."} 
[2026-09-19 21:36:59] local.INFO: Packet analysis {"connection_id":188525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:36:59] local.INFO: Extracted packet for processing {"connection_id":188525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba66"} 
[2026-09-19 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197345024001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789833680000,"timestamp_ms":1789833680000,"timestamp_seconds":1789833680,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba669480"} 
[2026-09-19 21:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:36:59] 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-19 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":188525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":188525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":188525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:36:59] 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-19 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197345024001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197345024001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197345024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":188525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:36:59] local.INFO: GPS data processed {"connection_id":188525,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:36:59] local.INFO: Acknowledgment sent {"connection_id":188525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:37:08] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:08] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:08] local.INFO: IMEI packet received {"connection_id":187230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":187230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:37:13] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:13] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:37:13] local.INFO: IMEI packet received {"connection_id":187230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:37:14] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:37:14] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6701e0012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:37:14] local.INFO: Packet analysis {"connection_id":187230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:37:14] local.INFO: Extracted packet for processing {"connection_id":187230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba67"} 
[2026-09-19 21:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197352192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:14] 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-19 21:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789833708000,"timestamp_ms":1789833708000,"timestamp_seconds":1789833708,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6701e0"} 
[2026-09-19 21:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:37:14] 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-19 21:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197352192001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197352192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197352192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":187230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:37:14] local.INFO: GPS data processed {"connection_id":187230,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:37:14] local.INFO: Acknowledgment sent {"connection_id":187230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:37:17] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:17] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:17] local.INFO: IMEI packet received {"connection_id":187231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":187231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:37:22] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:22] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:37:22] local.INFO: IMEI packet received {"connection_id":187231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":187231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:37:23] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:23] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:23] local.INFO: Packet analysis {"connection_id":187231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:23] local.INFO: Extracted packet for processing {"connection_id":187231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:37:23] 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-19 21:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":187231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:37:23] local.INFO: GPS data processed {"connection_id":187231,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:37:23] local.INFO: Acknowledgment sent {"connection_id":187231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:37:45] local.INFO: TCP Data received {"connection_id":187230,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:37:45] local.INFO: Processing buffer {"connection_id":187230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:37:45] local.INFO: Packet analysis {"connection_id":187230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:45] local.INFO: Extracted packet for processing {"connection_id":187230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:45] 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-19 21:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21: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-19 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:37:45] 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-19 21: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-19 21: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-19 21:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:37: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-19 21:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":187230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:37:45] local.INFO: GPS data processed {"connection_id":187230,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:37:45] local.INFO: Acknowledgment sent {"connection_id":187230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:37:54] local.INFO: TCP Data received {"connection_id":187231,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:54] local.INFO: Processing buffer {"connection_id":187231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:37:54] local.INFO: Packet analysis {"connection_id":187231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:54] local.INFO: Extracted packet for processing {"connection_id":187231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:37:54] 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-19 21:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:37:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":187231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:37:54] local.INFO: GPS data processed {"connection_id":187231,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:37:54] local.INFO: Acknowledgment sent {"connection_id":187231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:38:08] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:08] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:08] local.INFO: IMEI packet received {"connection_id":189827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":189827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:38:13] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:13] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:38:13] local.INFO: IMEI packet received {"connection_id":189827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":189827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:38:15] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:15] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:15] local.INFO: Packet analysis {"connection_id":189827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:15] local.INFO: Extracted packet for processing {"connection_id":189827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38: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-19 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21: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-19 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:38: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-19 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":189827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:38:15] local.INFO: GPS data processed {"connection_id":189827,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:38:15] local.INFO: Acknowledgment sent {"connection_id":189827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:38:17] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:17] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:17] local.INFO: IMEI packet received {"connection_id":187232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":187232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:38:22] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:22] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:38:22] local.INFO: IMEI packet received {"connection_id":187232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":187232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:38:23] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:23] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:23] local.INFO: Packet analysis {"connection_id":187232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:23] local.INFO: Extracted packet for processing {"connection_id":187232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:38:23] 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-19 21:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":187232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:38:23] local.INFO: GPS data processed {"connection_id":187232,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:38:23] local.INFO: Acknowledgment sent {"connection_id":187232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:38:46] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:46] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:38:46] local.INFO: Packet analysis {"connection_id":189827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:46] local.INFO: Extracted packet for processing {"connection_id":189827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:46] 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-19 21:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21: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-19 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:38: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-19 21: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-19 21: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-19 21:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:38: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-19 21:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":189827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:38:46] local.INFO: GPS data processed {"connection_id":189827,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:38:46] local.INFO: Acknowledgment sent {"connection_id":189827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:38:54] local.INFO: TCP Data received {"connection_id":187232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:54] local.INFO: Processing buffer {"connection_id":187232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:38:54] local.INFO: Packet analysis {"connection_id":187232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:54] local.INFO: Extracted packet for processing {"connection_id":187232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:38:54] 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-19 21:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:38:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:38:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":187232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:38:54] local.INFO: GPS data processed {"connection_id":187232,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:38:54] local.INFO: Acknowledgment sent {"connection_id":187232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:39:13] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:13] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:13] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:39:17] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:17] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:17] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:39:18] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:18] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:39:18] local.INFO: IMEI packet received {"connection_id":187091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":187091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:39:19] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:19] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:19] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:19] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:19] 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-19 21:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:39:19] 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-19 21:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:39:19] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:39:19] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:39:22] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:22] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:39:22] local.INFO: IMEI packet received {"connection_id":187092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":187092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:39:23] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:23] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:23] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:23] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:39:23] 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-19 21:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:39:23] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:39:23] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:39:29] local.INFO: TCP Data received {"connection_id":187091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:29] local.INFO: Processing buffer {"connection_id":187091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:39:29] local.INFO: Packet analysis {"connection_id":187091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:29] local.INFO: Extracted packet for processing {"connection_id":187091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:29] 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-19 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:39:29] 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-19 21:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":187091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":187091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:39:29] 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-19 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":187091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:39:29] local.INFO: GPS data processed {"connection_id":187091,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:39:29] local.INFO: Acknowledgment sent {"connection_id":187091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:39:54] local.INFO: TCP Data received {"connection_id":187092,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:54] local.INFO: Processing buffer {"connection_id":187092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:39:54] local.INFO: Packet analysis {"connection_id":187092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:54] local.INFO: Extracted packet for processing {"connection_id":187092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:39:54] 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-19 21:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:39:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":187092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:39:55] local.INFO: GPS data processed {"connection_id":187092,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:39:55] local.INFO: Acknowledgment sent {"connection_id":187092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:40:08] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:08] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:08] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:40:13] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:13] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:40:13] local.INFO: IMEI packet received {"connection_id":187093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":187093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:40:14] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:14] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:14] local.INFO: Packet analysis {"connection_id":187093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:14] local.INFO: Extracted packet for processing {"connection_id":187093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:14] 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-19 21:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:40:14] 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-19 21:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":187093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:40:14] local.INFO: GPS data processed {"connection_id":187093,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:40:14] local.INFO: Acknowledgment sent {"connection_id":187093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:40:22] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:22] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:22] local.INFO: IMEI packet received {"connection_id":188526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":188526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:40:27] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:27] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:40:27] local.INFO: IMEI packet received {"connection_id":188526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":188526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:40:28] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:28] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:28] local.INFO: Packet analysis {"connection_id":188526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:28] local.INFO: Extracted packet for processing {"connection_id":188526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:40:28] 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-19 21:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":188526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:40:28] local.INFO: GPS data processed {"connection_id":188526,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:40:28] local.INFO: Acknowledgment sent {"connection_id":188526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:40:33] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:33] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:40:33] local.INFO: Packet analysis {"connection_id":188526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:33] local.INFO: Extracted packet for processing {"connection_id":188526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21: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-19 21:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21: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-19 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:40: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-19 21: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-19 21: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-19 21:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:40: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-19 21:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:40:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":188526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:40:33] local.INFO: GPS data processed {"connection_id":188526,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:40:33] local.INFO: Acknowledgment sent {"connection_id":188526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:40:45] local.INFO: TCP Data received {"connection_id":187093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:45] local.INFO: Processing buffer {"connection_id":187093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:40:45] local.INFO: Packet analysis {"connection_id":187093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:45] local.INFO: Extracted packet for processing {"connection_id":187093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:40:45] 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-19 21:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:40:45] 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-19 21:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:40: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-19 21:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":187093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:40:46] local.INFO: GPS data processed {"connection_id":187093,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:40:46] local.INFO: Acknowledgment sent {"connection_id":187093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:41:09] local.INFO: TCP Data received {"connection_id":189828,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:09] local.INFO: Processing buffer {"connection_id":189828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:09] local.INFO: IMEI packet received {"connection_id":189828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":189828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:41:13] local.INFO: TCP Data received {"connection_id":189828,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:13] local.INFO: Processing buffer {"connection_id":189828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:41:13] local.INFO: IMEI packet received {"connection_id":189828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":189828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:41:16] local.INFO: TCP Data received {"connection_id":189828,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:16] local.INFO: Processing buffer {"connection_id":189828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:16] local.INFO: Packet analysis {"connection_id":189828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:16] local.INFO: Extracted packet for processing {"connection_id":189828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:16] 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-19 21:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21: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-19 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:41: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-19 21:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":189828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:41:16] local.INFO: GPS data processed {"connection_id":189828,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:41:16] local.INFO: Acknowledgment sent {"connection_id":189828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:41:22] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:22] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:22] local.INFO: IMEI packet received {"connection_id":188527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":188527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:41:27] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:27] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:41:27] local.INFO: IMEI packet received {"connection_id":188527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":188527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:41:28] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:41:28] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:41:28] local.INFO: Packet analysis {"connection_id":188527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:28] local.INFO: Extracted packet for processing {"connection_id":188527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21: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-19 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":188527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:41:29] local.INFO: GPS data processed {"connection_id":188527,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:41:29] local.INFO: Acknowledgment sent {"connection_id":188527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:41:47] local.INFO: TCP Data received {"connection_id":189828,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:47] local.INFO: Processing buffer {"connection_id":189828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:41:47] local.INFO: Packet analysis {"connection_id":189828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:47] local.INFO: Extracted packet for processing {"connection_id":189828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 21:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:41: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-19 21:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 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-19 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 21:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:41:47] 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-19 21:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":189828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:41:47] local.INFO: GPS data processed {"connection_id":189828,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:41:47] local.INFO: Acknowledgment sent {"connection_id":189828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:42:00] local.INFO: TCP Data received {"connection_id":188527,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:42:00] local.INFO: Processing buffer {"connection_id":188527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b2c48012d196540071fefa8003e006125..."} 
[2026-09-19 21:42:00] local.INFO: Packet analysis {"connection_id":188527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:42:00] local.INFO: Extracted packet for processing {"connection_id":188527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197422080001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789833981000,"timestamp_ms":1789833981000,"timestamp_seconds":1789833981,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b2c48"} 
[2026-09-19 21:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":188527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":188527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":188527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197422080001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197422080001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:42:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197422080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":188527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:42:00] local.INFO: GPS data processed {"connection_id":188527,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:42:00] local.INFO: Acknowledgment sent {"connection_id":188527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:42:08] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:08] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:08] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:42:13] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:13] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:42:13] local.INFO: IMEI packet received {"connection_id":187094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:42:14] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:14] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6b99a8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:14] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:42:14] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6b"} 
[2026-09-19 21:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197429248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:14] 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-19 21:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834009000,"timestamp_ms":1789834009000,"timestamp_seconds":1789834009,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6b99a8"} 
[2026-09-19 21:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:42:14] 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-19 21:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197429248001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197429248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197429248001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:42:14] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:42:14] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:42:17] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:17] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:17] local.INFO: IMEI packet received {"connection_id":187233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":187233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:42:22] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:22] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:42:22] local.INFO: IMEI packet received {"connection_id":187233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":187233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:42:23] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:23] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:23] local.INFO: Packet analysis {"connection_id":187233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:42:23] local.INFO: Extracted packet for processing {"connection_id":187233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:42: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-19 21:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:23] 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-19 21:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":187233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:42:23] local.INFO: GPS data processed {"connection_id":187233,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:42:23] local.INFO: Acknowledgment sent {"connection_id":187233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:42:46] local.INFO: TCP Data received {"connection_id":187094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:46] local.INFO: Processing buffer {"connection_id":187094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:42:46] local.INFO: Packet analysis {"connection_id":187094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:42:46] local.INFO: Extracted packet for processing {"connection_id":187094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:46] 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-19 21:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21: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-19 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:42: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-19 21:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":187094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:42:46] local.INFO: GPS data processed {"connection_id":187094,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:42:46] local.INFO: Acknowledgment sent {"connection_id":187094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:42:54] local.INFO: TCP Data received {"connection_id":187233,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:54] local.INFO: Processing buffer {"connection_id":187233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:42:54] local.INFO: Packet analysis {"connection_id":187233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:42:54] local.INFO: Extracted packet for processing {"connection_id":187233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:42:54] 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-19 21:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:42:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":187233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:42:54] local.INFO: GPS data processed {"connection_id":187233,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:42:54] local.INFO: Acknowledgment sent {"connection_id":187233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:43:08] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:08] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:08] local.INFO: IMEI packet received {"connection_id":187234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":187234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:43:13] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:13] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:43:13] local.INFO: IMEI packet received {"connection_id":187234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:43:14] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:14] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:14] local.INFO: Packet analysis {"connection_id":187234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:43:14] local.INFO: Extracted packet for processing {"connection_id":187234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:14] 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-19 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:43:14] 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-19 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":187234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:43:14] local.INFO: GPS data processed {"connection_id":187234,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:43:14] local.INFO: Acknowledgment sent {"connection_id":187234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:43:22] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:22] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:22] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:43:27] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:27] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:43:27] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:43:28] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:28] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:28] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:43:28] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21: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-19 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:43:28] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:43:28] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:43:32] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:32] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:43:32] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:43:32] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 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-19 21:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":118,"data_length":795,"current_offset":136} 
[2026-09-19 21: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-19 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-19 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-19 21:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:43: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-19 21:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:43:33] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:43:33] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:43:45] local.INFO: TCP Data received {"connection_id":187234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:45] local.INFO: Processing buffer {"connection_id":187234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:43:45] local.INFO: Packet analysis {"connection_id":187234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:43:45] local.INFO: Extracted packet for processing {"connection_id":187234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:43:45] 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-19 21:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:43: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-19 21:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":187234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:43:45] local.INFO: GPS data processed {"connection_id":187234,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:43:45] local.INFO: Acknowledgment sent {"connection_id":187234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:44:13] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:13] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:13] local.INFO: IMEI packet received {"connection_id":189829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":189829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:44:17] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:17] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:17] local.INFO: IMEI packet received {"connection_id":187235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":187235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:44:18] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:18] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:44:18] local.INFO: IMEI packet received {"connection_id":189829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":189829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:44:19] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:19] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:19] local.INFO: Packet analysis {"connection_id":189829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:44:19] local.INFO: Extracted packet for processing {"connection_id":189829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:19] 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-19 21:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21: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-19 21:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:44:19] 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-19 21:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":189829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:44:19] local.INFO: GPS data processed {"connection_id":189829,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:44:19] local.INFO: Acknowledgment sent {"connection_id":189829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:44:22] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:22] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:44:22] local.INFO: IMEI packet received {"connection_id":187235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":187235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:44:23] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:23] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:23] local.INFO: Packet analysis {"connection_id":187235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:44:23] local.INFO: Extracted packet for processing {"connection_id":187235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:44:23] 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-19 21:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":187235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:44:23] local.INFO: GPS data processed {"connection_id":187235,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:44:23] local.INFO: Acknowledgment sent {"connection_id":187235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:44:23] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:23] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:44:23] local.INFO: Packet analysis {"connection_id":189829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:44:23] local.INFO: Extracted packet for processing {"connection_id":189829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:23] 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-19 21:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:44:23] 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-19 21:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":189829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:44:23] local.INFO: GPS data processed {"connection_id":189829,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:44:23] local.INFO: Acknowledgment sent {"connection_id":189829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:44:54] local.INFO: TCP Data received {"connection_id":187235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:54] local.INFO: Processing buffer {"connection_id":187235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:44:54] local.INFO: Packet analysis {"connection_id":187235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:44:54] local.INFO: Extracted packet for processing {"connection_id":187235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:44:54] 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-19 21:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":187235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:44:55] local.INFO: GPS data processed {"connection_id":187235,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:44:55] local.INFO: Acknowledgment sent {"connection_id":187235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:45:08] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:08] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:08] local.INFO: IMEI packet received {"connection_id":188529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:45:13] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:13] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:45:13] local.INFO: IMEI packet received {"connection_id":188529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:45:14] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:14] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:14] local.INFO: Packet analysis {"connection_id":188529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:45:14] local.INFO: Extracted packet for processing {"connection_id":188529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:14] 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-19 21:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:45: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-19 21:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":188529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:45:14] local.INFO: GPS data processed {"connection_id":188529,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:45:14] local.INFO: Acknowledgment sent {"connection_id":188529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:45:17] local.INFO: TCP Data received {"connection_id":189830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:17] local.INFO: Processing buffer {"connection_id":189830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:17] local.INFO: IMEI packet received {"connection_id":189830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":189830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:45:22] local.INFO: TCP Data received {"connection_id":189830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:22] local.INFO: Processing buffer {"connection_id":189830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:45:22] local.INFO: IMEI packet received {"connection_id":189830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":189830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:45:23] local.INFO: TCP Data received {"connection_id":189830,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:23] local.INFO: Processing buffer {"connection_id":189830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:23] local.INFO: Packet analysis {"connection_id":189830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:45:23] local.INFO: Extracted packet for processing {"connection_id":189830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:45:23] 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-19 21:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":189830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:45:23] local.INFO: GPS data processed {"connection_id":189830,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:45:23] local.INFO: Acknowledgment sent {"connection_id":189830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:45:45] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:45] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:45:45] local.INFO: Packet analysis {"connection_id":188529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:45:45] local.INFO: Extracted packet for processing {"connection_id":188529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:45] 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-19 21:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:45:45] 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-19 21:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":188529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:45:45] local.INFO: GPS data processed {"connection_id":188529,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:45:45] local.INFO: Acknowledgment sent {"connection_id":188529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:45:54] local.INFO: TCP Data received {"connection_id":189830,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:54] local.INFO: Processing buffer {"connection_id":189830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:45:54] local.INFO: Packet analysis {"connection_id":189830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:45:54] local.INFO: Extracted packet for processing {"connection_id":189830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:45:54] 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-19 21:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:45:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":189830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:45:54] local.INFO: GPS data processed {"connection_id":189830,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:45:54] local.INFO: Acknowledgment sent {"connection_id":189830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:46:08] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:08] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:08] local.INFO: IMEI packet received {"connection_id":187095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":187095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:46:13] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:13] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:46:13] local.INFO: IMEI packet received {"connection_id":187095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:46:14] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:14] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:14] local.INFO: Packet analysis {"connection_id":187095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:46:14] local.INFO: Extracted packet for processing {"connection_id":187095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:14] 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-19 21:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:46: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-19 21:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":187095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:46:14] local.INFO: GPS data processed {"connection_id":187095,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:46:14] local.INFO: Acknowledgment sent {"connection_id":187095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:46:18] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:18] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:18] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:46:22] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:22] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:46:22] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:46:23] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:23] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:23] local.INFO: Packet analysis {"connection_id":188530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:46:23] local.INFO: Extracted packet for processing {"connection_id":188530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:46: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-19 21:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:46: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-19 21:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:46:23] 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-19 21:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":188530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:46:23] local.INFO: GPS data processed {"connection_id":188530,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:46:23] local.INFO: Acknowledgment sent {"connection_id":188530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:46:46] local.INFO: TCP Data received {"connection_id":187095,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:46] local.INFO: Processing buffer {"connection_id":187095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:46:46] local.INFO: Packet analysis {"connection_id":187095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:46:46] local.INFO: Extracted packet for processing {"connection_id":187095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:46] 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-19 21:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:46: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-19 21:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":187095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:46:46] local.INFO: GPS data processed {"connection_id":187095,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:46:46] local.INFO: Acknowledgment sent {"connection_id":187095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:46:54] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:54] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba6fc410012d196540071fefa8003e006124..."} 
[2026-09-19 21:46:54] local.INFO: Packet analysis {"connection_id":188530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:46:54] local.INFO: Extracted packet for processing {"connection_id":188530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba6f"} 
[2026-09-19 21:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197499136001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834282000,"timestamp_ms":1789834282000,"timestamp_seconds":1789834282,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba6fc410"} 
[2026-09-19 21:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:46:54] 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-19 21:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197499136001,"66":2177,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197499136001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:46:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197499136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":188530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:46:55] local.INFO: GPS data processed {"connection_id":188530,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:46:55] local.INFO: Acknowledgment sent {"connection_id":188530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:47:08] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:08] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:08] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:47:13] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:13] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:47:13] local.INFO: IMEI packet received {"connection_id":187096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":187096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:47:14] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:47:14] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba703170012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:47:14] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:47:14] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba70"} 
[2026-09-19 21:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197506304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:14] 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-19 21:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834310000,"timestamp_ms":1789834310000,"timestamp_seconds":1789834310,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba703170"} 
[2026-09-19 21:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:47: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-19 21:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197506304001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197506304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197506304001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:47:14] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:47:14] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:47:17] local.INFO: TCP Data received {"connection_id":189831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:17] local.INFO: Processing buffer {"connection_id":189831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:17] local.INFO: IMEI packet received {"connection_id":189831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":189831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:47:22] local.INFO: TCP Data received {"connection_id":189831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:22] local.INFO: Processing buffer {"connection_id":189831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:47:22] local.INFO: IMEI packet received {"connection_id":189831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":189831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:47:23] local.INFO: TCP Data received {"connection_id":189831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:23] local.INFO: Processing buffer {"connection_id":189831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:23] local.INFO: Packet analysis {"connection_id":189831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:23] local.INFO: Extracted packet for processing {"connection_id":189831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:47:23] 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-19 21:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:47:23] 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-19 21:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":189831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:47:23] local.INFO: GPS data processed {"connection_id":189831,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:47:23] local.INFO: Acknowledgment sent {"connection_id":189831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:47:46] local.INFO: TCP Data received {"connection_id":187096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:47:46] local.INFO: Processing buffer {"connection_id":187096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:47:46] local.INFO: Packet analysis {"connection_id":187096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:46] local.INFO: Extracted packet for processing {"connection_id":187096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:46] 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-19 21:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:47: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-19 21:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:47: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-19 21:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":187096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:47:46] local.INFO: GPS data processed {"connection_id":187096,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:47:46] local.INFO: Acknowledgment sent {"connection_id":187096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:47:54] local.INFO: TCP Data received {"connection_id":189831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:54] local.INFO: Processing buffer {"connection_id":189831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:47:54] local.INFO: Packet analysis {"connection_id":189831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:54] local.INFO: Extracted packet for processing {"connection_id":189831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:47:54] 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-19 21:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:47:54] 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-19 21:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:47:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":189831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:47:54] local.INFO: GPS data processed {"connection_id":189831,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:47:54] local.INFO: Acknowledgment sent {"connection_id":189831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:48:13] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:13] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:13] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:48:18] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:18] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:48:18] local.INFO: IMEI packet received {"connection_id":187097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":187097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:48:19] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:19] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:19] local.INFO: Packet analysis {"connection_id":187097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:19] local.INFO: Extracted packet for processing {"connection_id":187097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:19] 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-19 21:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:48:19] 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-19 21:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":187097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:48:19] local.INFO: GPS data processed {"connection_id":187097,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:48:19] local.INFO: Acknowledgment sent {"connection_id":187097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:48:22] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:22] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:22] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:48:23] local.INFO: TCP Data received {"connection_id":187097,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:23] local.INFO: Processing buffer {"connection_id":187097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:48:23] local.INFO: Packet analysis {"connection_id":187097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:23] local.INFO: Extracted packet for processing {"connection_id":187097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:23] 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-19 21:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:48:23] 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-19 21:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:48:23] 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-19 21:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":187097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:48:23] local.INFO: GPS data processed {"connection_id":187097,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:48:23] local.INFO: Acknowledgment sent {"connection_id":187097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:48:27] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:27] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:48:27] local.INFO: IMEI packet received {"connection_id":187098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":187098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:48:28] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:28] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:28] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:28] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:48:28] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:48:28] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:48:33] local.INFO: TCP Data received {"connection_id":187098,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:33] local.INFO: Processing buffer {"connection_id":187098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:48:33] local.INFO: Packet analysis {"connection_id":187098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:33] local.INFO: Extracted packet for processing {"connection_id":187098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 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-19 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:48: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-19 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-19 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-19 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:48: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-19 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":187098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:48:33] local.INFO: GPS data processed {"connection_id":187098,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:48:33] local.INFO: Acknowledgment sent {"connection_id":187098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:49:08] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:08] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:08] local.INFO: IMEI packet received {"connection_id":187236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":187236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:49:13] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:13] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:49:13] local.INFO: IMEI packet received {"connection_id":187236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":187236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:49:14] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:14] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:14] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:14] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:14] 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-19 21:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49: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-19 21:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:49:14] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:49:14] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:49:17] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:17] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:17] local.INFO: IMEI packet received {"connection_id":188531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":188531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:49:19] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:19] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:19] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:19] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:19] 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-19 21:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21: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-19 21:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49:19] 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-19 21:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:49:19] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:49:19] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:49:22] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:22] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:49:22] local.INFO: IMEI packet received {"connection_id":188531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":188531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:49:23] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:23] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:23] local.INFO: Packet analysis {"connection_id":188531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:23] local.INFO: Extracted packet for processing {"connection_id":188531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:49:23] 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-19 21:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:49:23] 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-19 21:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:49:23] local.INFO: GPS data processed {"connection_id":188531,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:49:23] local.INFO: Acknowledgment sent {"connection_id":188531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:49:50] local.INFO: TCP Data received {"connection_id":187236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:50] local.INFO: Processing buffer {"connection_id":187236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:49:50] local.INFO: Packet analysis {"connection_id":187236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:50] local.INFO: Extracted packet for processing {"connection_id":187236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:50] 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-19 21:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:49:50] 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-19 21:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:49:50] 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-19 21:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":187236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:49:50] local.INFO: GPS data processed {"connection_id":187236,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:49:50] local.INFO: Acknowledgment sent {"connection_id":187236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:49:54] local.INFO: TCP Data received {"connection_id":188531,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:54] local.INFO: Processing buffer {"connection_id":188531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:49:54] local.INFO: Packet analysis {"connection_id":188531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:54] local.INFO: Extracted packet for processing {"connection_id":188531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:49:54] 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-19 21:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:49:54] 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-19 21:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:49:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":188531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:49:54] local.INFO: GPS data processed {"connection_id":188531,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:49:54] local.INFO: Acknowledgment sent {"connection_id":188531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:50:08] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:08] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:08] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:50:13] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:13] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:50:13] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:50:14] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:14] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:14] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:14] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:14] 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-19 21:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21: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-19 21:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:50: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-19 21:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:50:14] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:50:14] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:50:17] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:17] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:17] local.INFO: IMEI packet received {"connection_id":187237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":187237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:50:22] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:22] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:50:22] local.INFO: IMEI packet received {"connection_id":187237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":187237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:50:23] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:23] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:23] local.INFO: Packet analysis {"connection_id":187237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:23] local.INFO: Extracted packet for processing {"connection_id":187237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:50: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-19 21:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:50:23] 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-19 21:50: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-19 21:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:50:23] 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-19 21:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":187237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:50:23] local.INFO: GPS data processed {"connection_id":187237,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:50:23] local.INFO: Acknowledgment sent {"connection_id":187237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:50:46] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:46] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:50:46] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:46] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:46] 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-19 21:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:50: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-19 21:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:50: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-19 21:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:50:46] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:50:46] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:50:54] local.INFO: TCP Data received {"connection_id":187237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:54] local.INFO: Processing buffer {"connection_id":187237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:50:54] local.INFO: Packet analysis {"connection_id":187237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:54] local.INFO: Extracted packet for processing {"connection_id":187237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:50:54] 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-19 21:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:50:54] 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-19 21:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:50:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":187237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:50:54] local.INFO: GPS data processed {"connection_id":187237,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:50:54] local.INFO: Acknowledgment sent {"connection_id":187237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:51:08] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:08] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:08] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:51:13] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:13] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:51:13] local.INFO: IMEI packet received {"connection_id":187099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:51:14] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:14] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:14] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:14] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:14] 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-19 21:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21: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-19 21:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:51: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-19 21:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:51:14] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:51:14] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:51:18] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:18] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:18] local.INFO: IMEI packet received {"connection_id":189832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":189832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:51:22] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:22] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:51:22] local.INFO: IMEI packet received {"connection_id":189832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":189832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:51:23] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:23] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:23] local.INFO: Packet analysis {"connection_id":189832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:23] local.INFO: Extracted packet for processing {"connection_id":189832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:51:23] 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-19 21:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:51:23] 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-19 21:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":189832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:51:23] local.INFO: GPS data processed {"connection_id":189832,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:51:23] local.INFO: Acknowledgment sent {"connection_id":189832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:51:45] local.INFO: TCP Data received {"connection_id":187099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:45] local.INFO: Processing buffer {"connection_id":187099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:51:45] local.INFO: Packet analysis {"connection_id":187099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:45] local.INFO: Extracted packet for processing {"connection_id":187099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:45] 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-19 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:51:45] 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-19 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:51: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-19 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":187099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:51:45] local.INFO: GPS data processed {"connection_id":187099,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:51:45] local.INFO: Acknowledgment sent {"connection_id":187099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:51:54] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:54] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba745bd8012d196540071fefa8003e006126..."} 
[2026-09-19 21:51:54] local.INFO: Packet analysis {"connection_id":189832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:54] local.INFO: Extracted packet for processing {"connection_id":189832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197576192001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834583000,"timestamp_ms":1789834583000,"timestamp_seconds":1789834583,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba745bd8"} 
[2026-09-19 21:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-19 21:51:54] 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-19 21:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:51:54] 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-19 21:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197576192001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197576192001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:51:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197576192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":189832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:51:54] local.INFO: GPS data processed {"connection_id":189832,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:51:54] local.INFO: Acknowledgment sent {"connection_id":189832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:52:08] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:08] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:08] local.INFO: IMEI packet received {"connection_id":187238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:52:13] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:13] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:52:13] local.INFO: IMEI packet received {"connection_id":187238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:52:14] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:52:14] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba74c938012d34c14006aa41400008010e2b..."} 
[2026-09-19 21:52:14] local.INFO: Packet analysis {"connection_id":187238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:52:14] local.INFO: Extracted packet for processing {"connection_id":187238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba74"} 
[2026-09-19 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197583360001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:14] 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-19 21:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834611000,"timestamp_ms":1789834611000,"timestamp_seconds":1789834611,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba74c938"} 
[2026-09-19 21:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 21:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:52: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-19 21:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197583360001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197583360001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197583360001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":187238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:52:14] local.INFO: GPS data processed {"connection_id":187238,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:52:14] local.INFO: Acknowledgment sent {"connection_id":187238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:52:17] local.INFO: TCP Data received {"connection_id":188533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:17] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:17] local.INFO: IMEI packet received {"connection_id":188533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":188533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:52:22] local.INFO: TCP Data received {"connection_id":188533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:22] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:52:22] local.INFO: IMEI packet received {"connection_id":188533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":188533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:52:23] local.INFO: TCP Data received {"connection_id":188533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:23] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:23] local.INFO: Packet analysis {"connection_id":188533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:52:23] local.INFO: Extracted packet for processing {"connection_id":188533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:52:23] 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-19 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:52:23] 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-19 21:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":188533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:52:23] local.INFO: GPS data processed {"connection_id":188533,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:52:23] local.INFO: Acknowledgment sent {"connection_id":188533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:52:46] local.INFO: TCP Data received {"connection_id":187238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:52:46] local.INFO: Processing buffer {"connection_id":187238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:52:46] local.INFO: Packet analysis {"connection_id":187238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:52:46] local.INFO: Extracted packet for processing {"connection_id":187238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:46] 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-19 21:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:52: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-19 21:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":187238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:52:46] local.INFO: GPS data processed {"connection_id":187238,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:52:46] local.INFO: Acknowledgment sent {"connection_id":187238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:52:54] local.INFO: TCP Data received {"connection_id":188533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:54] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:52:54] local.INFO: Packet analysis {"connection_id":188533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:52:54] local.INFO: Extracted packet for processing {"connection_id":188533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:52:54] 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-19 21:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:52:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":188533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:52:54] local.INFO: GPS data processed {"connection_id":188533,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:52:54] local.INFO: Acknowledgment sent {"connection_id":188533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:53:13] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:13] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:13] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:53:17] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:17] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:17] local.INFO: IMEI packet received {"connection_id":187239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":187239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:53:18] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:18] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:53:18] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:53:19] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:19] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:19] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:53:19] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:19] 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-19 21:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:53:19] 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-19 21:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:53:19] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:53:19] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:53:22] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:22] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:53:22] local.INFO: IMEI packet received {"connection_id":187239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":187239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:53:23] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:23] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:23] local.INFO: Packet analysis {"connection_id":187239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:53:23] local.INFO: Extracted packet for processing {"connection_id":187239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:53: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-19 21:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:53:23] 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-19 21:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:53: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-19 21:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:53:23] 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-19 21:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":187239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:53:23] local.INFO: GPS data processed {"connection_id":187239,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:53:23] local.INFO: Acknowledgment sent {"connection_id":187239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:53:50] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:50] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:53:50] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:53:50] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:50] 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-19 21:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:53:50] 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-19 21:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:53:50] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:53:50] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:53:54] local.INFO: TCP Data received {"connection_id":187239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:54] local.INFO: Processing buffer {"connection_id":187239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:53:54] local.INFO: Packet analysis {"connection_id":187239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:53:54] local.INFO: Extracted packet for processing {"connection_id":187239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:53:54] 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-19 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:53:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":187239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:53:54] local.INFO: GPS data processed {"connection_id":187239,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:53:54] local.INFO: Acknowledgment sent {"connection_id":187239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:54:08] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:08] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:08] local.INFO: IMEI packet received {"connection_id":187240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":187240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:54:13] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:13] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:54:13] local.INFO: IMEI packet received {"connection_id":187240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":187240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:54:14] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:14] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:14] local.INFO: Packet analysis {"connection_id":187240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:54:14] local.INFO: Extracted packet for processing {"connection_id":187240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:14] 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-19 21:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:54: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-19 21:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":187240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:54:14] local.INFO: GPS data processed {"connection_id":187240,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:54:14] local.INFO: Acknowledgment sent {"connection_id":187240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:54:17] local.INFO: TCP Data received {"connection_id":189833,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:17] local.INFO: Processing buffer {"connection_id":189833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:17] local.INFO: IMEI packet received {"connection_id":189833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":189833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:54:22] local.INFO: TCP Data received {"connection_id":189833,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:22] local.INFO: Processing buffer {"connection_id":189833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:54:22] local.INFO: IMEI packet received {"connection_id":189833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":189833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:54:23] local.INFO: TCP Data received {"connection_id":189833,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:23] local.INFO: Processing buffer {"connection_id":189833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:23] local.INFO: Packet analysis {"connection_id":189833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:54:23] local.INFO: Extracted packet for processing {"connection_id":189833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21: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-19 21:54:23] 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-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:54:23] 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-19 21:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":189833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:54:23] local.INFO: GPS data processed {"connection_id":189833,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:54:23] local.INFO: Acknowledgment sent {"connection_id":189833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:54:46] local.INFO: TCP Data received {"connection_id":187240,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:46] local.INFO: Processing buffer {"connection_id":187240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:54:46] local.INFO: Packet analysis {"connection_id":187240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:54:46] local.INFO: Extracted packet for processing {"connection_id":187240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 21:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:46] 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-19 21:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 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-19 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 21:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:54: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-19 21:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":187240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:54:46] local.INFO: GPS data processed {"connection_id":187240,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:54:46] local.INFO: Acknowledgment sent {"connection_id":187240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:54:54] local.INFO: TCP Data received {"connection_id":189833,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:54] local.INFO: Processing buffer {"connection_id":189833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:54:54] local.INFO: Packet analysis {"connection_id":189833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:54:54] local.INFO: Extracted packet for processing {"connection_id":189833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:54:54] 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-19 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:54:54] 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-19 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":189833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:54:54] local.INFO: GPS data processed {"connection_id":189833,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:54:54] local.INFO: Acknowledgment sent {"connection_id":189833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:55:13] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:13] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:13] local.INFO: IMEI packet received {"connection_id":187241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":187241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:55:17] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:17] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:17] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:55:18] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:18] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:55:18] local.INFO: IMEI packet received {"connection_id":187241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":187241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:55:19] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:19] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:19] local.INFO: Packet analysis {"connection_id":187241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:55:19] local.INFO: Extracted packet for processing {"connection_id":187241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:19] 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-19 21:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:55:19] 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-19 21:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":187241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:55:19] local.INFO: GPS data processed {"connection_id":187241,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:55:19] local.INFO: Acknowledgment sent {"connection_id":187241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:55:22] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:22] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:55:22] local.INFO: IMEI packet received {"connection_id":187100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":187100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:55:23] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:23] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:23] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:55:23] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:55: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-19 21:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:55:23] 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-19 21:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:55: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-19 21:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 21:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:55:23] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:55:23] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:55:24] local.INFO: TCP Data received {"connection_id":187241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:24] local.INFO: Processing buffer {"connection_id":187241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:55:24] local.INFO: Packet analysis {"connection_id":187241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:55:24] local.INFO: Extracted packet for processing {"connection_id":187241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:55: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-19 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:24] 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-19 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:55: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-19 21:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:55:24] 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-19 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":187241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:55:24] local.INFO: GPS data processed {"connection_id":187241,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:55:24] local.INFO: Acknowledgment sent {"connection_id":187241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:55:54] local.INFO: TCP Data received {"connection_id":187100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:54] local.INFO: Processing buffer {"connection_id":187100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:55:54] local.INFO: Packet analysis {"connection_id":187100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:55:54] local.INFO: Extracted packet for processing {"connection_id":187100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:55:54] 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-19 21:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:55:54] 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-19 21:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:55:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":187100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:55:54] local.INFO: GPS data processed {"connection_id":187100,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:55:54] local.INFO: Acknowledgment sent {"connection_id":187100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:56:08] local.INFO: TCP Data received {"connection_id":189834,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:08] local.INFO: Processing buffer {"connection_id":189834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:08] local.INFO: IMEI packet received {"connection_id":189834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":189834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:56:13] local.INFO: TCP Data received {"connection_id":189834,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:13] local.INFO: Processing buffer {"connection_id":189834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:56:13] local.INFO: IMEI packet received {"connection_id":189834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":189834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:56:14] local.INFO: TCP Data received {"connection_id":189834,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:14] local.INFO: Processing buffer {"connection_id":189834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:14] local.INFO: Packet analysis {"connection_id":189834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:56:14] local.INFO: Extracted packet for processing {"connection_id":189834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:14] 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-19 21:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:56: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-19 21:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":189834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:56:14] local.INFO: GPS data processed {"connection_id":189834,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:56:14] local.INFO: Acknowledgment sent {"connection_id":189834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:56:22] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:22] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:22] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:56:27] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:27] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:56:27] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:56:28] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:28] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:28] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:56:28] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 21:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:56:28] 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-19 21:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 21:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:56:28] 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-19 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:56:28] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:56:28] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:56:33] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:33] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba78f3a0012d196540071fefa8003e006127..."} 
[2026-09-19 21:56:33] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:56:33] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba78"} 
[2026-09-19 21:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 21:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197653248001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 21:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789834884000,"timestamp_ms":1789834884000,"timestamp_seconds":1789834884,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba78f3a0"} 
[2026-09-19 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-19 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-19 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-19 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-19 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-19 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-19 21:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:56: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-19 21:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197653248001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197653248001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:56:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197653248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:56:33] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:56:33] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:56:45] local.INFO: TCP Data received {"connection_id":189834,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:45] local.INFO: Processing buffer {"connection_id":189834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:56:45] local.INFO: Packet analysis {"connection_id":189834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:56:45] local.INFO: Extracted packet for processing {"connection_id":189834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:56:45] 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-19 21:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21: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-19 21:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:56: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-19 21:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":189834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:56:45] local.INFO: GPS data processed {"connection_id":189834,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:56:45] local.INFO: Acknowledgment sent {"connection_id":189834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:57:03] local.INFO: TCP Data received {"connection_id":189835,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:57:03] local.INFO: Processing buffer {"connection_id":189835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 21:57:03] local.INFO: IMEI packet received {"connection_id":189835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":189835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:57:09] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:09] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:09] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:57:13] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:13] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:57:13] local.INFO: IMEI packet received {"connection_id":187242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":187242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:57:14] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:57:14] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba796100012d34c14006aa41400008010e2a..."} 
[2026-09-19 21:57:14] local.INFO: Packet analysis {"connection_id":187242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:57:14] local.INFO: Extracted packet for processing {"connection_id":187242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba79"} 
[2026-09-19 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197660416001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:14] 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-19 21:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789834912000,"timestamp_ms":1789834912000,"timestamp_seconds":1789834912,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba796100"} 
[2026-09-19 21:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 21:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:57: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-19 21:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197660416001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197660416001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197660416001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":187242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:57:14] local.INFO: GPS data processed {"connection_id":187242,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:57:14] local.INFO: Acknowledgment sent {"connection_id":187242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:57:17] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:17] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:17] local.INFO: IMEI packet received {"connection_id":187243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":187243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:57:23] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:23] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:57:23] local.INFO: IMEI packet received {"connection_id":187243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":187243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:57:23] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:23] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:23] local.INFO: Packet analysis {"connection_id":187243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:23] local.INFO: Extracted packet for processing {"connection_id":187243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:57:23] 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-19 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:57:23] 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-19 21:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:57:23] local.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-19 21:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":187243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:57:23] local.INFO: GPS data processed {"connection_id":187243,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:57:23] local.INFO: Acknowledgment sent {"connection_id":187243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:57:46] local.INFO: TCP Data received {"connection_id":187242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:57:46] local.INFO: Processing buffer {"connection_id":187242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:57:46] local.INFO: Packet analysis {"connection_id":187242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:46] local.INFO: Extracted packet for processing {"connection_id":187242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21: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-19 21:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:46] 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-19 21:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 21: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-19 21:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21: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-19 21: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-19 21:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:57: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-19 21:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":187242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:57:46] local.INFO: GPS data processed {"connection_id":187242,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:57:46] local.INFO: Acknowledgment sent {"connection_id":187242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:57:54] local.INFO: TCP Data received {"connection_id":187243,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:54] local.INFO: Processing buffer {"connection_id":187243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:57:54] local.INFO: Packet analysis {"connection_id":187243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:54] local.INFO: Extracted packet for processing {"connection_id":187243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:57:54] 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-19 21:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:57:54] local.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-19 21:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:57:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:57:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":187243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:57:55] local.INFO: GPS data processed {"connection_id":187243,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:57:55] local.INFO: Acknowledgment sent {"connection_id":187243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:58:08] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:08] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:08] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:58:13] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:13] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:58:13] local.INFO: IMEI packet received {"connection_id":187101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":187101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:58:14] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:14] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:14] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:14] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:14] 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-19 21:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 21:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:58: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-19 21:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:58:14] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:58:14] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:58:17] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:17] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:17] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:58:22] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:22] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:58:22] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:58:23] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:23] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:23] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:23] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:58: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-19 21:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:58:23] 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-19 21:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:58:23] 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-19 21:58: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-19 21:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:58:23] 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-19 21:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:58:23] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:58:23] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:58:46] local.INFO: TCP Data received {"connection_id":187101,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:46] local.INFO: Processing buffer {"connection_id":187101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:58:46] local.INFO: Packet analysis {"connection_id":187101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:46] local.INFO: Extracted packet for processing {"connection_id":187101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 21:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:46] 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-19 21:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 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-19 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 21:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:58: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-19 21:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":187101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:58:46] local.INFO: GPS data processed {"connection_id":187101,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:58:46] local.INFO: Acknowledgment sent {"connection_id":187101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:58:54] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:54] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:58:54] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:54] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:58:54] 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-19 21:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:58:54] 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-19 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:58:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:58:54] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:58:54] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:59:13] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:13] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:13] local.INFO: IMEI packet received {"connection_id":187244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 21:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:59:18] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:18] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:18] local.INFO: IMEI packet received {"connection_id":189837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 21:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":189837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 21:59:18] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:18] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 21:59:18] local.INFO: IMEI packet received {"connection_id":187244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 21:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":187244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:59:19] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:19] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:19] local.INFO: Packet analysis {"connection_id":187244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:19] local.INFO: Extracted packet for processing {"connection_id":187244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:19] 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-19 21:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 21:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:59:19] 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-19 21:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":187244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:59:19] local.INFO: GPS data processed {"connection_id":187244,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:59:19] local.INFO: Acknowledgment sent {"connection_id":187244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:59:22] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:22] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 21:59:22] local.INFO: IMEI packet received {"connection_id":189837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 21:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":189837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 21:59:23] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:23] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:23] local.INFO: Packet analysis {"connection_id":189837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:23] local.INFO: Extracted packet for processing {"connection_id":189837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:59:23] 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-19 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:59:23] 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-19 21:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:59:23] 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-19 21:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":189837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:59:23] local.INFO: GPS data processed {"connection_id":189837,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:59:23] local.INFO: Acknowledgment sent {"connection_id":189837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:59:24] local.INFO: TCP Data received {"connection_id":187244,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:24] local.INFO: Processing buffer {"connection_id":187244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 21:59:24] local.INFO: Packet analysis {"connection_id":187244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:24] local.INFO: Extracted packet for processing {"connection_id":187244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:24] 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-19 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 21:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 21:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 21:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 21:59:24] 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-19 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":187244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:59:24] local.INFO: GPS data processed {"connection_id":187244,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:59:24] local.INFO: Acknowledgment sent {"connection_id":187244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 21:59:54] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:54] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 21:59:54] local.INFO: Packet analysis {"connection_id":189837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:54] local.INFO: Extracted packet for processing {"connection_id":189837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 21:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 21:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 21:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 21:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 21:59:54] 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-19 21:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 21:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 21:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 21:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 21:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 21:59:54] 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-19 21:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 21:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 21:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 21:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 21:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 21:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 21:59:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 21:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 21:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 21:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 21:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 21:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":189837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 21:59:54] local.INFO: GPS data processed {"connection_id":189837,"processed":1,"errors":0,"total":1} 
[2026-09-19 21:59:54] local.INFO: Acknowledgment sent {"connection_id":189837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:00:08] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:08] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:08] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:00:13] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:13] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:00:13] local.INFO: IMEI packet received {"connection_id":187102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":187102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:00:14] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:14] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:14] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:14] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:14] 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-19 22:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00: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-19 22:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:00:14] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:00:14] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:00:17] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:17] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:17] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:00:18] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:18] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:18] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:18] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:18] 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-19 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00:18] 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-19 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:00:18] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:00:18] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:00:22] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:22] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:00:22] local.INFO: IMEI packet received {"connection_id":187103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":187103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:00:23] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:23] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:23] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:23] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 22:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:00:23] 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-19 22:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:00:23] 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-19 22:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:00:23] 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-19 22:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:00:23] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:00:23] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:00:50] local.INFO: TCP Data received {"connection_id":187102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:50] local.INFO: Processing buffer {"connection_id":187102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:00:50] local.INFO: Packet analysis {"connection_id":187102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:50] local.INFO: Extracted packet for processing {"connection_id":187102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:50] 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-19 22:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:00:50] 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-19 22:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":187102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:00:50] local.INFO: GPS data processed {"connection_id":187102,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:00:50] local.INFO: Acknowledgment sent {"connection_id":187102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:00:54] local.INFO: TCP Data received {"connection_id":187103,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:54] local.INFO: Processing buffer {"connection_id":187103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:00:54] local.INFO: Packet analysis {"connection_id":187103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:54] local.INFO: Extracted packet for processing {"connection_id":187103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 22:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:00:54] 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-19 22:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:00:54] 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-19 22:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:00:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":187103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:00:54] local.INFO: GPS data processed {"connection_id":187103,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:00:54] local.INFO: Acknowledgment sent {"connection_id":187103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:01:08] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:08] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:08] local.INFO: IMEI packet received {"connection_id":188538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:01:13] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:13] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:01:13] local.INFO: IMEI packet received {"connection_id":188538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":188538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:01:14] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:14] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:14] local.INFO: Packet analysis {"connection_id":188538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:14] local.INFO: Extracted packet for processing {"connection_id":188538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:14] 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-19 22:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:01: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-19 22:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":188538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:01:14] local.INFO: GPS data processed {"connection_id":188538,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:01:14] local.INFO: Acknowledgment sent {"connection_id":188538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:01:22] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:22] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:22] local.INFO: IMEI packet received {"connection_id":189839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":189839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:01:27] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:27] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:01:27] local.INFO: IMEI packet received {"connection_id":189839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":189839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:01:28] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:28] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:28] local.INFO: Packet analysis {"connection_id":189839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:28] local.INFO: Extracted packet for processing {"connection_id":189839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 22:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":189839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:01:28] local.INFO: GPS data processed {"connection_id":189839,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:01:28] local.INFO: Acknowledgment sent {"connection_id":189839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:01:32] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:32] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7d8b68012d196540071fefa8003e006127..."} 
[2026-09-19 22:01:32] local.INFO: Packet analysis {"connection_id":189839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:32] local.INFO: Extracted packet for processing {"connection_id":189839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197730304001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789835185000,"timestamp_ms":1789835185000,"timestamp_seconds":1789835185,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7d8b68"} 
[2026-09-19 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-19 22:01: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-19 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":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:01: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-19 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-19 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-19 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:01: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-19 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197730304001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197730304001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:01:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197730304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":189839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:01:32] local.INFO: GPS data processed {"connection_id":189839,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:01:32] local.INFO: Acknowledgment sent {"connection_id":189839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:01:45] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:45] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:01:45] local.INFO: Packet analysis {"connection_id":188538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:45] local.INFO: Extracted packet for processing {"connection_id":188538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:01:45] 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-19 22:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22: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-19 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:01: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-19 22:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":188538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:01:45] local.INFO: GPS data processed {"connection_id":188538,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:01:45] local.INFO: Acknowledgment sent {"connection_id":188538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:02:08] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:08] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:08] local.INFO: IMEI packet received {"connection_id":187246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":187246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:02:13] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:13] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:02:13] local.INFO: IMEI packet received {"connection_id":187246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":187246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:02:14] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:14] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba7df8c8012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:14] local.INFO: Packet analysis {"connection_id":187246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:02:14] local.INFO: Extracted packet for processing {"connection_id":187246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba7d"} 
[2026-09-19 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197737472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:14] 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-19 22:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835213000,"timestamp_ms":1789835213000,"timestamp_seconds":1789835213,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba7df8c8"} 
[2026-09-19 22:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:02: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-19 22:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197737472001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197737472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197737472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":187246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:02:14] local.INFO: GPS data processed {"connection_id":187246,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:02:14] local.INFO: Acknowledgment sent {"connection_id":187246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:02:17] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:17] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:17] local.INFO: IMEI packet received {"connection_id":187247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":187247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:02:22] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:22] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:02:22] local.INFO: IMEI packet received {"connection_id":187247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":187247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:02:23] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:23] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:23] local.INFO: Packet analysis {"connection_id":187247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:23] local.INFO: Extracted packet for processing {"connection_id":187247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:02: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-19 22:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:02:23] 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-19 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:02: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-19 22:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:02:23] 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-19 22:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":187247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:02:23] local.INFO: GPS data processed {"connection_id":187247,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:02:23] local.INFO: Acknowledgment sent {"connection_id":187247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:02:46] local.INFO: TCP Data received {"connection_id":187246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:46] local.INFO: Processing buffer {"connection_id":187246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:02:46] local.INFO: Packet analysis {"connection_id":187246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:46] local.INFO: Extracted packet for processing {"connection_id":187246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 22:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:46] 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-19 22:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 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-19 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:02: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-19 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-19 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-19 22:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:02: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-19 22:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":187246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:02:46] local.INFO: GPS data processed {"connection_id":187246,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:02:46] local.INFO: Acknowledgment sent {"connection_id":187246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:02:54] local.INFO: TCP Data received {"connection_id":187247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:54] local.INFO: Processing buffer {"connection_id":187247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:02:54] local.INFO: Packet analysis {"connection_id":187247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:54] local.INFO: Extracted packet for processing {"connection_id":187247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:02:54] 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-19 22:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:02:54] 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-19 22:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:02:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":187247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:02:54] local.INFO: GPS data processed {"connection_id":187247,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:02:54] local.INFO: Acknowledgment sent {"connection_id":187247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:03:08] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:08] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:08] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:03:13] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:13] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:03:13] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:03:14] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:14] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:14] local.INFO: Packet analysis {"connection_id":188539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:14] local.INFO: Extracted packet for processing {"connection_id":188539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:14] 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-19 22:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:03: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-19 22:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":188539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:03:14] local.INFO: GPS data processed {"connection_id":188539,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:03:14] local.INFO: Acknowledgment sent {"connection_id":188539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:03:17] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:17] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:17] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:03:22] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:22] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:03:22] local.INFO: IMEI packet received {"connection_id":187104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":187104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:03:23] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:23] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:23] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:23] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:03: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-19 22:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:03:23] 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-19 22:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:03: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-19 22:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:03:23] 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-19 22:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:03:23] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:03:23] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:03:45] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:45] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:03:45] local.INFO: Packet analysis {"connection_id":188539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:45] local.INFO: Extracted packet for processing {"connection_id":188539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:45] 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-19 22:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:03:45] 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-19 22:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:03: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-19 22:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":188539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:03:45] local.INFO: GPS data processed {"connection_id":188539,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:03:45] local.INFO: Acknowledgment sent {"connection_id":188539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:03:54] local.INFO: TCP Data received {"connection_id":187104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:54] local.INFO: Processing buffer {"connection_id":187104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:03:54] local.INFO: Packet analysis {"connection_id":187104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:54] local.INFO: Extracted packet for processing {"connection_id":187104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:03:54] 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-19 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:03:54] 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-19 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:03:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":187104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:03:54] local.INFO: GPS data processed {"connection_id":187104,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:03:54] local.INFO: Acknowledgment sent {"connection_id":187104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:04:13] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:13] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:13] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:04:18] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:18] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:04:18] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:04:19] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:19] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:19] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:19] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:19] 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-19 22:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:04:19] 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-19 22:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:04:19] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:04:19] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:04:22] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:22] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:22] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:04:24] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:24] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:04:24] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:24] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:24] 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-19 22:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:04:24] 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-19 22:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:04:24] 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-19 22:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:04:24] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:04:24] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:04:27] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:27] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:04:27] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:04:28] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:04:28] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:04:28] local.INFO: Packet analysis {"connection_id":188541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:28] local.INFO: Extracted packet for processing {"connection_id":188541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:04:28] 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-19 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:04:28] 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-19 22:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":188541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:04:28] local.INFO: GPS data processed {"connection_id":188541,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:04:28] local.INFO: Acknowledgment sent {"connection_id":188541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:05:08] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:08] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:08] local.INFO: IMEI packet received {"connection_id":187248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":187248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:05:12] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:12] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:12] local.INFO: IMEI packet received {"connection_id":187249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":187249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:05:13] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:13] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:05:13] local.INFO: IMEI packet received {"connection_id":187248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":187248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:05:14] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:14] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:14] local.INFO: Packet analysis {"connection_id":187248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:14] local.INFO: Extracted packet for processing {"connection_id":187248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:14] 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-19 22:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:05: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-19 22:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":187248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:05:14] local.INFO: GPS data processed {"connection_id":187248,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:05:14] local.INFO: Acknowledgment sent {"connection_id":187248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:05:17] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:17] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:05:17] local.INFO: IMEI packet received {"connection_id":187249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":187249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:05:18] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:18] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:18] local.INFO: Packet analysis {"connection_id":187249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:18] local.INFO: Extracted packet for processing {"connection_id":187249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:05:18] 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-19 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":187249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":187249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":187249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":187249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:05:18] local.INFO: GPS data processed {"connection_id":187249,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:05:18] local.INFO: Acknowledgment sent {"connection_id":187249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:05:46] local.INFO: TCP Data received {"connection_id":187248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:46] local.INFO: Processing buffer {"connection_id":187248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:05:46] local.INFO: Packet analysis {"connection_id":187248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:46] local.INFO: Extracted packet for processing {"connection_id":187248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:46] 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-19 22:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:05: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-19 22:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:05: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-19 22:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":187248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:05:46] local.INFO: GPS data processed {"connection_id":187248,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:05:46] local.INFO: Acknowledgment sent {"connection_id":187248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:05:49] local.INFO: TCP Data received {"connection_id":187249,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:49] local.INFO: Processing buffer {"connection_id":187249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:05:49] local.INFO: Packet analysis {"connection_id":187249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:49] local.INFO: Extracted packet for processing {"connection_id":187249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:05:49] 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-19 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":187249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:05:49] local.INFO: GPS data processed {"connection_id":187249,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:05:49] local.INFO: Acknowledgment sent {"connection_id":187249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:06:08] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:08] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:08] local.INFO: IMEI packet received {"connection_id":188542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:06:13] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:13] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:06:13] local.INFO: IMEI packet received {"connection_id":188542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":188542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:06:14] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:14] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:14] local.INFO: Packet analysis {"connection_id":188542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:14] local.INFO: Extracted packet for processing {"connection_id":188542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:14] 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-19 22:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:06: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-19 22:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":188542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:06:14] local.INFO: GPS data processed {"connection_id":188542,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:06:14] local.INFO: Acknowledgment sent {"connection_id":188542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:06:17] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:17] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:17] local.INFO: IMEI packet received {"connection_id":187250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":187250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:06:22] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:22] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:06:22] local.INFO: IMEI packet received {"connection_id":187250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":187250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:06:23] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:23] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:23] local.INFO: Packet analysis {"connection_id":187250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:23] local.INFO: Extracted packet for processing {"connection_id":187250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:06:23] 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-19 22:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":187250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:06:23] local.INFO: GPS data processed {"connection_id":187250,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:06:23] local.INFO: Acknowledgment sent {"connection_id":187250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:06:46] local.INFO: TCP Data received {"connection_id":188542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:46] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:06:46] local.INFO: Packet analysis {"connection_id":188542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:46] local.INFO: Extracted packet for processing {"connection_id":188542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:46] 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-19 22:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:06: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-19 22:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:06: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-19 22:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":188542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:06:46] local.INFO: GPS data processed {"connection_id":188542,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:06:46] local.INFO: Acknowledgment sent {"connection_id":188542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:06:54] local.INFO: TCP Data received {"connection_id":187250,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:54] local.INFO: Processing buffer {"connection_id":187250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba822330012d196540071fefa8003e006128..."} 
[2026-09-19 22:06:54] local.INFO: Packet analysis {"connection_id":187250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:54] local.INFO: Extracted packet for processing {"connection_id":187250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197807360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835486000,"timestamp_ms":1789835486000,"timestamp_seconds":1789835486,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba822330"} 
[2026-09-19 22:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:06:54] 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-19 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197807360001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197807360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:06:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197807360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":187250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:06:54] local.INFO: GPS data processed {"connection_id":187250,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:06:54] local.INFO: Acknowledgment sent {"connection_id":187250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:07:08] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:08] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:08] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:07:13] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:13] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:07:13] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:07:14] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:14] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba829090012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:14] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:07:14] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba82"} 
[2026-09-19 22:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197814528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:14] 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-19 22:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835514000,"timestamp_ms":1789835514000,"timestamp_seconds":1789835514,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba829090"} 
[2026-09-19 22:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:07: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-19 22:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197814528001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197814528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197814528001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:07:14] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:07:14] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:07:17] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:17] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:17] local.INFO: IMEI packet received {"connection_id":187251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":187251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:07:22] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:22] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:07:22] local.INFO: IMEI packet received {"connection_id":187251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":187251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:07:23] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:23] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:23] local.INFO: Packet analysis {"connection_id":187251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:07:23] local.INFO: Extracted packet for processing {"connection_id":187251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":187251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:07:23] local.INFO: GPS data processed {"connection_id":187251,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:07:23] local.INFO: Acknowledgment sent {"connection_id":187251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:07:45] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:45] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:07:45] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:07:45] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:45] 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-19 22:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:07: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-19 22:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:07:45] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:07:45] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:07:54] local.INFO: TCP Data received {"connection_id":187251,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:54] local.INFO: Processing buffer {"connection_id":187251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:07:54] local.INFO: Packet analysis {"connection_id":187251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:07:54] local.INFO: Extracted packet for processing {"connection_id":187251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:07:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":187251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:07:54] local.INFO: GPS data processed {"connection_id":187251,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:07:54] local.INFO: Acknowledgment sent {"connection_id":187251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:08:13] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:13] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:13] local.INFO: IMEI packet received {"connection_id":187105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:08:18] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:18] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:08:18] local.INFO: IMEI packet received {"connection_id":187105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":187105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:08:19] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:19] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:19] local.INFO: Packet analysis {"connection_id":187105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:08:19] local.INFO: Extracted packet for processing {"connection_id":187105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:19] 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-19 22:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:08:19] 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-19 22:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":187105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:08:19] local.INFO: GPS data processed {"connection_id":187105,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:08:19] local.INFO: Acknowledgment sent {"connection_id":187105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:08:22] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:22] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:22] local.INFO: IMEI packet received {"connection_id":187252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":187252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:08:23] local.INFO: TCP Data received {"connection_id":187105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:23] local.INFO: Processing buffer {"connection_id":187105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:08:23] local.INFO: Packet analysis {"connection_id":187105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:08:23] local.INFO: Extracted packet for processing {"connection_id":187105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:23] 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-19 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:08:23] 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-19 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":187105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:08:23] local.INFO: GPS data processed {"connection_id":187105,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:08:23] local.INFO: Acknowledgment sent {"connection_id":187105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:08:27] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:27] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:08:27] local.INFO: IMEI packet received {"connection_id":187252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":187252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:08:28] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:28] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:28] local.INFO: Packet analysis {"connection_id":187252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:08:28] local.INFO: Extracted packet for processing {"connection_id":187252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":187252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:08:28] local.INFO: GPS data processed {"connection_id":187252,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:08:28] local.INFO: Acknowledgment sent {"connection_id":187252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:08:33] local.INFO: TCP Data received {"connection_id":187252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:33] local.INFO: Processing buffer {"connection_id":187252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:08:33] local.INFO: Packet analysis {"connection_id":187252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:08:33] local.INFO: Extracted packet for processing {"connection_id":187252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 22:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 22:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 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-19 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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-19 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-19 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-19 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-19 22:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":187252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":187252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":187252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:08: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-19 22:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":187252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:08:33] local.INFO: GPS data processed {"connection_id":187252,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:08:33] local.INFO: Acknowledgment sent {"connection_id":187252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:09:08] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:08] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:08] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:09:13] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:13] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:09:13] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:09:14] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:14] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:14] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:09:14] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:14] 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-19 22:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:09: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-19 22:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:09:14] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:09:14] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:09:17] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:17] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:17] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:09:22] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:22] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:09:22] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:09:23] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:23] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:23] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:09:23] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:09:23] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:09:23] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:09:45] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:45] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:09:45] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:09:45] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:45] 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-19 22:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22: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-19 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:09:45] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:09:45] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:09:54] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:54] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:09:54] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:09:54] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:09:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:09:54] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:09:54] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:10:08] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:08] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:08] local.INFO: IMEI packet received {"connection_id":187106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":187106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:10:13] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:13] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:10:13] local.INFO: IMEI packet received {"connection_id":187106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":187106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:10:14] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:14] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:14] local.INFO: Packet analysis {"connection_id":187106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:10:14] local.INFO: Extracted packet for processing {"connection_id":187106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:14] 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-19 22:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:10:14] 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-19 22:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":187106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:10:14] local.INFO: GPS data processed {"connection_id":187106,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:10:14] local.INFO: Acknowledgment sent {"connection_id":187106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:10:17] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:17] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:17] local.INFO: IMEI packet received {"connection_id":187253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":187253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:10:22] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:22] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:10:22] local.INFO: IMEI packet received {"connection_id":187253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":187253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:10:23] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:23] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:23] local.INFO: Packet analysis {"connection_id":187253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:10:23] local.INFO: Extracted packet for processing {"connection_id":187253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:10:23] 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-19 22:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":187253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:10:23] local.INFO: GPS data processed {"connection_id":187253,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:10:23] local.INFO: Acknowledgment sent {"connection_id":187253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:10:46] local.INFO: TCP Data received {"connection_id":187106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:46] local.INFO: Processing buffer {"connection_id":187106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:10:46] local.INFO: Packet analysis {"connection_id":187106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:10:46] local.INFO: Extracted packet for processing {"connection_id":187106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:46] 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-19 22:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:10: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-19 22:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":187106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:10:46] local.INFO: GPS data processed {"connection_id":187106,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:10:46] local.INFO: Acknowledgment sent {"connection_id":187106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:10:55] local.INFO: TCP Data received {"connection_id":187253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:55] local.INFO: Processing buffer {"connection_id":187253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:10:55] local.INFO: Packet analysis {"connection_id":187253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:10:55] local.INFO: Extracted packet for processing {"connection_id":187253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22: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-19 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":187253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":187253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":187253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:10:55] 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-19 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":187253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:10:55] local.INFO: GPS data processed {"connection_id":187253,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:10:55] local.INFO: Acknowledgment sent {"connection_id":187253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:11:08] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:08] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:08] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:11:13] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:13] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:11:13] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:11:14] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:14] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:14] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:11:14] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:14] 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-19 22:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:11:14] 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-19 22:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:11:14] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:11:14] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:11:18] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:18] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:18] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:11:22] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:22] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:11:22] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:11:23] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:23] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:23] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:11:23] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:11:23] 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-19 22:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:11:23] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:11:23] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:11:45] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:45] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:11:45] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:11:45] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:45] 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-19 22:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:11: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-19 22:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:11:45] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:11:45] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:11:54] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:54] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba86baf8012d196540071fefa8003e006128..."} 
[2026-09-19 22:11:54] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:11:54] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba86"} 
[2026-09-19 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197884416001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789835787000,"timestamp_ms":1789835787000,"timestamp_seconds":1789835787,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba86baf8"} 
[2026-09-19 22:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:11:54] 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-19 22:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197884416001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197884416001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:11:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197884416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:11:54] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:11:54] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:12:08] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:08] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:08] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:12:13] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:13] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:12:13] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:12:14] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:12:14] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba872858012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:12:14] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:12:14] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba87"} 
[2026-09-19 22:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197891584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:14] 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-19 22:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789835815000,"timestamp_ms":1789835815000,"timestamp_seconds":1789835815,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba872858"} 
[2026-09-19 22: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-19 22:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:12: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-19 22:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197891584001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197891584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197891584001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:12:14] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:12:14] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:12:17] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:17] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:17] local.INFO: IMEI packet received {"connection_id":187254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":187254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:12:22] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:22] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:12:22] local.INFO: IMEI packet received {"connection_id":187254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":187254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:12:23] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:23] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:23] local.INFO: Packet analysis {"connection_id":187254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:23] local.INFO: Extracted packet for processing {"connection_id":187254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:12:23] 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-19 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":187254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:12:23] local.INFO: GPS data processed {"connection_id":187254,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:12:23] local.INFO: Acknowledgment sent {"connection_id":187254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:12:46] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:12:46] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:12:46] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:46] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:46] 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-19 22:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22: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-19 22:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:12: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-19 22: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-19 22: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-19 22:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:12: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-19 22:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:12:46] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:12:46] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:12:54] local.INFO: TCP Data received {"connection_id":187254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:54] local.INFO: Processing buffer {"connection_id":187254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:12:54] local.INFO: Packet analysis {"connection_id":187254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:54] local.INFO: Extracted packet for processing {"connection_id":187254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:12:54] 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-19 22:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:12:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":187254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:12:54] local.INFO: GPS data processed {"connection_id":187254,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:12:54] local.INFO: Acknowledgment sent {"connection_id":187254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:13:08] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:08] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:08] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:13:13] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:13] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:13:13] local.INFO: IMEI packet received {"connection_id":187107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:13:14] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:14] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:14] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:14] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:14] 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-19 22:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:13: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-19 22:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:13:14] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:13:14] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:13:17] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:17] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:17] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:13:22] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:22] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:13:22] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:13:23] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:23] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:23] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:23] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:13:23] 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-19 22:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:13:23] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:13:23] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:13:46] local.INFO: TCP Data received {"connection_id":187107,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:46] local.INFO: Processing buffer {"connection_id":187107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:13:46] local.INFO: Packet analysis {"connection_id":187107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:46] local.INFO: Extracted packet for processing {"connection_id":187107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:46] 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-19 22:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:13: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-19 22:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:13: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-19 22:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":187107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:13:46] local.INFO: GPS data processed {"connection_id":187107,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:13:46] local.INFO: Acknowledgment sent {"connection_id":187107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:13:54] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:54] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:13:54] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:54] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:13:54] 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-19 22:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:13:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:13:54] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:13:54] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:14:08] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:08] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:08] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:14:13] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:13] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:14:13] local.INFO: IMEI packet received {"connection_id":187108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":187108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:14:14] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:14] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:14] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:14] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:14] 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-19 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:14: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-19 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:14:14] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:14:14] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:14:17] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:17] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:17] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:14:22] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:22] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:14:22] local.INFO: IMEI packet received {"connection_id":187109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":187109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:14:23] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:23] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:23] local.INFO: Packet analysis {"connection_id":187109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:23] local.INFO: Extracted packet for processing {"connection_id":187109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22: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-19 22:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:14:23] 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-19 22:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":187109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:14:23] local.INFO: GPS data processed {"connection_id":187109,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:14:23] local.INFO: Acknowledgment sent {"connection_id":187109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:14:46] local.INFO: TCP Data received {"connection_id":187108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:46] local.INFO: Processing buffer {"connection_id":187108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:14:46] local.INFO: Packet analysis {"connection_id":187108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:46] local.INFO: Extracted packet for processing {"connection_id":187108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:46] 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-19 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 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-19 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:14: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-19 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-19 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-19 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:14: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-19 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":187108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:14:46] local.INFO: GPS data processed {"connection_id":187108,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:14:46] local.INFO: Acknowledgment sent {"connection_id":187108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:14:54] local.INFO: TCP Data received {"connection_id":187109,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:54] local.INFO: Processing buffer {"connection_id":187109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:14:54] local.INFO: Packet analysis {"connection_id":187109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:54] local.INFO: Extracted packet for processing {"connection_id":187109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:14:54] 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-19 22:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:14:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":187109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:14:54] local.INFO: GPS data processed {"connection_id":187109,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:14:54] local.INFO: Acknowledgment sent {"connection_id":187109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:15:08] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:08] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:08] local.INFO: IMEI packet received {"connection_id":187255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":187255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:15:13] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:13] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:15:13] local.INFO: IMEI packet received {"connection_id":187255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":187255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:15:14] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:14] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:14] local.INFO: Packet analysis {"connection_id":187255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:14] local.INFO: Extracted packet for processing {"connection_id":187255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:14] 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-19 22:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:15:14] 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-19 22:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":187255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:15:14] local.INFO: GPS data processed {"connection_id":187255,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:15:14] local.INFO: Acknowledgment sent {"connection_id":187255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:15:17] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:17] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:17] local.INFO: IMEI packet received {"connection_id":187256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":187256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:15:22] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:22] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:15:22] local.INFO: IMEI packet received {"connection_id":187256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":187256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:15:23] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:23] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:23] local.INFO: Packet analysis {"connection_id":187256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:23] local.INFO: Extracted packet for processing {"connection_id":187256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:15: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-19 22:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:15: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-19 22:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:15:23] 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-19 22:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":187256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:15:23] local.INFO: GPS data processed {"connection_id":187256,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:15:23] local.INFO: Acknowledgment sent {"connection_id":187256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:15:47] local.INFO: TCP Data received {"connection_id":187255,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:47] local.INFO: Processing buffer {"connection_id":187255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:15:47] local.INFO: Packet analysis {"connection_id":187255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:47] local.INFO: Extracted packet for processing {"connection_id":187255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15: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-19 22:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:15: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-19 22:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":187255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:15:47] local.INFO: GPS data processed {"connection_id":187255,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:15:47] local.INFO: Acknowledgment sent {"connection_id":187255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:15:54] local.INFO: TCP Data received {"connection_id":187256,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:54] local.INFO: Processing buffer {"connection_id":187256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:15:54] local.INFO: Packet analysis {"connection_id":187256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:54] local.INFO: Extracted packet for processing {"connection_id":187256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:15:54] 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-19 22:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:15:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:15:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":187256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:15:54] local.INFO: GPS data processed {"connection_id":187256,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:15:54] local.INFO: Acknowledgment sent {"connection_id":187256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:16:08] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:08] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:08] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:16:13] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:13] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:16:13] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:16:14] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:14] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:14] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:14] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:14] 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-19 22:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:16: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-19 22:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:16:14] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:16:14] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:16:18] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:18] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:18] local.INFO: IMEI packet received {"connection_id":187110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":187110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:16:22] local.INFO: TCP Data received {"connection_id":187257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:16:22] local.INFO: Processing buffer {"connection_id":187257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:16:22] local.INFO: IMEI packet received {"connection_id":187257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":187257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:16:22] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:22] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:16:22] local.INFO: IMEI packet received {"connection_id":187110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":187110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:16:23] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:23] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:23] local.INFO: Packet analysis {"connection_id":187110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:23] local.INFO: Extracted packet for processing {"connection_id":187110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:16: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-19 22:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:16: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-19 22:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:16:23] 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-19 22:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":187110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:16:23] local.INFO: GPS data processed {"connection_id":187110,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:16:23] local.INFO: Acknowledgment sent {"connection_id":187110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:16:45] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:45] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:16:45] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:45] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:45] 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-19 22:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:16:45] 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-19 22:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:16:45] 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-19 22:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:16:45] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:16:45] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:16:54] local.INFO: TCP Data received {"connection_id":187110,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:54] local.INFO: Processing buffer {"connection_id":187110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8b52c0012d196540071fefa8003e006126..."} 
[2026-09-19 22:16:54] local.INFO: Packet analysis {"connection_id":187110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:54] local.INFO: Extracted packet for processing {"connection_id":187110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197961472001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836088000,"timestamp_ms":1789836088000,"timestamp_seconds":1789836088,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8b52c0"} 
[2026-09-19 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:16:54] 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-19 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197961472001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197961472001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:16:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197961472001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":187110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:16:55] local.INFO: GPS data processed {"connection_id":187110,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:16:55] local.INFO: Acknowledgment sent {"connection_id":187110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:17:08] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:08] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:08] local.INFO: IMEI packet received {"connection_id":187258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":187258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:17:13] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:13] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:17:13] local.INFO: IMEI packet received {"connection_id":187258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":187258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:17:14] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:17:14] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8bc020012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:17:14] local.INFO: Packet analysis {"connection_id":187258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:17:14] local.INFO: Extracted packet for processing {"connection_id":187258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8b"} 
[2026-09-19 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458197968640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:14] 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-19 22:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836116000,"timestamp_ms":1789836116000,"timestamp_seconds":1789836116,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8bc020"} 
[2026-09-19 22:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:17: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-19 22:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458197968640001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458197968640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458197968640001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":187258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:17:14] local.INFO: GPS data processed {"connection_id":187258,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:17:14] local.INFO: Acknowledgment sent {"connection_id":187258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:17:17] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:17] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:17] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:17:22] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:22] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:17:22] local.INFO: IMEI packet received {"connection_id":187111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":187111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:17:23] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:23] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:23] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:17:23] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:17:23] 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-19 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:17:23] 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-19 22:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:17:23] 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-19 22:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:17:23] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:17:23] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:17:45] local.INFO: TCP Data received {"connection_id":187258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:17:45] local.INFO: Processing buffer {"connection_id":187258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:17:45] local.INFO: Packet analysis {"connection_id":187258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:17:45] local.INFO: Extracted packet for processing {"connection_id":187258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:45] 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-19 22:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:17:45] 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-19 22:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":187258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:17:45] local.INFO: GPS data processed {"connection_id":187258,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:17:45] local.INFO: Acknowledgment sent {"connection_id":187258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:17:54] local.INFO: TCP Data received {"connection_id":187111,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:54] local.INFO: Processing buffer {"connection_id":187111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:17:54] local.INFO: Packet analysis {"connection_id":187111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:17:54] local.INFO: Extracted packet for processing {"connection_id":187111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:17:54] 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-19 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:17:54] 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-19 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:17:54] 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-19 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":187111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:17:54] local.INFO: GPS data processed {"connection_id":187111,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:17:54] local.INFO: Acknowledgment sent {"connection_id":187111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:18:08] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:08] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:08] local.INFO: IMEI packet received {"connection_id":187259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":187259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:18:13] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:13] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:18:13] local.INFO: IMEI packet received {"connection_id":187259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":187259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:18:14] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:14] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:14] local.INFO: Packet analysis {"connection_id":187259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:18:14] local.INFO: Extracted packet for processing {"connection_id":187259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:14] 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-19 22:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:18: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-19 22:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":187259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:18:14] local.INFO: GPS data processed {"connection_id":187259,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:18:14] local.INFO: Acknowledgment sent {"connection_id":187259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:18:17] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:17] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:17] local.INFO: IMEI packet received {"connection_id":187260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":187260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:18:22] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:22] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:18:22] local.INFO: IMEI packet received {"connection_id":187260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":187260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:18:23] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:23] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:23] local.INFO: Packet analysis {"connection_id":187260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:18:23] local.INFO: Extracted packet for processing {"connection_id":187260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:18:23] 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-19 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:18:23] 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-19 22:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:18:23] 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-19 22:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":187260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:18:23] local.INFO: GPS data processed {"connection_id":187260,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:18:23] local.INFO: Acknowledgment sent {"connection_id":187260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:18:46] local.INFO: TCP Data received {"connection_id":187259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:46] local.INFO: Processing buffer {"connection_id":187259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:18:46] local.INFO: Packet analysis {"connection_id":187259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:18:46] local.INFO: Extracted packet for processing {"connection_id":187259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:46] 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-19 22:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:18: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-19 22:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":187259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:18:46] local.INFO: GPS data processed {"connection_id":187259,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:18:46] local.INFO: Acknowledgment sent {"connection_id":187259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:18:54] local.INFO: TCP Data received {"connection_id":187260,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:54] local.INFO: Processing buffer {"connection_id":187260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:18:54] local.INFO: Packet analysis {"connection_id":187260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:18:54] local.INFO: Extracted packet for processing {"connection_id":187260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:18:54] 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-19 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:18:54] 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-19 22:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:18:54] 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-19 22:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:18:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":187260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:18:54] local.INFO: GPS data processed {"connection_id":187260,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:18:54] local.INFO: Acknowledgment sent {"connection_id":187260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:19:08] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:08] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:08] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:19:13] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:13] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:19:13] local.INFO: IMEI packet received {"connection_id":187112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":187112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:19:14] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:14] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:14] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:19:14] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:14] 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-19 22:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:19:14] 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-19 22:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:19:14] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:19:14] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:19:17] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:17] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:17] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:19:22] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:22] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:19:22] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:19:23] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:23] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:23] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:19:23] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:19: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-19 22:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:19:23] 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-19 22:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:19:23] 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-19 22:19: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-19 22:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:19:23] 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-19 22:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:19:23] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:19:23] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:19:46] local.INFO: TCP Data received {"connection_id":187112,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:46] local.INFO: Processing buffer {"connection_id":187112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:19:46] local.INFO: Packet analysis {"connection_id":187112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:19:46] local.INFO: Extracted packet for processing {"connection_id":187112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:46] 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-19 22:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22: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-19 22:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22: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-19 22:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":187112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:19:46] local.INFO: GPS data processed {"connection_id":187112,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:19:46] local.INFO: Acknowledgment sent {"connection_id":187112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:19:54] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:54] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:19:54] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:19:54] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:19:54] 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-19 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:19:54] 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-19 22:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:19:54] 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-19 22:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:19:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:19:54] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:19:54] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:20:08] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:08] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:08] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:20:13] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:13] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:20:13] local.INFO: IMEI packet received {"connection_id":187113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:20:14] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:14] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:14] local.INFO: Packet analysis {"connection_id":187113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:20:14] local.INFO: Extracted packet for processing {"connection_id":187113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:14] 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-19 22:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:20: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-19 22:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":187113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:20:14] local.INFO: GPS data processed {"connection_id":187113,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:20:14] local.INFO: Acknowledgment sent {"connection_id":187113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:20:17] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:17] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:17] local.INFO: IMEI packet received {"connection_id":187261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":187261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:20:22] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:22] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:20:22] local.INFO: IMEI packet received {"connection_id":187261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":187261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:20:23] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:23] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:23] local.INFO: Packet analysis {"connection_id":187261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:20:23] local.INFO: Extracted packet for processing {"connection_id":187261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:20:23] 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-19 22:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:20:23] 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-19 22:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:20:23] 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-19 22:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":187261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:20:23] local.INFO: GPS data processed {"connection_id":187261,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:20:23] local.INFO: Acknowledgment sent {"connection_id":187261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:20:45] local.INFO: TCP Data received {"connection_id":187113,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:45] local.INFO: Processing buffer {"connection_id":187113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:20:45] local.INFO: Packet analysis {"connection_id":187113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:20:45] local.INFO: Extracted packet for processing {"connection_id":187113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:45] 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-19 22:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22: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-19 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22: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-19 22:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":187113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:20:45] local.INFO: GPS data processed {"connection_id":187113,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:20:45] local.INFO: Acknowledgment sent {"connection_id":187113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:20:54] local.INFO: TCP Data received {"connection_id":187261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:54] local.INFO: Processing buffer {"connection_id":187261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:20:54] local.INFO: Packet analysis {"connection_id":187261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:20:54] local.INFO: Extracted packet for processing {"connection_id":187261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:20:54] 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-19 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:20:54] 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-19 22:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:20:54] 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-19 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:20:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":187261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:20:54] local.INFO: GPS data processed {"connection_id":187261,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:20:54] local.INFO: Acknowledgment sent {"connection_id":187261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:21:08] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:08] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:08] local.INFO: IMEI packet received {"connection_id":188552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:21:13] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:13] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:13] local.INFO: IMEI packet received {"connection_id":188552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":188552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:21:14] local.INFO: TCP Data received {"connection_id":188552,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:14] local.INFO: Processing buffer {"connection_id":188552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:14] local.INFO: Packet analysis {"connection_id":188552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:21:14] local.INFO: Extracted packet for processing {"connection_id":188552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:14] 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-19 22:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22: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-19 22:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:21: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-19 22:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":188552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:21:14] local.INFO: GPS data processed {"connection_id":188552,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:21:14] local.INFO: Acknowledgment sent {"connection_id":188552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:21:18] local.INFO: TCP Data received {"connection_id":189842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:18] local.INFO: Processing buffer {"connection_id":189842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:18] local.INFO: IMEI packet received {"connection_id":189842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":189842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:21:22] local.INFO: TCP Data received {"connection_id":189842,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:22] local.INFO: Processing buffer {"connection_id":189842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:21:22] local.INFO: IMEI packet received {"connection_id":189842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":189842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:21:23] local.INFO: TCP Data received {"connection_id":189842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:23] local.INFO: Processing buffer {"connection_id":189842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:23] local.INFO: Packet analysis {"connection_id":189842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:21:23] local.INFO: Extracted packet for processing {"connection_id":189842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:21:23] 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-19 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:21:23] 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-19 22:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:21:23] 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-19 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":189842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:21:23] local.INFO: GPS data processed {"connection_id":189842,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:21:23] local.INFO: Acknowledgment sent {"connection_id":189842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:21:33] local.INFO: TCP Data received {"connection_id":187262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:21:33] local.INFO: Processing buffer {"connection_id":187262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:21:33] local.INFO: IMEI packet received {"connection_id":187262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":187262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:21:43] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:43] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:43] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:21:48] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:48] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:21:48] local.INFO: IMEI packet received {"connection_id":187114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":187114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:21:50] local.INFO: TCP Data received {"connection_id":187114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:50] local.INFO: Processing buffer {"connection_id":187114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:21:50] local.INFO: Packet analysis {"connection_id":187114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:21:50] local.INFO: Extracted packet for processing {"connection_id":187114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:50] 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-19 22:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":187114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:21:50] local.INFO: GPS data processed {"connection_id":187114,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:21:50] local.INFO: Acknowledgment sent {"connection_id":187114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:21:54] local.INFO: TCP Data received {"connection_id":189842,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:54] local.INFO: Processing buffer {"connection_id":189842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba8fea88012d196540071fefa8003e006128..."} 
[2026-09-19 22:21:54] local.INFO: Packet analysis {"connection_id":189842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:21:54] local.INFO: Extracted packet for processing {"connection_id":189842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba8f"} 
[2026-09-19 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198038528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836389000,"timestamp_ms":1789836389000,"timestamp_seconds":1789836389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba8fea88"} 
[2026-09-19 22:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:21:54] 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-19 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 22:21:54] 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-19 22:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:21:54] 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-19 22:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198038528001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198038528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:21:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198038528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":189842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:21:54] local.INFO: GPS data processed {"connection_id":189842,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:21:54] local.INFO: Acknowledgment sent {"connection_id":189842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:22:05] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:05] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:05] local.INFO: IMEI packet received {"connection_id":189843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-19 22:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":189843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:22:06] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:06] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:06] local.INFO: IMEI packet received {"connection_id":189843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 22:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":189843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:22:10] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:10] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-19 22:22:10] local.INFO: IMEI packet received {"connection_id":189843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-19 22:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":189843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:22:11] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 22:22:11] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-19 22:22:11] local.INFO: Packet analysis {"connection_id":189843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 22:22:11] local.INFO: Extracted packet for processing {"connection_id":189843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-19 22:22: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-19 22:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074969112543232,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22: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-19 22:22:11] 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-19 22:22:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 22:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189843,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189843,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 22:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189843,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 22:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 22:22:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 22:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":189843,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 22:22:11] local.ERROR: GPS data processing failed {"connection_id":189843,"error":"No valid data to process"} 
[2026-09-19 22:22:11] local.INFO: Acknowledgment sent {"connection_id":189843,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 22:22:12] local.INFO: TCP Data received {"connection_id":188553,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:22:12] local.INFO: Processing buffer {"connection_id":188553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:22:12] local.INFO: IMEI packet received {"connection_id":188553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":188553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:22:13] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:13] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:13] local.INFO: IMEI packet received {"connection_id":187263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":187263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:22:17] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:17] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:17] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:22:18] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:18] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:22:18] local.INFO: IMEI packet received {"connection_id":187263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":187263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:22:19] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:19] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9057e8012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:19] local.INFO: Packet analysis {"connection_id":187263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:22:19] local.INFO: Extracted packet for processing {"connection_id":187263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba90"} 
[2026-09-19 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198045696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:19] 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-19 22:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789836417000,"timestamp_ms":1789836417000,"timestamp_seconds":1789836417,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9057e8"} 
[2026-09-19 22:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 22:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198045696001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198045696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198045696001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":187263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:22:19] local.INFO: GPS data processed {"connection_id":187263,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:22:19] local.INFO: Acknowledgment sent {"connection_id":187263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:22:22] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:22] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:22:22] local.INFO: IMEI packet received {"connection_id":187115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":187115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:22:23] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:23] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:23] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:23] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:22:23] 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-19 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:22:23] 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-19 22:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:22:23] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:22:23] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:22:42] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-19 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-19 22:22:42] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-19 22:22:42] local.INFO: Packet analysis {"connection_id":189843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-19 22:22:42] local.INFO: Extracted packet for processing {"connection_id":189843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-19 22:22: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-19 22:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135074969112543232,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:42] 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-19 22:22:42] 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-19 22:22:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-19 22:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189843,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189843,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 22:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189843,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-19 22:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-19 22:22:42] local.WARNING: DEBUG: No valid data to process  
[2026-09-19 22:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":189843,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-19 22:22:42] local.ERROR: GPS data processing failed {"connection_id":189843,"error":"No valid data to process"} 
[2026-09-19 22:22:42] local.INFO: Acknowledgment sent {"connection_id":189843,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-19 22:22:50] local.INFO: TCP Data received {"connection_id":187263,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:50] local.INFO: Processing buffer {"connection_id":187263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:22:50] local.INFO: Packet analysis {"connection_id":187263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:50] local.INFO: Extracted packet for processing {"connection_id":187263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:22: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-19 22:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:50] 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-19 22:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:22: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-19 22:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:22:50] local.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-19 22:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":187263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:22:50] local.INFO: GPS data processed {"connection_id":187263,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:22:50] local.INFO: Acknowledgment sent {"connection_id":187263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:22:54] local.INFO: TCP Data received {"connection_id":187115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:54] local.INFO: Processing buffer {"connection_id":187115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:22:54] local.INFO: Packet analysis {"connection_id":187115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:54] local.INFO: Extracted packet for processing {"connection_id":187115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:22:54] 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-19 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:22:54] 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-19 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:22:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:22:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":187115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:22:54] local.INFO: GPS data processed {"connection_id":187115,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:22:54] local.INFO: Acknowledgment sent {"connection_id":187115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:23:08] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:08] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:08] local.INFO: IMEI packet received {"connection_id":189844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":189844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:23:13] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:13] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:23:13] local.INFO: IMEI packet received {"connection_id":189844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":189844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:23:14] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:14] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:14] local.INFO: Packet analysis {"connection_id":189844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:14] local.INFO: Extracted packet for processing {"connection_id":189844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:14] 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-19 22:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":189844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:23:14] local.INFO: GPS data processed {"connection_id":189844,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:23:14] local.INFO: Acknowledgment sent {"connection_id":189844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:23:17] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:17] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:17] local.INFO: IMEI packet received {"connection_id":188554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":188554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:23:22] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:22] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:23:22] local.INFO: IMEI packet received {"connection_id":188554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":188554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:23:23] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:23] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:23] local.INFO: Packet analysis {"connection_id":188554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:23] local.INFO: Extracted packet for processing {"connection_id":188554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:23:23] 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-19 22:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:23:23] 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-19 22:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":188554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:23:23] local.INFO: GPS data processed {"connection_id":188554,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:23:23] local.INFO: Acknowledgment sent {"connection_id":188554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:23:46] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:46] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:23:46] local.INFO: Packet analysis {"connection_id":189844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:46] local.INFO: Extracted packet for processing {"connection_id":189844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:46] 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-19 22:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22: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-19 22:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:23: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-19 22:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":189844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:23:46] local.INFO: GPS data processed {"connection_id":189844,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:23:46] local.INFO: Acknowledgment sent {"connection_id":189844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:23:54] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:54] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:23:54] local.INFO: Packet analysis {"connection_id":188554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:54] local.INFO: Extracted packet for processing {"connection_id":188554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:23:54] 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-19 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:23:54] 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-19 22:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:23:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":188554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:23:54] local.INFO: GPS data processed {"connection_id":188554,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:23:54] local.INFO: Acknowledgment sent {"connection_id":188554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:24:08] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:08] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:08] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:24:13] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:13] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:24:13] local.INFO: IMEI packet received {"connection_id":187117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":187117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:24:14] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:14] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:14] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:14] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:14] 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-19 22:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:24:14] 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-19 22:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:24:14] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:24:14] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:24:17] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:17] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:17] local.INFO: IMEI packet received {"connection_id":187265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":187265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:24:22] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:22] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:24:22] local.INFO: IMEI packet received {"connection_id":187265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":187265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:24:23] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:23] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:23] local.INFO: Packet analysis {"connection_id":187265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:23] local.INFO: Extracted packet for processing {"connection_id":187265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:24:23] 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-19 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":187265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:24:23] local.INFO: GPS data processed {"connection_id":187265,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:24:23] local.INFO: Acknowledgment sent {"connection_id":187265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:24:46] local.INFO: TCP Data received {"connection_id":187117,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:46] local.INFO: Processing buffer {"connection_id":187117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:24:46] local.INFO: Packet analysis {"connection_id":187117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:46] local.INFO: Extracted packet for processing {"connection_id":187117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:46] 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-19 22:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22: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-19 22:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:24:46] 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-19 22:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":187117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:24:46] local.INFO: GPS data processed {"connection_id":187117,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:24:46] local.INFO: Acknowledgment sent {"connection_id":187117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:24:54] local.INFO: TCP Data received {"connection_id":187265,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:54] local.INFO: Processing buffer {"connection_id":187265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:24:54] local.INFO: Packet analysis {"connection_id":187265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:54] local.INFO: Extracted packet for processing {"connection_id":187265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:24:54] 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-19 22:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:24:54] 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-19 22:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":187265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:24:54] local.INFO: GPS data processed {"connection_id":187265,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:24:54] local.INFO: Acknowledgment sent {"connection_id":187265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:25:08] local.INFO: TCP Data received {"connection_id":187266,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:08] local.INFO: Processing buffer {"connection_id":187266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:08] local.INFO: IMEI packet received {"connection_id":187266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":187266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:25:13] local.INFO: TCP Data received {"connection_id":187266,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:13] local.INFO: Processing buffer {"connection_id":187266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:25:13] local.INFO: IMEI packet received {"connection_id":187266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":187266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:25:15] local.INFO: TCP Data received {"connection_id":187266,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:15] local.INFO: Processing buffer {"connection_id":187266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:15] local.INFO: Packet analysis {"connection_id":187266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:15] local.INFO: Extracted packet for processing {"connection_id":187266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25: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-19 22:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22: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-19 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:25:15] 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-19 22:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":187266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:25:15] local.INFO: GPS data processed {"connection_id":187266,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:25:15] local.INFO: Acknowledgment sent {"connection_id":187266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:25:17] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:17] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:17] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:25:22] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:22] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:25:22] local.INFO: IMEI packet received {"connection_id":187118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":187118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:25:23] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:23] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:23] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:23] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:25:23] 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-19 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:25:23] 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-19 22:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:25:23] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:25:23] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:25:46] local.INFO: TCP Data received {"connection_id":187266,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:46] local.INFO: Processing buffer {"connection_id":187266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:25:46] local.INFO: Packet analysis {"connection_id":187266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:46] local.INFO: Extracted packet for processing {"connection_id":187266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:46] 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-19 22:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22: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-19 22:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:25:46] 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-19 22:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":187266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:25:46] local.INFO: GPS data processed {"connection_id":187266,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:25:46] local.INFO: Acknowledgment sent {"connection_id":187266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:25:54] local.INFO: TCP Data received {"connection_id":187118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:54] local.INFO: Processing buffer {"connection_id":187118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:25:54] local.INFO: Packet analysis {"connection_id":187118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:54] local.INFO: Extracted packet for processing {"connection_id":187118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:25:54] 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-19 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:25:54] 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-19 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":187118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:25:55] local.INFO: GPS data processed {"connection_id":187118,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:25:55] local.INFO: Acknowledgment sent {"connection_id":187118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:26:08] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:08] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:08] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:26:13] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:13] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:26:13] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:26:14] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:14] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:14] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:14] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:14] 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-19 22:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:26: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-19 22:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:26:14] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:26:14] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:26:18] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:18] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:18] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:26:22] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:22] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:26:22] local.INFO: IMEI packet received {"connection_id":187119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":187119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:26:23] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:23] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:23] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:23] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:26:23] 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-19 22:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:26:23] 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-19 22:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:26:23] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:26:23] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:26:45] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:45] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:26:45] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:45] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:45] 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-19 22:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:26: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-19 22:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:26:45] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:26:45] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:26:54] local.INFO: TCP Data received {"connection_id":187119,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:54] local.INFO: Processing buffer {"connection_id":187119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba948250012d196540071fefa8003e006128..."} 
[2026-09-19 22:26:54] local.INFO: Packet analysis {"connection_id":187119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:54] local.INFO: Extracted packet for processing {"connection_id":187119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198115584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836690000,"timestamp_ms":1789836690000,"timestamp_seconds":1789836690,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba948250"} 
[2026-09-19 22:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:26:54] 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-19 22:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:26:54] 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-19 22:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198115584001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198115584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:26:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198115584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":187119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:26:54] local.INFO: GPS data processed {"connection_id":187119,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:26:54] local.INFO: Acknowledgment sent {"connection_id":187119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:27:08] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:08] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:08] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:27:13] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:13] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:27:13] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:27:14] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:27:14] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba94efb0012d34c14006aa41400008010e2d..."} 
[2026-09-19 22:27:14] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:27:14] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba94"} 
[2026-09-19 22:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198122752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:14] 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-19 22:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789836718000,"timestamp_ms":1789836718000,"timestamp_seconds":1789836718,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba94efb0"} 
[2026-09-19 22:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198122752001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198122752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198122752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:27:14] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:27:14] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:27:17] local.INFO: TCP Data received {"connection_id":189845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:17] local.INFO: Processing buffer {"connection_id":189845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:17] local.INFO: IMEI packet received {"connection_id":189845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":189845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:27:22] local.INFO: TCP Data received {"connection_id":189845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:22] local.INFO: Processing buffer {"connection_id":189845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:27:22] local.INFO: IMEI packet received {"connection_id":189845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":189845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:27:23] local.INFO: TCP Data received {"connection_id":189845,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:23] local.INFO: Processing buffer {"connection_id":189845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:23] local.INFO: Packet analysis {"connection_id":189845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:23] local.INFO: Extracted packet for processing {"connection_id":189845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:27: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-19 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:27:23] 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-19 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:27: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-19 22:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:27:23] 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-19 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":189845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:27:23] local.INFO: GPS data processed {"connection_id":189845,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:27:23] local.INFO: Acknowledgment sent {"connection_id":189845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:27:45] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:27:45] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:27:45] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:45] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:45] 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-19 22:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:27:45] 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-19 22:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:27:45] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:27:45] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:27:54] local.INFO: TCP Data received {"connection_id":189845,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:54] local.INFO: Processing buffer {"connection_id":189845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:27:54] local.INFO: Packet analysis {"connection_id":189845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:54] local.INFO: Extracted packet for processing {"connection_id":189845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:27:54] 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-19 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:27:54] 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-19 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":189845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:27:54] local.INFO: GPS data processed {"connection_id":189845,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:27:54] local.INFO: Acknowledgment sent {"connection_id":189845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:28:08] local.INFO: TCP Data received {"connection_id":187267,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:08] local.INFO: Processing buffer {"connection_id":187267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:08] local.INFO: IMEI packet received {"connection_id":187267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":187267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:28:13] local.INFO: TCP Data received {"connection_id":187267,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:13] local.INFO: Processing buffer {"connection_id":187267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:28:13] local.INFO: IMEI packet received {"connection_id":187267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":187267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:28:15] local.INFO: TCP Data received {"connection_id":187267,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:15] local.INFO: Processing buffer {"connection_id":187267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:15] local.INFO: Packet analysis {"connection_id":187267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:15] local.INFO: Extracted packet for processing {"connection_id":187267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28: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-19 22:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":187267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:28:15] local.INFO: GPS data processed {"connection_id":187267,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:28:15] local.INFO: Acknowledgment sent {"connection_id":187267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:28:17] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:17] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:17] local.INFO: IMEI packet received {"connection_id":189846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":189846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:28:22] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:22] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:28:22] local.INFO: IMEI packet received {"connection_id":189846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":189846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:28:23] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:23] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:23] local.INFO: Packet analysis {"connection_id":189846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:23] local.INFO: Extracted packet for processing {"connection_id":189846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:28:23] 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-19 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":189846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:28:23] local.INFO: GPS data processed {"connection_id":189846,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:28:23] local.INFO: Acknowledgment sent {"connection_id":189846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:28:46] local.INFO: TCP Data received {"connection_id":187267,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:46] local.INFO: Processing buffer {"connection_id":187267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:28:46] local.INFO: Packet analysis {"connection_id":187267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:46] local.INFO: Extracted packet for processing {"connection_id":187267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:46] 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-19 22:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:28: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-19 22:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:28: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-19 22:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":187267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:28:46] local.INFO: GPS data processed {"connection_id":187267,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:28:46] local.INFO: Acknowledgment sent {"connection_id":187267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:28:54] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:54] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:28:54] local.INFO: Packet analysis {"connection_id":189846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:54] local.INFO: Extracted packet for processing {"connection_id":189846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:28:54] 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-19 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:28:54] 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-19 22:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:28:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":189846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:28:55] local.INFO: GPS data processed {"connection_id":189846,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:28:55] local.INFO: Acknowledgment sent {"connection_id":189846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:29:08] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:08] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:08] local.INFO: IMEI packet received {"connection_id":189847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":189847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:29:13] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:13] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:29:13] local.INFO: IMEI packet received {"connection_id":189847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":189847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:29:14] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:14] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:14] local.INFO: Packet analysis {"connection_id":189847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:14] local.INFO: Extracted packet for processing {"connection_id":189847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:14] 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-19 22:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":189847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:29:14] local.INFO: GPS data processed {"connection_id":189847,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:29:14] local.INFO: Acknowledgment sent {"connection_id":189847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:29:17] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:17] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:17] local.INFO: IMEI packet received {"connection_id":188557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":188557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:29:22] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:22] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:29:22] local.INFO: IMEI packet received {"connection_id":188557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":188557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:29:23] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:23] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:23] local.INFO: Packet analysis {"connection_id":188557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:23] local.INFO: Extracted packet for processing {"connection_id":188557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:29:23] 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-19 22:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:29:23] 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-19 22:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":188557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:29:23] local.INFO: GPS data processed {"connection_id":188557,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:29:23] local.INFO: Acknowledgment sent {"connection_id":188557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:29:46] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:46] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:29:46] local.INFO: Packet analysis {"connection_id":189847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:46] local.INFO: Extracted packet for processing {"connection_id":189847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:46] 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-19 22:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22: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-19 22:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:29: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-19 22: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-19 22: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-19 22:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":189847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:29:46] local.INFO: GPS data processed {"connection_id":189847,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:29:46] local.INFO: Acknowledgment sent {"connection_id":189847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:29:54] local.INFO: TCP Data received {"connection_id":188557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:54] local.INFO: Processing buffer {"connection_id":188557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:29:54] local.INFO: Packet analysis {"connection_id":188557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:54] local.INFO: Extracted packet for processing {"connection_id":188557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:29:54] 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-19 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:29:54] 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-19 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:29:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":188557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:29:54] local.INFO: GPS data processed {"connection_id":188557,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:29:54] local.INFO: Acknowledgment sent {"connection_id":188557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:30:08] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:08] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:08] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:30:13] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:13] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:30:13] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:30:14] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:14] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:14] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:14] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:14] 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-19 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:30: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-19 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:30:14] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:30:14] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:30:17] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:17] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:17] local.INFO: IMEI packet received {"connection_id":187268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":187268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:30:22] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:22] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:30:22] local.INFO: IMEI packet received {"connection_id":187268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":187268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:30:23] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:23] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:23] local.INFO: Packet analysis {"connection_id":187268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:23] local.INFO: Extracted packet for processing {"connection_id":187268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:30:23] 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-19 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:30:23] 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-19 22:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:30:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":187268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:30:23] local.INFO: GPS data processed {"connection_id":187268,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:30:23] local.INFO: Acknowledgment sent {"connection_id":187268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:30:33] local.INFO: TCP Data received {"connection_id":188559,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:33] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:33] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:30:36] local.INFO: TCP Data received {"connection_id":188559,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:36] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:30:36] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:30:37] local.INFO: TCP Data received {"connection_id":188559,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9bae40012caf66c0090b67e0022000072b..."} 
[2026-09-19 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9bae40012caf66c0090b67e0022000072b..."} 
[2026-09-19 22:30:37] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9bae40012caf66c0090b67e0022000072b..."} 
[2026-09-19 22:30:37] local.INFO: Packet analysis {"connection_id":188559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:30:37] local.INFO: Extracted packet for processing {"connection_id":188559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":749692608,"raw_latitude":151742432,"longitude_deg":74.9692608,"latitude_deg":15.1742432,"altitude":544,"angle":7,"satellites":43,"speed":39,"hex_longitude":"2caf66c0","hex_latitude":"090b67e0","is_valid_coordinates":true} 
[2026-09-19 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198310656001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1552738051686400,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5809643480464187390,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789837160000,"timestamp_ms":1789837160000,"timestamp_seconds":1789837160,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9bae40"} 
[2026-09-19 22:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-19 22:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198310656001,"66":27821,"133":206,"9":54784,"24":39,"16":1552738051686400,"44":-5809643480464187390},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198310656001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:30:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:30:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1552738051686400,"km_value":1552738051686.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5809643480464187390,"description":"Unknown IO ID 44"} 
[2026-09-19 22:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198310656001,"power":27821,"unknown_133":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5809643480464187390}} 
[2026-09-19 22:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":188559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:30:37] local.INFO: GPS data processed {"connection_id":188559,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:30:37] local.INFO: Acknowledgment sent {"connection_id":188559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:30:45] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:45] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:30:45] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:45] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:45] 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-19 22:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22: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-19 22:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:30:45] 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-19 22: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-19 22: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-19 22:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:30:45] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:30:45] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:30:54] local.INFO: TCP Data received {"connection_id":187268,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:54] local.INFO: Processing buffer {"connection_id":187268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:30:54] local.INFO: Packet analysis {"connection_id":187268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:54] local.INFO: Extracted packet for processing {"connection_id":187268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:30:54] 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-19 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:30:54] 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-19 22:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:30:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":187268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:30:54] local.INFO: GPS data processed {"connection_id":187268,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:30:54] local.INFO: Acknowledgment sent {"connection_id":187268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:08] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:08] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:08] local.INFO: IMEI packet received {"connection_id":187269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":187269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:31:08] local.INFO: TCP Data received {"connection_id":189848,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:08] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:08] local.INFO: IMEI packet received {"connection_id":189848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":189848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:31:13] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:13] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:31:13] local.INFO: IMEI packet received {"connection_id":187269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:31:13] local.INFO: TCP Data received {"connection_id":189848,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:13] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:31:13] local.INFO: IMEI packet received {"connection_id":189848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":189848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:31:14] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:14] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:14] local.INFO: Packet analysis {"connection_id":187269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:14] local.INFO: Extracted packet for processing {"connection_id":187269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:14] 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-19 22:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:31:14] 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-19 22:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":187269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:14] local.INFO: GPS data processed {"connection_id":187269,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:14] local.INFO: Acknowledgment sent {"connection_id":187269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:15] local.INFO: TCP Data received {"connection_id":189848,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9bd550012caf6c40090b8ca00223000a2b..."} 
[2026-09-19 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9bd550012caf6c40090b8ca00223000a2b..."} 
[2026-09-19 22:31:15] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9bd550012caf6c40090b8ca00223000a2b..."} 
[2026-09-19 22:31:15] local.INFO: Packet analysis {"connection_id":189848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:31:15] local.INFO: Extracted packet for processing {"connection_id":189848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":749694016,"raw_latitude":151751840,"longitude_deg":74.9694016,"latitude_deg":15.175184,"altitude":547,"angle":10,"satellites":43,"speed":37,"hex_longitude":"2caf6c40","hex_latitude":"090b8ca0","is_valid_coordinates":true} 
[2026-09-19 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198312960001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1553197613187072,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5807743524369080318,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789837170000,"timestamp_ms":1789837170000,"timestamp_seconds":1789837170,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9bd550"} 
[2026-09-19 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31: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-19 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 22:31: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-19 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198312960001,"66":27952,"133":206,"9":54784,"24":37,"16":1553197613187072,"44":-5807743524369080318},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198312960001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:15] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1553197613187072,"km_value":1553197613187.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5807743524369080318,"description":"Unknown IO ID 44"} 
[2026-09-19 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198312960001,"power":27952,"unknown_133":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5807743524369080318}} 
[2026-09-19 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":189848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:15] local.INFO: GPS data processed {"connection_id":189848,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:15] local.INFO: Acknowledgment sent {"connection_id":189848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:17] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:17] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:17] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:31:22] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:22] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:31:22] local.INFO: IMEI packet received {"connection_id":187120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":187120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:31:23] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:23] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:23] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:23] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:31: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-19 22:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31:23] 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-19 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:31: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-19 22:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:31:23] 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-19 22:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:23] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:23] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:46] local.INFO: TCP Data received {"connection_id":187269,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:46] local.INFO: Processing buffer {"connection_id":187269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:31:46] local.INFO: Packet analysis {"connection_id":187269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:46] local.INFO: Extracted packet for processing {"connection_id":187269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:46] 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-19 22:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:31: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-19 22:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:31:46] 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-19 22:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":187269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:46] local.INFO: GPS data processed {"connection_id":187269,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:46] local.INFO: Acknowledgment sent {"connection_id":187269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:50] local.INFO: TCP Data received {"connection_id":189848,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9bfc60012caf75c0090bb0f0022500112b..."} 
[2026-09-19 22:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9bfc60012caf75c0090bb0f0022500112b..."} 
[2026-09-19 22:31:50] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9bfc60012caf75c0090bb0f0022500112b..."} 
[2026-09-19 22:31:50] local.INFO: Packet analysis {"connection_id":189848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:31:50] local.INFO: Extracted packet for processing {"connection_id":189848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9b"} 
[2026-09-19 22:31:50] local.INFO: GPS Element Parsed {"raw_longitude":749696448,"raw_latitude":151761136,"longitude_deg":74.9696448,"latitude_deg":15.1761136,"altitude":549,"angle":17,"satellites":43,"speed":39,"hex_longitude":"2caf75c0","hex_latitude":"090bb0f0","is_valid_coordinates":true} 
[2026-09-19 22:31: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-19 22:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198315520001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1553665764622336,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5806195411994763262,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789837180000,"timestamp_ms":1789837180000,"timestamp_seconds":1789837180,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9bfc60"} 
[2026-09-19 22:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31: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-19 22:31: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-19 22:31: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-19 22:31: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-19 22:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198315520001,"66":27908,"131":206,"9":54784,"24":39,"16":1553665764622336,"44":-5806195411994763262},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-19 22:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198315520001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-19 22:31:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1553665764622336,"km_value":1553665764622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5806195411994763262,"description":"Unknown IO ID 44"} 
[2026-09-19 22:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198315520001,"power":27908,"unknown_131":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5806195411994763262}} 
[2026-09-19 22:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":189848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:50] local.INFO: GPS data processed {"connection_id":189848,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:50] local.INFO: Acknowledgment sent {"connection_id":189848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:31:56] local.INFO: TCP Data received {"connection_id":187120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:56] local.INFO: Processing buffer {"connection_id":187120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba991a18012d196540071fefa8003e006129..."} 
[2026-09-19 22:31:56] local.INFO: Packet analysis {"connection_id":187120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:56] local.INFO: Extracted packet for processing {"connection_id":187120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:31: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-19 22:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198192640001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789836991000,"timestamp_ms":1789836991000,"timestamp_seconds":1789836991,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba991a18"} 
[2026-09-19 22:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:31:56] 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-19 22:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:31: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-19 22:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":187120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":187120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:31:56] 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-19 22:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198192640001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198192640001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198192640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":187120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:31:57] local.INFO: GPS data processed {"connection_id":187120,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:31:57] local.INFO: Acknowledgment sent {"connection_id":187120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:08] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:08] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:08] local.INFO: IMEI packet received {"connection_id":187270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":187270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:32:08] local.INFO: TCP Data received {"connection_id":187121,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:08] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:08] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:32:13] local.INFO: TCP Data received {"connection_id":187121,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:13] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:32:13] local.INFO: IMEI packet received {"connection_id":187121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:32:13] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:13] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:32:13] local.INFO: IMEI packet received {"connection_id":187270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":187270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:32:14] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:32:14] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba998778012d34c14006aa41400008010e2c..."} 
[2026-09-19 22:32:14] local.INFO: Packet analysis {"connection_id":187270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:32:14] local.INFO: Extracted packet for processing {"connection_id":187270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba99"} 
[2026-09-19 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198199808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] 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-19 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837019000,"timestamp_ms":1789837019000,"timestamp_seconds":1789837019,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba998778"} 
[2026-09-19 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198199808001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198199808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198199808001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":187270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:14] local.INFO: GPS data processed {"connection_id":187270,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:14] local.INFO: Acknowledgment sent {"connection_id":187270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:14] local.INFO: TCP Data received {"connection_id":187121,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9d5808012cb03940090c6770022900432b..."} 
[2026-09-19 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9d5808012cb03940090c6770022900432b..."} 
[2026-09-19 22:32:14] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9d5808012cb03940090c6770022900432b..."} 
[2026-09-19 22:32:14] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:14] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":749746496,"raw_latitude":151807856,"longitude_deg":74.9746496,"latitude_deg":15.1807856,"altitude":553,"angle":67,"satellites":43,"speed":36,"hex_longitude":"2cb03940","hex_latitude":"090c6770","is_valid_coordinates":true} 
[2026-09-19 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198338816001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1557398091202560,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5756163234870571006,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837269000,"timestamp_ms":1789837269000,"timestamp_seconds":1789837269,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9d5808"} 
[2026-09-19 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 22:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198338816001,"66":27843,"133":206,"9":54784,"24":36,"16":1557398091202560,"44":-5756163234870571006},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198338816001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1557398091202560,"km_value":1557398091202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5756163234870571006,"description":"Unknown IO ID 44"} 
[2026-09-19 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198338816001,"power":27843,"unknown_133":206,"unknown_9":54784,"ignition":36,"odometer":null,"unknown_44":-5756163234870571006}} 
[2026-09-19 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:14] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:14] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:17] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:17] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:17] local.INFO: IMEI packet received {"connection_id":189849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":189849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:32:22] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:22] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:32:22] local.INFO: IMEI packet received {"connection_id":189849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":189849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:32:23] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:23] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:23] local.INFO: Packet analysis {"connection_id":189849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:23] local.INFO: Extracted packet for processing {"connection_id":189849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:23] 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-19 22:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:32:23] 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-19 22:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":189849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:23] local.INFO: GPS data processed {"connection_id":189849,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:23] local.INFO: Acknowledgment sent {"connection_id":189849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:45] local.INFO: TCP Data received {"connection_id":187121,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9d6f78012cb04cc0090c7200022700372b..."} 
[2026-09-19 22:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9d6f78012cb04cc0090c7200022700372b..."} 
[2026-09-19 22:32:45] local.INFO: Processing buffer {"connection_id":187121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9d6f78012cb04cc0090c7200022700372b..."} 
[2026-09-19 22:32:45] local.INFO: Packet analysis {"connection_id":187121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:45] local.INFO: Extracted packet for processing {"connection_id":187121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":749751488,"raw_latitude":151810560,"longitude_deg":74.9751488,"latitude_deg":15.181056,"altitude":551,"angle":55,"satellites":43,"speed":37,"hex_longitude":"2cb04cc0","hex_latitude":"090c7200","is_valid_coordinates":true} 
[2026-09-19 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198340864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1557668674142208,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5748493041754738686,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837275000,"timestamp_ms":1789837275000,"timestamp_seconds":1789837275,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9d6f78"} 
[2026-09-19 22:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:32: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-19 22:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198340864001,"66":27832,"133":206,"9":54784,"24":37,"16":1557668674142208,"44":-5748493041754738686},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198340864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1557668674142208,"km_value":1557668674142.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5748493041754738686,"description":"Unknown IO ID 44"} 
[2026-09-19 22:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198340864001,"power":27832,"unknown_133":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5748493041754738686}} 
[2026-09-19 22:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":187121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:45] local.INFO: GPS data processed {"connection_id":187121,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:45] local.INFO: Acknowledgment sent {"connection_id":187121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:45] local.INFO: TCP Data received {"connection_id":187270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:32:45] local.INFO: Processing buffer {"connection_id":187270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:32:45] local.INFO: Packet analysis {"connection_id":187270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:32:45] local.INFO: Extracted packet for processing {"connection_id":187270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:45] 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-19 22:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":187270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:45] local.INFO: GPS data processed {"connection_id":187270,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:45] local.INFO: Acknowledgment sent {"connection_id":187270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:32:54] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:54] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:32:54] local.INFO: Packet analysis {"connection_id":189849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:54] local.INFO: Extracted packet for processing {"connection_id":189849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:32:54] 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-19 22:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:32:54] 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-19 22:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:32:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":189849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:32:54] local.INFO: GPS data processed {"connection_id":189849,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:32:54] local.INFO: Acknowledgment sent {"connection_id":189849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:08] local.INFO: TCP Data received {"connection_id":189850,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:08] local.INFO: Processing buffer {"connection_id":189850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:08] local.INFO: IMEI packet received {"connection_id":189850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":189850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:33:13] local.INFO: TCP Data received {"connection_id":189850,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:13] local.INFO: Processing buffer {"connection_id":189850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:13] local.INFO: IMEI packet received {"connection_id":189850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":189850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:33:13] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:13] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:13] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:33:14] local.INFO: TCP Data received {"connection_id":189850,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:14] local.INFO: Processing buffer {"connection_id":189850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:33:14] local.INFO: IMEI packet received {"connection_id":189850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":189850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:33:15] local.INFO: TCP Data received {"connection_id":189850,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9d86e8012cb05ec0090c8150022500292d..."} 
[2026-09-19 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9d86e8012cb05ec0090c8150022500292d..."} 
[2026-09-19 22:33:15] local.INFO: Processing buffer {"connection_id":189850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9d86e8012cb05ec0090c8150022500292d..."} 
[2026-09-19 22:33:15] local.INFO: Packet analysis {"connection_id":189850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:15] local.INFO: Extracted packet for processing {"connection_id":189850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":749756096,"raw_latitude":151814480,"longitude_deg":74.9756096,"latitude_deg":15.181448,"altitude":549,"angle":41,"satellites":45,"speed":41,"hex_longitude":"2cb05ec0","hex_latitude":"090c8150","is_valid_coordinates":true} 
[2026-09-19 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198342400001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1557952141983744,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5743004279708188670,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789837281000,"timestamp_ms":1789837281000,"timestamp_seconds":1789837281,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9d86e8"} 
[2026-09-19 22:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:33: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-19 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198342400001,"66":27908,"133":206,"9":54784,"24":41,"16":1557952141983744,"44":-5743004279708188670},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198342400001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:15] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:33:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1557952141983744,"km_value":1557952141983.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5743004279708188670,"description":"Unknown IO ID 44"} 
[2026-09-19 22:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198342400001,"power":27908,"unknown_133":206,"unknown_9":54784,"ignition":41,"odometer":null,"unknown_44":-5743004279708188670}} 
[2026-09-19 22:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":189850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:15] local.INFO: GPS data processed {"connection_id":189850,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:15] local.INFO: Acknowledgment sent {"connection_id":189850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:17] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:17] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:17] local.INFO: IMEI packet received {"connection_id":187271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":187271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:33:18] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:18] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:33:18] local.INFO: IMEI packet received {"connection_id":187122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":187122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:33:19] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:19] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:19] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:33:19] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:19] 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-19 22:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:19] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:19] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:22] local.INFO: TCP Data received {"connection_id":189850,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9d9a70012cb06b80090c93100223001e2c..."} 
[2026-09-19 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9d9a70012cb06b80090c93100223001e2c..."} 
[2026-09-19 22:33:22] local.INFO: Processing buffer {"connection_id":189850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9d9a70012cb06b80090c93100223001e2c..."} 
[2026-09-19 22:33:22] local.INFO: Packet analysis {"connection_id":189850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:22] local.INFO: Extracted packet for processing {"connection_id":189850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749759360,"raw_latitude":151819024,"longitude_deg":74.975936,"latitude_deg":15.1819024,"altitude":547,"angle":30,"satellites":44,"speed":45,"hex_longitude":"2cb06b80","hex_latitude":"090c9310","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198343936001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1558222724923392,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5737937730126393342,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789837286000,"timestamp_ms":1789837286000,"timestamp_seconds":1789837286,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9d9a70"} 
[2026-09-19 22: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-19 22:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198343936001,"66":27550,"133":206,"9":54784,"24":45,"16":1558222724923392,"44":-5737937730126393342},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198343936001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:22] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:33:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1558222724923392,"km_value":1558222724923.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5737937730126393342,"description":"Unknown IO ID 44"} 
[2026-09-19 22:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198343936001,"power":27550,"unknown_133":206,"unknown_9":54784,"ignition":45,"odometer":null,"unknown_44":-5737937730126393342}} 
[2026-09-19 22:33:22] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:22] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:33:22] local.INFO: IMEI packet received {"connection_id":187271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":187271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":189850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:22] local.INFO: GPS data processed {"connection_id":189850,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:22] local.INFO: Acknowledgment sent {"connection_id":189850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:23] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:23] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:23] local.INFO: Packet analysis {"connection_id":187271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:23] local.INFO: Extracted packet for processing {"connection_id":187271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:33:23] 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-19 22:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:33:23] 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-19 22:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":187271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:23] local.INFO: GPS data processed {"connection_id":187271,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:23] local.INFO: Acknowledgment sent {"connection_id":187271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:51] local.INFO: TCP Data received {"connection_id":187122,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:51] local.INFO: Processing buffer {"connection_id":187122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:33:51] local.INFO: Packet analysis {"connection_id":187122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:33:51] local.INFO: Extracted packet for processing {"connection_id":187122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:51] 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-19 22:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22: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-19 22:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":187122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:51] local.INFO: GPS data processed {"connection_id":187122,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:51] local.INFO: Acknowledgment sent {"connection_id":187122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:33:54] local.INFO: TCP Data received {"connection_id":187271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:54] local.INFO: Processing buffer {"connection_id":187271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:33:54] local.INFO: Packet analysis {"connection_id":187271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:54] local.INFO: Extracted packet for processing {"connection_id":187271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:33:54] 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-19 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:33:54] 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-19 22:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:33:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":187271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:33:54] local.INFO: GPS data processed {"connection_id":187271,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:33:54] local.INFO: Acknowledgment sent {"connection_id":187271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:08] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:08] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:08] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:34:13] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:13] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:34:13] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:34:13] local.INFO: TCP Data received {"connection_id":189851,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:13] local.INFO: Processing buffer {"connection_id":189851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:13] local.INFO: IMEI packet received {"connection_id":189851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":189851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:34:14] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:14] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:14] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:14] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:14] 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-19 22:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:14] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:14] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:17] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:17] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:17] local.INFO: IMEI packet received {"connection_id":188561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":188561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:34:22] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:22] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:34:22] local.INFO: IMEI packet received {"connection_id":188561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":188561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:34:23] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:23] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:23] local.INFO: Packet analysis {"connection_id":188561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:34:23] local.INFO: Extracted packet for processing {"connection_id":188561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34:23] 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-19 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:34:23] 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-19 22:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":188561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:23] local.INFO: GPS data processed {"connection_id":188561,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:23] local.INFO: Acknowledgment sent {"connection_id":188561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:42] local.INFO: TCP Data received {"connection_id":189851,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:42] local.INFO: Processing buffer {"connection_id":189851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:34:42] local.INFO: IMEI packet received {"connection_id":189851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":189851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:34:44] local.INFO: TCP Data received {"connection_id":189851,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9ee678012cb0d380090d9ec0021f003b2b..."} 
[2026-09-19 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9ee678012cb0d380090d9ec0021f003b2b..."} 
[2026-09-19 22:34:44] local.INFO: Processing buffer {"connection_id":189851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9ee678012cb0d380090d9ec0021f003b2b..."} 
[2026-09-19 22:34:44] local.INFO: Packet analysis {"connection_id":189851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:44] local.INFO: Extracted packet for processing {"connection_id":189851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":749785984,"raw_latitude":151887552,"longitude_deg":74.9785984,"latitude_deg":15.1887552,"altitude":543,"angle":59,"satellites":43,"speed":33,"hex_longitude":"2cb0d380","hex_latitude":"090d9ec0","is_valid_coordinates":true} 
[2026-09-19 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198362368001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1561993706209280,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5714153094576865278,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789837371000,"timestamp_ms":1789837371000,"timestamp_seconds":1789837371,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9ee678"} 
[2026-09-19 22:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:44] 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-19 22:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198362368001,"66":27930,"133":206,"9":54784,"24":33,"16":1561993706209280,"44":-5714153094576865278},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198362368001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1561993706209280,"km_value":1561993706209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5714153094576865278,"description":"Unknown IO ID 44"} 
[2026-09-19 22:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198362368001,"power":27930,"unknown_133":206,"unknown_9":54784,"ignition":33,"odometer":null,"unknown_44":-5714153094576865278}} 
[2026-09-19 22:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":189851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:44] local.INFO: GPS data processed {"connection_id":189851,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:44] local.INFO: Acknowledgment sent {"connection_id":189851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:45] local.INFO: TCP Data received {"connection_id":189851,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9f0d88012cb0f540090db220021d003a2c..."} 
[2026-09-19 22:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9f0d88012cb0f540090db220021d003a2c..."} 
[2026-09-19 22:34:45] local.INFO: Processing buffer {"connection_id":189851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9f0d88012cb0f540090db220021d003a2c..."} 
[2026-09-19 22:34:45] local.INFO: Packet analysis {"connection_id":189851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:34:45] local.INFO: Extracted packet for processing {"connection_id":189851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:34:45] local.INFO: GPS Element Parsed {"raw_longitude":749794624,"raw_latitude":151892512,"longitude_deg":74.9794624,"latitude_deg":15.1892512,"altitude":541,"angle":58,"satellites":44,"speed":42,"hex_longitude":"2cb0f540","hex_latitude":"090db220","is_valid_coordinates":true} 
[2026-09-19 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198366976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1562461857644544,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5705075526576717822,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837381000,"timestamp_ms":1789837381000,"timestamp_seconds":1789837381,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9f0d88"} 
[2026-09-19 22:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34: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-19 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198366976001,"66":28104,"133":206,"9":54784,"24":42,"16":1562461857644544,"44":-5705075526576717822},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198366976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1562461857644544,"km_value":1562461857644.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5705075526576717822,"description":"Unknown IO ID 44"} 
[2026-09-19 22:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198366976001,"power":28104,"unknown_133":206,"unknown_9":54784,"ignition":42,"odometer":null,"unknown_44":-5705075526576717822}} 
[2026-09-19 22:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":189851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:45] local.INFO: GPS data processed {"connection_id":189851,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:45] local.INFO: Acknowledgment sent {"connection_id":189851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:45] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:45] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:34:45] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:45] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:45] 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-19 22:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:45] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:45] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:34:54] local.INFO: TCP Data received {"connection_id":188561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:54] local.INFO: Processing buffer {"connection_id":188561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:34:54] local.INFO: Packet analysis {"connection_id":188561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:34:54] local.INFO: Extracted packet for processing {"connection_id":188561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:34:54] 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-19 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:34:54] 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-19 22:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:34:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":188561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:34:54] local.INFO: GPS data processed {"connection_id":188561,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:34:54] local.INFO: Acknowledgment sent {"connection_id":188561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:08] local.INFO: TCP Data received {"connection_id":189852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:08] local.INFO: Processing buffer {"connection_id":189852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:08] local.INFO: IMEI packet received {"connection_id":189852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":189852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:35:10] local.INFO: TCP Data received {"connection_id":187123,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187123,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:10] local.INFO: Processing buffer {"connection_id":187123,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:10] local.INFO: Packet analysis {"connection_id":187123,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:35:10] local.INFO: Extracted packet for processing {"connection_id":187123,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:35: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-19 22:35:10] 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-19 22:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:10] 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-19 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-19 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-19 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":187123,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":187123,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":187123,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:35:10] 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-19 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":187123,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 22:35:10] local.INFO: GPS data processed {"connection_id":187123,"processed":0,"errors":0,"total":1} 
[2026-09-19 22:35:10] local.INFO: Acknowledgment sent {"connection_id":187123,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:13] local.INFO: TCP Data received {"connection_id":187124,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:13] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:13] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:35:13] local.INFO: TCP Data received {"connection_id":189852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:13] local.INFO: Processing buffer {"connection_id":189852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:35:13] local.INFO: IMEI packet received {"connection_id":189852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":189852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:35:15] local.INFO: TCP Data received {"connection_id":189852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:15] local.INFO: Processing buffer {"connection_id":189852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:15] local.INFO: Packet analysis {"connection_id":189852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:35:15] local.INFO: Extracted packet for processing {"connection_id":189852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35: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-19 22:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22: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-19 22:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:35:15] local.INFO: GPS data processed {"connection_id":189852,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:35:15] local.INFO: Acknowledgment sent {"connection_id":189852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:17] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:17] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:17] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:35:19] local.INFO: TCP Data received {"connection_id":187124,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:19] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:35:19] local.INFO: IMEI packet received {"connection_id":187124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":187124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:35:20] local.INFO: TCP Data received {"connection_id":187124,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9f2cc8012cb11400090dc420021b003b2b..."} 
[2026-09-19 22:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9f2cc8012cb11400090dc420021b003b2b..."} 
[2026-09-19 22:35:20] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9f2cc8012cb11400090dc420021b003b2b..."} 
[2026-09-19 22:35:20] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:35:20] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749802496,"raw_latitude":151897120,"longitude_deg":74.9802496,"latitude_deg":15.189712,"altitude":539,"angle":59,"satellites":43,"speed":47,"hex_longitude":"2cb11400","hex_latitude":"090dc420","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198369536001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1562895649341440,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5695575746111463422,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789837389000,"timestamp_ms":1789837389000,"timestamp_seconds":1789837389,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9f2cc8"} 
[2026-09-19 22: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-19 22:35: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-19 22: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":200,"data_length":795,"current_offset":136} 
[2026-09-19 22:35: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-19 22: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-19 22: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-19 22:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198369536001,"66":27941,"133":206,"9":54784,"24":47,"16":1562895649341440,"44":-5695575746111463422},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198369536001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:35:20] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:35:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1562895649341440,"km_value":1562895649341.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5695575746111463422,"description":"Unknown IO ID 44"} 
[2026-09-19 22:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198369536001,"power":27941,"unknown_133":206,"unknown_9":54784,"ignition":47,"odometer":null,"unknown_44":-5695575746111463422}} 
[2026-09-19 22:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:35:20] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:35:20] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:22] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:22] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:35:22] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:35:23] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:23] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:23] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:35:23] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:35:23] 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-19 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:35:23] 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-19 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:35:23] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:35:23] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:28] local.INFO: TCP Data received {"connection_id":187272,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187272,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:28] local.INFO: Processing buffer {"connection_id":187272,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:35:28] local.INFO: Packet analysis {"connection_id":187272,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:35:28] local.INFO: Extracted packet for processing {"connection_id":187272,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:35: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-19 22:35: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-19 22:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35: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-19 22:35: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-19 22:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-19 22:35:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187272,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 22:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187272,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187272,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:35: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-19 22:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":187272,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 22:35:28] local.INFO: GPS data processed {"connection_id":187272,"processed":0,"errors":0,"total":1} 
[2026-09-19 22:35:28] local.INFO: Acknowledgment sent {"connection_id":187272,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:46] local.INFO: TCP Data received {"connection_id":189852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:46] local.INFO: Processing buffer {"connection_id":189852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:35:46] local.INFO: Packet analysis {"connection_id":189852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:35:46] local.INFO: Extracted packet for processing {"connection_id":189852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 22:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:46] 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-19 22:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 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-19 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 22:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":189852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:35:46] local.INFO: GPS data processed {"connection_id":189852,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:35:46] local.INFO: Acknowledgment sent {"connection_id":189852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:35:54] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:54] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:35:54] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:35:54] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:35:54] 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-19 22:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:35:54] 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-19 22:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:35:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:35:54] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:35:54] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:07] local.INFO: TCP Data received {"connection_id":187124,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9f4c08012cb13480090dd7500219003c2c..."} 
[2026-09-19 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9f4c08012cb13480090dd7500219003c2c..."} 
[2026-09-19 22:36:07] local.INFO: Processing buffer {"connection_id":187124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9f4c08012cb13480090dd7500219003c2c..."} 
[2026-09-19 22:36:07] local.INFO: Packet analysis {"connection_id":187124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:36:07] local.INFO: Extracted packet for processing {"connection_id":187124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9f"} 
[2026-09-19 22:36:07] local.INFO: GPS Element Parsed {"raw_longitude":749810816,"raw_latitude":151902032,"longitude_deg":74.9810816,"latitude_deg":15.1902032,"altitude":537,"angle":60,"satellites":44,"speed":43,"hex_longitude":"2cb13480","hex_latitude":"090dd750","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198371584001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1563350915874816,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5686920390576431102,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789837397000,"timestamp_ms":1789837397000,"timestamp_seconds":1789837397,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9f4c08"} 
[2026-09-19 22: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-19 22: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-19 22: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:07] 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-19 22: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-19 22: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-19 22:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":187124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":187124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":187124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198371584001,"66":27952,"133":206,"9":54784,"24":43,"16":1563350915874816,"44":-5686920390576431102},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198371584001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1563350915874816,"km_value":1563350915874.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5686920390576431102,"description":"Unknown IO ID 44"} 
[2026-09-19 22:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198371584001,"power":27952,"unknown_133":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-5686920390576431102}} 
[2026-09-19 22:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":187124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:07] local.INFO: GPS data processed {"connection_id":187124,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:07] local.INFO: Acknowledgment sent {"connection_id":187124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:08] local.INFO: TCP Data received {"connection_id":187273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:08] local.INFO: Processing buffer {"connection_id":187273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:08] local.INFO: IMEI packet received {"connection_id":187273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":187273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:36:12] local.INFO: TCP Data received {"connection_id":187274,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187274,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Processing buffer {"connection_id":187274,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Packet analysis {"connection_id":187274,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:36:12] local.INFO: Extracted packet for processing {"connection_id":187274,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:36: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-19 22:36:12] 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-19 22:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:12] 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-19 22:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-19 22:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-19 22:36:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":187274,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 22:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":187274,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":187274,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:36:12] 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-19 22:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":187274,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 22:36:12] local.INFO: GPS data processed {"connection_id":187274,"processed":0,"errors":0,"total":1} 
[2026-09-19 22:36:12] local.INFO: Acknowledgment sent {"connection_id":187274,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:12] local.INFO: TCP Data received {"connection_id":188563,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-19 22:36:12] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:36:12] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-19 22:36: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-19 22:36:12] 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-19 22:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:12] 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-19 22:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-19 22:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-19 22:36:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-19 22:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":null,"avl_records_count":1} 
[2026-09-19 22:36:12] 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-19 22:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-19 22:36:12] local.INFO: GPS data processed {"connection_id":188563,"processed":0,"errors":0,"total":1} 
[2026-09-19 22:36:12] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:13] local.INFO: TCP Data received {"connection_id":187275,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:13] local.INFO: Processing buffer {"connection_id":187275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:13] local.INFO: IMEI packet received {"connection_id":187275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":187275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:36:13] local.INFO: TCP Data received {"connection_id":187273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:13] local.INFO: Processing buffer {"connection_id":187273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:36:13] local.INFO: IMEI packet received {"connection_id":187273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":187273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:36:14] local.INFO: TCP Data received {"connection_id":187273,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:14] local.INFO: Processing buffer {"connection_id":187273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:14] local.INFO: Packet analysis {"connection_id":187273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:36:14] local.INFO: Extracted packet for processing {"connection_id":187273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:14] 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-19 22:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":187273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:14] local.INFO: GPS data processed {"connection_id":187273,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:14] local.INFO: Acknowledgment sent {"connection_id":187273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:18] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:18] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:18] local.INFO: IMEI packet received {"connection_id":189853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":189853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:36:18] local.INFO: TCP Data received {"connection_id":187275,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:18] local.INFO: Processing buffer {"connection_id":187275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:36:18] local.INFO: IMEI packet received {"connection_id":187275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":187275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:36:22] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:22] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:36:22] local.INFO: IMEI packet received {"connection_id":189853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":189853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:36:23] local.INFO: TCP Data received {"connection_id":187275,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa11128012cb26ac0090eca20022a00162c..."} 
[2026-09-19 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa11128012cb26ac0090eca20022a00162c..."} 
[2026-09-19 22:36:23] local.INFO: Processing buffer {"connection_id":187275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa11128012cb26ac0090eca20022a00162c..."} 
[2026-09-19 22:36:23] local.INFO: Packet analysis {"connection_id":187275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:36:23] local.INFO: Extracted packet for processing {"connection_id":187275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":749890240,"raw_latitude":151964192,"longitude_deg":74.989024,"latitude_deg":15.1964192,"altitude":554,"angle":22,"satellites":44,"speed":40,"hex_longitude":"2cb26ac0","hex_latitude":"090eca20","is_valid_coordinates":true} 
[2026-09-19 22:36: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-19 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198401024001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1568255768526848,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5594666966944534526,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837513000,"timestamp_ms":1789837513000,"timestamp_seconds":1789837513,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa11128"} 
[2026-09-19 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:36: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-19 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:36: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-19 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198401024001,"66":27843,"133":206,"9":54784,"24":40,"16":1568255768526848,"44":-5594666966944534526},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198401024001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1568255768526848,"km_value":1568255768526.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5594666966944534526,"description":"Unknown IO ID 44"} 
[2026-09-19 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198401024001,"power":27843,"unknown_133":206,"unknown_9":54784,"ignition":40,"odometer":null,"unknown_44":-5594666966944534526}} 
[2026-09-19 22:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":187275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:23] local.INFO: GPS data processed {"connection_id":187275,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:23] local.INFO: Acknowledgment sent {"connection_id":187275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:23] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:23] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:23] local.INFO: Packet analysis {"connection_id":189853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:36:23] local.INFO: Extracted packet for processing {"connection_id":189853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:36: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-19 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:36:23] 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-19 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:36: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-19 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:36:23] 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-19 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":189853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:23] local.INFO: GPS data processed {"connection_id":189853,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:23] local.INFO: Acknowledgment sent {"connection_id":189853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:46] local.INFO: TCP Data received {"connection_id":187273,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:46] local.INFO: Processing buffer {"connection_id":187273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:36:46] local.INFO: Packet analysis {"connection_id":187273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:36:46] local.INFO: Extracted packet for processing {"connection_id":187273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:46] 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-19 22:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":187273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:46] local.INFO: GPS data processed {"connection_id":187273,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:46] local.INFO: Acknowledgment sent {"connection_id":187273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:36:54] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:54] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9db1e0012d196540071fefa8003e006127..."} 
[2026-09-19 22:36:54] local.INFO: Packet analysis {"connection_id":189853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:36:54] local.INFO: Extracted packet for processing {"connection_id":189853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9d"} 
[2026-09-19 22:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198269696001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837292000,"timestamp_ms":1789837292000,"timestamp_seconds":1789837292,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9db1e0"} 
[2026-09-19 22:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:36:54] 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-19 22:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:36:54] 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-19 22:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198269696001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198269696001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:36:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198269696001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":189853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:36:54] local.INFO: GPS data processed {"connection_id":189853,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:36:54] local.INFO: Acknowledgment sent {"connection_id":189853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:08] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:08] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:08] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:37:08] local.INFO: TCP Data received {"connection_id":187125,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:08] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:08] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:37:10] local.INFO: TCP Data received {"connection_id":187125,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:10] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:10] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:37:13] local.INFO: TCP Data received {"connection_id":187125,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:13] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:37:13] local.INFO: IMEI packet received {"connection_id":187125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:37:13] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:13] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:37:13] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:37:14] local.INFO: TCP Data received {"connection_id":187125,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa13450012cb27840090eeac0022b00172a..."} 
[2026-09-19 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa13450012cb27840090eeac0022b00172a..."} 
[2026-09-19 22:37:14] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa13450012cb27840090eeac0022b00172a..."} 
[2026-09-19 22:37:14] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:37:14] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":749893696,"raw_latitude":151972544,"longitude_deg":74.9893696,"latitude_deg":15.1972544,"altitude":555,"angle":23,"satellites":42,"speed":39,"hex_longitude":"2cb27840","hex_latitude":"090eeac0","is_valid_coordinates":true} 
[2026-09-19 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198403328001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1568693855191040,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5590444842291683326,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837522000,"timestamp_ms":1789837522000,"timestamp_seconds":1789837522,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa13450"} 
[2026-09-19 22:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:37: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-19 22:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198403328001,"66":27745,"133":206,"9":54784,"24":39,"16":1568693855191040,"44":-5590444842291683326},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198403328001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1568693855191040,"km_value":1568693855191.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5590444842291683326,"description":"Unknown IO ID 44"} 
[2026-09-19 22:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198403328001,"power":27745,"unknown_133":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5590444842291683326}} 
[2026-09-19 22:37:14] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:14] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0ba9e1f40012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:14] local.INFO: Packet analysis {"connection_id":188564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:37:14] local.INFO: Extracted packet for processing {"connection_id":188564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0ba9e"} 
[2026-09-19 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198276864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:14] 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-19 22:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837320000,"timestamp_ms":1789837320000,"timestamp_seconds":1789837320,"priority":1,"record_length":96,"hex_timestamp":"000001a0ba9e1f40"} 
[2026-09-19 22:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 22:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198276864001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198276864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198276864001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:14] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:14] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":188564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:14] local.INFO: GPS data processed {"connection_id":188564,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:14] local.INFO: Acknowledgment sent {"connection_id":188564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:17] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:17] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:17] local.INFO: IMEI packet received {"connection_id":187276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":187276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:37:22] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:22] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:37:22] local.INFO: IMEI packet received {"connection_id":187276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":187276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:37:23] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:23] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:23] local.INFO: Packet analysis {"connection_id":187276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:23] local.INFO: Extracted packet for processing {"connection_id":187276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:37:23] 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-19 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:37:23] 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-19 22:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":187276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:23] local.INFO: GPS data processed {"connection_id":187276,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:23] local.INFO: Acknowledgment sent {"connection_id":187276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:46] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:46] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:37:46] local.INFO: Packet analysis {"connection_id":188564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:46] local.INFO: Extracted packet for processing {"connection_id":188564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:46] 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-19 22:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22: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-19 22:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":188564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:46] local.INFO: GPS data processed {"connection_id":188564,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:46] local.INFO: Acknowledgment sent {"connection_id":188564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:49] local.INFO: TCP Data received {"connection_id":187125,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa15b60012cb288c0090f0d30022e001c2b..."} 
[2026-09-19 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa15b60012cb288c0090f0d30022e001c2b..."} 
[2026-09-19 22:37:49] local.INFO: Processing buffer {"connection_id":187125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa15b60012cb288c0090f0d30022e001c2b..."} 
[2026-09-19 22:37:49] local.INFO: Packet analysis {"connection_id":187125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:37:49] local.INFO: Extracted packet for processing {"connection_id":187125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa1"} 
[2026-09-19 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":749897920,"raw_latitude":151981360,"longitude_deg":74.989792,"latitude_deg":15.198136,"altitude":558,"angle":28,"satellites":43,"speed":33,"hex_longitude":"2cb288c0","hex_latitude":"090f0d30","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198405632001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1569166301593600,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5586644930103951358,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:49] 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-19 22:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789837532000,"timestamp_ms":1789837532000,"timestamp_seconds":1789837532,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa15b60"} 
[2026-09-19 22: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-19 22:37: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-19 22:37:49] 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-19 22: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-19 22: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-19 22:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":187125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":187125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":187125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198405632001,"66":27930,"212":206,"9":54784,"24":33,"16":1569166301593600,"44":-5586644930103951358},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198405632001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:49] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:37:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1569166301593600,"km_value":1569166301593.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5586644930103951358,"description":"Unknown IO ID 44"} 
[2026-09-19 22:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198405632001,"power":27930,"unknown_212":206,"unknown_9":54784,"ignition":33,"odometer":null,"unknown_44":-5586644930103951358}} 
[2026-09-19 22:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":187125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:50] local.INFO: GPS data processed {"connection_id":187125,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:50] local.INFO: Acknowledgment sent {"connection_id":187125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:37:54] local.INFO: TCP Data received {"connection_id":187276,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:54] local.INFO: Processing buffer {"connection_id":187276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:37:54] local.INFO: Packet analysis {"connection_id":187276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:54] local.INFO: Extracted packet for processing {"connection_id":187276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:37:54] 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-19 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:37:54] 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-19 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:37:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":187276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:37:54] local.INFO: GPS data processed {"connection_id":187276,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:37:54] local.INFO: Acknowledgment sent {"connection_id":187276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:38:13] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:13] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:13] local.INFO: IMEI packet received {"connection_id":187277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":187277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:38:17] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:17] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:17] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:38:18] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:18] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:38:18] local.INFO: IMEI packet received {"connection_id":187277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":187277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:38:19] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:19] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:19] local.INFO: Packet analysis {"connection_id":187277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:19] local.INFO: Extracted packet for processing {"connection_id":187277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:19] 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-19 22:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:38:19] 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-19 22:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":187277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:38:19] local.INFO: GPS data processed {"connection_id":187277,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:38:19] local.INFO: Acknowledgment sent {"connection_id":187277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:38:22] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:22] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:38:22] local.INFO: IMEI packet received {"connection_id":187126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":187126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:38:23] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:23] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:23] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:23] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:38:23] 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-19 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:38:23] 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-19 22:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:38:23] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:38:23] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:38:23] local.INFO: TCP Data received {"connection_id":187127,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:23] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:23] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:38:28] local.INFO: TCP Data received {"connection_id":187127,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:28] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:38:28] local.INFO: IMEI packet received {"connection_id":187127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":187127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:38:30] local.INFO: TCP Data received {"connection_id":187127,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa30528012cb3b14009102960021f00312a..."} 
[2026-09-19 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa30528012cb3b14009102960021f00312a..."} 
[2026-09-19 22:38:30] local.INFO: Processing buffer {"connection_id":187127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa30528012cb3b14009102960021f00312a..."} 
[2026-09-19 22:38:30] local.INFO: Packet analysis {"connection_id":187127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:38:30] local.INFO: Extracted packet for processing {"connection_id":187127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749973824,"raw_latitude":152054112,"longitude_deg":74.9973824,"latitude_deg":15.2054112,"altitude":543,"angle":49,"satellites":42,"speed":48,"hex_longitude":"2cb3b140","hex_latitude":"09102960","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198434048001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1574182823395328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5506917142931533822,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:30] 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-19 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789837641000,"timestamp_ms":1789837641000,"timestamp_seconds":1789837641,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa30528"} 
[2026-09-19 22: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-19 22:38: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-19 22: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-19 22:38:30] 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-19 22: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-19 22: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-19 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":187127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":187127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":187127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198434048001,"66":28006,"212":206,"9":54784,"24":48,"16":1574182823395328,"44":-5506917142931533822},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198434048001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:38:30] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:38:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1574182823395328,"km_value":1574182823395.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5506917142931533822,"description":"Unknown IO ID 44"} 
[2026-09-19 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198434048001,"power":28006,"unknown_212":206,"unknown_9":54784,"ignition":48,"odometer":null,"unknown_44":-5506917142931533822}} 
[2026-09-19 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":187127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:38:30] local.INFO: GPS data processed {"connection_id":187127,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:38:30] local.INFO: Acknowledgment sent {"connection_id":187127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:38:50] local.INFO: TCP Data received {"connection_id":187277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:50] local.INFO: Processing buffer {"connection_id":187277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:38:50] local.INFO: Packet analysis {"connection_id":187277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:50] local.INFO: Extracted packet for processing {"connection_id":187277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:50] 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-19 22:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:38:50] 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-19 22:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":187277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:38:50] local.INFO: GPS data processed {"connection_id":187277,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:38:50] local.INFO: Acknowledgment sent {"connection_id":187277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:38:54] local.INFO: TCP Data received {"connection_id":187126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:54] local.INFO: Processing buffer {"connection_id":187126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:38:54] local.INFO: Packet analysis {"connection_id":187126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:54] local.INFO: Extracted packet for processing {"connection_id":187126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:38:54] 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-19 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:38:54] 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-19 22:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:38:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:38:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":187126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:38:54] local.INFO: GPS data processed {"connection_id":187126,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:38:54] local.INFO: Acknowledgment sent {"connection_id":187126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:09] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:09] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:09] local.INFO: IMEI packet received {"connection_id":189854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":189854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:39:13] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:13] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:39:13] local.INFO: IMEI packet received {"connection_id":189854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":189854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:39:13] local.INFO: TCP Data received {"connection_id":188565,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:13] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:13] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:39:14] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:14] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:14] local.INFO: Packet analysis {"connection_id":189854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:14] local.INFO: Extracted packet for processing {"connection_id":189854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:14] 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-19 22:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:39: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-19 22:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":189854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:14] local.INFO: GPS data processed {"connection_id":189854,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:14] local.INFO: Acknowledgment sent {"connection_id":189854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:16] local.INFO: TCP Data received {"connection_id":188565,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:16] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:39:16] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:39:17] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:17] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:17] local.INFO: IMEI packet received {"connection_id":189855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":189855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:39:17] local.INFO: TCP Data received {"connection_id":188565,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa32080012cb3cd0009103fd0021b00332a..."} 
[2026-09-19 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa32080012cb3cd0009103fd0021b00332a..."} 
[2026-09-19 22:39:17] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa32080012cb3cd0009103fd0021b00332a..."} 
[2026-09-19 22:39:17] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:17] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749980928,"raw_latitude":152059856,"longitude_deg":74.9980928,"latitude_deg":15.2059856,"altitude":539,"angle":51,"satellites":42,"speed":52,"hex_longitude":"2cb3cd00","hex_latitude":"09103fd0","is_valid_coordinates":true} 
[2026-09-19 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198436096001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1574616615092224,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5498543262372634622,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:17] 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-19 22:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789837648000,"timestamp_ms":1789837648000,"timestamp_seconds":1789837648,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa32080"} 
[2026-09-19 22:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39: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-19 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-19 22:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198436096001,"66":27952,"212":206,"9":54784,"24":52,"16":1574616615092224,"44":-5498543262372634622},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198436096001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:17] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:39:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1574616615092224,"km_value":1574616615092.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5498543262372634622,"description":"Unknown IO ID 44"} 
[2026-09-19 22:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198436096001,"power":27952,"unknown_212":206,"unknown_9":54784,"ignition":52,"odometer":null,"unknown_44":-5498543262372634622}} 
[2026-09-19 22:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:18] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:18] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:19] local.INFO: TCP Data received {"connection_id":188565,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa33bd8012cb3e980091056400219003529..."} 
[2026-09-19 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa33bd8012cb3e980091056400219003529..."} 
[2026-09-19 22:39:19] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa33bd8012cb3e980091056400219003529..."} 
[2026-09-19 22:39:19] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:19] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749988224,"raw_latitude":152065600,"longitude_deg":74.9988224,"latitude_deg":15.20656,"altitude":537,"angle":53,"satellites":41,"speed":51,"hex_longitude":"2cb3e980","hex_latitude":"09105640","is_valid_coordinates":true} 
[2026-09-19 22:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198437888001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1575054701756416,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5490732331767443454,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:19] 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-19 22:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837655000,"timestamp_ms":1789837655000,"timestamp_seconds":1789837655,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa33bd8"} 
[2026-09-19 22:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39: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-19 22:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 22:39: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-19 22:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198437888001,"66":27952,"212":206,"9":54784,"24":51,"16":1575054701756416,"44":-5490732331767443454},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198437888001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:39:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1575054701756416,"km_value":1575054701756.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5490732331767443454,"description":"Unknown IO ID 44"} 
[2026-09-19 22:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198437888001,"power":27952,"unknown_212":206,"unknown_9":54784,"ignition":51,"odometer":null,"unknown_44":-5490732331767443454}} 
[2026-09-19 22:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:19] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:19] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:22] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:22] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:39:22] local.INFO: IMEI packet received {"connection_id":189855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":189855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:39:23] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:23] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:23] local.INFO: Packet analysis {"connection_id":189855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:23] local.INFO: Extracted packet for processing {"connection_id":189855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39:23] 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-19 22:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:39:23] 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-19 22:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":189855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:23] local.INFO: GPS data processed {"connection_id":189855,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:23] local.INFO: Acknowledgment sent {"connection_id":189855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:45] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:45] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:39:45] local.INFO: Packet analysis {"connection_id":189854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:45] local.INFO: Extracted packet for processing {"connection_id":189854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:45] 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-19 22:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:39: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-19 22:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":189854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:45] local.INFO: GPS data processed {"connection_id":189854,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:45] local.INFO: Acknowledgment sent {"connection_id":189854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:50] local.INFO: TCP Data received {"connection_id":188565,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa38610012cb4064009106d60021900342a..."} 
[2026-09-19 22:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa38610012cb4064009106d60021900342a..."} 
[2026-09-19 22:39:50] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa38610012cb4064009106d60021900342a..."} 
[2026-09-19 22:39:50] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:50] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:39:50] local.INFO: GPS Element Parsed {"raw_longitude":749995584,"raw_latitude":152071520,"longitude_deg":74.9995584,"latitude_deg":15.207152,"altitude":537,"angle":52,"satellites":42,"speed":16,"hex_longitude":"2cb40640","hex_latitude":"09106d60","is_valid_coordinates":true} 
[2026-09-19 22:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198439680001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1575505673322496,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5482710294929719294,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:50] 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-19 22:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789837674000,"timestamp_ms":1789837674000,"timestamp_seconds":1789837674,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa38610"} 
[2026-09-19 22:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 22:39: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-19 22:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198439680001,"66":27952,"212":206,"9":54784,"24":16,"16":1575505673322496,"44":-5482710294929719294},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198439680001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:50] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:39:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1575505673322496,"km_value":1575505673322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5482710294929719294,"description":"Unknown IO ID 44"} 
[2026-09-19 22:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198439680001,"power":27952,"unknown_212":206,"unknown_9":54784,"ignition":16,"odometer":null,"unknown_44":-5482710294929719294}} 
[2026-09-19 22:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:50] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:50] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:39:54] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:54] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:39:54] local.INFO: Packet analysis {"connection_id":189855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:54] local.INFO: Extracted packet for processing {"connection_id":189855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:39:54] 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-19 22:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:39:54] 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-19 22:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":189855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:39:55] local.INFO: GPS data processed {"connection_id":189855,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:39:55] local.INFO: Acknowledgment sent {"connection_id":189855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:08] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:08] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:08] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:40:08] local.INFO: TCP Data received {"connection_id":187128,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:08] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:08] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:40:10] local.INFO: TCP Data received {"connection_id":187128,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:10] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:40:10] local.INFO: IMEI packet received {"connection_id":187128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":187128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:40:11] local.INFO: TCP Data received {"connection_id":187128,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa3c0a8012cb422c0091083e0021a003129..."} 
[2026-09-19 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa3c0a8012cb422c0091083e0021a003129..."} 
[2026-09-19 22:40:11] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa3c0a8012cb422c0091083e0021a003129..."} 
[2026-09-19 22:40:11] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:40:11] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":750002880,"raw_latitude":152077280,"longitude_deg":75.000288,"latitude_deg":15.207728,"altitude":538,"angle":49,"satellites":41,"speed":29,"hex_longitude":"2cb422c0","hex_latitude":"091083e0","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198444544001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1575948054953984,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474617889347772414,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:11] 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-19 22:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789837689000,"timestamp_ms":1789837689000,"timestamp_seconds":1789837689,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa3c0a8"} 
[2026-09-19 22: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-19 22:40: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-19 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:11] 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-19 22: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-19 22: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-19 22:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198444544001,"66":27941,"212":206,"9":54784,"24":29,"16":1575948054953984,"44":-5474617889347772414},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198444544001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:11] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:40:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1575948054953984,"km_value":1575948054953.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474617889347772414,"description":"Unknown IO ID 44"} 
[2026-09-19 22:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198444544001,"power":27941,"unknown_212":206,"unknown_9":54784,"ignition":29,"odometer":null,"unknown_44":-5474617889347772414}} 
[2026-09-19 22:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:11] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:11] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:13] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:13] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:40:13] local.INFO: IMEI packet received {"connection_id":187129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":187129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:40:14] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:14] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:14] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:14] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:14] 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-19 22:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:40: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-19 22:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:14] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:14] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:17] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:17] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:17] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:40:22] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:22] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:40:22] local.INFO: IMEI packet received {"connection_id":187130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":187130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:40:23] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:23] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:23] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:23] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:40:23] 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-19 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:23] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:23] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:43] local.INFO: TCP Data received {"connection_id":187128,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa3dc00012cb43300091094800219002529..."} 
[2026-09-19 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa3dc00012cb43300091094800219002529..."} 
[2026-09-19 22:40:43] local.INFO: Processing buffer {"connection_id":187128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa3dc00012cb43300091094800219002529..."} 
[2026-09-19 22:40:43] local.INFO: Packet analysis {"connection_id":187128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:40:43] local.INFO: Extracted packet for processing {"connection_id":187128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa3"} 
[2026-09-19 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":750007040,"raw_latitude":152081536,"longitude_deg":75.000704,"latitude_deg":15.2081536,"altitude":537,"angle":37,"satellites":41,"speed":36,"hex_longitude":"2cb43300","hex_latitude":"09109480","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198448384001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1576227227828224,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5466595852510044158,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:43] 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-19 22:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789837696000,"timestamp_ms":1789837696000,"timestamp_seconds":1789837696,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa3dc00"} 
[2026-09-19 22: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-19 22:40: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-19 22: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:43] 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-19 22: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-19 22: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-19 22:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":187128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":187128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":187128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198448384001,"66":28137,"212":206,"9":54784,"24":36,"16":1576227227828224,"44":-5466595852510044158},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198448384001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:43] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:40:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1576227227828224,"km_value":1576227227828.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5466595852510044158,"description":"Unknown IO ID 44"} 
[2026-09-19 22:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198448384001,"power":28137,"unknown_212":206,"unknown_9":54784,"ignition":36,"odometer":null,"unknown_44":-5466595852510044158}} 
[2026-09-19 22:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":187128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:43] local.INFO: GPS data processed {"connection_id":187128,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:43] local.INFO: Acknowledgment sent {"connection_id":187128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:45] local.INFO: TCP Data received {"connection_id":187129,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:45] local.INFO: Processing buffer {"connection_id":187129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:40:45] local.INFO: Packet analysis {"connection_id":187129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:45] local.INFO: Extracted packet for processing {"connection_id":187129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:45] 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-19 22:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:40:45] 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-19 22:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":187129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:45] local.INFO: GPS data processed {"connection_id":187129,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:45] local.INFO: Acknowledgment sent {"connection_id":187129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:40:54] local.INFO: TCP Data received {"connection_id":187130,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:54] local.INFO: Processing buffer {"connection_id":187130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:40:54] local.INFO: Packet analysis {"connection_id":187130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:54] local.INFO: Extracted packet for processing {"connection_id":187130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:40:54] 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-19 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-19 22:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:40:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":187130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:40:55] local.INFO: GPS data processed {"connection_id":187130,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:40:55] local.INFO: Acknowledgment sent {"connection_id":187130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:08] local.INFO: TCP Data received {"connection_id":187279,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:08] local.INFO: Processing buffer {"connection_id":187279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:08] local.INFO: IMEI packet received {"connection_id":187279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":187279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:41:09] local.INFO: TCP Data received {"connection_id":187278,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:09] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:09] local.INFO: IMEI packet received {"connection_id":187278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":187278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:41:13] local.INFO: TCP Data received {"connection_id":187278,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:13] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:41:13] local.INFO: IMEI packet received {"connection_id":187278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":187278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:41:13] local.INFO: TCP Data received {"connection_id":187279,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:13] local.INFO: Processing buffer {"connection_id":187279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:41:13] local.INFO: IMEI packet received {"connection_id":187279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":187279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:41:14] local.INFO: TCP Data received {"connection_id":187278,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa59950012cb47a400911d4600220016726..."} 
[2026-09-19 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa59950012cb47a400911d4600220016726..."} 
[2026-09-19 22:41:14] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa59950012cb47a400911d4600220016726..."} 
[2026-09-19 22:41:14] local.INFO: Packet analysis {"connection_id":187278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:41:14] local.INFO: Extracted packet for processing {"connection_id":187278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":750025280,"raw_latitude":152163424,"longitude_deg":75.002528,"latitude_deg":15.2163424,"altitude":544,"angle":359,"satellites":38,"speed":43,"hex_longitude":"2cb47a40","hex_latitude":"0911d460","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198477056001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1580397641072640,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441826054539911166,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] 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-19 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837810000,"timestamp_ms":1789837810000,"timestamp_seconds":1789837810,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa59950"} 
[2026-09-19 22: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-19 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22: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-19 22: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-19 22: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-19 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198477056001,"66":27789,"212":206,"9":54784,"24":43,"16":1580397641072640,"44":-5441826054539911166},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198477056001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1580397641072640,"km_value":1580397641072.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441826054539911166,"description":"Unknown IO ID 44"} 
[2026-09-19 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198477056001,"power":27789,"unknown_212":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-5441826054539911166}} 
[2026-09-19 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":187278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:14] local.INFO: GPS data processed {"connection_id":187278,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:14] local.INFO: Acknowledgment sent {"connection_id":187278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:14] local.INFO: TCP Data received {"connection_id":187279,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:14] local.INFO: Processing buffer {"connection_id":187279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:14] local.INFO: Packet analysis {"connection_id":187279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:14] local.INFO: Extracted packet for processing {"connection_id":187279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:14] 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-19 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22: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-19 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":187279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:14] local.INFO: GPS data processed {"connection_id":187279,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:14] local.INFO: Acknowledgment sent {"connection_id":187279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:18] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:18] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:18] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:41:22] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:22] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:41:22] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:41:23] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:23] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:23] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:23] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:41:23] 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-19 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:41:23] 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-19 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:23] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:23] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:45] local.INFO: TCP Data received {"connection_id":187278,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa5b890012cb479800911f7b00220016728..."} 
[2026-09-19 22:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa5b890012cb479800911f7b00220016728..."} 
[2026-09-19 22:41:45] local.INFO: Processing buffer {"connection_id":187278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa5b890012cb479800911f7b00220016728..."} 
[2026-09-19 22:41:45] local.INFO: Packet analysis {"connection_id":187278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:41:45] local.INFO: Extracted packet for processing {"connection_id":187278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:41:45] local.INFO: GPS Element Parsed {"raw_longitude":750025088,"raw_latitude":152172464,"longitude_deg":75.0025088,"latitude_deg":15.2172464,"altitude":544,"angle":359,"satellites":40,"speed":46,"hex_longitude":"2cb47980","hex_latitude":"0911f7b0","is_valid_coordinates":true} 
[2026-09-19 22:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198479360001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1580835727736832,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441966792025808894,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:45] 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-19 22:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837818000,"timestamp_ms":1789837818000,"timestamp_seconds":1789837818,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa5b890"} 
[2026-09-19 22:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-19 22:41:45] 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-19 22:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198479360001,"66":27843,"212":206,"9":54784,"24":46,"16":1580835727736832,"44":-5441966792025808894},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198479360001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:45] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:41:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1580835727736832,"km_value":1580835727736.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441966792025808894,"description":"Unknown IO ID 44"} 
[2026-09-19 22:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198479360001,"power":27843,"unknown_212":206,"unknown_9":54784,"ignition":46,"odometer":null,"unknown_44":-5441966792025808894}} 
[2026-09-19 22:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":187278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:45] local.INFO: GPS data processed {"connection_id":187278,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:45] local.INFO: Acknowledgment sent {"connection_id":187278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:46] local.INFO: TCP Data received {"connection_id":187279,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:46] local.INFO: Processing buffer {"connection_id":187279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:41:46] local.INFO: Packet analysis {"connection_id":187279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:46] local.INFO: Extracted packet for processing {"connection_id":187279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:46] 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-19 22:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22: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-19 22:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":187279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:46] local.INFO: GPS data processed {"connection_id":187279,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:46] local.INFO: Acknowledgment sent {"connection_id":187279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:41:54] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:54] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa249a8012d196540071fefa8003e006127..."} 
[2026-09-19 22:41:54] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:54] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198346752001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837593000,"timestamp_ms":1789837593000,"timestamp_seconds":1789837593,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa249a8"} 
[2026-09-19 22:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:41:54] 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-19 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:41:54] 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-19 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198346752001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198346752001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:41:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198346752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:41:54] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:41:54] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:08] local.INFO: TCP Data received {"connection_id":187131,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:08] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:08] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:42:09] local.INFO: TCP Data received {"connection_id":187131,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:09] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:09] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:42:13] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:13] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:13] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:42:13] local.INFO: TCP Data received {"connection_id":187131,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:13] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:42:13] local.INFO: IMEI packet received {"connection_id":187131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":187131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:42:14] local.INFO: TCP Data received {"connection_id":187131,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa5d7d0012cb4790009121c700220016729..."} 
[2026-09-19 22:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa5d7d0012cb4790009121c700220016729..."} 
[2026-09-19 22:42:14] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa5d7d0012cb4790009121c700220016729..."} 
[2026-09-19 22:42:14] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:42:14] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:42:14] local.INFO: GPS Element Parsed {"raw_longitude":750024960,"raw_latitude":152181872,"longitude_deg":75.002496,"latitude_deg":15.2181872,"altitude":544,"angle":359,"satellites":41,"speed":46,"hex_longitude":"2cb47900","hex_latitude":"09121c70","is_valid_coordinates":true} 
[2026-09-19 22:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198481408001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1581290994270208,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442177898256027646,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:14] 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-19 22:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837826000,"timestamp_ms":1789837826000,"timestamp_seconds":1789837826,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa5d7d0"} 
[2026-09-19 22:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:42: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-19 22:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198481408001,"66":27593,"212":206,"9":54784,"24":46,"16":1581290994270208,"44":-5442177898256027646},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198481408001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:42:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1581290994270208,"km_value":1581290994270.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442177898256027646,"description":"Unknown IO ID 44"} 
[2026-09-19 22:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198481408001,"power":27593,"unknown_212":206,"unknown_9":54784,"ignition":46,"odometer":null,"unknown_44":-5442177898256027646}} 
[2026-09-19 22:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:15] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:15] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:17] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:17] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:17] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:42:18] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:18] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:42:18] local.INFO: IMEI packet received {"connection_id":187132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":187132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:42:19] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:42:19] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa2b708012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:42:19] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:42:19] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa2"} 
[2026-09-19 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198353920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:19] 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-19 22:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837621000,"timestamp_ms":1789837621000,"timestamp_seconds":1789837621,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa2b708"} 
[2026-09-19 22:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198353920001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198353920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198353920001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:19] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:19] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:22] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:22] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:42:22] local.INFO: IMEI packet received {"connection_id":187133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":187133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:42:23] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:23] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:23] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:42:23] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:42: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-19 22:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:42:23] 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-19 22:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:23] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:23] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:46] local.INFO: TCP Data received {"connection_id":187131,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa5f710012cb4784009123fa0022000002a..."} 
[2026-09-19 22:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa5f710012cb4784009123fa0022000002a..."} 
[2026-09-19 22:42:46] local.INFO: Processing buffer {"connection_id":187131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa5f710012cb4784009123fa0022000002a..."} 
[2026-09-19 22:42:46] local.INFO: Packet analysis {"connection_id":187131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:42:46] local.INFO: Extracted packet for processing {"connection_id":187131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa5"} 
[2026-09-19 22:42:46] local.INFO: GPS Element Parsed {"raw_longitude":750024768,"raw_latitude":152190880,"longitude_deg":75.0024768,"latitude_deg":15.219088,"altitude":544,"angle":0,"satellites":42,"speed":44,"hex_longitude":"2cb47840","hex_latitude":"09123fa0","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198483456001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1581729080934400,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442318635741974526,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:46] 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-19 22:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837834000,"timestamp_ms":1789837834000,"timestamp_seconds":1789837834,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa5f710"} 
[2026-09-19 22: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-19 22:42: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-19 22: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-19 22:42:46] 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-19 22: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-19 22: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-19 22:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198483456001,"66":27995,"212":206,"9":54784,"24":44,"16":1581729080934400,"44":-5442318635741974526},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198483456001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:46] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:42:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1581729080934400,"km_value":1581729080934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442318635741974526,"description":"Unknown IO ID 44"} 
[2026-09-19 22:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198483456001,"power":27995,"unknown_212":206,"unknown_9":54784,"ignition":44,"odometer":null,"unknown_44":-5442318635741974526}} 
[2026-09-19 22:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":187131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:46] local.INFO: GPS data processed {"connection_id":187131,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:46] local.INFO: Acknowledgment sent {"connection_id":187131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:51] local.INFO: TCP Data received {"connection_id":187132,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:42:51] local.INFO: Processing buffer {"connection_id":187132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:42:51] local.INFO: Packet analysis {"connection_id":187132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:42:51] local.INFO: Extracted packet for processing {"connection_id":187132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:51] 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-19 22:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":187132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":187132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:42:51] 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-19 22:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":187132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:51] local.INFO: GPS data processed {"connection_id":187132,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:51] local.INFO: Acknowledgment sent {"connection_id":187132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:42:54] local.INFO: TCP Data received {"connection_id":187133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:54] local.INFO: Processing buffer {"connection_id":187133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:42:54] local.INFO: Packet analysis {"connection_id":187133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:42:54] local.INFO: Extracted packet for processing {"connection_id":187133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:42:54] 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-19 22:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:42:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":187133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:42:54] local.INFO: GPS data processed {"connection_id":187133,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:42:54] local.INFO: Acknowledgment sent {"connection_id":187133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:08] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:08] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:08] local.INFO: IMEI packet received {"connection_id":189856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":189856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:43:12] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:12] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:12] local.INFO: IMEI packet received {"connection_id":189856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":189856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:43:13] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:13] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:43:13] local.INFO: IMEI packet received {"connection_id":189856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":189856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:43:13] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:13] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:13] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:43:14] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa779c8012cb473800913d2d0022d000229..."} 
[2026-09-19 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa779c8012cb473800913d2d0022d000229..."} 
[2026-09-19 22:43:14] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa779c8012cb473800913d2d0022d000229..."} 
[2026-09-19 22:43:14] local.INFO: Packet analysis {"connection_id":189856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:14] local.INFO: Extracted packet for processing {"connection_id":189856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:14] local.INFO: GPS Element Parsed {"raw_longitude":750023552,"raw_latitude":152294096,"longitude_deg":75.0023552,"latitude_deg":15.2294096,"altitude":557,"angle":2,"satellites":41,"speed":34,"hex_longitude":"2cb47380","hex_latitude":"0913d2d0","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1586737012801536,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5444077854320054270,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:14] 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-19 22:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837933000,"timestamp_ms":1789837933000,"timestamp_seconds":1789837933,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa779c8"} 
[2026-09-19 22: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-19 22:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":28028,"212":206,"9":54784,"24":34,"16":1586737012801536,"44":-5444077854320054270},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:43:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1586737012801536,"km_value":1586737012801.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5444077854320054270,"description":"Unknown IO ID 44"} 
[2026-09-19 22:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":28028,"unknown_212":206,"unknown_9":54784,"ignition":34,"odometer":null,"unknown_44":-5444077854320054270}} 
[2026-09-19 22:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":189856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:14] local.INFO: GPS data processed {"connection_id":189856,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:14] local.INFO: Acknowledgment sent {"connection_id":189856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:18] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:18] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:43:18] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:43:19] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa7a0d8012cb475c00913f580022e00042a..."} 
[2026-09-19 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa7a0d8012cb475c00913f580022e00042a..."} 
[2026-09-19 22:43:19] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa7a0d8012cb475c00913f580022e00042a..."} 
[2026-09-19 22:43:19] local.INFO: Packet analysis {"connection_id":189856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:19] local.INFO: Extracted packet for processing {"connection_id":189856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:19] local.INFO: GPS Element Parsed {"raw_longitude":750024128,"raw_latitude":152302976,"longitude_deg":75.0024128,"latitude_deg":15.2302976,"altitude":558,"angle":4,"satellites":42,"speed":36,"hex_longitude":"2cb475c0","hex_latitude":"0913f580","is_valid_coordinates":true} 
[2026-09-19 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198510848001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1587166509531136,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5443866748085153790,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] 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-19 22:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837943000,"timestamp_ms":1789837943000,"timestamp_seconds":1789837943,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa7a0d8"} 
[2026-09-19 22:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:43: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-19 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198510848001,"66":27930,"212":206,"9":54784,"24":36,"16":1587166509531136,"44":-5443866748085153790},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198510848001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1587166509531136,"km_value":1587166509531.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5443866748085153790,"description":"Unknown IO ID 44"} 
[2026-09-19 22:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198510848001,"power":27930,"unknown_212":206,"unknown_9":54784,"ignition":36,"odometer":null,"unknown_44":-5443866748085153790}} 
[2026-09-19 22:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":189856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:19] local.INFO: GPS data processed {"connection_id":189856,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:19] local.INFO: Acknowledgment sent {"connection_id":189856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:19] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:19] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:19] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:19] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:19] 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-19 22:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:19] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:19] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:22] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:22] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:22] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:43:24] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:24] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:43:24] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:24] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:24] 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-19 22:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:24] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:24] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:27] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:27] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:43:27] local.INFO: IMEI packet received {"connection_id":187280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":187280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:43:28] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:28] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:28] local.INFO: Packet analysis {"connection_id":187280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:43:28] local.INFO: Extracted packet for processing {"connection_id":187280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22: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-19 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":187280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:28] local.INFO: GPS data processed {"connection_id":187280,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:28] local.INFO: Acknowledgment sent {"connection_id":187280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:32] local.INFO: TCP Data received {"connection_id":187280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:32] local.INFO: Processing buffer {"connection_id":187280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:43:32] local.INFO: Packet analysis {"connection_id":187280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:43:32] local.INFO: Extracted packet for processing {"connection_id":187280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 22:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 22:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 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-19 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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-19 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-19 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-19 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-19 22:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:43: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-19 22:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":187280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:32] local.INFO: GPS data processed {"connection_id":187280,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:32] local.INFO: Acknowledgment sent {"connection_id":187280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:43:50] local.INFO: TCP Data received {"connection_id":189856,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa7c7e8012cb4784009141ab00230000329..."} 
[2026-09-19 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa7c7e8012cb4784009141ab00230000329..."} 
[2026-09-19 22:43:50] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa7c7e8012cb4784009141ab00230000329..."} 
[2026-09-19 22:43:50] local.INFO: Packet analysis {"connection_id":189856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:50] local.INFO: Extracted packet for processing {"connection_id":189856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750024768,"raw_latitude":152312496,"longitude_deg":75.0024768,"latitude_deg":15.2312496,"altitude":560,"angle":3,"satellites":41,"speed":38,"hex_longitude":"2cb47840","hex_latitude":"09141ab0","is_valid_coordinates":true} 
[2026-09-19 22:43: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-19 22:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198513408001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1587630365999104,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5443233429385281534,"note":"Value kept but may cause issues"} 
[2026-09-19 22:43:50] 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-19 22:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789837953000,"timestamp_ms":1789837953000,"timestamp_seconds":1789837953,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa7c7e8"} 
[2026-09-19 22:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:43: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-19 22:43: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":26,"data_length":795,"current_offset":136} 
[2026-09-19 22:43:50] 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-19 22:43: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-19 22:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198513408001,"66":27952,"212":206,"9":54784,"24":38,"16":1587630365999104,"44":-5443233429385281534},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198513408001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:43:50] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:43:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1587630365999104,"km_value":1587630365999.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5443233429385281534,"description":"Unknown IO ID 44"} 
[2026-09-19 22:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198513408001,"power":27952,"unknown_212":206,"unknown_9":54784,"ignition":38,"odometer":null,"unknown_44":-5443233429385281534}} 
[2026-09-19 22:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":189856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:43:51] local.INFO: GPS data processed {"connection_id":189856,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:43:51] local.INFO: Acknowledgment sent {"connection_id":189856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:08] local.INFO: TCP Data received {"connection_id":187281,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: Processing buffer {"connection_id":187281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: IMEI packet received {"connection_id":187281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":187281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:44:08] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:08] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:08] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:44:08] local.INFO: TCP Data received {"connection_id":187281,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: Processing buffer {"connection_id":187281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:08] local.INFO: IMEI packet received {"connection_id":187281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":187281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:44:13] local.INFO: TCP Data received {"connection_id":187281,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:13] local.INFO: Processing buffer {"connection_id":187281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:44:13] local.INFO: IMEI packet received {"connection_id":187281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":187281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:44:13] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:13] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:44:13] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:44:14] local.INFO: TCP Data received {"connection_id":187281,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa7eef8012cb47b00091440c00232000329..."} 
[2026-09-19 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa7eef8012cb47b00091440c00232000329..."} 
[2026-09-19 22:44:14] local.INFO: Processing buffer {"connection_id":187281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa7eef8012cb47b00091440c00232000329..."} 
[2026-09-19 22:44:14] local.INFO: Packet analysis {"connection_id":187281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:14] local.INFO: Extracted packet for processing {"connection_id":187281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":750025472,"raw_latitude":152322240,"longitude_deg":75.0025472,"latitude_deg":15.232224,"altitude":562,"angle":3,"satellites":41,"speed":39,"hex_longitude":"2cb47b00","hex_latitude":"091440c0","is_valid_coordinates":true} 
[2026-09-19 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198515968001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1588102812401664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442529741941067774,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] 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-19 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837963000,"timestamp_ms":1789837963000,"timestamp_seconds":1789837963,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa7eef8"} 
[2026-09-19 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:14] 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-19 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198515968001,"66":27821,"212":206,"9":54784,"24":39,"16":1588102812401664,"44":-5442529741941067774},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198515968001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1588102812401664,"km_value":1588102812401.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442529741941067774,"description":"Unknown IO ID 44"} 
[2026-09-19 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198515968001,"power":27821,"unknown_212":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5442529741941067774}} 
[2026-09-19 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":187281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:14] local.INFO: GPS data processed {"connection_id":187281,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:14] local.INFO: Acknowledgment sent {"connection_id":187281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:14] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:14] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:14] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:14] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:14] 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-19 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:44:14] 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-19 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:14] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:14] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:17] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:17] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:17] local.INFO: IMEI packet received {"connection_id":187282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":187282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:44:22] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:22] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:44:22] local.INFO: IMEI packet received {"connection_id":187282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":187282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:44:23] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:23] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:23] local.INFO: Packet analysis {"connection_id":187282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:44:23] local.INFO: Extracted packet for processing {"connection_id":187282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:44:23] 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-19 22:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":187282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:23] local.INFO: GPS data processed {"connection_id":187282,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:23] local.INFO: Acknowledgment sent {"connection_id":187282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:46] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:46] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:44:46] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:46] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:46] 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-19 22:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22: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-19 22:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:44:46] 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-19 22:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:46] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:46] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:50] local.INFO: TCP Data received {"connection_id":187281,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa81608012cb47d40091466100233000329..."} 
[2026-09-19 22:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa81608012cb47d40091466100233000329..."} 
[2026-09-19 22:44:50] local.INFO: Processing buffer {"connection_id":187281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa81608012cb47d40091466100233000329..."} 
[2026-09-19 22:44:50] local.INFO: Packet analysis {"connection_id":187281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:44:50] local.INFO: Extracted packet for processing {"connection_id":187281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:44:50] local.INFO: GPS Element Parsed {"raw_longitude":750026048,"raw_latitude":152331792,"longitude_deg":75.0026048,"latitude_deg":15.2331792,"altitude":563,"angle":3,"satellites":41,"speed":35,"hex_longitude":"2cb47d40","hex_latitude":"09146610","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198518528001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1588566668869632,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441755685752619006,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:50] 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-19 22:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789837973000,"timestamp_ms":1789837973000,"timestamp_seconds":1789837973,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa81608"} 
[2026-09-19 22: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-19 22:44: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-19 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198518528001,"66":27974,"212":206,"9":54784,"24":35,"16":1588566668869632,"44":-5441755685752619006},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198518528001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:50] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:44:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1588566668869632,"km_value":1588566668869.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441755685752619006,"description":"Unknown IO ID 44"} 
[2026-09-19 22:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198518528001,"power":27974,"unknown_212":206,"unknown_9":54784,"ignition":35,"odometer":null,"unknown_44":-5441755685752619006}} 
[2026-09-19 22:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":187281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:50] local.INFO: GPS data processed {"connection_id":187281,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:50] local.INFO: Acknowledgment sent {"connection_id":187281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:44:54] local.INFO: TCP Data received {"connection_id":187282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:54] local.INFO: Processing buffer {"connection_id":187282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:44:54] local.INFO: Packet analysis {"connection_id":187282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:44:54] local.INFO: Extracted packet for processing {"connection_id":187282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:44:54] 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-19 22:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":187282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:44:54] local.INFO: GPS data processed {"connection_id":187282,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:44:54] local.INFO: Acknowledgment sent {"connection_id":187282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:08] local.INFO: TCP Data received {"connection_id":188569,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:08] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:08] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:45:08] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:08] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:08] local.INFO: IMEI packet received {"connection_id":187283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":187283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:45:13] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:13] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:45:13] local.INFO: IMEI packet received {"connection_id":187283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":187283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:45:14] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:14] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:14] local.INFO: Packet analysis {"connection_id":187283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:45:14] local.INFO: Extracted packet for processing {"connection_id":187283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:14] 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-19 22:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":187283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:14] local.INFO: GPS data processed {"connection_id":187283,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:14] local.INFO: Acknowledgment sent {"connection_id":187283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:16] local.INFO: TCP Data received {"connection_id":188569,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:16] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:45:16] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:45:17] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:17] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:17] local.INFO: IMEI packet received {"connection_id":187284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":187284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:45:17] local.INFO: TCP Data received {"connection_id":188569,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:17] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:17] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:45:17] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":750026752,"raw_latitude":152340608,"longitude_deg":75.0026752,"latitude_deg":15.2340608,"altitude":564,"angle":3,"satellites":39,"speed":13,"hex_longitude":"2cb48000","hex_latitude":"09148880","is_valid_coordinates":true} 
[2026-09-19 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198521088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1588996165599232,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441122367052574718,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:17] 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-19 22:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789837994000,"timestamp_ms":1789837994000,"timestamp_seconds":1789837994,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa86810"} 
[2026-09-19 22:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:45: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-19 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198521088001,"66":27843,"212":206,"9":54784,"24":13,"16":1588996165599232,"44":-5441122367052574718},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198521088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:17] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:45:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1588996165599232,"km_value":1588996165599.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441122367052574718,"description":"Unknown IO ID 44"} 
[2026-09-19 22:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198521088001,"power":27843,"unknown_212":206,"unknown_9":54784,"ignition":13,"odometer":null,"unknown_44":-5441122367052574718}} 
[2026-09-19 22:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:17] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:17] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:22] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:22] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:45:22] local.INFO: IMEI packet received {"connection_id":187284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":187284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:45:23] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:23] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:23] local.INFO: Packet analysis {"connection_id":187284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:45:23] local.INFO: Extracted packet for processing {"connection_id":187284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:45:23] 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-19 22:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":187284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:23] local.INFO: GPS data processed {"connection_id":187284,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:23] local.INFO: Acknowledgment sent {"connection_id":187284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:46] local.INFO: TCP Data received {"connection_id":187283,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:46] local.INFO: Processing buffer {"connection_id":187283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:45:46] local.INFO: Packet analysis {"connection_id":187283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:45:46] local.INFO: Extracted packet for processing {"connection_id":187283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:46] 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-19 22:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22: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-19 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":187283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:46] local.INFO: GPS data processed {"connection_id":187283,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:46] local.INFO: Acknowledgment sent {"connection_id":187283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:49] local.INFO: TCP Data received {"connection_id":188569,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:49] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa86810012cb48000091488800234000327..."} 
[2026-09-19 22:45:49] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:45:49] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":750026752,"raw_latitude":152340608,"longitude_deg":75.0026752,"latitude_deg":15.2340608,"altitude":564,"angle":3,"satellites":39,"speed":13,"hex_longitude":"2cb48000","hex_latitude":"09148880","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198526464001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1588996165599232,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440348310864363518,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:49] 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-19 22:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789837994000,"timestamp_ms":1789837994000,"timestamp_seconds":1789837994,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa86810"} 
[2026-09-19 22: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-19 22: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198526464001,"66":27843,"212":206,"9":54784,"24":13,"16":1588996165599232,"44":-5440348310864363518},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198526464001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:49] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:45:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1588996165599232,"km_value":1588996165599.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440348310864363518,"description":"Unknown IO ID 44"} 
[2026-09-19 22:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198526464001,"power":27843,"unknown_212":206,"unknown_9":54784,"ignition":13,"odometer":null,"unknown_44":-5440348310864363518}} 
[2026-09-19 22:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:49] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:49] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:45:54] local.INFO: TCP Data received {"connection_id":187284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:54] local.INFO: Processing buffer {"connection_id":187284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:45:54] local.INFO: Packet analysis {"connection_id":187284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:45:54] local.INFO: Extracted packet for processing {"connection_id":187284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:45:54] 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-19 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:45:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":187284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:45:54] local.INFO: GPS data processed {"connection_id":187284,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:45:54] local.INFO: Acknowledgment sent {"connection_id":187284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:08] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:08] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:08] local.INFO: IMEI packet received {"connection_id":187134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":187134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:46:13] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:13] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:46:13] local.INFO: IMEI packet received {"connection_id":187134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:46:13] local.INFO: TCP Data received {"connection_id":187135,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:13] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:13] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:46:14] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:14] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:14] local.INFO: Packet analysis {"connection_id":187134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:46:14] local.INFO: Extracted packet for processing {"connection_id":187134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:14] 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-19 22:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":187134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:14] local.INFO: GPS data processed {"connection_id":187134,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:14] local.INFO: Acknowledgment sent {"connection_id":187134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:17] local.INFO: TCP Data received {"connection_id":189857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:17] local.INFO: Processing buffer {"connection_id":189857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:17] local.INFO: IMEI packet received {"connection_id":189857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":189857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:46:18] local.INFO: TCP Data received {"connection_id":187135,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:18] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:46:18] local.INFO: IMEI packet received {"connection_id":187135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":187135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:46:19] local.INFO: TCP Data received {"connection_id":187135,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa8a690012cb483800914aba00235000229..."} 
[2026-09-19 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa8a690012cb483800914aba00235000229..."} 
[2026-09-19 22:46:19] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa8a690012cb483800914aba00235000229..."} 
[2026-09-19 22:46:19] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:46:19] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:46:19] local.INFO: GPS Element Parsed {"raw_longitude":750027648,"raw_latitude":152349600,"longitude_deg":75.0027648,"latitude_deg":15.23496,"altitude":565,"angle":2,"satellites":41,"speed":27,"hex_longitude":"2cb48380","hex_latitude":"0914aba0","is_valid_coordinates":true} 
[2026-09-19 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198526464001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1589438547230720,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440348310864363518,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:19] 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-19 22:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789838010000,"timestamp_ms":1789838010000,"timestamp_seconds":1789838010,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa8a690"} 
[2026-09-19 22:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198526464001,"66":27865,"212":206,"9":54784,"24":27,"16":1589438547230720,"44":-5440348310864363518},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198526464001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:46:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1589438547230720,"km_value":1589438547230.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440348310864363518,"description":"Unknown IO ID 44"} 
[2026-09-19 22:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198526464001,"power":27865,"unknown_212":206,"unknown_9":54784,"ignition":27,"odometer":null,"unknown_44":-5440348310864363518}} 
[2026-09-19 22:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:20] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:20] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:21] local.INFO: TCP Data received {"connection_id":187135,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa8d570012cb486400914d1300235000428..."} 
[2026-09-19 22:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa8d570012cb486400914d1300235000428..."} 
[2026-09-19 22:46:21] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa8d570012cb486400914d1300235000428..."} 
[2026-09-19 22:46:21] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:46:21] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa8"} 
[2026-09-19 22:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750028352,"raw_latitude":152359216,"longitude_deg":75.0028352,"latitude_deg":15.2359216,"altitude":565,"angle":4,"satellites":40,"speed":33,"hex_longitude":"2cb48640","hex_latitude":"0914d130","is_valid_coordinates":true} 
[2026-09-19 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198530560001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1589902403698688,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5439363148443574270,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:21] 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-19 22:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789838022000,"timestamp_ms":1789838022000,"timestamp_seconds":1789838022,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa8d570"} 
[2026-09-19 22:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46: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-19 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198530560001,"66":27843,"212":206,"9":54784,"24":33,"16":1589902403698688,"44":-5439363148443574270},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198530560001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:21] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:46:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1589902403698688,"km_value":1589902403698.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5439363148443574270,"description":"Unknown IO ID 44"} 
[2026-09-19 22:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198530560001,"power":27843,"unknown_212":206,"unknown_9":54784,"ignition":33,"odometer":null,"unknown_44":-5439363148443574270}} 
[2026-09-19 22:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:21] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:21] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:22] local.INFO: TCP Data received {"connection_id":189857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:22] local.INFO: Processing buffer {"connection_id":189857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:46:22] local.INFO: IMEI packet received {"connection_id":189857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":189857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:46:23] local.INFO: TCP Data received {"connection_id":189857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:23] local.INFO: Processing buffer {"connection_id":189857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:23] local.INFO: Packet analysis {"connection_id":189857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:46:23] local.INFO: Extracted packet for processing {"connection_id":189857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:46: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-19 22:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46: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-19 22:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:46:23] 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-19 22:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":189857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:23] local.INFO: GPS data processed {"connection_id":189857,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:23] local.INFO: Acknowledgment sent {"connection_id":189857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:45] local.INFO: TCP Data received {"connection_id":187134,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:45] local.INFO: Processing buffer {"connection_id":187134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:46:45] local.INFO: Packet analysis {"connection_id":187134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:46:45] local.INFO: Extracted packet for processing {"connection_id":187134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:45] 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-19 22:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":187134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:45] local.INFO: GPS data processed {"connection_id":187134,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:45] local.INFO: Acknowledgment sent {"connection_id":187134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:52] local.INFO: TCP Data received {"connection_id":187135,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa90068012cb488c00914f4800236000029..."} 
[2026-09-19 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa90068012cb488c00914f4800236000029..."} 
[2026-09-19 22:46:52] local.INFO: Processing buffer {"connection_id":187135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa90068012cb488c00914f4800236000029..."} 
[2026-09-19 22:46:52] local.INFO: Packet analysis {"connection_id":187135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa9"} 
[2026-09-19 22:46:52] local.INFO: Extracted packet for processing {"connection_id":187135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa9"} 
[2026-09-19 22:46:52] local.INFO: GPS Element Parsed {"raw_longitude":750028992,"raw_latitude":152368256,"longitude_deg":75.0028992,"latitude_deg":15.2368256,"altitude":566,"angle":0,"satellites":41,"speed":34,"hex_longitude":"2cb488c0","hex_latitude":"0914f480","is_valid_coordinates":true} 
[2026-09-19 22:46: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-19 22:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198533632001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1590344785330176,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5438589092255158270,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:52] 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-19 22:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789838033000,"timestamp_ms":1789838033000,"timestamp_seconds":1789838033,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa90068"} 
[2026-09-19 22:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46: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-19 22:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46: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-19 22:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":187135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":187135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198533632001,"66":27974,"212":206,"9":54784,"24":34,"16":1590344785330176,"44":-5438589092255158270},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198533632001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:52] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1590344785330176,"km_value":1590344785330.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5438589092255158270,"description":"Unknown IO ID 44"} 
[2026-09-19 22:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198533632001,"power":27974,"unknown_212":206,"unknown_9":54784,"ignition":34,"odometer":null,"unknown_44":-5438589092255158270}} 
[2026-09-19 22:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":187135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:52] local.INFO: GPS data processed {"connection_id":187135,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:52] local.INFO: Acknowledgment sent {"connection_id":187135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:46:54] local.INFO: TCP Data received {"connection_id":189857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:54] local.INFO: Processing buffer {"connection_id":189857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa6e170012d196540071fefa8003e006128..."} 
[2026-09-19 22:46:54] local.INFO: Packet analysis {"connection_id":189857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:46:54] local.INFO: Extracted packet for processing {"connection_id":189857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa6"} 
[2026-09-19 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198423808001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789837894000,"timestamp_ms":1789837894000,"timestamp_seconds":1789837894,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa6e170"} 
[2026-09-19 22:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:46:54] 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-19 22:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198423808001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198423808001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:46:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198423808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":189857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:46:54] local.INFO: GPS data processed {"connection_id":189857,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:46:54] local.INFO: Acknowledgment sent {"connection_id":189857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:08] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:08] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:08] local.INFO: IMEI packet received {"connection_id":187286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":187286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:47:08] local.INFO: TCP Data received {"connection_id":187285,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:08] local.INFO: Processing buffer {"connection_id":187285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:08] local.INFO: IMEI packet received {"connection_id":187285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":187285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:47:13] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:13] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:47:13] local.INFO: IMEI packet received {"connection_id":187286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":187286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:47:14] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:47:14] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa74ed0012d34c14006aa41400008010e29..."} 
[2026-09-19 22:47:14] local.INFO: Packet analysis {"connection_id":187286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:47:14] local.INFO: Extracted packet for processing {"connection_id":187286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa7"} 
[2026-09-19 22:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198430976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:14] 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-19 22:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789837922000,"timestamp_ms":1789837922000,"timestamp_seconds":1789837922,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa74ed0"} 
[2026-09-19 22: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-19 22:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198430976001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198430976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198430976001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":187286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:14] local.INFO: GPS data processed {"connection_id":187286,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:14] local.INFO: Acknowledgment sent {"connection_id":187286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:15] local.INFO: TCP Data received {"connection_id":187285,"ip":"117.225.174.246","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:15] local.INFO: Processing buffer {"connection_id":187285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:47:15] local.INFO: IMEI packet received {"connection_id":187285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 22:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":187285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:47:17] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:17] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:17] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:47:17] local.INFO: TCP Data received {"connection_id":187285,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baa94aa0012cb4894009151840023a000328..."} 
[2026-09-19 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baa94aa0012cb4894009151840023a000328..."} 
[2026-09-19 22:47:17] local.INFO: Processing buffer {"connection_id":187285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baa94aa0012cb4894009151840023a000328..."} 
[2026-09-19 22:47:17] local.INFO: Packet analysis {"connection_id":187285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baa9"} 
[2026-09-19 22:47:17] local.INFO: Extracted packet for processing {"connection_id":187285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baa9"} 
[2026-09-19 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":750029120,"raw_latitude":152377408,"longitude_deg":75.002912,"latitude_deg":15.2377408,"altitude":570,"angle":3,"satellites":40,"speed":13,"hex_longitude":"2cb48940","hex_latitude":"09151840","is_valid_coordinates":true} 
[2026-09-19 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198536448001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1590787166961664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5437885404811067390,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:17] 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-19 22:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789838052000,"timestamp_ms":1789838052000,"timestamp_seconds":1789838052,"priority":1,"record_length":96,"hex_timestamp":"000001a0baa94aa0"} 
[2026-09-19 22:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:47: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-19 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":187285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":187285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":187285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198536448001,"66":27876,"212":206,"9":54784,"24":13,"16":1590787166961664,"44":-5437885404811067390},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-19 22:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198536448001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:17] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-19 22:47:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1590787166961664,"km_value":1590787166961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5437885404811067390,"description":"Unknown IO ID 44"} 
[2026-09-19 22:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198536448001,"power":27876,"unknown_212":206,"unknown_9":54784,"ignition":13,"odometer":null,"unknown_44":-5437885404811067390}} 
[2026-09-19 22:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":187285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:17] local.INFO: GPS data processed {"connection_id":187285,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:17] local.INFO: Acknowledgment sent {"connection_id":187285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:22] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:22] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:47:22] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:47:23] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:23] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:23] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:23] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:47:23] 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-19 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:47:23] 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-19 22:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:23] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:23] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:45] local.INFO: TCP Data received {"connection_id":187286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:47:45] local.INFO: Processing buffer {"connection_id":187286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:47:45] local.INFO: Packet analysis {"connection_id":187286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:45] local.INFO: Extracted packet for processing {"connection_id":187286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:45] 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-19 22:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:45] 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-19 22:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":187286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:45] local.INFO: GPS data processed {"connection_id":187286,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:45] local.INFO: Acknowledgment sent {"connection_id":187286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:50] local.INFO: TCP Data received {"connection_id":187285,"ip":"117.225.174.246","data_length":795,"data_hex":"000000000000030f8e0a000001a0baaba818012cb4d64009168790023400092a..."} 
[2026-09-19 22:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baaba818012cb4d64009168790023400092a..."} 
[2026-09-19 22:47:50] local.INFO: Processing buffer {"connection_id":187285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baaba818012cb4d64009168790023400092a..."} 
[2026-09-19 22:47:50] local.INFO: Packet analysis {"connection_id":187285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:50] local.INFO: Extracted packet for processing {"connection_id":187285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:50] local.INFO: GPS Element Parsed {"raw_longitude":750048832,"raw_latitude":152471440,"longitude_deg":75.0048832,"latitude_deg":15.247144,"altitude":564,"angle":9,"satellites":42,"speed":37,"hex_longitude":"2cb4d640","hex_latitude":"09168790","is_valid_coordinates":true} 
[2026-09-19 22:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198578432001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1595447206477824,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5418252525161385982,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:50] 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-19 22:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789838207000,"timestamp_ms":1789838207000,"timestamp_seconds":1789838207,"priority":1,"record_length":96,"hex_timestamp":"000001a0baaba818"} 
[2026-09-19 22:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-19 22:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":187285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":187285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":187285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-19 22:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.174.246","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-19 22:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-19 22:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198578432001,"66":27821,"211":206,"9":54784,"24":37,"16":1595447206477824,"44":-5418252525161385982},"client_ip":"117.225.174.246","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-19 22:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-19 22:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-19 22:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198578432001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:50] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-19 22:47:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-19 22:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1595447206477824,"km_value":1595447206477.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5418252525161385982,"description":"Unknown IO ID 44"} 
[2026-09-19 22:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198578432001,"power":27821,"unknown_211":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5418252525161385982}} 
[2026-09-19 22:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":187285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:50] local.INFO: GPS data processed {"connection_id":187285,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:50] local.INFO: Acknowledgment sent {"connection_id":187285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:47:54] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:54] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:47:54] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:54] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:47:54] 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-19 22:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:47:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:47:54] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:47:54] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:48:13] local.INFO: TCP Data received {"connection_id":189858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:13] local.INFO: Processing buffer {"connection_id":189858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:13] local.INFO: IMEI packet received {"connection_id":189858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":189858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:48:18] local.INFO: TCP Data received {"connection_id":189858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:18] local.INFO: Processing buffer {"connection_id":189858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:48:18] local.INFO: IMEI packet received {"connection_id":189858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":189858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:48:19] local.INFO: TCP Data received {"connection_id":189858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:19] local.INFO: Processing buffer {"connection_id":189858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:19] local.INFO: Packet analysis {"connection_id":189858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:19] local.INFO: Extracted packet for processing {"connection_id":189858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:19] 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-19 22:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":189858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:48:19] local.INFO: GPS data processed {"connection_id":189858,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:48:19] local.INFO: Acknowledgment sent {"connection_id":189858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:48:22] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:22] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:22] local.INFO: IMEI packet received {"connection_id":189859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":189859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:48:23] local.INFO: TCP Data received {"connection_id":189858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:23] local.INFO: Processing buffer {"connection_id":189858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:48:23] local.INFO: Packet analysis {"connection_id":189858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:23] local.INFO: Extracted packet for processing {"connection_id":189858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:23] 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-19 22:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:48:23] 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-19 22:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:48:23] local.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-19 22:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":189858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:48:23] local.INFO: GPS data processed {"connection_id":189858,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:48:23] local.INFO: Acknowledgment sent {"connection_id":189858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:48:27] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:27] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:48:27] local.INFO: IMEI packet received {"connection_id":189859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":189859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:48:28] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:28] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:28] local.INFO: Packet analysis {"connection_id":189859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:28] local.INFO: Extracted packet for processing {"connection_id":189859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":189859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:48:28] local.INFO: GPS data processed {"connection_id":189859,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:48:28] local.INFO: Acknowledgment sent {"connection_id":189859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:48:32] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:32] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:48:32] local.INFO: Packet analysis {"connection_id":189859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:32] local.INFO: Extracted packet for processing {"connection_id":189859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 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-19 22:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 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-19 22:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 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-19 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-19 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":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:48: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-19 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-19 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-19 22:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:48: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-19 22:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:48:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":189859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:48:32] local.INFO: GPS data processed {"connection_id":189859,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:48:32] local.INFO: Acknowledgment sent {"connection_id":189859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:49:08] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:08] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:08] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:49:13] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:13] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:49:13] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:49:14] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:14] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:14] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:14] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:14] 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-19 22:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:49:14] 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-19 22:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:49:14] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:49:14] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:49:17] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:17] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:17] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:49:22] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:22] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:49:22] local.INFO: IMEI packet received {"connection_id":187136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":187136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:49:23] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:23] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:23] local.INFO: Packet analysis {"connection_id":187136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:23] local.INFO: Extracted packet for processing {"connection_id":187136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:49:23] 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-19 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:49:23] 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-19 22:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":187136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:49:23] local.INFO: GPS data processed {"connection_id":187136,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:49:23] local.INFO: Acknowledgment sent {"connection_id":187136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:49:45] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:45] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:49:45] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:45] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:45] 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-19 22:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:49:45] 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-19 22:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:49:45] 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-19 22:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:49:45] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:49:45] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:49:53] local.INFO: TCP Data received {"connection_id":187136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:53] local.INFO: Processing buffer {"connection_id":187136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:49:53] local.INFO: Packet analysis {"connection_id":187136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:53] local.INFO: Extracted packet for processing {"connection_id":187136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:49:53] 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-19 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:49:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":187136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:49:53] local.INFO: GPS data processed {"connection_id":187136,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:49:53] local.INFO: Acknowledgment sent {"connection_id":187136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:50:08] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:08] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:08] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:50:13] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:13] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:50:13] local.INFO: IMEI packet received {"connection_id":187137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":187137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:50:14] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:14] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:14] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:14] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:14] 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-19 22:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22: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-19 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:50:14] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:50:14] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:50:17] local.INFO: TCP Data received {"connection_id":189860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:17] local.INFO: Processing buffer {"connection_id":189860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:17] local.INFO: IMEI packet received {"connection_id":189860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":189860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:50:22] local.INFO: TCP Data received {"connection_id":189860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:22] local.INFO: Processing buffer {"connection_id":189860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:50:22] local.INFO: IMEI packet received {"connection_id":189860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":189860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:50:23] local.INFO: TCP Data received {"connection_id":189860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:23] local.INFO: Processing buffer {"connection_id":189860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:23] local.INFO: Packet analysis {"connection_id":189860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:23] local.INFO: Extracted packet for processing {"connection_id":189860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:50: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-19 22:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:50:23] 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-19 22:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:50: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-19 22:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:50:23] 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-19 22:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":189860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:50:23] local.INFO: GPS data processed {"connection_id":189860,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:50:23] local.INFO: Acknowledgment sent {"connection_id":189860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:50:45] local.INFO: TCP Data received {"connection_id":187137,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:45] local.INFO: Processing buffer {"connection_id":187137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:50:45] local.INFO: Packet analysis {"connection_id":187137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:45] local.INFO: Extracted packet for processing {"connection_id":187137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:45] 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-19 22:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:50:45] 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-19 22:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":187137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:50:45] local.INFO: GPS data processed {"connection_id":187137,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:50:45] local.INFO: Acknowledgment sent {"connection_id":187137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:50:53] local.INFO: TCP Data received {"connection_id":189860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:53] local.INFO: Processing buffer {"connection_id":189860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:50:53] local.INFO: Packet analysis {"connection_id":189860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:53] local.INFO: Extracted packet for processing {"connection_id":189860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:50: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-19 22:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:50:53] 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-19 22:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:50: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-19 22:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":189860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:50:54] local.INFO: GPS data processed {"connection_id":189860,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:50:54] local.INFO: Acknowledgment sent {"connection_id":189860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:51:08] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:08] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:08] local.INFO: IMEI packet received {"connection_id":187287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":187287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:51:13] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:13] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:51:13] local.INFO: IMEI packet received {"connection_id":187287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:51:15] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:15] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:15] local.INFO: Packet analysis {"connection_id":187287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:15] local.INFO: Extracted packet for processing {"connection_id":187287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51: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-19 22:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":187287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":187287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:51:15] local.INFO: GPS data processed {"connection_id":187287,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:51:15] local.INFO: Acknowledgment sent {"connection_id":187287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:51:17] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:17] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:17] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:51:22] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:22] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:51:22] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:51:23] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:23] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:23] local.INFO: Packet analysis {"connection_id":188572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:23] local.INFO: Extracted packet for processing {"connection_id":188572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:51:23] 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-19 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:51:23] 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-19 22:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":188572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:51:23] local.INFO: GPS data processed {"connection_id":188572,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:51:23] local.INFO: Acknowledgment sent {"connection_id":188572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:51:46] local.INFO: TCP Data received {"connection_id":187287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:46] local.INFO: Processing buffer {"connection_id":187287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:51:46] local.INFO: Packet analysis {"connection_id":187287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:46] local.INFO: Extracted packet for processing {"connection_id":187287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:46] 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-19 22:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:51: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-19 22:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":187287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:51:46] local.INFO: GPS data processed {"connection_id":187287,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:51:46] local.INFO: Acknowledgment sent {"connection_id":187287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:51:53] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:53] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baab7938012d196540071fefa8003e006125..."} 
[2026-09-19 22:51:53] local.INFO: Packet analysis {"connection_id":188572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:53] local.INFO: Extracted packet for processing {"connection_id":188572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198500864001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789838195000,"timestamp_ms":1789838195000,"timestamp_seconds":1789838195,"priority":1,"record_length":96,"hex_timestamp":"000001a0baab7938"} 
[2026-09-19 22:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:51:53] 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-19 22:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-19 22:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198500864001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198500864001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:51:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198500864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":188572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:51:53] local.INFO: GPS data processed {"connection_id":188572,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:51:53] local.INFO: Acknowledgment sent {"connection_id":188572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:52:08] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:08] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:08] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:52:13] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:13] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:52:13] local.INFO: IMEI packet received {"connection_id":187138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:52:14] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:52:14] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baabe698012d34c14006aa41400008010e2b..."} 
[2026-09-19 22:52:14] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:52:14] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baab"} 
[2026-09-19 22:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198508032001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:14] 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-19 22:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838223000,"timestamp_ms":1789838223000,"timestamp_seconds":1789838223,"priority":1,"record_length":96,"hex_timestamp":"000001a0baabe698"} 
[2026-09-19 22:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198508032001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198508032001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198508032001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:52:14] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:52:14] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:52:17] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:17] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:17] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:52:22] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:22] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:52:22] local.INFO: IMEI packet received {"connection_id":187139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":187139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:52:23] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:23] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:23] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:23] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:52:23] 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-19 22:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:52:23] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:52:23] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:52:46] local.INFO: TCP Data received {"connection_id":187138,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:52:46] local.INFO: Processing buffer {"connection_id":187138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:52:46] local.INFO: Packet analysis {"connection_id":187138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:46] local.INFO: Extracted packet for processing {"connection_id":187138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:46] 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-19 22:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:52:46] 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-19 22:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":187138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:52:46] local.INFO: GPS data processed {"connection_id":187138,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:52:46] local.INFO: Acknowledgment sent {"connection_id":187138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:52:54] local.INFO: TCP Data received {"connection_id":187139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:54] local.INFO: Processing buffer {"connection_id":187139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:52:54] local.INFO: Packet analysis {"connection_id":187139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:54] local.INFO: Extracted packet for processing {"connection_id":187139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:52:54] 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-19 22:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:52:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":187139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:52:54] local.INFO: GPS data processed {"connection_id":187139,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:52:54] local.INFO: Acknowledgment sent {"connection_id":187139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:53:13] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:13] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:13] local.INFO: IMEI packet received {"connection_id":187288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:53:18] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:18] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:18] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:53:18] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:18] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:53:18] local.INFO: IMEI packet received {"connection_id":187288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":187288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:53:19] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:19] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:19] local.INFO: Packet analysis {"connection_id":187288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:19] local.INFO: Extracted packet for processing {"connection_id":187288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:19] 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-19 22:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":187288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:53:19] local.INFO: GPS data processed {"connection_id":187288,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:53:19] local.INFO: Acknowledgment sent {"connection_id":187288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:53:22] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:22] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:53:22] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:53:23] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:23] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:23] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:23] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:53: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-19 22:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:53: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-19 22:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:53:23] 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-19 22:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:53:23] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:53:23] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:53:24] local.INFO: TCP Data received {"connection_id":187288,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:24] local.INFO: Processing buffer {"connection_id":187288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:53:24] local.INFO: Packet analysis {"connection_id":187288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:24] local.INFO: Extracted packet for processing {"connection_id":187288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:53: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-19 22:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:24] 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-19 22:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:53:24] 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-19 22:53: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-19 22:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:53:24] 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-19 22:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":187288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:53:24] local.INFO: GPS data processed {"connection_id":187288,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:53:24] local.INFO: Acknowledgment sent {"connection_id":187288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:53:54] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:54] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:53:54] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:54] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:53:54] 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-19 22:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:53:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:53:54] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:53:54] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:54:17] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:17] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:17] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:54:18] local.INFO: TCP Data received {"connection_id":189861,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:18] local.INFO: Processing buffer {"connection_id":189861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:18] local.INFO: IMEI packet received {"connection_id":189861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":189861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:54:19] local.INFO: TCP Data received {"connection_id":189861,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:19] local.INFO: Processing buffer {"connection_id":189861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:54:19] local.INFO: IMEI packet received {"connection_id":189861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":189861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:54:20] local.INFO: TCP Data received {"connection_id":189861,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:20] local.INFO: Processing buffer {"connection_id":189861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:20] local.INFO: Packet analysis {"connection_id":189861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:20] local.INFO: Extracted packet for processing {"connection_id":189861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:20] 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-19 22:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":189861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:54:20] local.INFO: GPS data processed {"connection_id":189861,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:54:20] local.INFO: Acknowledgment sent {"connection_id":189861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:54:21] local.INFO: TCP Data received {"connection_id":189861,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:21] local.INFO: Processing buffer {"connection_id":189861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:21] local.INFO: Packet analysis {"connection_id":189861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:21] local.INFO: Extracted packet for processing {"connection_id":189861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:21] 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-19 22:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:54:21] 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-19 22:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54:21] local.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-19 22:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":189861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:54:21] local.INFO: GPS data processed {"connection_id":189861,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:54:21] local.INFO: Acknowledgment sent {"connection_id":189861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:54:22] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:22] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:54:22] local.INFO: IMEI packet received {"connection_id":187140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":187140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:54:23] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:23] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:23] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:23] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22: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-19 22:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22: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-19 22: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-19 22:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:54:23] 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-19 22:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:54:23] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:54:23] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:54:52] local.INFO: TCP Data received {"connection_id":189861,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:52] local.INFO: Processing buffer {"connection_id":189861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:54:52] local.INFO: Packet analysis {"connection_id":189861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:52] local.INFO: Extracted packet for processing {"connection_id":189861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54: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-19 22:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:54:52] 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-19 22:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:54: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-19 22:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":189861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:54:52] local.INFO: GPS data processed {"connection_id":189861,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:54:52] local.INFO: Acknowledgment sent {"connection_id":189861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:54:54] local.INFO: TCP Data received {"connection_id":187140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:54] local.INFO: Processing buffer {"connection_id":187140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:54:54] local.INFO: Packet analysis {"connection_id":187140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:54] local.INFO: Extracted packet for processing {"connection_id":187140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:54:54] 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-19 22:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":187140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:54:54] local.INFO: GPS data processed {"connection_id":187140,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:54:54] local.INFO: Acknowledgment sent {"connection_id":187140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:55:08] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:08] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:08] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:55:13] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:13] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:55:13] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:55:14] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:14] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:14] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:14] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:14] 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-19 22:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:55:14] 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-19 22:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:55:14] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:55:14] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:55:17] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:17] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:17] local.INFO: IMEI packet received {"connection_id":189862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":189862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:55:22] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:22] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:55:22] local.INFO: IMEI packet received {"connection_id":189862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":189862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:55:23] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:23] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:23] local.INFO: Packet analysis {"connection_id":189862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:23] local.INFO: Extracted packet for processing {"connection_id":189862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:55: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-19 22:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:55: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-19 22:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:55:23] 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-19 22:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":189862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:55:23] local.INFO: GPS data processed {"connection_id":189862,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:55:23] local.INFO: Acknowledgment sent {"connection_id":189862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:55:45] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:45] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:55:45] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:45] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:45] 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-19 22:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22: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-19 22:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:55:45] 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-19 22: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-19 22: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-19 22:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:55:45] 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-19 22:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:55:45] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:55:45] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:55:54] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:54] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:55:54] local.INFO: Packet analysis {"connection_id":189862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:54] local.INFO: Extracted packet for processing {"connection_id":189862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:55:54] 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-19 22:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:55:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":189862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:55:54] local.INFO: GPS data processed {"connection_id":189862,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:55:54] local.INFO: Acknowledgment sent {"connection_id":189862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:56:08] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:08] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:08] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:56:13] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:13] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:56:13] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:56:14] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:14] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:14] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:14] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:14] 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-19 22:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22: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-19 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22: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-19 22: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-19 22:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:56:14] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:56:14] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:56:17] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:17] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:17] local.INFO: IMEI packet received {"connection_id":187289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":187289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:56:22] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:22] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:56:22] local.INFO: IMEI packet received {"connection_id":187289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":187289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:56:23] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:23] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:23] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:23] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:56: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-19 22:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:56: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-19 22:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:56:23] 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-19 22:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:56:23] local.INFO: GPS data processed {"connection_id":187289,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:56:23] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:56:45] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:45] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:56:45] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:45] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:45] 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-19 22:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22: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-19 22:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:56:45] 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-19 22: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-19 22: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-19 22:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:56:45] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:56:45] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:56:53] local.INFO: TCP Data received {"connection_id":187289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:53] local.INFO: Processing buffer {"connection_id":187289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab01100012d196540071fefa8003e006129..."} 
[2026-09-19 22:56:53] local.INFO: Packet analysis {"connection_id":187289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:53] local.INFO: Extracted packet for processing {"connection_id":187289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198577920001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789838496000,"timestamp_ms":1789838496000,"timestamp_seconds":1789838496,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab01100"} 
[2026-09-19 22:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198577920001,"66":2155,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198577920001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198577920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":187289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:56:54] local.INFO: GPS data processed {"connection_id":187289,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:56:54] local.INFO: Acknowledgment sent {"connection_id":187289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:57:08] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:08] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:08] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:57:13] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:13] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:57:13] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:57:14] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:57:14] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab07e60012d34c14006aa41400008010e29..."} 
[2026-09-19 22:57:14] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:57:14] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab0"} 
[2026-09-19 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198585088001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:14] 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-19 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838524000,"timestamp_ms":1789838524000,"timestamp_seconds":1789838524,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab07e60"} 
[2026-09-19 22:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 22:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198585088001,"66":25615,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198585088001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198585088001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:57:14] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:57:14] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:57:16] local.INFO: TCP Data received {"connection_id":189863,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:57:16] local.INFO: Processing buffer {"connection_id":189863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 22:57:16] local.INFO: IMEI packet received {"connection_id":189863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 22:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":189863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:57:22] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:22] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:22] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:57:27] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:27] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:57:27] local.INFO: IMEI packet received {"connection_id":187141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":187141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:57:28] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:28] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:28] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:57:28] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:57:28] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:57:28] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:57:32] local.INFO: TCP Data received {"connection_id":187141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:32] local.INFO: Processing buffer {"connection_id":187141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:57:32] local.INFO: Packet analysis {"connection_id":187141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:57:32] local.INFO: Extracted packet for processing {"connection_id":187141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22: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-19 22:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22: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-19 22:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:57: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-19 22: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-19 22: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-19 22:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":187141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":187141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":187141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:57: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-19 22:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:57:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":187141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:57:32] local.INFO: GPS data processed {"connection_id":187141,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:57:32] local.INFO: Acknowledgment sent {"connection_id":187141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:57:45] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:57:45] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:57:45] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:57:45] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:57:45] 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-19 22:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 22:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:57:45] 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-19 22:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 22:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:57:45] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:57:45] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:58:13] local.INFO: TCP Data received {"connection_id":189864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:13] local.INFO: Processing buffer {"connection_id":189864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:13] local.INFO: IMEI packet received {"connection_id":189864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":189864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:58:17] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:17] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:17] local.INFO: IMEI packet received {"connection_id":187291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":187291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:58:18] local.INFO: TCP Data received {"connection_id":189864,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:18] local.INFO: Processing buffer {"connection_id":189864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:58:18] local.INFO: IMEI packet received {"connection_id":189864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":189864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:58:19] local.INFO: TCP Data received {"connection_id":189864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:19] local.INFO: Processing buffer {"connection_id":189864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:19] local.INFO: Packet analysis {"connection_id":189864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:58:19] local.INFO: Extracted packet for processing {"connection_id":189864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:19] 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-19 22:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 22:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":189864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:58:19] local.INFO: GPS data processed {"connection_id":189864,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:58:19] local.INFO: Acknowledgment sent {"connection_id":189864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:58:22] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:22] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:58:22] local.INFO: IMEI packet received {"connection_id":187291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":187291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:58:23] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:23] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:23] local.INFO: Packet analysis {"connection_id":187291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:58:23] local.INFO: Extracted packet for processing {"connection_id":187291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:58: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-19 22:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:58: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-19 22:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:58:23] 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-19 22:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":187291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:58:23] local.INFO: GPS data processed {"connection_id":187291,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:58:23] local.INFO: Acknowledgment sent {"connection_id":187291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:58:23] local.INFO: TCP Data received {"connection_id":189864,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:23] local.INFO: Processing buffer {"connection_id":189864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:58:23] local.INFO: Packet analysis {"connection_id":189864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:58:23] local.INFO: Extracted packet for processing {"connection_id":189864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:58: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-19 22:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:23] 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-19 22:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 22:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:58: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:58:23] 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-19 22:58: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-19 22:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":189864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:58:23] local.INFO: GPS data processed {"connection_id":189864,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:58:23] local.INFO: Acknowledgment sent {"connection_id":189864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:58:54] local.INFO: TCP Data received {"connection_id":187291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:54] local.INFO: Processing buffer {"connection_id":187291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:58:54] local.INFO: Packet analysis {"connection_id":187291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:58:54] local.INFO: Extracted packet for processing {"connection_id":187291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":187291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":187291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":187291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:58:54] 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-19 22:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:58:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":187291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:58:54] local.INFO: GPS data processed {"connection_id":187291,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:58:54] local.INFO: Acknowledgment sent {"connection_id":187291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:59:08] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:08] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:08] local.INFO: IMEI packet received {"connection_id":187142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 22:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":187142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:59:13] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:13] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 22:59:13] local.INFO: IMEI packet received {"connection_id":187142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 22:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:59:14] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:14] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:14] local.INFO: Packet analysis {"connection_id":187142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:59:14] local.INFO: Extracted packet for processing {"connection_id":187142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:14] 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-19 22:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 22:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 22:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":187142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:59:14] local.INFO: GPS data processed {"connection_id":187142,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:59:14] local.INFO: Acknowledgment sent {"connection_id":187142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:59:17] local.INFO: TCP Data received {"connection_id":189865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:17] local.INFO: Processing buffer {"connection_id":189865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:17] local.INFO: IMEI packet received {"connection_id":189865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 22:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":189865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 22:59:22] local.INFO: TCP Data received {"connection_id":189865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:22] local.INFO: Processing buffer {"connection_id":189865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 22:59:22] local.INFO: IMEI packet received {"connection_id":189865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 22:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":189865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 22:59:23] local.INFO: TCP Data received {"connection_id":189865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:23] local.INFO: Processing buffer {"connection_id":189865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:23] local.INFO: Packet analysis {"connection_id":189865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:59:23] local.INFO: Extracted packet for processing {"connection_id":189865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 22:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:59:23] 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-19 22:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":189865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:59:23] local.INFO: GPS data processed {"connection_id":189865,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:59:23] local.INFO: Acknowledgment sent {"connection_id":189865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:59:46] local.INFO: TCP Data received {"connection_id":187142,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:46] local.INFO: Processing buffer {"connection_id":187142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 22:59:46] local.INFO: Packet analysis {"connection_id":187142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:59:46] local.INFO: Extracted packet for processing {"connection_id":187142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 22:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 22: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-19 22:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 22:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:46] 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-19 22:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 22: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-19 22:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 22:59: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-19 22: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-19 22: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-19 22:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 22:59:46] 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-19 22:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 22:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 22:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 22:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 22:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 22:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 22:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 22:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 22:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":187142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:59:46] local.INFO: GPS data processed {"connection_id":187142,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:59:46] local.INFO: Acknowledgment sent {"connection_id":187142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 22:59:54] local.INFO: TCP Data received {"connection_id":189865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:54] local.INFO: Processing buffer {"connection_id":189865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 22:59:54] local.INFO: Packet analysis {"connection_id":189865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:59:54] local.INFO: Extracted packet for processing {"connection_id":189865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 22:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 22:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 22:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 22:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 22:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 22:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 22:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 22:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 22:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 22:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 22:59:54] 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-19 22:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 22:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 22:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 22:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 22:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 22:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 22:59:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 22:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 22:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 22:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 22:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":189865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 22:59:54] local.INFO: GPS data processed {"connection_id":189865,"processed":1,"errors":0,"total":1} 
[2026-09-19 22:59:54] local.INFO: Acknowledgment sent {"connection_id":189865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:00:08] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:08] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:08] local.INFO: IMEI packet received {"connection_id":187292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":187292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:00:13] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:13] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:00:13] local.INFO: IMEI packet received {"connection_id":187292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":187292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:00:14] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:14] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:14] local.INFO: Packet analysis {"connection_id":187292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:00:14] local.INFO: Extracted packet for processing {"connection_id":187292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:14] 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-19 23:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 23:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 23:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":187292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:00:14] local.INFO: GPS data processed {"connection_id":187292,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:00:14] local.INFO: Acknowledgment sent {"connection_id":187292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:00:17] local.INFO: TCP Data received {"connection_id":189866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:17] local.INFO: Processing buffer {"connection_id":189866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:17] local.INFO: IMEI packet received {"connection_id":189866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 23:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":189866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:00:22] local.INFO: TCP Data received {"connection_id":189866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:22] local.INFO: Processing buffer {"connection_id":189866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:00:22] local.INFO: IMEI packet received {"connection_id":189866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 23:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":189866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:00:23] local.INFO: TCP Data received {"connection_id":189866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:23] local.INFO: Processing buffer {"connection_id":189866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:23] local.INFO: Packet analysis {"connection_id":189866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:00:23] local.INFO: Extracted packet for processing {"connection_id":189866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 23:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 23:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 23:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:00:23] 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-19 23:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":189866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:00:23] local.INFO: GPS data processed {"connection_id":189866,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:00:23] local.INFO: Acknowledgment sent {"connection_id":189866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:00:46] local.INFO: TCP Data received {"connection_id":187292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:46] local.INFO: Processing buffer {"connection_id":187292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:00:46] local.INFO: Packet analysis {"connection_id":187292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:00:46] local.INFO: Extracted packet for processing {"connection_id":187292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:46] 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-19 23:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 23:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 23:00: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-19 23:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":187292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:00:46] local.INFO: GPS data processed {"connection_id":187292,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:00:46] local.INFO: Acknowledgment sent {"connection_id":187292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:00:54] local.INFO: TCP Data received {"connection_id":189866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:54] local.INFO: Processing buffer {"connection_id":189866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:00:54] local.INFO: Packet analysis {"connection_id":189866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:00:54] local.INFO: Extracted packet for processing {"connection_id":189866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 23:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 23:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:00:54] 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-19 23:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:00:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":189866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:00:54] local.INFO: GPS data processed {"connection_id":189866,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:00:54] local.INFO: Acknowledgment sent {"connection_id":189866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:01:08] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:08] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:08] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:01:13] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:13] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:01:13] local.INFO: IMEI packet received {"connection_id":187144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":187144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:01:14] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:14] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:14] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:01:14] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:14] 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-19 23:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 23:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 23:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:01:14] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:01:14] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:01:18] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:18] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:18] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 23:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:01:22] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:22] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:01:22] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 23:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:01:23] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:23] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:23] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:01:23] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 23:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 23:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-19 23:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:01:23] 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-19 23:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:01:23] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:01:23] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:01:45] local.INFO: TCP Data received {"connection_id":187144,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:45] local.INFO: Processing buffer {"connection_id":187144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:01:45] local.INFO: Packet analysis {"connection_id":187144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:01:45] local.INFO: Extracted packet for processing {"connection_id":187144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:45] 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-19 23:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 23: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-19 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 23:01:45] 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-19 23: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-19 23: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-19 23:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":187144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:01:45] local.INFO: GPS data processed {"connection_id":187144,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:01:45] local.INFO: Acknowledgment sent {"connection_id":187144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:01:53] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:53] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab4a8c8012d196540071fefa8003e006129..."} 
[2026-09-19 23:01:53] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:01:53] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab4"} 
[2026-09-19 23:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198654976001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789838797000,"timestamp_ms":1789838797000,"timestamp_seconds":1789838797,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab4a8c8"} 
[2026-09-19 23:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-19 23:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198654976001,"66":2144,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198654976001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198654976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:01:53] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:01:53] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:02:08] local.INFO: TCP Data received {"connection_id":189867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:08] local.INFO: Processing buffer {"connection_id":189867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:08] local.INFO: IMEI packet received {"connection_id":189867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:02:13] local.INFO: TCP Data received {"connection_id":189867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:13] local.INFO: Processing buffer {"connection_id":189867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:02:13] local.INFO: IMEI packet received {"connection_id":189867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":189867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:02:14] local.INFO: TCP Data received {"connection_id":189867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:02:14] local.INFO: Processing buffer {"connection_id":189867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab51628012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:02:14] local.INFO: Packet analysis {"connection_id":189867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:02:14] local.INFO: Extracted packet for processing {"connection_id":189867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab5"} 
[2026-09-19 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198662144001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:14] 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-19 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789838825000,"timestamp_ms":1789838825000,"timestamp_seconds":1789838825,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab51628"} 
[2026-09-19 23:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-19 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198662144001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198662144001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198662144001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":189867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:02:14] local.INFO: GPS data processed {"connection_id":189867,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:02:14] local.INFO: Acknowledgment sent {"connection_id":189867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:02:17] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:17] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:17] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 23:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:02:22] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:22] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:02:22] local.INFO: IMEI packet received {"connection_id":187146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 23:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":187146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:02:23] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:23] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:23] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:23] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:02: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-19 23:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:02:23] 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-19 23:02: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-19 23:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:02:23] 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-19 23:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:02:23] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:02:23] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:02:38] local.INFO: TCP Data received {"connection_id":189868,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:02:38] local.INFO: Processing buffer {"connection_id":189868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:02:38] local.INFO: IMEI packet received {"connection_id":189868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":189868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:02:45] local.INFO: TCP Data received {"connection_id":189867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:02:45] local.INFO: Processing buffer {"connection_id":189867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:02:45] local.INFO: Packet analysis {"connection_id":189867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:45] local.INFO: Extracted packet for processing {"connection_id":189867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:45] 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-19 23:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":189867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:02:45] local.INFO: GPS data processed {"connection_id":189867,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:02:45] local.INFO: Acknowledgment sent {"connection_id":189867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:02:53] local.INFO: TCP Data received {"connection_id":187146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:53] local.INFO: Processing buffer {"connection_id":187146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:02:53] local.INFO: Packet analysis {"connection_id":187146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:53] local.INFO: Extracted packet for processing {"connection_id":187146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":187146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":187146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":187146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":187146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:02:54] local.INFO: GPS data processed {"connection_id":187146,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:02:54] local.INFO: Acknowledgment sent {"connection_id":187146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:03:08] local.INFO: TCP Data received {"connection_id":189869,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:03:08] local.INFO: Processing buffer {"connection_id":189869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:03:08] local.INFO: IMEI packet received {"connection_id":189869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":189869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:03:13] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:13] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:13] local.INFO: IMEI packet received {"connection_id":187294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":187294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:03:17] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:17] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:17] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 23:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:03:18] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:18] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:03:18] local.INFO: IMEI packet received {"connection_id":187294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":187294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:03:19] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:19] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:19] local.INFO: Packet analysis {"connection_id":187294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:19] local.INFO: Extracted packet for processing {"connection_id":187294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:19] 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-19 23:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23: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-19 23:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:03:19] 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-19 23:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":187294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:03:19] local.INFO: GPS data processed {"connection_id":187294,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:03:19] local.INFO: Acknowledgment sent {"connection_id":187294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:03:22] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:22] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:03:22] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 23:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:03:23] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:23] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:23] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:23] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:03: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-19 23:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:03:23] 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-19 23:03: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-19 23:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:23] 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-19 23:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:03:23] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:03:23] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:03:24] local.INFO: TCP Data received {"connection_id":187294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:24] local.INFO: Processing buffer {"connection_id":187294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:03:24] local.INFO: Packet analysis {"connection_id":187294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:24] local.INFO: Extracted packet for processing {"connection_id":187294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:24] 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-19 23:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23: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-19 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":187294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":187294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:03:24] 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-19 23:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":187294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:03:24] local.INFO: GPS data processed {"connection_id":187294,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:03:24] local.INFO: Acknowledgment sent {"connection_id":187294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:03:27] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:27] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:27] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:27] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:27] 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-19 23:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:03:27] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:03:27] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:03:58] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:58] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:03:58] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:58] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:03:58] 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-19 23:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:03:58] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:03:58] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:04:08] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:08] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:08] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:04:13] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:13] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:04:13] local.INFO: IMEI packet received {"connection_id":187148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":187148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:04:14] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:14] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:14] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:14] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:14] 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-19 23:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:04:14] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:04:14] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:04:17] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:17] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:17] local.INFO: IMEI packet received {"connection_id":189870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-19 23:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":189870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:04:22] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:22] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-19 23:04:22] local.INFO: IMEI packet received {"connection_id":189870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-19 23:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":189870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:04:23] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:04:23] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab94090012d196540071fefa8003e006127..."} 
[2026-09-19 23:04:23] local.INFO: Packet analysis {"connection_id":189870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:23] local.INFO: Extracted packet for processing {"connection_id":189870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533480,"longitude_deg":75.663904,"latitude_deg":11.953348,"altitude":62,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-19 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198732032001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886693778915328,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940723200,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-19 23:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789839098000,"timestamp_ms":1789839098000,"timestamp_seconds":1789839098,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab94090"} 
[2026-09-19 23:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-19 23:04:23] 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-19 23:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-19 23:04:23] 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-19 23:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-19 23:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-19 23:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198732032001,"66":2166,"102":206,"83":41984,"24":0,"16":21886693778915328,"45":1829939222940723200},"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-19 23:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-19 23:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198732032001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-19 23:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886693778915328,"km_value":21886693778915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940723200,"description":"Unknown IO ID 45"} 
[2026-09-19 23:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198732032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940723200}} 
[2026-09-19 23:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":189870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:04:23] local.INFO: GPS data processed {"connection_id":189870,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:04:23] local.INFO: Acknowledgment sent {"connection_id":189870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:04:45] local.INFO: TCP Data received {"connection_id":187148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:45] local.INFO: Processing buffer {"connection_id":187148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:04:45] local.INFO: Packet analysis {"connection_id":187148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:45] local.INFO: Extracted packet for processing {"connection_id":187148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:04:45] 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-19 23:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23: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-19 23:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":187148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:04:45] local.INFO: GPS data processed {"connection_id":187148,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:04:45] local.INFO: Acknowledgment sent {"connection_id":187148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:05:09] local.INFO: TCP Data received {"connection_id":189871,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:09] local.INFO: Processing buffer {"connection_id":189871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:09] local.INFO: IMEI packet received {"connection_id":189871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":189871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:05:13] local.INFO: TCP Data received {"connection_id":189871,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:13] local.INFO: Processing buffer {"connection_id":189871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:05:13] local.INFO: IMEI packet received {"connection_id":189871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":189871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:05:14] local.INFO: TCP Data received {"connection_id":189871,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:14] local.INFO: Processing buffer {"connection_id":189871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:14] local.INFO: Packet analysis {"connection_id":189871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:05:14] local.INFO: Extracted packet for processing {"connection_id":189871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:14] 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-19 23:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:05:14] 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-19 23:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":189871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:05:14] local.INFO: GPS data processed {"connection_id":189871,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:05:14] local.INFO: Acknowledgment sent {"connection_id":189871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:05:45] local.INFO: TCP Data received {"connection_id":189871,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:45] local.INFO: Processing buffer {"connection_id":189871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:05:45] local.INFO: Packet analysis {"connection_id":189871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:05:45] local.INFO: Extracted packet for processing {"connection_id":189871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:05:45] 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-19 23:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":189871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:05:45] local.INFO: GPS data processed {"connection_id":189871,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:05:45] local.INFO: Acknowledgment sent {"connection_id":189871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:06:09] local.INFO: TCP Data received {"connection_id":189873,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:09] local.INFO: Processing buffer {"connection_id":189873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:09] local.INFO: IMEI packet received {"connection_id":189873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":189873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:06:13] local.INFO: TCP Data received {"connection_id":189873,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:13] local.INFO: Processing buffer {"connection_id":189873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:06:13] local.INFO: IMEI packet received {"connection_id":189873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":189873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:06:14] local.INFO: TCP Data received {"connection_id":189873,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:14] local.INFO: Processing buffer {"connection_id":189873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:14] local.INFO: Packet analysis {"connection_id":189873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:06:14] local.INFO: Extracted packet for processing {"connection_id":189873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:14] 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-19 23:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":189873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:06:14] local.INFO: GPS data processed {"connection_id":189873,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:06:14] local.INFO: Acknowledgment sent {"connection_id":189873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:06:46] local.INFO: TCP Data received {"connection_id":189873,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:46] local.INFO: Processing buffer {"connection_id":189873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:06:46] local.INFO: Packet analysis {"connection_id":189873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:06:46] local.INFO: Extracted packet for processing {"connection_id":189873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:06:46] 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-19 23:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":189873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:06:46] local.INFO: GPS data processed {"connection_id":189873,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:06:46] local.INFO: Acknowledgment sent {"connection_id":189873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:07:08] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:08] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:08] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:07:13] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:13] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:07:13] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:07:14] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:14] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:14] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:07:14] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:14] 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-19 23:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:07:14] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:07:14] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:07:45] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:45] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bab9adf0012d34c14006aa41400008010e29..."} 
[2026-09-19 23:07:45] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:07:45] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bab9"} 
[2026-09-19 23:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198739200001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:07:45] 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-19 23:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839126000,"timestamp_ms":1789839126000,"timestamp_seconds":1789839126,"priority":1,"record_length":96,"hex_timestamp":"000001a0bab9adf0"} 
[2026-09-19 23:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198739200001,"66":25604,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198739200001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198739200001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:07:45] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:07:45] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:08:08] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:08] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:08] local.INFO: IMEI packet received {"connection_id":187296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":187296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:08:13] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:13] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:08:13] local.INFO: IMEI packet received {"connection_id":187296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":187296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:08:14] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:14] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:14] local.INFO: Packet analysis {"connection_id":187296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:08:14] local.INFO: Extracted packet for processing {"connection_id":187296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:14] 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-19 23:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":187296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:08:14] local.INFO: GPS data processed {"connection_id":187296,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:08:14] local.INFO: Acknowledgment sent {"connection_id":187296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:08:45] local.INFO: TCP Data received {"connection_id":187296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:45] local.INFO: Processing buffer {"connection_id":187296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:08:45] local.INFO: Packet analysis {"connection_id":187296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:08:45] local.INFO: Extracted packet for processing {"connection_id":187296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:08:45] 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-19 23:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:08:45] 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-19 23:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":187296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:08:45] local.INFO: GPS data processed {"connection_id":187296,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:08:45] local.INFO: Acknowledgment sent {"connection_id":187296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:08:46] local.INFO: TCP Data received {"connection_id":187295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:08:46] local.INFO: Processing buffer {"connection_id":187295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:08:46] local.INFO: IMEI packet received {"connection_id":187295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":187295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:09:08] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:08] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:08] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:09:08] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:09:08] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:09:08] local.INFO: IMEI packet received {"connection_id":188581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:09:13] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:13] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:09:13] local.INFO: IMEI packet received {"connection_id":187150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":187150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:09:14] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:14] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:14] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:09:14] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:14] 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-19 23:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:09:14] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:09:14] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:09:45] local.INFO: TCP Data received {"connection_id":187150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:45] local.INFO: Processing buffer {"connection_id":187150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:09:45] local.INFO: Packet analysis {"connection_id":187150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:09:45] local.INFO: Extracted packet for processing {"connection_id":187150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:09:45] 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-19 23:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:09:45] 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-19 23: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-19 23: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-19 23:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":187150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:09:45] local.INFO: GPS data processed {"connection_id":187150,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:09:45] local.INFO: Acknowledgment sent {"connection_id":187150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:10:13] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:13] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:13] local.INFO: IMEI packet received {"connection_id":189874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":189874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:10:18] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:18] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:10:18] local.INFO: IMEI packet received {"connection_id":189874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":189874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:10:19] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:19] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:19] local.INFO: Packet analysis {"connection_id":189874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:10:19] local.INFO: Extracted packet for processing {"connection_id":189874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:19] 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-19 23:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":189874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:10:19] local.INFO: GPS data processed {"connection_id":189874,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:10:19] local.INFO: Acknowledgment sent {"connection_id":189874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:10:24] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:24] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:10:24] local.INFO: Packet analysis {"connection_id":189874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:10:24] local.INFO: Extracted packet for processing {"connection_id":189874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:10:24] 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-19 23:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:10:24] 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-19 23: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-19 23: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-19 23:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":189874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:10:24] local.INFO: GPS data processed {"connection_id":189874,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:10:24] local.INFO: Acknowledgment sent {"connection_id":189874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:11:08] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:08] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:08] local.INFO: IMEI packet received {"connection_id":187298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":187298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:11:13] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:13] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:11:13] local.INFO: IMEI packet received {"connection_id":187298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":187298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:11:14] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:14] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:14] local.INFO: Packet analysis {"connection_id":187298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:11:14] local.INFO: Extracted packet for processing {"connection_id":187298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:14] 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-19 23:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:11: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-19 23:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":187298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:11:14] local.INFO: GPS data processed {"connection_id":187298,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:11:14] local.INFO: Acknowledgment sent {"connection_id":187298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:11:46] local.INFO: TCP Data received {"connection_id":187298,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:46] local.INFO: Processing buffer {"connection_id":187298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:11:46] local.INFO: Packet analysis {"connection_id":187298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:11:46] local.INFO: Extracted packet for processing {"connection_id":187298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:11:46] 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-19 23:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:11: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-19 23: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-19 23: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-19 23:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:11: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-19 23:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":187298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:11:46] local.INFO: GPS data processed {"connection_id":187298,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:11:46] local.INFO: Acknowledgment sent {"connection_id":187298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:12:08] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:08] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:08] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:12:13] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:13] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:12:13] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:12:14] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:14] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:14] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:12:14] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:14] 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-19 23:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:12:14] 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-19 23:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:12:14] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:12:14] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:12:46] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:46] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0babe45b8012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:12:46] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:12:46] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0babe"} 
[2026-09-19 23:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198816256001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:12:46] 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-19 23:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789839427000,"timestamp_ms":1789839427000,"timestamp_seconds":1789839427,"priority":1,"record_length":96,"hex_timestamp":"000001a0babe45b8"} 
[2026-09-19 23: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-19 23:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-19 23:12: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-19 23: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-19 23: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-19 23:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:12:46] 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-19 23:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198816256001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198816256001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198816256001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:12:46] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:12:46] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:13:08] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:08] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:08] local.INFO: IMEI packet received {"connection_id":187300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":187300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:13:13] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:13] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:13:13] local.INFO: IMEI packet received {"connection_id":187300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":187300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:13:14] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:14] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:14] local.INFO: Packet analysis {"connection_id":187300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:13:14] local.INFO: Extracted packet for processing {"connection_id":187300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13:14] 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-19 23:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":187300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:13:14] local.INFO: GPS data processed {"connection_id":187300,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:13:14] local.INFO: Acknowledgment sent {"connection_id":187300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:13:47] local.INFO: TCP Data received {"connection_id":187300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:47] local.INFO: Processing buffer {"connection_id":187300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:13:47] local.INFO: Packet analysis {"connection_id":187300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:13:47] local.INFO: Extracted packet for processing {"connection_id":187300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:13: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-19 23:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23: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-19 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":187300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":187300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":187300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:13: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-19 23:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":187300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:13:47] local.INFO: GPS data processed {"connection_id":187300,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:13:47] local.INFO: Acknowledgment sent {"connection_id":187300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:14:08] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:08] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:08] local.INFO: IMEI packet received {"connection_id":189876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":189876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:14:13] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:13] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:14:13] local.INFO: IMEI packet received {"connection_id":189876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":189876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:14:14] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:14] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:14] local.INFO: Packet analysis {"connection_id":189876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:14:14] local.INFO: Extracted packet for processing {"connection_id":189876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:14] 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-19 23:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":189876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:14:14] local.INFO: GPS data processed {"connection_id":189876,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:14:14] local.INFO: Acknowledgment sent {"connection_id":189876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:14:45] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:45] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:14:45] local.INFO: Packet analysis {"connection_id":189876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:14:45] local.INFO: Extracted packet for processing {"connection_id":189876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:14:45] 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-19 23:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":189876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:14:45] local.INFO: GPS data processed {"connection_id":189876,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:14:45] local.INFO: Acknowledgment sent {"connection_id":189876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:15:13] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:13] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:13] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:15:18] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:18] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:15:18] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:15:19] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:19] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:19] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:15:19] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:19] 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-19 23:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23: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-19 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:15:19] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:15:19] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:15:40] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:15:40] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:15:40] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:15:51] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:51] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:15:51] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:15:51] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:15:51] 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-19 23:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23: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-19 23:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:15: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-19 23:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:15:51] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:15:51] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:16:08] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:16:08] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:16:08] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:16:08] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:08] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:08] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:16:13] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:13] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:16:13] local.INFO: IMEI packet received {"connection_id":187153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":187153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:16:14] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:14] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:14] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:16:14] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:14] 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-19 23:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23: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-19 23:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:16:14] 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-19 23:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:16:14] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:16:14] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:16:45] local.INFO: TCP Data received {"connection_id":187153,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:45] local.INFO: Processing buffer {"connection_id":187153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:16:45] local.INFO: Packet analysis {"connection_id":187153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:16:45] local.INFO: Extracted packet for processing {"connection_id":187153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:16:45] 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-19 23:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:16:45] 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-19 23:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":187153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:16:45] local.INFO: GPS data processed {"connection_id":187153,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:16:45] local.INFO: Acknowledgment sent {"connection_id":187153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:17:08] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:08] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:08] local.INFO: IMEI packet received {"connection_id":189877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":189877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:17:13] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:13] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:17:13] local.INFO: IMEI packet received {"connection_id":189877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":189877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:17:14] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:14] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:14] local.INFO: Packet analysis {"connection_id":189877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:17:14] local.INFO: Extracted packet for processing {"connection_id":189877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:14] 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-19 23:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:17: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-19 23:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":189877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:17:14] local.INFO: GPS data processed {"connection_id":189877,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:17:14] local.INFO: Acknowledgment sent {"connection_id":189877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:17:45] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:45] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac2dd80012d34c14006aa41400008010e2a..."} 
[2026-09-19 23:17:45] local.INFO: Packet analysis {"connection_id":189877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:17:45] local.INFO: Extracted packet for processing {"connection_id":189877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac2"} 
[2026-09-19 23:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198893312001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:17:45] 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-19 23:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789839728000,"timestamp_ms":1789839728000,"timestamp_seconds":1789839728,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac2dd80"} 
[2026-09-19 23:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-19 23:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:17:45] 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-19 23:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198893312001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198893312001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198893312001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":189877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:17:45] local.INFO: GPS data processed {"connection_id":189877,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:17:45] local.INFO: Acknowledgment sent {"connection_id":189877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:18:08] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:08] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:08] local.INFO: IMEI packet received {"connection_id":188586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:18:13] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:13] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:18:13] local.INFO: IMEI packet received {"connection_id":188586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:18:14] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:14] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:14] local.INFO: Packet analysis {"connection_id":188586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:18:14] local.INFO: Extracted packet for processing {"connection_id":188586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:14] 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-19 23:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":188586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:18:14] local.INFO: GPS data processed {"connection_id":188586,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:18:14] local.INFO: Acknowledgment sent {"connection_id":188586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:18:46] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:46] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:18:46] local.INFO: Packet analysis {"connection_id":188586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:18:46] local.INFO: Extracted packet for processing {"connection_id":188586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:18:46] 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-19 23:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":188586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:18:46] local.INFO: GPS data processed {"connection_id":188586,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:18:46] local.INFO: Acknowledgment sent {"connection_id":188586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:19:13] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:13] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:13] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:19:18] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:18] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:19:18] local.INFO: IMEI packet received {"connection_id":187155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":187155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:19:19] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:19] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:19] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:19:19] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:19] 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-19 23:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:19:19] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:19:19] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:19:23] local.INFO: TCP Data received {"connection_id":187155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:23] local.INFO: Processing buffer {"connection_id":187155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:19:23] local.INFO: Packet analysis {"connection_id":187155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:19:23] local.INFO: Extracted packet for processing {"connection_id":187155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:19: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-19 23:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:19:23] 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-19 23:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:19: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-19 23:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:19:23] 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-19 23:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":187155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:19:24] local.INFO: GPS data processed {"connection_id":187155,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:19:24] local.INFO: Acknowledgment sent {"connection_id":187155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:20:08] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:08] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:08] local.INFO: IMEI packet received {"connection_id":187301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":187301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:20:13] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:13] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:20:13] local.INFO: IMEI packet received {"connection_id":187301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":187301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:20:14] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:14] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:14] local.INFO: Packet analysis {"connection_id":187301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:20:14] local.INFO: Extracted packet for processing {"connection_id":187301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:14] 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-19 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23: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-19 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":187301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:20:14] local.INFO: GPS data processed {"connection_id":187301,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:20:14] local.INFO: Acknowledgment sent {"connection_id":187301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:20:46] local.INFO: TCP Data received {"connection_id":187301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:46] local.INFO: Processing buffer {"connection_id":187301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:20:46] local.INFO: Packet analysis {"connection_id":187301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:20:46] local.INFO: Extracted packet for processing {"connection_id":187301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:20:46] 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-19 23:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23: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-19 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":187301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:20:46] local.INFO: GPS data processed {"connection_id":187301,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:20:46] local.INFO: Acknowledgment sent {"connection_id":187301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:21:08] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:08] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:08] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:21:13] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:13] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:21:13] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:21:14] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:14] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:14] local.INFO: Packet analysis {"connection_id":188587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:21:14] local.INFO: Extracted packet for processing {"connection_id":188587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:14] 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-19 23:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23: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-19 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":188587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:21:14] local.INFO: GPS data processed {"connection_id":188587,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:21:14] local.INFO: Acknowledgment sent {"connection_id":188587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:21:19] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:21:19] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:21:19] local.INFO: IMEI packet received {"connection_id":188588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":188588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:21:45] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:45] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:21:45] local.INFO: Packet analysis {"connection_id":188587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:21:45] local.INFO: Extracted packet for processing {"connection_id":188587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:21:45] 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-19 23:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":188587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:21:45] local.INFO: GPS data processed {"connection_id":188587,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:21:45] local.INFO: Acknowledgment sent {"connection_id":188587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:22:08] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:08] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:08] local.INFO: IMEI packet received {"connection_id":189880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":189880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:22:13] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:13] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:22:13] local.INFO: IMEI packet received {"connection_id":189880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":189880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:22:14] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:14] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:14] local.INFO: Packet analysis {"connection_id":189880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:22:14] local.INFO: Extracted packet for processing {"connection_id":189880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:14] 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-19 23:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23: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-19 23:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":189880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:22:14] local.INFO: GPS data processed {"connection_id":189880,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:22:14] local.INFO: Acknowledgment sent {"connection_id":189880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:22:46] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:46] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bac77548012d34c14006aa41400008010e2b..."} 
[2026-09-19 23:22:46] local.INFO: Packet analysis {"connection_id":189880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:22:46] local.INFO: Extracted packet for processing {"connection_id":189880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bac7"} 
[2026-09-19 23:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458198970368001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:22:46] 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-19 23:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840029000,"timestamp_ms":1789840029000,"timestamp_seconds":1789840029,"priority":1,"record_length":96,"hex_timestamp":"000001a0bac77548"} 
[2026-09-19 23:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458198970368001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458198970368001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458198970368001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":189880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:22:46] local.INFO: GPS data processed {"connection_id":189880,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:22:46] local.INFO: Acknowledgment sent {"connection_id":189880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:23:08] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:08] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:08] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:23:13] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:13] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:23:13] local.INFO: IMEI packet received {"connection_id":187157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":187157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:23:14] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:14] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:14] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:23:14] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:14] 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-19 23:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:23:14] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:23:14] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:23:45] local.INFO: TCP Data received {"connection_id":187157,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:45] local.INFO: Processing buffer {"connection_id":187157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:23:45] local.INFO: Packet analysis {"connection_id":187157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:23:45] local.INFO: Extracted packet for processing {"connection_id":187157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:23:45] 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-19 23:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":187157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:23:45] local.INFO: GPS data processed {"connection_id":187157,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:23:45] local.INFO: Acknowledgment sent {"connection_id":187157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:24:08] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:08] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:08] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:24:13] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:13] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:24:13] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:24:14] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:14] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:14] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:24:14] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 23:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:14] 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-19 23:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 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-19 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 23:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:24:14] 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-19 23:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:24:14] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:24:14] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:24:46] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:46] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:24:46] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:24:46] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:24:46] 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-19 23:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:24:46] 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-19 23:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:24:46] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:24:46] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:25:13] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:13] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:13] local.INFO: IMEI packet received {"connection_id":189882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":189882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:25:18] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:18] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:25:18] local.INFO: IMEI packet received {"connection_id":189882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":189882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:25:19] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:19] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:19] local.INFO: Packet analysis {"connection_id":189882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:25:19] local.INFO: Extracted packet for processing {"connection_id":189882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:19] 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-19 23:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":189882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:25:19] local.INFO: GPS data processed {"connection_id":189882,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:25:19] local.INFO: Acknowledgment sent {"connection_id":189882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:25:50] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:50] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:25:50] local.INFO: Packet analysis {"connection_id":189882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:25:50] local.INFO: Extracted packet for processing {"connection_id":189882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:25: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-19 23:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:25:50] 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-19 23:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:25: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-19 23:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":189882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":189882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:25:50] local.INFO: GPS data processed {"connection_id":189882,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:25:50] local.INFO: Acknowledgment sent {"connection_id":189882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:26:08] local.INFO: TCP Data received {"connection_id":189884,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:08] local.INFO: Processing buffer {"connection_id":189884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:08] local.INFO: IMEI packet received {"connection_id":189884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":189884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:26:13] local.INFO: TCP Data received {"connection_id":189884,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:13] local.INFO: Processing buffer {"connection_id":189884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:26:13] local.INFO: IMEI packet received {"connection_id":189884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":189884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:26:14] local.INFO: TCP Data received {"connection_id":189884,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:14] local.INFO: Processing buffer {"connection_id":189884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:14] local.INFO: Packet analysis {"connection_id":189884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:26:14] local.INFO: Extracted packet for processing {"connection_id":189884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:14] 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-19 23:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":189884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:26:14] local.INFO: GPS data processed {"connection_id":189884,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:26:14] local.INFO: Acknowledgment sent {"connection_id":189884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:26:45] local.INFO: TCP Data received {"connection_id":189884,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:45] local.INFO: Processing buffer {"connection_id":189884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:26:45] local.INFO: Packet analysis {"connection_id":189884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:26:45] local.INFO: Extracted packet for processing {"connection_id":189884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:26:45] 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-19 23:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":189884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:26:45] local.INFO: GPS data processed {"connection_id":189884,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:26:45] local.INFO: Acknowledgment sent {"connection_id":189884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:26:54] local.INFO: TCP Data received {"connection_id":189883,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:26:54] local.INFO: Processing buffer {"connection_id":189883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:26:54] local.INFO: IMEI packet received {"connection_id":189883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":189883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:27:08] local.INFO: TCP Data received {"connection_id":187303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:08] local.INFO: Processing buffer {"connection_id":187303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:08] local.INFO: IMEI packet received {"connection_id":187303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":187303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:27:08] local.INFO: TCP Data received {"connection_id":188591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:27:08] local.INFO: Processing buffer {"connection_id":188591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:27:08] local.INFO: IMEI packet received {"connection_id":188591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:27:13] local.INFO: TCP Data received {"connection_id":187303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:13] local.INFO: Processing buffer {"connection_id":187303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:27:13] local.INFO: IMEI packet received {"connection_id":187303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":187303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:27:14] local.INFO: TCP Data received {"connection_id":187303,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:14] local.INFO: Processing buffer {"connection_id":187303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:14] local.INFO: Packet analysis {"connection_id":187303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:27:14] local.INFO: Extracted packet for processing {"connection_id":187303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:14] 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-19 23:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 23:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":187303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:27:14] local.INFO: GPS data processed {"connection_id":187303,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:27:14] local.INFO: Acknowledgment sent {"connection_id":187303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:27:46] local.INFO: TCP Data received {"connection_id":187303,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:46] local.INFO: Processing buffer {"connection_id":187303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bacc0d10012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:27:46] local.INFO: Packet analysis {"connection_id":187303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:27:46] local.INFO: Extracted packet for processing {"connection_id":187303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bacc"} 
[2026-09-19 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 23:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199047424001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:27:46] 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-19 23:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840330000,"timestamp_ms":1789840330000,"timestamp_seconds":1789840330,"priority":1,"record_length":96,"hex_timestamp":"000001a0bacc0d10"} 
[2026-09-19 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-19 23:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-19 23:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 23:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199047424001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199047424001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199047424001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":187303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:27:46] local.INFO: GPS data processed {"connection_id":187303,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:27:46] local.INFO: Acknowledgment sent {"connection_id":187303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:28:08] local.INFO: TCP Data received {"connection_id":189885,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:08] local.INFO: Processing buffer {"connection_id":189885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:08] local.INFO: IMEI packet received {"connection_id":189885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":189885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:28:13] local.INFO: TCP Data received {"connection_id":189885,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:13] local.INFO: Processing buffer {"connection_id":189885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:28:13] local.INFO: IMEI packet received {"connection_id":189885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":189885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:28:14] local.INFO: TCP Data received {"connection_id":189885,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:14] local.INFO: Processing buffer {"connection_id":189885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:14] local.INFO: Packet analysis {"connection_id":189885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:28:14] local.INFO: Extracted packet for processing {"connection_id":189885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:14] 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-19 23:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":189885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:28:14] local.INFO: GPS data processed {"connection_id":189885,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:28:14] local.INFO: Acknowledgment sent {"connection_id":189885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:28:46] local.INFO: TCP Data received {"connection_id":189885,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:46] local.INFO: Processing buffer {"connection_id":189885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:28:46] local.INFO: Packet analysis {"connection_id":189885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:28:46] local.INFO: Extracted packet for processing {"connection_id":189885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:28:46] 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-19 23:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":189885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:28:46] local.INFO: GPS data processed {"connection_id":189885,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:28:46] local.INFO: Acknowledgment sent {"connection_id":189885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:29:13] local.INFO: TCP Data received {"connection_id":189887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:13] local.INFO: Processing buffer {"connection_id":189887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:13] local.INFO: IMEI packet received {"connection_id":189887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":189887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:29:18] local.INFO: TCP Data received {"connection_id":189887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:18] local.INFO: Processing buffer {"connection_id":189887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:29:18] local.INFO: IMEI packet received {"connection_id":189887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":189887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:29:19] local.INFO: TCP Data received {"connection_id":189887,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:19] local.INFO: Processing buffer {"connection_id":189887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:19] local.INFO: Packet analysis {"connection_id":189887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:29:19] local.INFO: Extracted packet for processing {"connection_id":189887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:19] 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-19 23:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":189887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:29:19] local.INFO: GPS data processed {"connection_id":189887,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:29:19] local.INFO: Acknowledgment sent {"connection_id":189887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:29:24] local.INFO: TCP Data received {"connection_id":189887,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:24] local.INFO: Processing buffer {"connection_id":189887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:29:24] local.INFO: Packet analysis {"connection_id":189887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:29:24] local.INFO: Extracted packet for processing {"connection_id":189887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:29:24] 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-19 23:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":189887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:29:24] local.INFO: GPS data processed {"connection_id":189887,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:29:24] local.INFO: Acknowledgment sent {"connection_id":189887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:30:08] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:08] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:08] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:30:13] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:13] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:30:13] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:30:14] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:14] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:14] local.INFO: Packet analysis {"connection_id":188592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:30:14] local.INFO: Extracted packet for processing {"connection_id":188592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:14] 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-19 23:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":188592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:30:14] local.INFO: GPS data processed {"connection_id":188592,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:30:14] local.INFO: Acknowledgment sent {"connection_id":188592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:30:45] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:45] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:30:45] local.INFO: Packet analysis {"connection_id":188592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:30:45] local.INFO: Extracted packet for processing {"connection_id":188592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:30:45] 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-19 23:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23: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-19 23:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":188592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:30:45] local.INFO: GPS data processed {"connection_id":188592,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:30:45] local.INFO: Acknowledgment sent {"connection_id":188592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:31:08] local.INFO: TCP Data received {"connection_id":187306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:08] local.INFO: Processing buffer {"connection_id":187306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:08] local.INFO: IMEI packet received {"connection_id":187306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":187306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:31:13] local.INFO: TCP Data received {"connection_id":187306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:13] local.INFO: Processing buffer {"connection_id":187306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:31:13] local.INFO: IMEI packet received {"connection_id":187306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":187306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:31:14] local.INFO: TCP Data received {"connection_id":187306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:14] local.INFO: Processing buffer {"connection_id":187306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:14] local.INFO: Packet analysis {"connection_id":187306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:31:14] local.INFO: Extracted packet for processing {"connection_id":187306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:14] 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-19 23:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":187306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:31:14] local.INFO: GPS data processed {"connection_id":187306,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:31:14] local.INFO: Acknowledgment sent {"connection_id":187306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:31:45] local.INFO: TCP Data received {"connection_id":187306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:45] local.INFO: Processing buffer {"connection_id":187306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:31:45] local.INFO: Packet analysis {"connection_id":187306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:31:45] local.INFO: Extracted packet for processing {"connection_id":187306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:31:45] 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-19 23:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:31:45] 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-19 23:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":187306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:31:45] local.INFO: GPS data processed {"connection_id":187306,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:31:45] local.INFO: Acknowledgment sent {"connection_id":187306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:32:08] local.INFO: TCP Data received {"connection_id":189888,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:08] local.INFO: Processing buffer {"connection_id":189888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:08] local.INFO: IMEI packet received {"connection_id":189888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":189888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:32:13] local.INFO: TCP Data received {"connection_id":189888,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:13] local.INFO: Processing buffer {"connection_id":189888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:32:13] local.INFO: IMEI packet received {"connection_id":189888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":189888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:32:14] local.INFO: TCP Data received {"connection_id":189888,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:14] local.INFO: Processing buffer {"connection_id":189888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:14] local.INFO: Packet analysis {"connection_id":189888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:32:14] local.INFO: Extracted packet for processing {"connection_id":189888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:14] 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-19 23:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23: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-19 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":189888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:32:14] local.INFO: GPS data processed {"connection_id":189888,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:32:14] local.INFO: Acknowledgment sent {"connection_id":189888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:32:45] local.INFO: TCP Data received {"connection_id":189888,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:45] local.INFO: Processing buffer {"connection_id":189888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad0a4d8012d34c14006aa41400008010e2d..."} 
[2026-09-19 23:32:45] local.INFO: Packet analysis {"connection_id":189888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:32:45] local.INFO: Extracted packet for processing {"connection_id":189888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad0"} 
[2026-09-19 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199124480001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:32:45] 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-19 23:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840631000,"timestamp_ms":1789840631000,"timestamp_seconds":1789840631,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad0a4d8"} 
[2026-09-19 23:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:32:45] 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-19 23:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199124480001,"66":25560,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199124480001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199124480001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:32:45] local.INFO: TCP Data received {"connection_id":187160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:32:45] local.INFO: Processing buffer {"connection_id":187160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:32:45] local.INFO: IMEI packet received {"connection_id":187160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":187160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":189888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:32:45] local.INFO: GPS data processed {"connection_id":189888,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:32:45] local.INFO: Acknowledgment sent {"connection_id":189888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:33:08] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:08] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:08] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:33:08] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:33:08] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:33:08] local.INFO: IMEI packet received {"connection_id":188594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:33:13] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:13] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:33:13] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:33:14] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:14] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:14] local.INFO: Packet analysis {"connection_id":188593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:33:14] local.INFO: Extracted packet for processing {"connection_id":188593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:14] 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-19 23:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23: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-19 23:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":188593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:33:14] local.INFO: GPS data processed {"connection_id":188593,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:33:14] local.INFO: Acknowledgment sent {"connection_id":188593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:33:46] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:46] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:33:46] local.INFO: Packet analysis {"connection_id":188593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:33:46] local.INFO: Extracted packet for processing {"connection_id":188593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:33:46] 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-19 23:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23: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-19 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":188593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:33:46] local.INFO: GPS data processed {"connection_id":188593,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:33:46] local.INFO: Acknowledgment sent {"connection_id":188593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:34:13] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:13] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:13] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:34:18] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:18] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:34:18] local.INFO: IMEI packet received {"connection_id":187161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":187161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:34:19] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:19] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:19] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:34:19] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:19] 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-19 23:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:34:19] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:34:19] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:34:23] local.INFO: TCP Data received {"connection_id":187161,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:23] local.INFO: Processing buffer {"connection_id":187161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:34:23] local.INFO: Packet analysis {"connection_id":187161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:34:23] local.INFO: Extracted packet for processing {"connection_id":187161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:34:23] 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-19 23:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:34:23] 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-19 23:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":187161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:34:24] local.INFO: GPS data processed {"connection_id":187161,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:34:24] local.INFO: Acknowledgment sent {"connection_id":187161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:35:08] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:08] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:08] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:35:13] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:13] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:35:13] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:35:14] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:14] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:14] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:14] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:14] 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-19 23:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:35:14] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:35:14] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:35:19] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:19] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:19] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:19] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:19] 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-19 23:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:35:19] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:35:19] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:35:51] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:51] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:35:51] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:51] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:35:51] 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-19 23:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:35:51] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:35:51] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:36:08] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:08] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:08] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:36:13] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:13] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:36:13] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:36:14] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:14] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:14] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:36:14] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:14] 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-19 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:36:14] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:36:14] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:36:46] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:46] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:36:46] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:36:46] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:36:46] 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-19 23:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:36:46] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:36:46] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:37:08] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:08] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:08] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:37:13] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:13] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:37:13] local.INFO: IMEI packet received {"connection_id":187307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":187307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:37:14] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:14] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:14] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:37:14] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:14] 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-19 23:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:37:14] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:37:14] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:37:45] local.INFO: TCP Data received {"connection_id":187307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:45] local.INFO: Processing buffer {"connection_id":187307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad53ca0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:37:45] local.INFO: Packet analysis {"connection_id":187307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:37:45] local.INFO: Extracted packet for processing {"connection_id":187307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad5"} 
[2026-09-19 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199201536001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:37:45] 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-19 23:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789840932000,"timestamp_ms":1789840932000,"timestamp_seconds":1789840932,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad53ca0"} 
[2026-09-19 23: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-19 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-19 23:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:37:45] 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-19 23:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199201536001,"66":25549,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199201536001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199201536001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":187307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:37:45] local.INFO: GPS data processed {"connection_id":187307,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:37:45] local.INFO: Acknowledgment sent {"connection_id":187307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:38:08] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:08] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:08] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:38:13] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:13] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:38:13] local.INFO: IMEI packet received {"connection_id":187163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":187163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:38:14] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:14] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:14] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:38:14] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:14] 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-19 23:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23: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-19 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:38:14] 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-19 23: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-19 23: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-19 23:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:38:14] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:38:14] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:38:18] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:38:18] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:38:18] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:38:45] local.INFO: TCP Data received {"connection_id":187163,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:45] local.INFO: Processing buffer {"connection_id":187163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:38:45] local.INFO: Packet analysis {"connection_id":187163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:38:45] local.INFO: Extracted packet for processing {"connection_id":187163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:38:45] 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-19 23:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:38:45] 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-19 23:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":187163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:38:45] local.INFO: GPS data processed {"connection_id":187163,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:38:45] local.INFO: Acknowledgment sent {"connection_id":187163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:39:08] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:08] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:08] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:39:13] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:13] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:39:13] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:39:14] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:14] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:14] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:39:14] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:14] 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-19 23:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:39:14] 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-19 23:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:39:14] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:39:14] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:39:45] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:45] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:39:45] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:39:45] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:39:45] 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-19 23:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:39:45] 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-19 23:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:39:45] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:39:45] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:40:08] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:08] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:08] local.INFO: IMEI packet received {"connection_id":189892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":189892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:40:13] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:13] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:40:13] local.INFO: IMEI packet received {"connection_id":189892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":189892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:40:14] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:14] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:14] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:40:14] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:14] 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-19 23:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:40:14] 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-19 23:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:40:14] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:40:14] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:40:46] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:46] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:40:46] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:40:46] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:40:46] 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-19 23:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:40:46] 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-19 23:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:40:46] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:40:46] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:40:47] local.INFO: TCP Data received {"connection_id":187164,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:40:47] local.INFO: Processing buffer {"connection_id":187164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:40:47] local.INFO: IMEI packet received {"connection_id":187164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":187164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:41:13] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:13] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:13] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:41:18] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:18] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:41:18] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:41:19] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:19] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:19] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:41:19] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:19] 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-19 23:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:41:19] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:41:19] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:41:23] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:23] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:41:23] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:41:23] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:41:23] 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-19 23:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:41:23] 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-19 23:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:41:23] 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-19 23:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:41:23] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:41:23] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:42:08] local.INFO: TCP Data received {"connection_id":189893,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:08] local.INFO: Processing buffer {"connection_id":189893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:08] local.INFO: IMEI packet received {"connection_id":189893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":189893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:42:13] local.INFO: TCP Data received {"connection_id":189893,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:13] local.INFO: Processing buffer {"connection_id":189893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:42:13] local.INFO: IMEI packet received {"connection_id":189893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":189893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:42:14] local.INFO: TCP Data received {"connection_id":189893,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:14] local.INFO: Processing buffer {"connection_id":189893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:14] local.INFO: Packet analysis {"connection_id":189893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:42:14] local.INFO: Extracted packet for processing {"connection_id":189893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:14] 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-19 23:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:42:14] 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-19 23:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":189893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:42:14] local.INFO: GPS data processed {"connection_id":189893,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:42:14] local.INFO: Acknowledgment sent {"connection_id":189893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:42:45] local.INFO: TCP Data received {"connection_id":189893,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:45] local.INFO: Processing buffer {"connection_id":189893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bad9d468012d34c14006aa41400008010e30..."} 
[2026-09-19 23:42:45] local.INFO: Packet analysis {"connection_id":189893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:42:45] local.INFO: Extracted packet for processing {"connection_id":189893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bad9"} 
[2026-09-19 23:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199278592001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:42:45] 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-19 23:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841233000,"timestamp_ms":1789841233000,"timestamp_seconds":1789841233,"priority":1,"record_length":96,"hex_timestamp":"000001a0bad9d468"} 
[2026-09-19 23:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-19 23:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:42:45] 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-19 23:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199278592001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199278592001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199278592001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":189893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:42:45] local.INFO: GPS data processed {"connection_id":189893,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:42:45] local.INFO: Acknowledgment sent {"connection_id":189893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:43:08] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:08] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:08] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:43:13] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:13] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:43:13] local.INFO: IMEI packet received {"connection_id":187165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":187165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:43:14] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:14] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:14] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:43:14] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:14] 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-19 23:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:43:14] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:43:14] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:43:45] local.INFO: TCP Data received {"connection_id":187165,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:45] local.INFO: Processing buffer {"connection_id":187165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:43:45] local.INFO: Packet analysis {"connection_id":187165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:43:45] local.INFO: Extracted packet for processing {"connection_id":187165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:43:45] 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-19 23:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:43:45] 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-19 23:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":187165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:43:45] local.INFO: GPS data processed {"connection_id":187165,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:43:45] local.INFO: Acknowledgment sent {"connection_id":187165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:44:08] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:08] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:08] local.INFO: IMEI packet received {"connection_id":187167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":187167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:44:13] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:13] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:44:13] local.INFO: IMEI packet received {"connection_id":187167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":187167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:44:14] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:14] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:14] local.INFO: Packet analysis {"connection_id":187167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:44:14] local.INFO: Extracted packet for processing {"connection_id":187167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:14] 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-19 23:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":187167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:44:14] local.INFO: GPS data processed {"connection_id":187167,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:44:14] local.INFO: Acknowledgment sent {"connection_id":187167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:44:46] local.INFO: TCP Data received {"connection_id":187167,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:46] local.INFO: Processing buffer {"connection_id":187167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:44:46] local.INFO: Packet analysis {"connection_id":187167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:44:46] local.INFO: Extracted packet for processing {"connection_id":187167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 23:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:44:46] 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-19 23:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 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-19 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 23:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":187167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:44:46] local.INFO: GPS data processed {"connection_id":187167,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:44:46] local.INFO: Acknowledgment sent {"connection_id":187167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:45:07] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:07] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:07] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:45:13] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:13] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:45:13] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:45:14] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:14] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:14] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:45:14] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:14] 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-19 23:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:45:14] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:45:14] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:45:45] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:45] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:45:45] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:45:45] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:45:45] 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-19 23:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:45:45] 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-19 23:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:45:45] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:45:45] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:46:13] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:13] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:13] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:46:18] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:18] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:46:18] local.INFO: IMEI packet received {"connection_id":187310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":187310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:46:19] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:19] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:19] local.INFO: Packet analysis {"connection_id":187310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:46:19] local.INFO: Extracted packet for processing {"connection_id":187310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:19] 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-19 23:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":187310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":187310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":187310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":187310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:46:19] local.INFO: GPS data processed {"connection_id":187310,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:46:19] local.INFO: Acknowledgment sent {"connection_id":187310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:46:23] local.INFO: TCP Data received {"connection_id":187310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:23] local.INFO: Processing buffer {"connection_id":187310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:46:23] local.INFO: Packet analysis {"connection_id":187310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:46:23] local.INFO: Extracted packet for processing {"connection_id":187310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:46: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-19 23:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:46:23] 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-19 23:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:46: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-19 23:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":187310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":187310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":187310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:46:23] 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-19 23:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":187310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:46:23] local.INFO: GPS data processed {"connection_id":187310,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:46:23] local.INFO: Acknowledgment sent {"connection_id":187310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:47:08] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:08] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:08] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:47:13] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:13] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:47:13] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:47:14] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:14] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:14] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:47:14] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:14] 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-19 23:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23: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-19 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:47:14] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:47:14] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:47:46] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:46] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bade6c30012d34c14006aa41400008010e2e..."} 
[2026-09-19 23:47:46] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:47:46] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bade"} 
[2026-09-19 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199355648001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:47:46] 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-19 23:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789841534000,"timestamp_ms":1789841534000,"timestamp_seconds":1789841534,"priority":1,"record_length":96,"hex_timestamp":"000001a0bade6c30"} 
[2026-09-19 23:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199355648001,"66":25495,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199355648001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199355648001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:47:46] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:47:46] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:48:08] local.INFO: TCP Data received {"connection_id":189895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:08] local.INFO: Processing buffer {"connection_id":189895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:08] local.INFO: IMEI packet received {"connection_id":189895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":189895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:48:13] local.INFO: TCP Data received {"connection_id":189895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:13] local.INFO: Processing buffer {"connection_id":189895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:48:13] local.INFO: IMEI packet received {"connection_id":189895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":189895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:48:14] local.INFO: TCP Data received {"connection_id":189895,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:14] local.INFO: Processing buffer {"connection_id":189895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:14] local.INFO: Packet analysis {"connection_id":189895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:48:14] local.INFO: Extracted packet for processing {"connection_id":189895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:14] 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-19 23:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23: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-19 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":189895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:48:14] local.INFO: GPS data processed {"connection_id":189895,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:48:14] local.INFO: Acknowledgment sent {"connection_id":189895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:48:46] local.INFO: TCP Data received {"connection_id":189895,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:46] local.INFO: Processing buffer {"connection_id":189895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:48:46] local.INFO: Packet analysis {"connection_id":189895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:48:46] local.INFO: Extracted packet for processing {"connection_id":189895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 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-19 23:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:48:46] 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-19 23:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 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-19 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 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-19 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-19 23:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":189895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:48:46] local.INFO: GPS data processed {"connection_id":189895,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:48:46] local.INFO: Acknowledgment sent {"connection_id":189895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:49:07] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:07] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:07] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:49:13] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:13] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:49:13] local.INFO: IMEI packet received {"connection_id":187169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":187169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:49:14] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:14] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:14] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:49:14] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:14] 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-19 23:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:49:14] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:49:14] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:49:45] local.INFO: TCP Data received {"connection_id":187169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:45] local.INFO: Processing buffer {"connection_id":187169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:49:45] local.INFO: Packet analysis {"connection_id":187169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:49:45] local.INFO: Extracted packet for processing {"connection_id":187169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:49:45] 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-19 23:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":187169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:49:45] local.INFO: GPS data processed {"connection_id":187169,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:49:45] local.INFO: Acknowledgment sent {"connection_id":187169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:50:08] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:08] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:08] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:50:13] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:13] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:50:13] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:50:14] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:14] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:14] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:50:14] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:14] 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-19 23:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:50:14] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:50:14] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:50:45] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:45] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:50:45] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:50:45] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:50:45] 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-19 23:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:50:45] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:50:45] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:51:07] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:08] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:08] local.INFO: IMEI packet received {"connection_id":187311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":187311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:51:13] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:13] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:51:13] local.INFO: IMEI packet received {"connection_id":187311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":187311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:51:14] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:14] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:14] local.INFO: Packet analysis {"connection_id":187311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:51:14] local.INFO: Extracted packet for processing {"connection_id":187311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:14] 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-19 23:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23: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-19 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":187311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:51:14] local.INFO: GPS data processed {"connection_id":187311,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:51:14] local.INFO: Acknowledgment sent {"connection_id":187311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:51:46] local.INFO: TCP Data received {"connection_id":187311,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:46] local.INFO: Processing buffer {"connection_id":187311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:51:46] local.INFO: Packet analysis {"connection_id":187311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:51:46] local.INFO: Extracted packet for processing {"connection_id":187311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:51:46] 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-19 23:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":187311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":187311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":187311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:51:46] local.INFO: GPS data processed {"connection_id":187311,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:51:46] local.INFO: Acknowledgment sent {"connection_id":187311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:51:48] local.INFO: TCP Data received {"connection_id":187170,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:51:48] local.INFO: Processing buffer {"connection_id":187170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:51:48] local.INFO: IMEI packet received {"connection_id":187170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":187170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:52:08] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:52:08] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:08] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 23:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:52:13] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:13] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:13] local.INFO: IMEI packet received {"connection_id":189897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":189897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:52:13] local.INFO: TCP Data received {"connection_id":187171,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:13] local.INFO: Processing buffer {"connection_id":187171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:52:13] local.INFO: IMEI packet received {"connection_id":187171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-19 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":187171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:52:18] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:18] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:52:18] local.INFO: IMEI packet received {"connection_id":189897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":189897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:52:19] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:19] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:19] local.INFO: Packet analysis {"connection_id":189897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:52:19] local.INFO: Extracted packet for processing {"connection_id":189897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:19] 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-19 23:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":189897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:52:19] local.INFO: GPS data processed {"connection_id":189897,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:52:19] local.INFO: Acknowledgment sent {"connection_id":189897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:52:23] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:23] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae303f8012d34c14006aa41400008010e2f..."} 
[2026-09-19 23:52:23] local.INFO: Packet analysis {"connection_id":189897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:52:23] local.INFO: Extracted packet for processing {"connection_id":189897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae3"} 
[2026-09-19 23:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199432704001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:52:23] 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-19 23:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789841835000,"timestamp_ms":1789841835000,"timestamp_seconds":1789841835,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae303f8"} 
[2026-09-19 23:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-19 23:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:52:23] 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-19 23:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199432704001,"66":25582,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199432704001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199432704001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":189897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:52:23] local.INFO: GPS data processed {"connection_id":189897,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:52:23] local.INFO: Acknowledgment sent {"connection_id":189897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:53:08] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:08] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:08] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:53:13] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:13] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:53:13] local.INFO: IMEI packet received {"connection_id":187172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":187172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:53:14] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:14] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:14] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:53:14] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:14] 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-19 23:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23: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-19 23:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:53:14] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:53:14] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:53:45] local.INFO: TCP Data received {"connection_id":187172,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:45] local.INFO: Processing buffer {"connection_id":187172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:53:45] local.INFO: Packet analysis {"connection_id":187172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:53:45] local.INFO: Extracted packet for processing {"connection_id":187172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:53:45] 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-19 23:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23: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-19 23:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:53:45] 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-19 23:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":187172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:53:45] local.INFO: GPS data processed {"connection_id":187172,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:53:45] local.INFO: Acknowledgment sent {"connection_id":187172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:54:07] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:07] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:07] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:54:13] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:13] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:54:13] local.INFO: IMEI packet received {"connection_id":187173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":187173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:54:14] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:14] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:14] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:54:14] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:14] 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-19 23:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:54:14] 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-19 23:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:54:14] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:54:14] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:54:45] local.INFO: TCP Data received {"connection_id":187173,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:45] local.INFO: Processing buffer {"connection_id":187173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:54:45] local.INFO: Packet analysis {"connection_id":187173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:54:45] local.INFO: Extracted packet for processing {"connection_id":187173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:54:45] 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-19 23:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":187173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:54:45] local.INFO: GPS data processed {"connection_id":187173,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:54:45] local.INFO: Acknowledgment sent {"connection_id":187173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:55:08] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:08] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:08] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:55:13] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:13] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:55:13] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:55:14] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:14] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:14] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:55:14] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:14] 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-19 23:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:55:14] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:55:14] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:55:45] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:45] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:55:45] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:55:45] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:55:45] 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-19 23:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23: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-19 23:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:55:45] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:55:45] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:56:07] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:07] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:07] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:56:13] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:13] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:56:13] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:56:14] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:14] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:14] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:56:14] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:14] 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-19 23:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23: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-19 23:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:56: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-19 23:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:56:14] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:56:14] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:56:45] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:45] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:56:45] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:56:45] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:56:45] 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-19 23:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:56:45] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:56:45] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:57:14] local.INFO: TCP Data received {"connection_id":189899,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:14] local.INFO: Processing buffer {"connection_id":189899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:14] local.INFO: IMEI packet received {"connection_id":189899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":189899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:57:18] local.INFO: TCP Data received {"connection_id":189899,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:18] local.INFO: Processing buffer {"connection_id":189899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:57:18] local.INFO: IMEI packet received {"connection_id":189899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":189899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:57:19] local.INFO: TCP Data received {"connection_id":189899,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:19] local.INFO: Processing buffer {"connection_id":189899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:19] local.INFO: Packet analysis {"connection_id":189899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:57:19] local.INFO: Extracted packet for processing {"connection_id":189899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:19] 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-19 23:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:57:19] 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-19 23:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":189899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:57:19] local.INFO: GPS data processed {"connection_id":189899,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:57:19] local.INFO: Acknowledgment sent {"connection_id":189899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:57:23] local.INFO: TCP Data received {"connection_id":189899,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:23] local.INFO: Processing buffer {"connection_id":189899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bae79bc0012d34c14006aa41400008010e30..."} 
[2026-09-19 23:57:23] local.INFO: Packet analysis {"connection_id":189899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:57:23] local.INFO: Extracted packet for processing {"connection_id":189899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bae7"} 
[2026-09-19 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199509760001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:57:23] 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-19 23:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789842136000,"timestamp_ms":1789842136000,"timestamp_seconds":1789842136,"priority":1,"record_length":96,"hex_timestamp":"000001a0bae79bc0"} 
[2026-09-19 23:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-19 23:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:57:23] 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-19 23:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199509760001,"66":25593,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-19 23:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199509760001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199509760001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:57:23] local.INFO: GPS data processed {"connection_id":189899,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:57:23] local.INFO: Acknowledgment sent {"connection_id":189899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:57:44] local.INFO: TCP Data received {"connection_id":187174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:57:44] local.INFO: Processing buffer {"connection_id":187174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:57:44] local.INFO: IMEI packet received {"connection_id":187174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":187174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:58:08] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:08] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:08] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:58:09] local.INFO: TCP Data received {"connection_id":187315,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:58:09] local.INFO: Processing buffer {"connection_id":187315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-19 23:58:09] local.INFO: IMEI packet received {"connection_id":187315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-19 23:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":187315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:58:13] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:13] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:58:13] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:58:14] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:14] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:14] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:58:14] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199586816001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:14] 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-19 23:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842437000,"timestamp_ms":1789842437000,"timestamp_seconds":1789842437,"priority":1,"record_length":96,"hex_timestamp":"000001a0baec3388"} 
[2026-09-19 23:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199586816001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199586816001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199586816001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:58:14] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:58:14] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:58:45] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:45] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:58:45] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:58:45] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23: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-19 23:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199586816001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:58:45] 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-19 23:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842437000,"timestamp_ms":1789842437000,"timestamp_seconds":1789842437,"priority":1,"record_length":96,"hex_timestamp":"000001a0baec3388"} 
[2026-09-19 23: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-19 23:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23: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-19 23: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-19 23:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199586816001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199586816001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199586816001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:58:45] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:58:45] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:59:08] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:08] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:08] local.INFO: IMEI packet received {"connection_id":187316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-19 23:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":187316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-19 23:59:13] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:13] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-19 23:59:13] local.INFO: IMEI packet received {"connection_id":187316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-19 23:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":187316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-19 23:59:14] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:14] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:14] local.INFO: Packet analysis {"connection_id":187316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:59:14] local.INFO: Extracted packet for processing {"connection_id":187316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199586816001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:14] 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-19 23:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789842437000,"timestamp_ms":1789842437000,"timestamp_seconds":1789842437,"priority":1,"record_length":96,"hex_timestamp":"000001a0baec3388"} 
[2026-09-19 23:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":187316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":187316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":187316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199586816001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199586816001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199586816001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":187316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:59:14] local.INFO: GPS data processed {"connection_id":187316,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:59:14] local.INFO: Acknowledgment sent {"connection_id":187316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-19 23:59:45] local.INFO: TCP Data received {"connection_id":187316,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":187316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:45] local.INFO: Processing buffer {"connection_id":187316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0baec3388012d34c14006aa41400008010e30..."} 
[2026-09-19 23:59:45] local.INFO: Packet analysis {"connection_id":187316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:59:45] local.INFO: Extracted packet for processing {"connection_id":187316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0baec"} 
[2026-09-19 23:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821120,"longitude_deg":75.8432064,"latitude_deg":11.182112,"altitude":8,"angle":270,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4140","is_valid_coordinates":true} 
[2026-09-19 23:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-19 23:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458199586816001,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-19 23:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847793664,"note":"Value kept but may cause issues"} 
[2026-09-19 23:59:45] 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-19 23:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789842437000,"timestamp_ms":1789842437000,"timestamp_seconds":1789842437,"priority":1,"record_length":96,"hex_timestamp":"000001a0baec3388"} 
[2026-09-19 23:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-19 23:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-19 23:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-19 23:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-19 23:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-19 23:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-19 23:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-19 23:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":187316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-19 23:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":187316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":187316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-19 23:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-19 23:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-19 23:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-19 23:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458199586816001,"66":25538,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847793664},"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-19 23:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-19 23:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-19 23:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458199586816001,"description":"Unknown IO ID 0"} 
[2026-09-19 23:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-19 23:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-19 23:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847793664,"description":"Unknown IO ID 45"} 
[2026-09-19 23:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458199586816001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847793664}} 
[2026-09-19 23:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":187316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-19 23:59:45] local.INFO: GPS data processed {"connection_id":187316,"processed":1,"errors":0,"total":1} 
[2026-09-19 23:59:45] local.INFO: Acknowledgment sent {"connection_id":187316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
